1 #include "nit.common.h"
2 extern const int COLOR_array__AbstractArrayRead___length
;
3 long array__AbstractArrayRead__length(val
* self
);
4 short int array__AbstractArrayRead__is_empty(val
* self
);
5 extern const int COLOR_abstract_collection__Collection_FT0
;
6 extern const int COLOR_abstract_collection__Collection__length
;
7 extern const struct type type_kernel__Int
;
8 extern const int COLOR_abstract_collection__SequenceRead___91d_93d
;
9 extern const int COLOR_kernel__Object___61d_61d
;
10 short int array__AbstractArrayRead__has(val
* self
, val
* p0
);
11 extern const int COLOR_kernel__Object___33d_61d
;
12 short int array__AbstractArrayRead__has_only(val
* self
, val
* p0
);
13 long array__AbstractArrayRead__count(val
* self
, val
* p0
);
14 extern const int COLOR_abstract_collection__SequenceRead_FT0
;
15 extern const int COLOR_array__AbstractArrayRead__index_of_from
;
16 long array__AbstractArrayRead__index_of(val
* self
, val
* p0
);
17 extern const int COLOR_array__AbstractArrayRead_FT0
;
18 extern const int COLOR_array__AbstractArrayRead__last_index_of_from
;
19 long array__AbstractArrayRead__last_index_of(val
* self
, val
* p0
);
20 long array__AbstractArrayRead__index_of_from(val
* self
, val
* p0
, long p1
);
21 long array__AbstractArrayRead__last_index_of_from(val
* self
, val
* p0
, long p1
);
22 val
* NEW_array__Array(const struct type
* type
);
23 extern const int COLOR_array__Arrayarray__AbstractArrayRead_FT0
;
24 extern const int COLOR_array__Array__with_capacity
;
25 void CHECK_NEW_array__Array(val
*);
26 extern const int COLOR_abstract_collection__SimpleCollection__add
;
27 val
* array__AbstractArrayRead__reversed(val
* self
);
28 extern const int COLOR_array__AbstractArrayarray__AbstractArrayRead_FT0
;
29 extern const int COLOR_abstract_collection__Sequence___91d_93d_61d
;
30 void array__AbstractArrayRead__copy_to(val
* self
, long p0
, long p1
, val
* p2
, long p3
);
31 extern const int COLOR_kernel__Object__output
;
32 void array__AbstractArrayRead__output(val
* self
);
33 val
* NEW_array__ArrayIterator(const struct type
* type
);
34 extern const int COLOR_array__ArrayIteratorarray__AbstractArrayRead_FT0
;
35 extern const int COLOR_array__ArrayIterator__init
;
36 void CHECK_NEW_array__ArrayIterator(val
*);
37 val
* array__AbstractArrayRead__iterator(val
* self
);
38 void array__AbstractArrayRead__init(val
* self
);
39 void array__AbstractArray__enlarge(val
* self
, long p0
);
40 extern const int COLOR_abstract_collection__Sequence_FT0
;
41 void array__AbstractArray__push(val
* self
, val
* p0
);
42 extern const int COLOR_abstract_collection__Collection__is_empty
;
43 extern const int COLOR_abstract_collection__SequenceRead__last
;
44 val
* array__AbstractArray__pop(val
* self
);
45 extern const int COLOR_abstract_collection__Collection__first
;
46 val
* array__AbstractArray__shift(val
* self
);
47 void array__AbstractArray__unshift(val
* self
, val
* p0
);
48 extern const int COLOR_array__AbstractArray_FT0
;
49 extern const int COLOR_array__AbstractArray__enlarge
;
50 extern const int COLOR_array__AbstractArrayRead__copy_to
;
51 void array__AbstractArray__insert(val
* self
, val
* p0
, long p1
);
52 extern const int COLOR_abstract_collection__SimpleCollection_FT0
;
53 void array__AbstractArray__add(val
* self
, val
* p0
);
54 void array__AbstractArray__clear(val
* self
);
55 extern const int COLOR_abstract_collection__RemovableCollection_FT0
;
56 extern const int COLOR_abstract_collection__SequenceRead__index_of
;
57 extern const int COLOR_abstract_collection__Sequence__remove_at
;
58 void array__AbstractArray__remove(val
* self
, val
* p0
);
59 void array__AbstractArray__remove_all(val
* self
, val
* p0
);
60 void array__AbstractArray__remove_at(val
* self
, long p0
);
61 void array__AbstractArray__swap_at(val
* self
, long p0
, long p1
);
62 extern const int COLOR_array__AbstractArrayRead__init
;
63 void array__AbstractArray__init(val
* self
);
64 extern const int COLOR_array__Array___items
;
65 extern const int COLOR_array__NativeArray___91d_93d
;
66 val
* array__Array___91d_93d(val
* self
, long p0
);
67 extern const int COLOR_array__Array___capacity
;
68 extern const int COLOR_array__NativeArray___91d_93d_61d
;
69 void array__Array___91d_93d_61d(val
* self
, long p0
, val
* p1
);
70 void array__Array__add(val
* self
, val
* p0
);
71 extern const int COLOR_array__ArrayCapable__calloc_array
;
72 extern const int COLOR_array__NativeArray__copy_to
;
73 void array__Array__enlarge(val
* self
, long p0
);
74 extern const int COLOR_array__AbstractArray__init
;
75 void array__Array__init(val
* self
);
76 extern const int COLOR_abstract_collection__Collectionarray__Array_FT0
;
77 extern const int COLOR_abstract_collection__SimpleCollection__add_all
;
78 void array__Array__from(val
* self
, val
* p0
);
79 void array__Array__with_items(val
* self
, val
* p0
);
80 void array__Array__with_capacity(val
* self
, long p0
);
81 extern const int COLOR_array__Array_FT0
;
82 void array__Array__filled_with(val
* self
, val
* p0
, long p1
);
83 extern const int COLOR_array__NativeArrayarray__Array_FT0
;
84 void array__Array__with_native(val
* self
, val
* p0
, long p1
);
85 val
* array__Array__intern_items(val
* self
);
86 extern const int COLOR_array__ArrayIterator___array
;
87 extern const int COLOR_array__ArrayIterator___index
;
88 val
* array__ArrayIterator__item(val
* self
);
89 short int array__ArrayIterator__is_ok(val
* self
);
90 void array__ArrayIterator__next(val
* self
);
91 extern const int COLOR_array__AbstractArrayReadarray__ArrayIterator_FT0
;
92 void array__ArrayIterator__init(val
* self
, val
* p0
);
93 long array__ArrayIterator__index(val
* self
);
94 extern const int COLOR_array__ArraySet___array
;
95 extern const int COLOR_abstract_collection__Collection__has
;
96 short int array__ArraySet__has(val
* self
, val
* p0
);
97 void array__ArraySet__add(val
* self
, val
* p0
);
98 short int array__ArraySet__is_empty(val
* self
);
99 long array__ArraySet__length(val
* self
);
100 val
* array__ArraySet__first(val
* self
);
101 extern const int COLOR_array__ArraySet__remove_at
;
102 void array__ArraySet__remove(val
* self
, val
* p0
);
103 extern const int COLOR_abstract_collection__RemovableCollection__remove
;
104 void array__ArraySet__remove_all(val
* self
, val
* p0
);
105 extern const int COLOR_abstract_collection__RemovableCollection__clear
;
106 void array__ArraySet__clear(val
* self
);
107 val
* NEW_array__ArraySetIterator(const struct type
* type
);
108 extern const int COLOR_array__ArraySetIteratorarray__ArraySet_FT0
;
109 extern const int COLOR_abstract_collection__Collection__iterator
;
110 extern const int COLOR_array__ArraySetIterator__init
;
111 void CHECK_NEW_array__ArraySetIterator(val
*);
112 val
* array__ArraySet__iterator(val
* self
);
113 void array__ArraySet__enlarge(val
* self
, long p0
);
114 extern const int COLOR_abstract_collection__Sequence__pop
;
115 void array__ArraySet__remove_at(val
* self
, long p0
);
116 extern const int COLOR_array__Arrayarray__ArraySet_FT0
;
117 extern const int COLOR_array__Array__init
;
118 void array__ArraySet__init(val
* self
);
119 void array__ArraySet__with_capacity(val
* self
, long p0
);
120 extern const int COLOR_array__ArraySetIterator___iter
;
121 extern const int COLOR_abstract_collection__Iterator__is_ok
;
122 short int array__ArraySetIterator__is_ok(val
* self
);
123 extern const int COLOR_abstract_collection__Iterator__next
;
124 void array__ArraySetIterator__next(val
* self
);
125 extern const int COLOR_abstract_collection__Iterator__item
;
126 val
* array__ArraySetIterator__item(val
* self
);
127 extern const int COLOR_array__ArrayIteratorarray__ArraySetIterator_FT0
;
128 void array__ArraySetIterator__init(val
* self
, val
* p0
);
129 extern const int COLOR_abstract_collection__MapRead_FT0
;
130 extern const int COLOR_array__ArrayMap__index
;
131 extern const int COLOR_array__ArrayMap___items
;
132 extern const int COLOR_abstract_collection__Couple__second
;
133 val
* array__ArrayMap___91d_93d(val
* self
, val
* p0
);
134 extern const int COLOR_abstract_collection__Map_FT0
;
135 extern const int COLOR_abstract_collection__Map_FT1
;
136 extern const int COLOR_abstract_collection__Couple__second_61d
;
137 val
* NEW_abstract_collection__Couple(const struct type
* type
);
138 extern const int COLOR_abstract_collection__Couplearray__ArrayMap_FT0array__ArrayMap_FT1
;
139 extern const int COLOR_abstract_collection__Couple__init
;
140 void CHECK_NEW_abstract_collection__Couple(val
*);
141 extern const int COLOR_abstract_collection__Sequence__push
;
142 void array__ArrayMap___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
143 extern const int COLOR_array__ArrayMap___64dkeys
;
144 val
* array__ArrayMap__keys(val
* self
);
145 extern const int COLOR_array__ArrayMapKeysarray__ArrayMap_FT0array__ArrayMap_FT1
;
146 void array__ArrayMap__keys_61d(val
* self
, val
* p0
);
147 extern const int COLOR_array__ArrayMap___64dvalues
;
148 val
* array__ArrayMap__values(val
* self
);
149 extern const int COLOR_array__ArrayMapValuesarray__ArrayMap_FT0array__ArrayMap_FT1
;
150 void array__ArrayMap__values_61d(val
* self
, val
* p0
);
151 long array__ArrayMap__length(val
* self
);
152 val
* NEW_abstract_collection__CoupleMapIterator(const struct type
* type
);
153 extern const int COLOR_abstract_collection__CoupleMapIteratorarray__ArrayMap_FT0array__ArrayMap_FT1
;
154 extern const int COLOR_abstract_collection__CoupleMapIterator__init
;
155 void CHECK_NEW_abstract_collection__CoupleMapIterator(val
*);
156 val
* array__ArrayMap__iterator(val
* self
);
157 short int array__ArrayMap__is_empty(val
* self
);
158 void array__ArrayMap__clear(val
* self
);
159 void array__ArrayMap__enlarge(val
* self
, long p0
);
160 extern const int COLOR_abstract_collection__CoupleMap_FT0
;
161 val
* array__ArrayMap__couple_at(val
* self
, val
* p0
);
162 void array__ArrayMap__remove_at_index(val
* self
, long p0
);
163 extern const int COLOR_array__ArrayMap_FT0
;
164 extern const int COLOR_array__ArrayMap___last_index
;
165 extern const int COLOR_abstract_collection__Couple__first
;
166 long array__ArrayMap__index(val
* self
, val
* p0
);
167 extern const int COLOR_array__Arrayabstract_collection__Couplearray__ArrayMap_FT0array__ArrayMap_FT1
;
168 void array__ArrayMap__init(val
* self
);
169 extern const int COLOR_array__ArrayMapKeys___64dmap
;
170 val
* array__ArrayMapKeys__map(val
* self
);
171 extern const int COLOR_array__ArrayMaparray__ArrayMapKeys_FT0array__ArrayMapKeys_FT1
;
172 void array__ArrayMapKeys__map_61d(val
* self
, val
* p0
);
173 long array__ArrayMapKeys__count(val
* self
, val
* p0
);
174 extern const int COLOR_array__ArrayMapKeys__map
;
175 val
* array__ArrayMapKeys__first(val
* self
);
176 short int array__ArrayMapKeys__has(val
* self
, val
* p0
);
177 short int array__ArrayMapKeys__has_only(val
* self
, val
* p0
);
178 extern const int COLOR_abstract_collection__MapRead__is_empty
;
179 short int array__ArrayMapKeys__is_empty(val
* self
);
180 extern const int COLOR_abstract_collection__MapRead__length
;
181 long array__ArrayMapKeys__length(val
* self
);
182 val
* NEW_abstract_collection__MapKeysIterator(const struct type
* type
);
183 extern const int COLOR_abstract_collection__MapKeysIteratorarray__ArrayMapKeys_FT0array__ArrayMapKeys_FT1
;
184 extern const int COLOR_abstract_collection__MapRead__iterator
;
185 extern const int COLOR_abstract_collection__MapKeysIterator__init
;
186 void CHECK_NEW_abstract_collection__MapKeysIterator(val
*);
187 val
* array__ArrayMapKeys__iterator(val
* self
);
188 extern const int COLOR_abstract_collection__Map__clear
;
189 void array__ArrayMapKeys__clear(val
* self
);
190 extern const int COLOR_array__ArrayMap__remove_at_index
;
191 void array__ArrayMapKeys__remove(val
* self
, val
* p0
);
192 void array__ArrayMapKeys__remove_all(val
* self
, val
* p0
);
193 void array__ArrayMapKeys__init(val
* self
, val
* p0
);
194 extern const int COLOR_array__ArrayMapValues___64dmap
;
195 val
* array__ArrayMapValues__map(val
* self
);
196 extern const int COLOR_array__ArrayMaparray__ArrayMapValues_FT0array__ArrayMapValues_FT1
;
197 void array__ArrayMapValues__map_61d(val
* self
, val
* p0
);
198 extern const int COLOR_array__ArrayMapValues__map
;
199 val
* array__ArrayMapValues__first(val
* self
);
200 short int array__ArrayMapValues__is_empty(val
* self
);
201 long array__ArrayMapValues__length(val
* self
);
202 val
* NEW_abstract_collection__MapValuesIterator(const struct type
* type
);
203 extern const int COLOR_abstract_collection__MapValuesIteratorarray__ArrayMapValues_FT0array__ArrayMapValues_FT1
;
204 extern const int COLOR_abstract_collection__MapValuesIterator__init
;
205 void CHECK_NEW_abstract_collection__MapValuesIterator(val
*);
206 val
* array__ArrayMapValues__iterator(val
* self
);
207 short int array__ArrayMapValues__has(val
* self
, val
* p0
);
208 short int array__ArrayMapValues__has_only(val
* self
, val
* p0
);
209 long array__ArrayMapValues__count(val
* self
, val
* p0
);
210 void array__ArrayMapValues__clear(val
* self
);
211 void array__ArrayMapValues__remove(val
* self
, val
* p0
);
212 void array__ArrayMapValues__remove_all(val
* self
, val
* p0
);
213 void array__ArrayMapValues__init(val
* self
, val
* p0
);
214 extern const int COLOR_array__Arrayabstract_collection__Iterator_FT0
;
215 val
* array__Iterator__to_a(val
* self
);
216 extern const int COLOR_array__Iterator__to_a
;
217 val
* array__Collection__to_a(val
* self
);
218 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
219 extern const int COLOR_array__NativeArrayarray__ArrayCapable_FT0
;
220 extern const int COLOR_array__NativeArray_FT0
;
221 extern const int COLOR_array__NativeArrayarray__NativeArray_FT0
;