1 #include "nit.common.h"
2 #define COLOR_hash_collection__HashCollection_FT0 11
3 #define COLOR_kernel__Object__hash 6
4 #define COLOR_hash_collection__HashCollection___capacity 1
5 extern const struct type type_kernel__Int
;
6 long hash_collection__HashCollection__index_at(val
* self
, val
* p0
);
7 #define COLOR_hash_collection__HashCollection___last_accessed_key 5
8 #define COLOR_hash_collection__HashCollection___last_accessed_node 6
9 val
* hash_collection__HashCollection__node_at_idx(val
* self
, long p0
, val
* p1
);
10 val
* hash_collection__HashCollection__node_at(val
* self
, val
* p0
);
11 #define COLOR_hash_collection__HashCollection___array 0
12 #define COLOR_kernel__Object___61d_61d 2
13 #define COLOR_hash_collection__HashNode___key 0
14 #define COLOR_hash_collection__HashNode___next_in_bucklet 4
15 #define COLOR_nullable_hash_collection__HashCollection_FT1 12
16 #define COLOR_hash_collection__HashCollection_FT1 13
17 #define COLOR_hash_collection__HashCollection___first_item 3
18 #define COLOR_hash_collection__HashCollection___last_item 4
19 #define COLOR_hash_collection__HashNode___next_item 1
20 #define COLOR_hash_collection__HashNode___prev_item 2
21 #define COLOR_array__NativeArray_FT0 0
22 #define COLOR_hash_collection__HashNode___prev_in_bucklet 3
23 #define COLOR_nullable_hash_collection__HashCollection_FT0 14
24 #define COLOR_hash_collection__HashCollection___length 2
25 void hash_collection__HashCollection__enlarge(val
* self
, long p0
);
26 void hash_collection__HashCollection__store(val
* self
, long p0
, val
* p1
);
27 void hash_collection__HashCollection__remove_node(val
* self
, val
* p0
);
28 void hash_collection__HashCollection__raz(val
* self
);
29 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
30 #define COLOR_array__NativeArrayarray__ArrayCapable_FT0 4
31 #define COLOR_hash_collection__HashNode_FT0 2
32 void hash_collection__HashNode__init(val
* self
, val
* p0
);
33 #define COLOR_abstract_collection__MapRead_FT0 3
34 #define COLOR_abstract_collection__MapRead__provide_default_value 37
35 #define COLOR_hash_collection__HashMapNode___value 5
36 val
* hash_collection__HashMap___91d_93d(val
* self
, val
* p0
);
37 val
* NEW_hash_collection__HashMapIterator(const struct type
* type
);
38 #define COLOR_hash_collection__HashMapIteratorhash_collection__HashMap_FT0hash_collection__HashMap_FT1 7
39 void hash_collection__HashMapIterator__init(val
* self
, val
* p0
);
40 val
* hash_collection__HashMap__iterator(val
* self
);
41 long hash_collection__HashMap__length(val
* self
);
42 short int hash_collection__HashMap__is_empty(val
* self
);
43 #define COLOR_abstract_collection__Map_FT0 8
44 #define COLOR_abstract_collection__Map_FT1 9
45 val
* NEW_hash_collection__HashMapNode(const struct type
* type
);
46 #define COLOR_hash_collection__HashMapNodehash_collection__HashMap_FT0hash_collection__HashMap_FT1 10
47 void hash_collection__HashMapNode__init(val
* self
, val
* p0
, val
* p1
);
48 void hash_collection__HashMap___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
49 void hash_collection__HashMap__clear(val
* self
);
50 void hash_collection__HashMap__init(val
* self
);
51 #define COLOR_hash_collection__HashMap___keys 7
52 #define COLOR_hash_collection__HashMap___values 8
53 #define COLOR_hash_collection__HashMapKeys___map 0
54 val
* hash_collection__HashMapKeys__first(val
* self
);
55 #define COLOR_abstract_collection__Collection_FT0 8
56 short int hash_collection__HashMapKeys__has(val
* self
, val
* p0
);
57 short int hash_collection__HashMapKeys__is_empty(val
* self
);
58 long hash_collection__HashMapKeys__length(val
* self
);
59 val
* NEW_abstract_collection__MapKeysIterator(const struct type
* type
);
60 #define COLOR_abstract_collection__MapKeysIteratorhash_collection__HashMapKeys_FT0hash_collection__HashMapKeys_FT1 1
61 #define COLOR_abstract_collection__MapIteratorabstract_collection__MapKeysIterator_FT0abstract_collection__MapKeysIterator_FT1 1
62 #define COLOR_abstract_collection__MapKeysIterator___original_iterator 0
63 val
* hash_collection__HashMapKeys__iterator(val
* self
);
64 void hash_collection__HashMapKeys__clear(val
* self
);
65 #define COLOR_abstract_collection__RemovableCollection_FT0 5
66 void hash_collection__HashMapKeys__remove(val
* self
, val
* p0
);
67 #define COLOR_hash_collection__HashMaphash_collection__HashMapKeys_FT0hash_collection__HashMapKeys_FT1 0
68 #define COLOR_hash_collection__HashMapValues___map 0
69 val
* hash_collection__HashMapValues__first(val
* self
);
70 short int hash_collection__HashMapValues__has(val
* self
, val
* p0
);
71 short int hash_collection__HashMapValues__is_empty(val
* self
);
72 long hash_collection__HashMapValues__length(val
* self
);
73 val
* NEW_abstract_collection__MapValuesIterator(const struct type
* type
);
74 #define COLOR_abstract_collection__MapValuesIteratorhash_collection__HashMapValues_FT0hash_collection__HashMapValues_FT1 1
75 #define COLOR_abstract_collection__MapIteratorabstract_collection__MapValuesIterator_FT0abstract_collection__MapValuesIterator_FT1 1
76 #define COLOR_abstract_collection__MapValuesIterator___original_iterator 0
77 val
* hash_collection__HashMapValues__iterator(val
* self
);
78 void hash_collection__HashMapValues__clear(val
* self
);
79 void hash_collection__HashMapValues__remove(val
* self
, val
* p0
);
80 #define COLOR_hash_collection__HashMaphash_collection__HashMapValues_FT0hash_collection__HashMapValues_FT1 0
81 #define COLOR_hash_collection__HashMapNode_FT0 0
82 #define COLOR_hash_collection__HashMapNode_FT1 1
83 #define COLOR_hash_collection__HashMapIterator___node 1
84 short int hash_collection__HashMapIterator__is_ok(val
* self
);
85 val
* hash_collection__HashMapIterator__item(val
* self
);
86 val
* hash_collection__HashMapIterator__key(val
* self
);
87 void hash_collection__HashMapIterator__next(val
* self
);
88 #define COLOR_hash_collection__HashMaphash_collection__HashMapIterator_FT0hash_collection__HashMapIterator_FT1 0
89 #define COLOR_hash_collection__HashMapIterator___map 0
90 long hash_collection__HashSet__length(val
* self
);
91 short int hash_collection__HashSet__is_empty(val
* self
);
92 val
* hash_collection__HashSet__first(val
* self
);
93 short int hash_collection__HashSet__has(val
* self
, val
* p0
);
94 #define COLOR_abstract_collection__SimpleCollection_FT0 1
95 val
* NEW_hash_collection__HashSetNode(const struct type
* type
);
96 #define COLOR_hash_collection__HashSetNodehash_collection__HashSet_FT0 0
97 void hash_collection__HashSetNode__init(val
* self
, val
* p0
);
98 void hash_collection__HashSet__add(val
* self
, val
* p0
);
99 void hash_collection__HashSet__remove(val
* self
, val
* p0
);
100 void hash_collection__HashSet__clear(val
* self
);
101 val
* NEW_hash_collection__HashSetIterator(const struct type
* type
);
102 #define COLOR_hash_collection__HashSetIteratorhash_collection__HashSet_FT0 2
103 void hash_collection__HashSetIterator__init(val
* self
, val
* p0
);
104 val
* hash_collection__HashSet__iterator(val
* self
);
105 void hash_collection__HashSet__init(val
* self
);
106 #define COLOR_abstract_collection__Collectionhash_collection__HashSet_FT0 6
107 void abstract_collection__SimpleCollection__add_all(val
* self
, val
* p0
);
108 void hash_collection__HashSet__from(val
* self
, val
* p0
);
109 #define COLOR_hash_collection__HashSetNode_FT0 0
110 #define COLOR_hash_collection__HashSetIterator___node 1
111 short int hash_collection__HashSetIterator__is_ok(val
* self
);
112 val
* hash_collection__HashSetIterator__item(val
* self
);
113 void hash_collection__HashSetIterator__next(val
* self
);
114 #define COLOR_hash_collection__HashSethash_collection__HashSetIterator_FT0 1
115 #define COLOR_hash_collection__HashSetIterator___set 0