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