1 #include "nit.common.h"
2 #define COLOR_array__AbstractArrayRead___length 0
3 short int array__AbstractArrayRead__is_empty(val
* self
);
4 #define COLOR_abstract_collection__Collection_FT0 2
5 extern const struct type type_kernel__Int
;
6 val
* array__Array___91d_93d(val
* self
, long p0
);
7 #define COLOR_kernel__Object___61d_61d 2
8 short int array__AbstractArrayRead__has(val
* self
, val
* p0
);
9 #define COLOR_abstract_collection__SequenceRead_FT0 1
10 long array__AbstractArrayRead__index_of_from(val
* self
, val
* p0
, long p1
);
11 long array__AbstractArrayRead__index_of(val
* self
, val
* p0
);
12 #define COLOR_array__AbstractArrayRead_FT0 13
13 long array__AbstractArrayRead__last_index_of_from(val
* self
, val
* p0
, long p1
);
14 long array__AbstractArrayRead__last_index_of(val
* self
, val
* p0
);
15 val
* NEW_array__Array(const struct type
* type
);
16 #define COLOR_array__Arrayarray__AbstractArrayRead_FT0 14
17 void array__Array__with_capacity(val
* self
, long p0
);
18 void array__Array__add(val
* self
, val
* p0
);
19 val
* array__AbstractArrayRead__reversed(val
* self
);
20 #define COLOR_array__AbstractArrayarray__AbstractArrayRead_FT0 15
21 void array__Array___91d_93d_61d(val
* self
, long p0
, val
* p1
);
22 void array__AbstractArrayRead__copy_to(val
* self
, long p0
, long p1
, val
* p2
, long p3
);
23 val
* NEW_array__ArrayIterator(const struct type
* type
);
24 #define COLOR_array__ArrayIteratorarray__AbstractArrayRead_FT0 16
25 void array__ArrayIterator__init(val
* self
, val
* p0
);
26 val
* array__AbstractArrayRead__iterator(val
* self
);
27 #define COLOR_abstract_collection__Sequence_FT0 5
28 void array__AbstractArray__push(val
* self
, val
* p0
);
29 val
* abstract_collection__SequenceRead__last(val
* self
);
30 val
* array__AbstractArray__pop(val
* self
);
31 val
* abstract_collection__SequenceRead__first(val
* self
);
32 val
* array__AbstractArray__shift(val
* self
);
33 void array__AbstractArray__unshift(val
* self
, val
* p0
);
34 #define COLOR_array__AbstractArray_FT0 12
35 void array__Array__enlarge(val
* self
, long p0
);
36 void array__AbstractArray__insert(val
* self
, val
* p0
, long p1
);
37 #define COLOR_abstract_collection__Collectionabstract_collection__Sequence_FT0 7
38 #define COLOR_abstract_collection__Collection__length 39
39 #define COLOR_abstract_collection__Collection__iterator 37
40 #define COLOR_abstract_collection__Iterator__is_ok 33
41 #define COLOR_abstract_collection__Iterator__item 31
42 #define COLOR_abstract_collection__Iterator__next 32
43 void array__AbstractArray__insert_all(val
* self
, val
* p0
, long p1
);
44 void array__AbstractArray__clear(val
* self
);
45 #define COLOR_abstract_collection__RemovableCollection_FT0 9
46 void array__AbstractArray__remove_at(val
* self
, long p0
);
47 void array__AbstractArray__remove(val
* self
, val
* p0
);
48 #define COLOR_array__Array___items 1
49 #define COLOR_array__Array___capacity 2
50 #define COLOR_array__NativeArray_FT0 0
51 #define COLOR_abstract_collection__SimpleCollection_FT0 6
52 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
53 #define COLOR_array__NativeArrayarray__ArrayCapable_FT0 11
54 #define COLOR_array__NativeArrayarray__NativeArray_FT0 1
55 #define COLOR_array__Array__init 75
56 void array__Array__init(val
* self
);
57 #define COLOR_kernel__Object__init 7
58 void array__Array__with_items(val
* self
, val
* p0
);
59 #define COLOR_array__NativeArrayarray__Array_FT0 0
60 void array__Array__with_native(val
* self
, val
* p0
, long p1
);
61 extern const struct type type_array__Arraynullable_kernel__Object
;
62 #define COLOR_array__Array___61d_61d 76
63 #define COLOR_kernel__Object___33d_61d 3
64 short int array__Array___61d_61d(val
* self
, val
* p0
);
65 #define COLOR_array__ArrayIterator___array 1
66 #define COLOR_array__ArrayIterator___index 0
67 val
* array__ArrayIterator__item(val
* self
);
68 short int array__ArrayIterator__is_ok(val
* self
);
69 void array__ArrayIterator__next(val
* self
);
70 #define COLOR_array__AbstractArrayReadarray__ArrayIterator_FT0 1
71 #define COLOR_array__ArraySet___array 0
72 short int array__ArraySet__has(val
* self
, val
* p0
);
73 void array__ArraySet__add(val
* self
, val
* p0
);
74 short int array__ArraySet__is_empty(val
* self
);
75 long array__ArraySet__length(val
* self
);
76 val
* array__ArraySet__first(val
* self
);
77 void array__ArraySet__remove_at(val
* self
, long p0
);
78 void array__ArraySet__remove(val
* self
, val
* p0
);
79 void array__ArraySet__clear(val
* self
);
80 val
* NEW_array__ArraySetIterator(const struct type
* type
);
81 #define COLOR_array__ArraySetIteratorarray__ArraySet_FT0 0
82 void array__ArraySetIterator__init(val
* self
, val
* p0
);
83 val
* array__ArraySet__iterator(val
* self
);
84 #define COLOR_array__Arrayarray__ArraySet_FT0 1
85 void array__ArraySet__init(val
* self
);
86 #define COLOR_array__ArraySetIterator___iter 0
87 short int array__ArraySetIterator__is_ok(val
* self
);
88 void array__ArraySetIterator__next(val
* self
);
89 val
* array__ArraySetIterator__item(val
* self
);
90 #define COLOR_array__ArrayIteratorarray__ArraySetIterator_FT0 1
91 #define COLOR_abstract_collection__MapRead_FT0 2
92 long array__ArrayMap__index(val
* self
, val
* p0
);
93 #define COLOR_array__ArrayMap___items 2
94 #define COLOR_abstract_collection__Couple___second 1
95 val
* abstract_collection__MapRead__provide_default_value(val
* self
, val
* p0
);
96 val
* array__ArrayMap___91d_93d(val
* self
, val
* p0
);
97 #define COLOR_abstract_collection__Map_FT0 4
98 #define COLOR_abstract_collection__Map_FT1 5
99 #define COLOR_abstract_collection__Couple_FT1 1
100 val
* NEW_abstract_collection__Couple(const struct type
* type
);
101 #define COLOR_abstract_collection__Couplearray__ArrayMap_FT0array__ArrayMap_FT1 6
102 void abstract_collection__Couple__init(val
* self
, val
* p0
, val
* p1
);
103 void array__ArrayMap___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
104 #define COLOR_array__ArrayMap___keys 0
105 #define COLOR_array__ArrayMap___values 1
106 long array__ArrayMap__length(val
* self
);
107 val
* array__ArrayMap__couple_iterator(val
* self
);
108 short int array__ArrayMap__is_empty(val
* self
);
109 void array__ArrayMap__clear(val
* self
);
110 void array__ArrayMap__remove_at_index(val
* self
, long p0
);
111 #define COLOR_array__ArrayMap_FT0 7
112 #define COLOR_array__ArrayMap___last_index 3
113 #define COLOR_abstract_collection__Couple___first 0
114 #define COLOR_array__ArrayMapKeys___map 0
115 #define COLOR_array__ArrayMaparray__ArrayMapKeys_FT0array__ArrayMapKeys_FT1 0
116 val
* array__ArrayMapKeys__first(val
* self
);
117 short int array__ArrayMapKeys__has(val
* self
, val
* p0
);
118 short int array__ArrayMapKeys__is_empty(val
* self
);
119 long array__ArrayMapKeys__length(val
* self
);
120 val
* NEW_abstract_collection__MapKeysIterator(const struct type
* type
);
121 #define COLOR_abstract_collection__MapKeysIteratorarray__ArrayMapKeys_FT0array__ArrayMapKeys_FT1 1
122 val
* abstract_collection__CoupleMap__iterator(val
* self
);
123 #define COLOR_abstract_collection__MapKeysIterator__original_iterator_61d 38
124 val
* array__ArrayMapKeys__iterator(val
* self
);
125 void array__ArrayMapKeys__clear(val
* self
);
126 void array__ArrayMapKeys__remove(val
* self
, val
* p0
);
127 #define COLOR_array__ArrayMapKeys__init 57
128 #define COLOR_array__ArrayMapValues___map 0
129 #define COLOR_array__ArrayMaparray__ArrayMapValues_FT0array__ArrayMapValues_FT1 0
130 val
* array__ArrayMapValues__first(val
* self
);
131 short int array__ArrayMapValues__is_empty(val
* self
);
132 long array__ArrayMapValues__length(val
* self
);
133 val
* NEW_abstract_collection__MapValuesIterator(const struct type
* type
);
134 #define COLOR_abstract_collection__MapValuesIteratorarray__ArrayMapValues_FT0array__ArrayMapValues_FT1 1
135 #define COLOR_abstract_collection__MapValuesIterator__original_iterator_61d 38
136 val
* array__ArrayMapValues__iterator(val
* self
);
137 short int array__ArrayMapValues__has(val
* self
, val
* p0
);
138 void array__ArrayMapValues__clear(val
* self
);
139 void array__ArrayMapValues__remove(val
* self
, val
* p0
);
140 #define COLOR_array__ArrayMapValues__init 57
141 #define COLOR_array__Arrayabstract_collection__Iterator_FT0 0
142 val
* array__Iterator__to_a(val
* self
);
143 #define COLOR_array__Arrayabstract_collection__Collection_FT0 4
144 void abstract_collection__SimpleCollection__add_all(val
* self
, val
* p0
);
145 val
* array__Collection__to_a(val
* self
);