NOTICE: Update author list and years
[nit.git] / c_src / core__ropes.sep.0.h
1 #include "nit.common.h"
2 #define COLOR_core__ropes__Concat___chars 1
3 extern const char FILE_core__ropes[];
4 val* NEW_core__ropes__RopeChars(const struct type* type);
5 extern const struct type type_core__ropes__RopeChars;
6 #define COLOR_core__abstract_text__StringCharView__target_61d 12
7 #define COLOR_core__kernel__Object__init 0
8 #define COLOR_core__ropes__Concat___bytes 3
9 val* NEW_core__ropes__RopeBytes(const struct type* type);
10 extern const struct type type_core__ropes__RopeBytes;
11 #define COLOR_core__abstract_text__StringByteView__target_61d 12
12 #define COLOR_core__ropes__Concat___length 5
13 #define COLOR_core__ropes__Concat___bytelen 6
14 val* NEW_core__ropes__RopeSubstrings(const struct type* type);
15 extern const struct type type_core__ropes__RopeSubstrings;
16 void core__ropes___core__ropes__RopeSubstrings___from(val* self, val* p0, long p1);
17 val* core__flat___NativeString___to_s_full(char* self, long p0, long p1);
18 #define COLOR_core__ropes__Concat__lazy_32d_to_cstring 11
19 #define COLOR_core__ropes__Concat___to_cstring 10
20 extern const struct type type_core__Int;
21 extern const char FILE_core__kernel[];
22 val* core__ropes___core__ropes__Concat___core__abstract_text__Text__substrings(val* self);
23 #define COLOR_core__abstract_collection__Iterator__iterator 16
24 #define COLOR_core__abstract_collection__Iterator__is_ok 12
25 #define COLOR_core__abstract_collection__Iterator__item 13
26 #define COLOR_core__abstract_text__FlatText___bytelen 7
27 extern const struct type type_core__FlatString;
28 #define COLOR_core__abstract_text__FlatText___items 5
29 #define COLOR_core__flat__FlatString___first_byte 1
30 #define COLOR_core__abstract_collection__Iterator__next 14
31 #define COLOR_core__abstract_collection__Iterator__finish 15
32 #define COLOR_core__ropes__Concat___left 12
33 #define COLOR_core__ropes__Concat___right 13
34 #define COLOR_core__ropes___core__ropes__Concat___core__kernel__Object__init 101
35 #define COLOR_core__abstract_text__Text__length 22
36 #define COLOR_core__abstract_text__Text__bytelen 35
37 #define COLOR_core__abstract_text__String___43d 76
38 long core___core__Int___Discrete__successor(long self, long p0);
39 #define COLOR_core__ropes__Concat___flat_last_pos_start 8
40 #define COLOR_core__ropes__Concat___flat_last_pos_end 9
41 #define COLOR_core__ropes__Concat___flat_cache 7
42 uint32_t core__flat___FlatText___fetch_char_at(val* self, long p0);
43 val* core__ropes___core__ropes__Concat___get_leaf_at(val* self, long p0);
44 extern const struct type type_core__ropes__Concat;
45 #define COLOR_core__abstract_text__FlatText___length 6
46 val* core___core__FlatString___substring_impl(val* self, long p0, long p1, long p2);
47 #define COLOR_core__abstract_text__Text__substring 24
48 #define COLOR_core__abstract_text__Text__substring_from 30
49 val* NEW_core__ropes__Concat(const struct type* type);
50 #define COLOR_core__abstract_text__String__to_upper 100
51 #define COLOR_core__ropes__Concat__left_61d 86
52 #define COLOR_core__ropes__Concat__right_61d 87
53 #define COLOR_core__abstract_text__String__to_lower 97
54 #define COLOR_core__abstract_text__Object__to_s 3
55 long core__ropes___Sys___maxlen(val* self);
56 val* NEW_core__Array(const struct type* type);
57 extern const struct type type_core__Array__core__String;
58 void core___core__Array___core__kernel__Object__init(val* self);
59 val* NEW_core__ropes__RopeCharIteratorPiece(const struct type* type);
60 extern const struct type type_core__ropes__RopeCharIteratorPiece;
61 #define COLOR_core__ropes__RopeCharIteratorPiece__node_61d 17
62 #define COLOR_core__ropes__RopeCharIteratorPiece__ldone_61d 14
63 #define COLOR_core__ropes__RopeCharIteratorPiece__rdone_61d 15
64 #define COLOR_core__ropes__RopeCharIteratorPiece__prev_61d 18
65 #define COLOR_core__ropes__RopeCharIteratorPiece___node 0
66 void core___core__AbstractArray___core__abstract_collection__Sequence__push(val* self, val* p0);
67 #define COLOR_core__ropes__RopeCharIteratorPiece___prev 3
68 #define COLOR_core__ropes__RopeCharIteratorPiece___ldone 1
69 #define COLOR_core__ropes__RopeCharIteratorPiece___rdone 2
70 #define COLOR_core__array__AbstractArrayRead___length 0
71 val* core__ropes___core__ropes__Concat___recurse_balance(val* self, val* p0, long p1);
72 val* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0);
73 void core___core__Array___core__abstract_collection__Sequence___91d_93d_61d(val* self, long p0, val* p1);
74 #define COLOR_core__ropes__RopeBuffer___chars 3
75 val* NEW_core__RopeBufferChars(const struct type* type);
76 extern const struct type type_core__RopeBufferChars;
77 #define COLOR_core__ropes__RopeBuffer___bytes 5
78 val* NEW_core__RopeBufferBytes(const struct type* type);
79 extern const struct type type_core__RopeBufferBytes;
80 #define COLOR_core__ropes__RopeBuffer___str 7
81 #define COLOR_core__ropes__RopeBuffer___ns 8
82 #define COLOR_core__ropes__RopeBuffer___rpos 9
83 #define COLOR_core__ropes__RopeBuffer___dumped 11
84 long core__native___Byte___u8len(unsigned char self);
85 #define COLOR_core__ropes__RopeBuffer___bytelen 12
86 #define COLOR_core__ropes__RopeBuffer___buf_size 13
87 val* NEW_core__ropes__RopeBufSubstringIterator(const struct type* type);
88 extern const struct type type_core__ropes__RopeBufSubstringIterator;
89 void core__ropes___core__ropes__RopeBufSubstringIterator___from(val* self, val* p0);
90 #define COLOR_core___core__RopeBuffer___core__kernel__Object__init 99
91 void core___core__RopeBuffer___core__kernel__Object__init(val* self);
92 #define COLOR_core__abstract_text__Text___91d_93d 29
93 long core___core__NativeString___char_to_byte_index_cached(char* self, long p0, long p1, long p2);
94 uint32_t core___core__NativeString___char_at(char* self, long p0);
95 long core___core__RopeBuffer___core__abstract_text__Text__length(val* self);
96 void core___core__RopeBuffer___core__abstract_text__Buffer__add(val* self, uint32_t p0);
97 long core__abstract_text___Char___u8char_len(uint32_t self);
98 val* core__abstract_text___Char___Object__to_s(uint32_t self);
99 void core__flat___NativeString___set_char_at(char* self, long p0, uint32_t p1);
100 val* NEW_core__RopeBuffer(const struct type* type);
101 extern const struct type type_core__RopeBuffer;
102 val* core___core__RopeBuffer___core__abstract_text__Text__empty(val* self);
103 void core___core__RopeBuffer___from(val* self, val* p0);
104 val* core__flat___NativeString___to_s_unsafe(char* self, val* p0);
105 void core___core__RopeBuffer___persist_buffer(val* self);
106 extern const struct type type_core__FlatText;
107 #define COLOR_core__flat__FlatText__first_byte 86
108 long core___core__NativeString___find_beginning_of_char_at(char* self, long p0);
109 void core___core__RopeBuffer___dump_buffer(val* self);
110 #define COLOR_core__abstract_text__Text__substrings 36
111 void core___core__RopeBuffer___core__abstract_text__Buffer__append(val* self, val* p0);
112 #define COLOR_core__abstract_text__Buffer___written 2
113 val* NEW_core__FlatString(const struct type* type);
114 void core___core__FlatString___with_infos(val* self, char* p0, long p1, long p2);
115 void core___core__FlatString___full(val* self, char* p0, long p1, long p2, long p3);
116 val* core__ropes___FlatString___core__abstract_text__String___43d(val* self, val* p0);
117 #define COLOR_core__ropes___core__ropes__RopeCharIteratorPiece___core__kernel__Object__init 20
118 #define COLOR_core__ropes__RopeByteReverseIterator___ns 0
119 #define COLOR_core__ropes__RopeByteReverseIterator___pns 1
120 #define COLOR_core__ropes__RopeByteReverseIterator___pos 2
121 #define COLOR_core__ropes__RopeByteReverseIterator___subs 3
122 val* NEW_core__ropes__ReverseRopeSubstrings(const struct type* type);
123 extern const struct type type_core__ropes__ReverseRopeSubstrings;
124 void core__ropes___core__ropes__ReverseRopeSubstrings___from(val* self, val* p0, long p1);
125 #define COLOR_core__abstract_collection__IndexedIterator__index 18
126 unsigned char core__ropes___core__ropes__RopeByteReverseIterator___core__abstract_collection__Iterator__item(val* self);
127 val* BOX_core__Byte(unsigned char);
128 long core__flat___FlatText___last_byte(val* self);
129 #define COLOR_core__ropes__RopeByteIterator___pns 0
130 #define COLOR_core__ropes__RopeByteIterator___ns 1
131 #define COLOR_core__ropes__RopeByteIterator___subs 2
132 #define COLOR_core__ropes__RopeByteIterator___max 3
133 #define COLOR_core__ropes__RopeByteIterator___pos 4
134 unsigned char core__ropes___core__ropes__RopeByteIterator___core__abstract_collection__Iterator__item(val* self);
135 #define COLOR_core__ropes__RopeCharReverseIterator___ns 0
136 #define COLOR_core__ropes__RopeCharReverseIterator___pns 1
137 #define COLOR_core__ropes__RopeCharReverseIterator___pos 2
138 #define COLOR_core__ropes__RopeCharReverseIterator___subs 3
139 uint32_t core__ropes___core__ropes__RopeCharReverseIterator___core__abstract_collection__Iterator__item(val* self);
140 #define COLOR_core__ropes__RopeCharIterator___pns 0
141 #define COLOR_core__ropes__RopeCharIterator___str 1
142 #define COLOR_core__ropes__RopeCharIterator___subs 2
143 #define COLOR_core__ropes__RopeCharIterator___max 3
144 #define COLOR_core__ropes__RopeCharIterator___pos 4
145 uint32_t core__ropes___core__ropes__RopeCharIterator___core__abstract_collection__Iterator__item(val* self);
146 #define COLOR_core__ropes__ReverseRopeSubstrings___iter 0
147 #define COLOR_core__ropes__ReverseRopeSubstrings___pos 1
148 #define COLOR_core__ropes__ReverseRopeSubstrings___str 2
149 #define COLOR_core__kernel__Object___61d_61d 4
150 #define COLOR_core__ropes__RopeBufSubstringIterator___iter 0
151 #define COLOR_core__ropes__RopeBufSubstringIterator___nsstr 1
152 #define COLOR_core__ropes__RopeBufSubstringIterator___nsstr_done 2
153 short int core__ropes___core__ropes__RopeBufSubstringIterator___core__abstract_collection__Iterator__is_ok(val* self);
154 #define COLOR_core__ropes__RopeSubstrings___iter 0
155 #define COLOR_core__ropes__RopeSubstrings___pos 1
156 #define COLOR_core__ropes__RopeSubstrings___max 2
157 #define COLOR_core__ropes__RopeSubstrings___str 3
158 #define COLOR_core__abstract_text__StringCharView___target 0
159 extern const char FILE_core__abstract_text[];
160 uint32_t core__ropes___core__ropes__Concat___core__abstract_text__Text___91d_93d(val* self, long p0);
161 uint32_t core__ropes___core__ropes__RopeChars___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0);
162 val* NEW_core__ropes__RopeCharIterator(const struct type* type);
163 extern const struct type type_core__ropes__RopeCharIterator;
164 void core__ropes___core__ropes__RopeCharIterator___from(val* self, val* p0, long p1);
165 val* NEW_core__ropes__RopeCharReverseIterator(const struct type* type);
166 extern const struct type type_core__ropes__RopeCharReverseIterator;
167 void core__ropes___core__ropes__RopeCharReverseIterator___from(val* self, val* p0, long p1);
168 #define COLOR_core__abstract_text__StringByteView___target 0
169 unsigned char core__ropes___core__ropes__RopeBytes___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0);
170 val* NEW_core__ropes__RopeByteIterator(const struct type* type);
171 extern const struct type type_core__ropes__RopeByteIterator;
172 void core__ropes___core__ropes__RopeByteIterator___from(val* self, val* p0, long p1);
173 val* NEW_core__ropes__RopeByteReverseIterator(const struct type* type);
174 extern const struct type type_core__ropes__RopeByteReverseIterator;
175 void core__ropes___core__ropes__RopeByteReverseIterator___from(val* self, val* p0, long p1);
176 #define COLOR_core__ropes__RopeBufferCharIterator___sit 0
177 #define COLOR_core__abstract_text__Text__chars 23
178 #define COLOR_core__abstract_collection__SequenceRead__iterator_from 30
179 short int core___core__RopeBufferCharIterator___core__abstract_collection__Iterator__is_ok(val* self);
180 uint32_t core___core__RopeBufferCharIterator___core__abstract_collection__Iterator__item(val* self);
181 #define COLOR_core__ropes__RopeBufferCharReverseIterator___sit 0
182 #define COLOR_core__abstract_collection__SequenceRead__reverse_iterator_from 37
183 short int core___core__RopeBufferCharReverseIterator___core__abstract_collection__Iterator__is_ok(val* self);
184 uint32_t core___core__RopeBufferCharReverseIterator___core__abstract_collection__Iterator__item(val* self);
185 uint32_t core___core__RopeBuffer___core__abstract_text__Text___91d_93d(val* self, long p0);
186 uint32_t core___core__RopeBufferChars___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0);
187 extern const struct type type_core__Char;
188 void core___core__RopeBuffer___core__abstract_text__Buffer___91d_93d_61d(val* self, long p0, uint32_t p1);
189 void core___core__RopeBufferChars___core__abstract_collection__Sequence___91d_93d_61d(val* self, long p0, uint32_t p1);
190 void core___core__RopeBufferChars___core__abstract_collection__SimpleCollection__add(val* self, uint32_t p0);
191 void core___core__RopeBufferChars___core__abstract_collection__Sequence__push(val* self, uint32_t p0);
192 val* NEW_core__RopeBufferCharIterator(const struct type* type);
193 extern const struct type type_core__RopeBufferCharIterator;
194 void core___core__RopeBufferCharIterator___from(val* self, val* p0, long p1);
195 val* NEW_core__RopeBufferCharReverseIterator(const struct type* type);
196 extern const struct type type_core__RopeBufferCharReverseIterator;
197 void core___core__RopeBufferCharReverseIterator___from(val* self, val* p0, long p1);
198 #define COLOR_core__ropes__RopeBufferByteIterator___sit 0
199 #define COLOR_core__ropes__RopeBufferByteIterator___ns 1
200 #define COLOR_core__ropes__RopeBufferByteIterator___pns 2
201 #define COLOR_core__ropes__RopeBufferByteIterator___maxpos 3
202 #define COLOR_core__ropes__RopeBufferByteIterator___index 4
203 #define COLOR_core__abstract_text__Text__bytes 71
204 unsigned char core___core__RopeBufferByteIterator___core__abstract_collection__Iterator__item(val* self);
205 #define COLOR_core__ropes__RopeBufferByteReverseIterator___sit 0
206 #define COLOR_core__ropes__RopeBufferByteReverseIterator___ns 1
207 #define COLOR_core__ropes__RopeBufferByteReverseIterator___pns 2
208 #define COLOR_core__ropes__RopeBufferByteReverseIterator___index 3
209 unsigned char core___core__RopeBufferByteReverseIterator___core__abstract_collection__Iterator__item(val* self);
210 #define COLOR_core__abstract_collection__SequenceRead___91d_93d 29
211 unsigned char core___core__RopeBufferBytes___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0);
212 val* NEW_core__RopeBufferByteIterator(const struct type* type);
213 extern const struct type type_core__RopeBufferByteIterator;
214 void core___core__RopeBufferByteIterator___from(val* self, val* p0, long p1);
215 val* NEW_core__RopeBufferByteReverseIterator(const struct type* type);
216 extern const struct type type_core__RopeBufferByteReverseIterator;
217 void core___core__RopeBufferByteReverseIterator___from(val* self, val* p0, long p1);