nitc: fix calling extern constructors from extern code in separate compiler
[nit.git] / c_src / model.sep.0.h
1 #include "nit.common.h"
2 #define COLOR_model__Model___mclasses 6
3 #define COLOR_model__Model___mproperties 7
4 #define COLOR_model__Model___mclassdef_hierarchy 8
5 #define COLOR_model__Model___intro_mtype_specialization_hierarchy 9
6 #define COLOR_model__Model___full_mtype_specialization_hierarchy 10
7 #define COLOR_model__Model___mclasses_by_name 11
8 short int abstract_collection__MapRead__has_key(val* self, val* p0);
9 val* hash_collection__HashMap___91d_93d(val* self, val* p0);
10 val* model__Model__get_mclasses_by_name(val* self, val* p0);
11 #define COLOR_model__Model___mproperties_by_name 12
12 val* model__Model__get_mproperties_by_name(val* self, val* p0);
13 #define COLOR_model__Model___null_type 13
14 #define COLOR_model__MModule___intro_mclasses 12
15 #define COLOR_model__MModule___mclassdefs 13
16 #define COLOR_model__MModule___flatten_mclass_hierarchy_cache 14
17 #define COLOR_kernel__Object___61d_61d 2
18 val* NEW_poset__POSet(const struct type* type);
19 extern const struct type type_poset__POSetmodel__MClass;
20 #define COLOR_kernel__Object__init 7
21 #define COLOR_mmodule__MModule___in_importation 7
22 val* poset__POSetElement__greaters(val* self);
23 #define COLOR_abstract_collection__Collection__iterator 37
24 #define COLOR_abstract_collection__Iterator__is_ok 33
25 #define COLOR_abstract_collection__Iterator__item 31
26 val* array__AbstractArrayRead__iterator(val* self);
27 short int array__ArrayIterator__is_ok(val* self);
28 val* array__ArrayIterator__item(val* self);
29 #define COLOR_model__MClassDef___mclass 3
30 val* poset__POSet__add_node(val* self, val* p0);
31 #define COLOR_model__MClassDef___supertypes 7
32 #define COLOR_model__MClassType___mclass 4
33 void poset__POSet__add_edge(val* self, val* p0, val* p1);
34 void array__ArrayIterator__next(val* self);
35 #define COLOR_abstract_collection__Iterator__next 32
36 val* model__MModule__flatten_mclass_hierarchy(val* self);
37 void sorter__Comparator__sort(val* self, val* p0);
38 void model__MModule__linearize_mclasses(val* self, val* p0);
39 val* NEW_model__MClassDefSorter(const struct type* type);
40 extern const struct type type_model__MClassDefSorter;
41 #define COLOR_model__MClassDefSorter__mmodule_61d 37
42 void model__MModule__linearize_mclassdefs(val* self, val* p0);
43 val* NEW_model__MPropDefSorter(const struct type* type);
44 extern const struct type type_model__MPropDefSorter;
45 #define COLOR_model__MPropDefSorter__mmodule_61d 37
46 void model__MModule__linearize_mpropdefs(val* self, val* p0);
47 #define COLOR_model__MModule___object_type_cache 15
48 val* string__NativeString__to_s_with_length(char* self, long p0);
49 val* model__MModule__get_primitive_class(val* self, val* p0);
50 #define COLOR_model__MClass___mclass_type 10
51 val* model__MModule__object_type(val* self);
52 #define COLOR_model__MModule___pointer_type 16
53 #define COLOR_model__MModule___bool_type_cache 18
54 val* model__MModule__bool_type(val* self);
55 #define COLOR_mmodule__MModule___model 2
56 short int array__Array___61d_61d(val* self, val* p0);
57 val* model__MModule__sys_type(val* self);
58 val* model__MModule__finalizable_type(val* self);
59 short int string__FlatString___61d_61d(val* self, val* p0);
60 val* NEW_model__MClass(const struct type* type);
61 extern const struct type type_model__MClass;
62 val* model__Object__enum_kind(val* self);
63 val* model_base__Object__public_visibility(val* self);
64 void model__MClass__init(val* self, val* p0, val* p1, val* p2, val* p3, val* p4);
65 val* NEW_model__MClassDef(const struct type* type);
66 extern const struct type type_model__MClassDef;
67 val* NEW_location__Location(const struct type* type);
68 extern const struct type type_location__Location;
69 void location__Location__init(val* self, val* p0, long p1, long p2, long p3, long p4);
70 void model__MClassDef__init(val* self, val* p0, val* p1, val* p2);
71 val* NEW_array__Array(const struct type* type);
72 extern const struct type type_array__Arraykernel__Object;
73 val* NEW_array__NativeArray(int length, const struct type* type);
74 extern const struct type type_array__NativeArraykernel__Object;
75 #define COLOR_array__Array__with_native 74
76 #define COLOR_string__Object__to_s 9
77 void file__Object__print(val* self, val* p0);
78 #define COLOR_array__AbstractArrayRead___length 0
79 val* model__MClass__full_name(val* self);
80 val* string__FlatString___43d(val* self, val* p0);
81 val* abstract_collection__SequenceRead__first(val* self);
82 extern const struct type type_model__MMethod;
83 #define COLOR_model__MProperty___intro_mclassdef 2
84 #define COLOR_model__MClass___mclassdefs 8
85 #define COLOR_model__MClassDef___mmodule 2
86 #define COLOR_abstract_collection__Collection__has 40
87 #define COLOR_model__MClassDef___in_hierarchy 8
88 val* model__MProperty__full_name(val* self);
89 val* model__MModule__try_get_primitive_method(val* self, val* p0, val* p1);
90 #define COLOR_model__MClassDefSorter___mmodule 0
91 #define COLOR_sorter__Comparator_VTCOMPARED 0
92 long poset__POSet__compare(val* self, val* p0, val* p1);
93 long model__MClassDefSorter__compare(val* self, val* p0, val* p1);
94 #define COLOR_model__MClassDefSorter__init 38
95 #define COLOR_model__MPropDefSorter___mmodule 0
96 #define COLOR_model__MPropDef___mclassdef 3
97 long model__MPropDefSorter__compare(val* self, val* p0, val* p1);
98 #define COLOR_model__MPropDefSorter__init 38
99 #define COLOR_model__MClass___intro_mmodule 2
100 #define COLOR_model__MClass___name 3
101 val* mmodule__MModule__full_name(val* self);
102 #define COLOR_model__MClass___arity 4
103 #define COLOR_model__MClass___mparameters 5
104 #define COLOR_model__MClass___kind 6
105 #define COLOR_model__MClass___visibility 7
106 void array__Array__add(val* self, val* p0);
107 void more_collections__MultiHashMap__add_one(val* self, val* p0, val* p1);
108 extern const struct type type_kernel__Int;
109 extern const struct type type_array__Arraymodel__MParameterType;
110 val* NEW_model__MParameterType(const struct type* type);
111 extern const struct type type_model__MParameterType;
112 val* array__Array___91d_93d(val* self, long p0);
113 void model__MParameterType__init(val* self, val* p0, long p1, val* p2);
114 long kernel__Int__successor(long self, long p0);
115 val* NEW_model__MGenericType(const struct type* type);
116 extern const struct type type_model__MGenericType;
117 void model__MGenericType__init(val* self, val* p0, val* p1);
118 #define COLOR_model__MClass___get_mtype_cache 11
119 val* NEW_model__MClassType(const struct type* type);
120 extern const struct type type_model__MClassType;
121 void model__MClassType__init(val* self, val* p0);
122 val* model__MClass__model(val* self);
123 val* model__MClass__to_s(val* self);
124 #define COLOR_model__MClass___intro 9
125 val* poset__POSet___91d_93d(val* self, val* p0);
126 val* model__MClass__in_hierarchy(val* self, val* p0);
127 #define COLOR_model__MClassType___arguments 5
128 val* model__MClass__get_mtype(val* self, val* p0);
129 #define COLOR_model__MClassDef___bound_mtype 4
130 #define COLOR_model__MClassDef___location 5
131 #define COLOR_model__MClassDef___to_s 6
132 val* model__MClassDef__name(val* self);
133 val* model__MClassDef__model(val* self);
134 void model__MClassDef__set_supertypes(val* self, val* p0);
135 val* model__MClassType__collect_mclassdefs(val* self, val* p0);
136 #define COLOR_poset__POSetElement___poset 0
137 void model__MClassDef__add_in_hierarchy(val* self);
138 short int model__MClassDef__is_intro(val* self);
139 #define COLOR_model__MClassDef___intro_mproperties 9
140 #define COLOR_model__MClassDef___mpropdefs 10
141 val* model__MType__name(val* self);
142 #define COLOR_model__MType__need_anchor 39
143 #define COLOR_model__MType__can_resolve_for 42
144 extern const struct type type_model__MVirtualType;
145 #define COLOR_model__MType__resolve_for 41
146 extern const struct type type_model__MNullableType;
147 #define COLOR_model__MNullableType___mtype 4
148 extern const struct type type_model__MNullType;
149 #define COLOR_model__MType__anchor_to 38
150 val* model__MClassType__anchor_to(val* self, val* p0, val* p1);
151 val* model__MClassType__collect_mclasses(val* self, val* p0);
152 val* model__MType__supertype_to(val* self, val* p0, val* p1, val* p2);
153 short int model__MType__is_subtype(val* self, val* p0, val* p1, val* p2);
154 val* model__MType__anchor_to(val* self, val* p0, val* p1);
155 short int model__MType__need_anchor(val* self);
156 #define COLOR_model__MType__collect_mtypes 50
157 #define COLOR_model__MType___as_nullable_cache 2
158 val* NEW_model__MNullableType(const struct type* type);
159 void model__MNullableType__init(val* self, val* p0);
160 val* model__MType__as_nullable(val* self);
161 val* model__MType__as_notnullable(val* self);
162 long model__MType__length(val* self);
163 #define COLOR_model__MType__collect_mclassdefs 48
164 short int model__MType__has_mproperty(val* self, val* p0, val* p1);
165 val* model__MClassType__model(val* self);
166 val* model__MClassType__to_s(val* self);
167 short int model__MClassType__need_anchor(val* self);
168 #define COLOR_model__MClassType__anchor_to 68
169 val* model__MClassType__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
170 short int model__MClassType__can_resolve_for(val* self, val* p0, val* p1, val* p2);
171 #define COLOR_model__MClassType___collect_mclassdefs_cache 6
172 void model__MClassType__collect_things(val* self, val* p0);
173 #define COLOR_model__MClassType___collect_mclasses_cache 7
174 #define COLOR_model__MClassType___collect_mtypes_cache 8
175 val* model__MClassType__collect_mtypes(val* self, val* p0);
176 val* NEW_hash_collection__HashSet(const struct type* type);
177 extern const struct type type_hash_collection__HashSetmodel__MClassDef;
178 extern const struct type type_hash_collection__HashSetmodel__MClass;
179 extern const struct type type_hash_collection__HashSetmodel__MClassType;
180 void hash_collection__HashSet__add(val* self, val* p0);
181 extern const struct type type_array__Arraymodel__MClass;
182 void array__Array__with_capacity(val* self, long p0);
183 void array__AbstractArray__push(val* self, val* p0);
184 short int array__AbstractArrayRead__is_empty(val* self);
185 val* array__AbstractArray__pop(val* self);
186 short int poset__POSetElement___60d_61d(val* self, val* p0);
187 short int hash_collection__HashSet__has(val* self, val* p0);
188 void hash_collection__HashMap___91d_93d_61d(val* self, val* p0, val* p1);
189 #define COLOR_model__MGenericType___need_anchor 10
190 val* string__Collection__join(val* self, val* p0);
191 #define COLOR_model__MGenericType___to_s 9
192 short int model__MGenericType__can_resolve_for(val* self, val* p0, val* p1, val* p2);
193 extern const struct type type_array__Arraymodel__MType;
194 val* model__MGenericType__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
195 #define COLOR_model__MType__length 47
196 long model__MGenericType__length(val* self);
197 #define COLOR_model__MVirtualType___mproperty 4
198 val* model__MVirtualType__model(val* self);
199 val* model__MProperty__lookup_definitions(val* self, val* p0, val* p1);
200 extern const struct type type_model__MVirtualTypeDef;
201 #define COLOR_model__MVirtualTypeDef___bound 8
202 val* NEW_array__ArraySet(const struct type* type);
203 extern const struct type type_array__ArraySetmodel__MType;
204 void array__ArraySet__add(val* self, val* p0);
205 long array__ArraySet__length(val* self);
206 val* array__ArraySet__first(val* self);
207 val* model__MVirtualType__lookup_bound(val* self, val* p0, val* p1);
208 #define COLOR_model__MVirtualTypeDef___is_fixed 9
209 short int model__MVirtualType__is_fixed(val* self, val* p0, val* p1);
210 short int model__MVirtualType__can_resolve_for(val* self, val* p0, val* p1, val* p2);
211 val* model__MVirtualType__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
212 val* model__MProperty__to_s(val* self);
213 val* model__MVirtualType__to_s(val* self);
214 void model__MVirtualType__init(val* self, val* p0);
215 #define COLOR_model__MParameterType___mclass 4
216 val* model__MParameterType__model(val* self);
217 #define COLOR_model__MParameterType___rank 5
218 #define COLOR_model__MParameterType___name 6
219 val* model__MParameterType__to_s(val* self);
220 val* model__MParameterType__lookup_bound(val* self, val* p0, val* p1);
221 short int model__MParameterType__can_resolve_for(val* self, val* p0, val* p1, val* p2);
222 val* model__MParameterType__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
223 #define COLOR_model_base__MEntity__model 32
224 val* model__MNullableType__model(val* self);
225 #define COLOR_model__MNullableType___to_s 5
226 short int model__MNullableType__need_anchor(val* self);
227 val* model__MNullableType__as_nullable(val* self);
228 val* model__MNullableType__as_notnullable(val* self);
229 #define COLOR_model__MType__as_nullable 43
230 val* model__MNullableType__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
231 short int model__MNullableType__can_resolve_for(val* self, val* p0, val* p1, val* p2);
232 long model__MNullableType__length(val* self);
233 val* model__MNullableType__collect_mclassdefs(val* self, val* p0);
234 #define COLOR_model__MType__collect_mclasses 49
235 val* model__MNullableType__collect_mclasses(val* self, val* p0);
236 val* model__MNullableType__collect_mtypes(val* self, val* p0);
237 #define COLOR_model__MNullType___model 4
238 void model__MNullType__init(val* self, val* p0);
239 val* model__MNullType__to_s(val* self);
240 val* model__MNullType__as_nullable(val* self);
241 short int model__MNullType__need_anchor(val* self);
242 val* model__MNullType__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
243 short int model__MNullType__can_resolve_for(val* self, val* p0, val* p1, val* p2);
244 val* model__MNullType__collect_mclassdefs(val* self, val* p0);
245 val* model__MNullType__collect_mclasses(val* self, val* p0);
246 val* model__MNullType__collect_mtypes(val* self, val* p0);
247 #define COLOR_model__MSignature___mparameters 4
248 #define COLOR_model__MSignature___return_mtype 5
249 #define COLOR_model__MParameter___mtype 3
250 long model__MSignature__length(val* self);
251 #define COLOR_model__MParameter___is_vararg 4
252 #define COLOR_model__MSignature___vararg_rank 6
253 void model__MSignature__init(val* self, val* p0, val* p1);
254 long model__MSignature__arity(val* self);
255 val* NEW_string__FlatBuffer(const struct type* type);
256 extern const struct type type_string__FlatBuffer;
257 void string__FlatBuffer__append(val* self, val* p0);
258 #define COLOR_model__MParameter___name 2
259 val* string__FlatBuffer__to_s(val* self);
260 val* model__MSignature__to_s(val* self);
261 extern const struct type type_array__Arraymodel__MParameter;
262 val* model__MParameter__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
263 val* NEW_model__MSignature(const struct type* type);
264 extern const struct type type_model__MSignature;
265 val* model__MSignature__resolve_for(val* self, val* p0, val* p1, val* p2, short int p3);
266 void model__MParameter__init(val* self, val* p0, val* p1, short int p2);
267 val* model__MParameter__to_s(val* self);
268 val* NEW_model__MParameter(const struct type* type);
269 extern const struct type type_model__MParameter;
270 val* model__MParameter__model(val* self);
271 #define COLOR_model__MProperty___name 3
272 #define COLOR_model__MProperty___visibility 4
273 void model__MProperty__init(val* self, val* p0, val* p1, val* p2);
274 #define COLOR_model__MProperty___mpropdefs 5
275 #define COLOR_model__MProperty___intro 6
276 #define COLOR_model__MProperty_VTMPROPDEF 2
277 val* model__MPropDef__model(val* self);
278 val* model__MProperty__model(val* self);
279 #define COLOR_model__MType__as_notnullable 44
280 #define COLOR_model__MProperty___lookup_definitions_cache 7
281 val* more_collections__HashMap2___91d_93d(val* self, val* p0, val* p1);
282 #define COLOR_array__Arraymodel__MProperty_VTMPROPDEF 0
283 void more_collections__HashMap2___91d_93d_61d(val* self, val* p0, val* p1, val* p2);
284 val* model__MProperty__select_most_specific(val* self, val* p0, val* p1);
285 val* model__MProperty__lookup_super_definitions(val* self, val* p0, val* p1);
286 short int poset__POSetElement___60d(val* self, val* p0);
287 val* model__MProperty__lookup_all_definitions(val* self, val* p0, val* p1);
288 val* model__MProperty__lookup_first_definition(val* self, val* p0, val* p1);
289 #define COLOR_model__MProperty___lookup_all_definitions_cache 8
290 val* array__AbstractArrayRead__reversed(val* self);
291 void model__MMethod__init(val* self, val* p0, val* p1, val* p2);
292 #define COLOR_model__MMethod___is_toplevel 10
293 #define COLOR_model__MMethod___is_init 11
294 #define COLOR_model__MMethod___is_root_init 12
295 #define COLOR_model__MMethod___is_new 13
296 short int model__MMethod__is_init_for(val* self, val* p0);
297 void model__MAttribute__init(val* self, val* p0, val* p1, val* p2);
298 void model__MVirtualTypeProp__init(val* self, val* p0, val* p1, val* p2);
299 #define COLOR_model__MVirtualTypeProp___mvirtualtype 10
300 #define COLOR_model__MPropDef___location 2
301 #define COLOR_model__MPropDef___mproperty 4
302 #define COLOR_model__MPropDef_VTMPROPERTY 0
303 #define COLOR_model__MPropDef___to_s 5
304 void model__MPropDef__init(val* self, val* p0, val* p1, val* p2);
305 val* model__MPropDef__name(val* self);
306 short int model__MPropDef__is_intro(val* self);
307 #define COLOR_model__MPropDef_VTMPROPDEF 2
308 val* model__MPropDef__lookup_next_definition(val* self, val* p0, val* p1);
309 void model__MMethodDef__init(val* self, val* p0, val* p1, val* p2);
310 #define COLOR_model__MMethodDef___msignature 8
311 #define COLOR_model__MMethodDef___new_msignature 9
312 #define COLOR_model__MMethodDef___initializers 10
313 #define COLOR_model__MMethodDef___is_abstract 11
314 #define COLOR_model__MMethodDef___is_intern 12
315 #define COLOR_model__MMethodDef___is_extern 13
316 #define COLOR_model__MMethodDef___constant_value 14
317 void model__MAttributeDef__init(val* self, val* p0, val* p1, val* p2);
318 #define COLOR_model__MAttributeDef___static_mtype 8
319 void model__MVirtualTypeDef__init(val* self, val* p0, val* p1, val* p2);
320 #define COLOR_model__MClassKind___to_s 0
321 #define COLOR_model__MClassKind___need_init 1
322 void model__MClassKind__init(val* self, val* p0, short int p1);
323 val* model__Object__interface_kind(val* self);
324 val* model__Object__extern_kind(val* self);
325 short int model__MClassKind__can_specialize(val* self, val* p0);
326 val* NEW_model__MClassKind(const struct type* type);
327 extern const struct type type_model__MClassKind;
328 val* model__Object__abstract_kind(val* self);
329 val* model__Object__concrete_kind(val* self);