1 #include "nit.common.h"
2 extern const int COLOR_hash_collection__HashCollection___first_item
;
3 val
* hash_collection__HashCollection__first_item(val
* self
);
4 extern const int COLOR_hash_collection__HashCollection_FT0
;
5 extern const int COLOR_kernel__Object__hash
;
6 extern const int COLOR_hash_collection__HashCollection___capacity
;
7 extern const struct type type_kernel__Int
;
8 long hash_collection__HashCollection__index_at(val
* self
, val
* p0
);
9 extern const int COLOR_hash_collection__HashCollection___last_accessed_key
;
10 extern const int COLOR_kernel__Object__is_same_instance
;
11 extern const int COLOR_hash_collection__HashCollection___last_accessed_node
;
12 extern const int COLOR_hash_collection__HashCollection__index_at
;
13 extern const int COLOR_hash_collection__HashCollection__node_at_idx
;
14 val
* hash_collection__HashCollection__node_at(val
* self
, val
* p0
);
15 extern const int COLOR_hash_collection__HashCollection___array
;
16 extern const int COLOR_array__NativeArray___91d_93d
;
17 extern const int COLOR_hash_collection__HashNode___key
;
18 extern const int COLOR_kernel__Object___61d_61d
;
19 extern const int COLOR_hash_collection__HashNode___next_in_bucklet
;
20 extern const int COLOR_hash_collection__HashCollection_FT1
;
21 val
* hash_collection__HashCollection__node_at_idx(val
* self
, long p0
, val
* p1
);
22 extern const int COLOR_hash_collection__HashCollection___last_item
;
23 extern const int COLOR_hash_collection__HashNode___next_item
;
24 extern const int COLOR_hash_collection__HashNode___prev_item
;
25 extern const int COLOR_array__NativeArray___91d_93d_61d
;
26 extern const int COLOR_hash_collection__HashNode___prev_in_bucklet
;
27 extern const int COLOR_hash_collection__HashCollection___length
;
28 extern const int COLOR_hash_collection__HashCollection__enlarge
;
29 void hash_collection__HashCollection__store(val
* self
, long p0
, val
* p1
);
30 void hash_collection__HashCollection__remove_node(val
* self
, val
* p0
);
31 void hash_collection__HashCollection__raz(val
* self
);
32 extern const int COLOR_array__ArrayCapable__calloc_array
;
33 void hash_collection__HashCollection__enlarge(val
* self
, long p0
);
34 void hash_collection__HashCollection__init(val
* self
);
35 val
* hash_collection__HashNode__next_item(val
* self
);
36 extern const int COLOR_hash_collection__HashNode_VTN
;
37 void hash_collection__HashNode__next_item_61d(val
* self
, val
* p0
);
38 val
* hash_collection__HashNode__prev_item(val
* self
);
39 void hash_collection__HashNode__prev_item_61d(val
* self
, val
* p0
);
40 extern const int COLOR_hash_collection__HashNode_FT0
;
41 void hash_collection__HashNode__init(val
* self
, val
* p0
);
42 extern const int COLOR_abstract_collection__MapRead_FT0
;
43 extern const int COLOR_hash_collection__HashCollection__node_at
;
44 extern const int COLOR_hash_collection__HashMapNode___value
;
45 val
* hash_collection__HashMap___91d_93d(val
* self
, val
* p0
);
46 val
* NEW_hash_collection__HashMapIterator(const struct type
* type
);
47 extern const int COLOR_hash_collection__HashMapIteratorhash_collection__HashMap_FT0hash_collection__HashMap_FT1
;
48 extern const int COLOR_hash_collection__HashMapIterator__init
;
49 void CHECK_NEW_hash_collection__HashMapIterator(val
*);
50 val
* hash_collection__HashMap__iterator(val
* self
);
51 long hash_collection__HashMap__length(val
* self
);
52 short int hash_collection__HashMap__is_empty(val
* self
);
53 extern const int COLOR_abstract_collection__Map_FT0
;
54 extern const int COLOR_abstract_collection__Map_FT1
;
55 val
* NEW_hash_collection__HashMapNode(const struct type
* type
);
56 extern const int COLOR_hash_collection__HashMapNodehash_collection__HashMap_FT0hash_collection__HashMap_FT1
;
57 extern const int COLOR_hash_collection__HashMapNode__init
;
58 void CHECK_NEW_hash_collection__HashMapNode(val
*);
59 extern const int COLOR_hash_collection__HashCollection__store
;
60 void hash_collection__HashMap___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
61 extern const int COLOR_hash_collection__HashCollection__raz
;
62 void hash_collection__HashMap__clear(val
* self
);
63 extern const int COLOR_hash_collection__HashCollection__init
;
64 void hash_collection__HashMap__init(val
* self
);
65 extern const int COLOR_hash_collection__HashMap___64dkeys
;
66 val
* hash_collection__HashMap__keys(val
* self
);
67 extern const int COLOR_hash_collection__HashMapKeyshash_collection__HashMap_FT0hash_collection__HashMap_FT1
;
68 void hash_collection__HashMap__keys_61d(val
* self
, val
* p0
);
69 extern const int COLOR_hash_collection__HashMap___64dvalues
;
70 val
* hash_collection__HashMap__values(val
* self
);
71 extern const int COLOR_hash_collection__HashMapValueshash_collection__HashMap_FT0hash_collection__HashMap_FT1
;
72 void hash_collection__HashMap__values_61d(val
* self
, val
* p0
);
73 extern const int COLOR_hash_collection__HashMapKeys___64dmap
;
74 val
* hash_collection__HashMapKeys__map(val
* self
);
75 extern const int COLOR_hash_collection__HashMaphash_collection__HashMapKeys_FT0hash_collection__HashMapKeys_FT1
;
76 void hash_collection__HashMapKeys__map_61d(val
* self
, val
* p0
);
77 extern const int COLOR_abstract_collection__Collection_FT0
;
78 extern const int COLOR_abstract_collection__Collection__has
;
79 long hash_collection__HashMapKeys__count(val
* self
, val
* p0
);
80 extern const int COLOR_hash_collection__HashMapKeys__map
;
81 val
* hash_collection__HashMapKeys__first(val
* self
);
82 short int hash_collection__HashMapKeys__has(val
* self
, val
* p0
);
83 extern const int COLOR_abstract_collection__Collection__length
;
84 extern const int COLOR_abstract_collection__Collection__is_empty
;
85 short int hash_collection__HashMapKeys__has_only(val
* self
, val
* p0
);
86 extern const int COLOR_abstract_collection__MapRead__is_empty
;
87 short int hash_collection__HashMapKeys__is_empty(val
* self
);
88 extern const int COLOR_abstract_collection__MapRead__length
;
89 long hash_collection__HashMapKeys__length(val
* self
);
90 val
* NEW_abstract_collection__MapKeysIterator(const struct type
* type
);
91 extern const int COLOR_abstract_collection__MapKeysIteratorhash_collection__HashMapKeys_FT0hash_collection__HashMapKeys_FT1
;
92 extern const int COLOR_abstract_collection__MapRead__iterator
;
93 extern const int COLOR_abstract_collection__MapKeysIterator__init
;
94 void CHECK_NEW_abstract_collection__MapKeysIterator(val
*);
95 val
* hash_collection__HashMapKeys__iterator(val
* self
);
96 extern const int COLOR_abstract_collection__Map__clear
;
97 void hash_collection__HashMapKeys__clear(val
* self
);
98 extern const int COLOR_abstract_collection__RemovableCollection_FT0
;
99 extern const int COLOR_hash_collection__HashCollection__remove_node
;
100 void hash_collection__HashMapKeys__remove(val
* self
, val
* p0
);
101 void hash_collection__HashMapKeys__remove_all(val
* self
, val
* p0
);
102 void hash_collection__HashMapKeys__init(val
* self
, val
* p0
);
103 extern const int COLOR_hash_collection__HashMapValues___64dmap
;
104 val
* hash_collection__HashMapValues__map(val
* self
);
105 extern const int COLOR_hash_collection__HashMaphash_collection__HashMapValues_FT0hash_collection__HashMapValues_FT1
;
106 void hash_collection__HashMapValues__map_61d(val
* self
, val
* p0
);
107 extern const int COLOR_hash_collection__HashMapValues__map
;
108 long hash_collection__HashMapValues__count(val
* self
, val
* p0
);
109 val
* hash_collection__HashMapValues__first(val
* self
);
110 short int hash_collection__HashMapValues__has(val
* self
, val
* p0
);
111 extern const int COLOR_kernel__Object___33d_61d
;
112 short int hash_collection__HashMapValues__has_only(val
* self
, val
* p0
);
113 short int hash_collection__HashMapValues__is_empty(val
* self
);
114 long hash_collection__HashMapValues__length(val
* self
);
115 val
* NEW_abstract_collection__MapValuesIterator(const struct type
* type
);
116 extern const int COLOR_abstract_collection__MapValuesIteratorhash_collection__HashMapValues_FT0hash_collection__HashMapValues_FT1
;
117 extern const int COLOR_abstract_collection__MapValuesIterator__init
;
118 void CHECK_NEW_abstract_collection__MapValuesIterator(val
*);
119 val
* hash_collection__HashMapValues__iterator(val
* self
);
120 void hash_collection__HashMapValues__clear(val
* self
);
121 void hash_collection__HashMapValues__remove(val
* self
, val
* p0
);
122 void hash_collection__HashMapValues__remove_all(val
* self
, val
* p0
);
123 void hash_collection__HashMapValues__init(val
* self
, val
* p0
);
124 extern const int COLOR_hash_collection__HashMapNode_FT0
;
125 extern const int COLOR_hash_collection__HashMapNode_FT1
;
126 extern const int COLOR_hash_collection__HashNode__init
;
127 void hash_collection__HashMapNode__init(val
* self
, val
* p0
, val
* p1
);
128 extern const int COLOR_hash_collection__HashMapIterator___node
;
129 short int hash_collection__HashMapIterator__is_ok(val
* self
);
130 extern const int COLOR_abstract_collection__MapIterator__is_ok
;
131 val
* hash_collection__HashMapIterator__item(val
* self
);
132 val
* hash_collection__HashMapIterator__key(val
* self
);
133 void hash_collection__HashMapIterator__next(val
* self
);
134 extern const int COLOR_hash_collection__HashMaphash_collection__HashMapIterator_FT0hash_collection__HashMapIterator_FT1
;
135 extern const int COLOR_hash_collection__HashMapIterator___map
;
136 extern const int COLOR_hash_collection__HashCollection__first_item
;
137 void hash_collection__HashMapIterator__init(val
* self
, val
* p0
);
138 long hash_collection__HashSet__length(val
* self
);
139 short int hash_collection__HashSet__is_empty(val
* self
);
140 val
* hash_collection__HashSet__first(val
* self
);
141 short int hash_collection__HashSet__has(val
* self
, val
* p0
);
142 extern const int COLOR_abstract_collection__SimpleCollection_FT0
;
143 val
* NEW_hash_collection__HashSetNode(const struct type
* type
);
144 extern const int COLOR_hash_collection__HashSetNodehash_collection__HashSet_FT0
;
145 extern const int COLOR_hash_collection__HashSetNode__init
;
146 void CHECK_NEW_hash_collection__HashSetNode(val
*);
147 void hash_collection__HashSet__add(val
* self
, val
* p0
);
148 void hash_collection__HashSet__remove(val
* self
, val
* p0
);
149 void hash_collection__HashSet__clear(val
* self
);
150 val
* NEW_hash_collection__HashSetIterator(const struct type
* type
);
151 extern const int COLOR_hash_collection__HashSetIteratorhash_collection__HashSet_FT0
;
152 extern const int COLOR_hash_collection__HashSetIterator__init
;
153 void CHECK_NEW_hash_collection__HashSetIterator(val
*);
154 val
* hash_collection__HashSet__iterator(val
* self
);
155 void hash_collection__HashSet__init(val
* self
);
156 extern const int COLOR_abstract_collection__Collectionhash_collection__HashSet_FT0
;
157 extern const int COLOR_hash_collection__HashSet__init
;
158 extern const int COLOR_abstract_collection__SimpleCollection__add_all
;
159 void hash_collection__HashSet__from(val
* self
, val
* p0
);
160 extern const int COLOR_hash_collection__HashSetNode_FT0
;
161 void hash_collection__HashSetNode__init(val
* self
, val
* p0
);
162 extern const int COLOR_hash_collection__HashSetIterator___node
;
163 short int hash_collection__HashSetIterator__is_ok(val
* self
);
164 extern const int COLOR_abstract_collection__Iterator__is_ok
;
165 val
* hash_collection__HashSetIterator__item(val
* self
);
166 void hash_collection__HashSetIterator__next(val
* self
);
167 extern const int COLOR_hash_collection__HashSethash_collection__HashSetIterator_FT0
;
168 extern const int COLOR_hash_collection__HashSetIterator___set
;
169 void hash_collection__HashSetIterator__init(val
* self
, val
* p0
);