1 #include "nit.common.h"
2 #define COLOR_nit__modelize_property__ToolContext___modelize_property_phase 45
3 extern const char FILE_nit__modelize_property
[];
4 #define COLOR_nit__parser_nodes__AModule___n_classdefs 7
5 extern const char FILE_nit__parser_nodes
[];
6 val
* nit___nit__ANodes___standard__abstract_collection__Collection__iterator(val
* self
);
7 #define COLOR_standard__abstract_collection__Iterator__is_ok 34
8 #define COLOR_standard__abstract_collection__Iterator__item 32
9 #define COLOR_nit__modelize_class__AClassdef___all_defs 7
10 short int standard___standard__Array___standard__kernel__Object___61d_61d(val
* self
, val
* p0
);
11 #define COLOR_nit__phase__Phase___toolcontext 0
12 extern const char FILE_nit__phase
[];
13 val
* nit__modelbuilder_base___ToolContext___modelbuilder(val
* self
);
14 void nit__modelize_property___ModelBuilder___build_properties(val
* self
, val
* p0
);
15 #define COLOR_standard__abstract_collection__Iterator__next 33
16 #define COLOR_nit__modelize_property__ModelBuilder___mpropdef2npropdef 11
17 val
* standard___standard__HashMap___standard__abstract_collection__MapRead__get_or_null(val
* self
, val
* p0
);
18 #define COLOR_standard__kernel__Object___61d_61d 2
19 #define COLOR_nit__modelbuilder_base__ModelBuilder___toolcontext 1
20 extern const char FILE_nit__modelbuilder_base
[];
21 void nit__phase___ToolContext___run_phases_on_npropdef(val
* self
, val
* p0
);
22 extern const struct type type_nit__MMethodDef
;
23 #define COLOR_nit__model__MPropDef___mproperty 5
24 extern const char FILE_nit__model
[];
25 #define COLOR_nit__model__MMethod___is_root_init 17
26 #define COLOR_nit__modelize_class__ModelBuilder___mclassdef2nclassdef 9
27 extern const char FILE_nit__modelize_class
[];
28 #define COLOR_nit__model__MPropDef___mclassdef 4
29 val
* NEW_standard__Array(const struct type
* type
);
30 extern const struct type type_standard__Array__nit__AAttrPropdef
;
31 void standard___standard__Array___standard__kernel__Object__init(val
* self
);
32 #define COLOR_nit__parser_nodes__AClassdef___n_propdefs 4
33 extern const struct type type_nit__AAttrPropdef
;
34 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
35 #define COLOR_nit__modelize_property__AClassdef___build_properties_is_done 8
36 #define COLOR_nit__modelize_class__AClassdef___mclassdef 6
37 #define COLOR_nit__model__MClassDef___in_hierarchy 14
38 val
* poset___poset__POSetElement___direct_greaters(val
* self
);
39 #define COLOR_standard__abstract_collection__Collection__iterator 37
40 short int standard___standard__MapRead___has_key(val
* self
, val
* p0
);
41 val
* standard___standard__HashMap___standard__abstract_collection__MapRead___91d_93d(val
* self
, val
* p0
);
42 void nit__modelize_property___MClassDef___build_self_type(val
* self
, val
* p0
, val
* p1
);
43 val
* standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__iterator(val
* self
);
44 short int standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
45 val
* standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__item(val
* self
);
46 #define COLOR_nit__modelize_property__APropdef__build_property 83
47 #define COLOR_nit__modelize_property__APropdef__build_signature 84
48 #define COLOR_nit__modelize_property__APropdef__check_signature 85
49 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__next(val
* self
);
50 void nit__modelize_property___ModelBuilder___process_default_constructors(val
* self
, val
* p0
);
51 #define COLOR_nit__modelize_property__ModelBuilder___the_root_init_mmethod 12
52 short int nit___nit__MClassDef___is_intro(val
* self
);
53 #define COLOR_nit__model__MClassDef___mclass 5
54 #define COLOR_nit__model__MClass___name 5
55 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
56 val
* NEW_nit__MMethod(const struct type
* type
);
57 extern const struct type type_nit__MMethod
;
58 #define COLOR_nit__model__MClass___visibility 13
59 #define COLOR_nit__model__MProperty__intro_mclassdef_61d 42
60 #define COLOR_nit__model__MProperty__name_61d 43
61 #define COLOR_nit__model__MProperty__visibility_61d 45
62 #define COLOR_standard__kernel__Object__init 7
63 val
* NEW_nit__MMethodDef(const struct type
* type
);
64 #define COLOR_nit__parser_nodes__ANode___location 0
65 #define COLOR_nit__model__MPropDef__mclassdef_61d 42
66 #define COLOR_nit__model__MPropDef__mproperty_61d 44
67 #define COLOR_nit__model__MPropDef__location_61d 46
68 extern const struct type type_standard__Array__nit__MParameter
;
69 val
* NEW_nit__MSignature(const struct type
* type
);
70 extern const struct type type_nit__MSignature
;
71 #define COLOR_nit__model__MSignature__mparameters_61d 62
72 #define COLOR_nit__model__MSignature__return_mtype_61d 64
73 #define COLOR_nit__model__MMethodDef___msignature 13
74 #define COLOR_nit__model__MMethodDef___new_msignature 14
75 #define COLOR_nit__model__MMethod___is_init 16
76 #define COLOR_nit__modelize_property__AClassdef___mfree_init 9
77 extern const struct type type_standard__Array__standard__Object
;
78 val
* NEW_standard__NativeArray(int length
, const struct type
* type
);
79 extern const struct type type_standard__NativeArray__standard__Object
;
80 #define COLOR_standard__array__Array__with_native 73
81 #define COLOR_standard__string__Object__to_s 9
82 void nit___nit__ToolContext___info(val
* self
, val
* p0
, long p1
);
83 #define COLOR_nit__model__MClass___kind 12
84 #define COLOR_nit__model__MClassKind___need_init 1
85 #define COLOR_nit__model__MClassDef___mpropdefs 16
86 #define COLOR_nit__model__MProperty___name 5
87 extern const struct type type_nit__AStdClassdef
;
88 extern const struct type type_standard__Array__nit__MProperty
;
89 extern const struct type type_nit__AMethPropdef
;
90 #define COLOR_nit__modelize_property__APropdef___mpropdef 16
91 val
* nit__annotation___Prod___get_single_annotation(val
* self
, val
* p0
, val
* p1
);
92 short int nit___nit__MPropDef___is_intro(val
* self
);
93 void nit___nit__ModelBuilder___error(val
* self
, val
* p0
, val
* p1
);
94 #define COLOR_nit__model__MSignature___mparameters 5
95 #define COLOR_nit__model__MParameter___mtype 5
96 val
* NEW_nit__MParameter(const struct type
* type
);
97 extern const struct type type_nit__MParameter
;
98 #define COLOR_nit__model__MParameter___name 4
99 #define COLOR_nit__model__MParameter__name_61d 41
100 #define COLOR_nit__model__MParameter__mtype_61d 43
101 #define COLOR_nit__model__MParameter__is_vararg_61d 45
102 #define COLOR_nit__modelize_property__AAttrPropdef___noinit 23
103 #define COLOR_nit__modelize_property__AAttrPropdef___mreadpropdef 27
104 #define COLOR_nit__modelize_property__AAttrPropdef___has_value 25
105 val
* standard___standard__Text___substring_from(val
* self
, long p0
);
106 #define COLOR_nit__model__MAttributeDef___static_mtype 13
107 #define COLOR_nit__modelize_property__AAttrPropdef___mwritepropdef 28
108 #define COLOR_nit__model__MClassDef___mmodule 4
109 #define COLOR_nit__model__MClassDef___bound_mtype 6
110 val
* nit___nit__MProperty___lookup_super_definitions(val
* self
, val
* p0
, val
* p1
);
111 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__is_empty(val
* self
);
112 #define COLOR_nit__model__MProperty___intro_mclassdef 4
113 void nit___nit__ToolContext___error(val
* self
, val
* p0
, val
* p1
);
114 val
* standard___standard__SequenceRead___Collection__first(val
* self
);
115 #define COLOR_standard__array__AbstractArrayRead___length 0
116 extern const struct type type_standard__Int
;
117 extern const char FILE_standard__kernel
[];
118 #define COLOR_nit__model__MMethodDef___initializers 15
119 val
* standard___standard__Array___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
120 val
* standard__string___Collection___join(val
* self
, val
* p0
);
121 #define COLOR_nit__modelize_property__MClass___root_init 18
122 void standard___standard__Sequence___prepend(val
* self
, val
* p0
);
123 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add_all(val
* self
, val
* p0
);
124 #define COLOR_nit__modelize_property__MPropDef___has_supercall 12
125 #define COLOR_nit__model__MType__as_notnullable 50
126 extern const struct type type_nit__MClassType
;
127 #define COLOR_nit__model__MClassType___mclass 5
128 #define COLOR_nit__model__MClass___intro 15
129 extern const struct type type_nit__MVirtualType
;
130 #define COLOR_nit__model__MVirtualType___mproperty 5
131 #define COLOR_nit__model__MProperty___visibility 10
132 extern const struct type type_nit__MParameterType
;
133 void nit___nit__ANode___debug(val
* self
, val
* p0
);
134 val
* nit___nit__MModule___visibility_for(val
* self
, val
* p0
);
135 short int standard___standard__Comparable____62d(val
* self
, val
* p0
);
136 extern const struct type type_nit__AType
;
137 #define COLOR_nit__parser_nodes__AType___n_types 6
138 #define COLOR_nit__modelize_class__AType___mtype 7
139 void nit__modelize_property___ModelBuilder___check_visibility(val
* self
, val
* p0
, val
* p1
, val
* p2
);
140 extern const struct type type_nit__MGenericType
;
141 #define COLOR_nit__model__MGenericType___arguments 12
142 #define COLOR_nit__modelize_property__MClassDef___mprop2npropdef 17
143 val
* nit___nit__ModelBuilder___try_get_mproperty_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
144 extern const struct type type_nit__MVirtualTypeProp
;
145 #define COLOR_nit__model__MProperty___intro 12
146 val
* nit__model_base___standard__Object___public_visibility(val
* self
);
147 #define COLOR_nit__model__MVirtualTypeDef___is_fixed 14
148 val
* NEW_nit__MVirtualTypeDef(const struct type
* type
);
149 extern const struct type type_nit__MVirtualTypeDef
;
150 #define COLOR_nit__model__MClassDef___location 7
151 #define COLOR_nit__model__MClass___mclass_type 16
152 #define COLOR_nit__model__MVirtualTypeDef___bound 13
153 #define COLOR_nullable__nit__modelize_property__APropdef__MPROPDEF 0
154 #define COLOR_nit__modelbuilder_base__AVisibility__mvisibility 56
155 val
* nit__model_base___standard__Object___intrude_visibility(val
* self
);
156 val
* nit__model_base___standard__Object___private_visibility(val
* self
);
157 val
* nit__model_base___standard__Object___protected_visibility(val
* self
);
158 void nit___nit__ModelBuilder___advice(val
* self
, val
* p0
, val
* p1
, val
* p2
);
159 #define COLOR_nit__parser_nodes__ADefinition___n_doc 10
160 val
* nit__modelbuilder_base___ADoc___to_mdoc(val
* self
);
161 #define COLOR_nit__mdoc__MEntity___mdoc 0
162 #define COLOR_nit__mdoc__MDoc___original_mentity 1
163 short int standard___standard__Comparable____62d_61d(val
* self
, val
* p0
);
164 val
* NEW_nit__MDeprecationInfo(const struct type
* type
);
165 extern const struct type type_nit__MDeprecationInfo
;
166 #define COLOR_nit__mdoc__MDeprecationInfo___mdoc 0
167 #define COLOR_nit__mdoc__MEntity___deprecation 1
168 #define COLOR_standard__abstract_collection__MapRead___91d_93d 32
169 #define COLOR_nit__location__Location___line_start 1
170 val
* BOX_standard__Int(long);
171 #define COLOR_nit__model__MMethod___is_toplevel 15
172 #define COLOR_nit__parser_nodes__ANode___parent 1
173 extern const struct type type_nit__ATopClassdef
;
174 #define COLOR_nit__mmodule__MModule___mgroup 5
175 #define COLOR_nit__modelbuilder_base__ModelBuilder___model 0
176 val
* nit__model___Model___get_mproperties_by_name(val
* self
, val
* p0
);
177 extern const char FILE_nit__mproject
[];
178 #define COLOR_nit__mproject__MGroup___mproject 5
179 val
* nit___nit__MProperty___nit__model_base__MEntity__full_name(val
* self
);
180 #define COLOR_nit__modelize_property__ASignature___is_visited 8
181 #define COLOR_nit__modelize_property__ASignature___param_names 9
182 #define COLOR_nit__modelize_property__ASignature___param_types 10
183 #define COLOR_nit__modelize_property__ASignature___vararg_rank 11
184 #define COLOR_nit__modelize_property__ASignature___ret_type 12
185 #define COLOR_nit__parser_nodes__ASignature___n_params 5
186 #define COLOR_nit__parser_nodes__AParam___n_id 4
187 val
* nit__lexer_work___Token___text(val
* self
);
188 #define COLOR_nit__parser_nodes__AParam___n_type 5
189 val
* nit__modelize_class___ModelBuilder___resolve_mtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
190 long standard___standard__Int___Discrete__successor(long self
, long p0
);
191 #define COLOR_nit__parser_nodes__AParam___n_dotdotdot 6
192 #define COLOR_nit__parser_nodes__ASignature___n_type 7
193 #define COLOR_nit__modelize_property__AParam___mparameter 8
194 #define COLOR_nit__parser_nodes__AMethPropdef___n_kwinit 19
195 #define COLOR_nit__parser_nodes__AMethPropdef___n_methid 21
196 extern const struct type type_nit__AModule
;
197 #define COLOR_nit__parser_nodes__AModule___n_moduledecl 4
198 #define COLOR_nit__parser_nodes__AMethPropdef___n_signature 22
199 long nit___nit__ANodes___standard__abstract_collection__Collection__length(val
* self
);
200 #define COLOR_nit__parser_nodes__ADefinition___n_visibility 12
201 extern const struct type type_nit__APublicVisibility
;
202 #define COLOR_nit__parser_nodes__AMethPropdef___n_kwnew 20
203 extern const struct type type_nit__AIdMethid
;
204 #define COLOR_nit__parser_nodes__AIdMethid___n_id 4
205 val
* nit__parser_work___Prod___collect_text(val
* self
);
206 short int nit__modelize_property___AMethPropdef___look_like_a_root_init(val
* self
, val
* p0
, val
* p1
);
207 #define COLOR_nit__parser_nodes__ADefinition___n_kwredef 11
208 extern const struct type type_nullable__nit__MMethod
;
209 #define COLOR_nit__parser_nodes__AMethPropdef___n_block 23
210 extern const struct type type_nit__ABlockExpr
;
211 #define COLOR_nit__parser_nodes__ABlockExpr___n_expr 10
212 short int nit___nit__ANodes___standard__abstract_collection__Collection__is_empty(val
* self
);
213 val
* nit__modelize_property___APropdef___new_property_visibility(val
* self
, val
* p0
, val
* p1
, val
* p2
);
214 #define COLOR_nit__model__MMethod___is_new 18
215 short int nit__modelize_property___APropdef___check_redef_keyword(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
, val
* p4
);
216 extern const struct type type_nit__AMainMethPropdef
;
217 void nit__modelize_property___APropdef___check_redef_property_visibility(val
* self
, val
* p0
, val
* p1
, val
* p2
);
218 #define COLOR_standard__abstract_collection__MapRead__iterator 35
219 #define COLOR_standard__abstract_collection__MapIterator__is_ok 35
220 #define COLOR_standard__abstract_collection__MapIterator__key 33
221 #define COLOR_standard__abstract_collection__MapIterator__item 32
222 #define COLOR_standard__abstract_collection__MapIterator__next 34
223 #define COLOR_standard__abstract_collection__Map___91d_93d_61d 41
224 void nit__modelize_property___APropdef___set_doc(val
* self
, val
* p0
, val
* p1
);
225 void standard___standard__HashMap___standard__abstract_collection__Map___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
226 extern const struct type type_standard__Array__standard__String
;
227 extern const struct type type_standard__Array__nit__MType
;
228 short int nit__modelize_property___ASignature___visit_signature(val
* self
, val
* p0
, val
* p1
);
229 val
* nit___nit__MSignature___MType__resolve_for(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
);
230 long nit___nit__MSignature___arity(val
* self
);
231 #define COLOR_nit__model__MClassDef___supertypes 13
232 val
* nit___nit__MClassType___MType__anchor_to(val
* self
, val
* p0
, val
* p1
);
233 val
* nit___nit__ModelBuilder___try_get_mproperty_by_name2(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
234 #define COLOR_nit__model__MSignature___vararg_rank 7
235 #define COLOR_nit__model__MSignature___return_mtype 6
236 val
* nit___nit__ANodes___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
237 #define COLOR_nit__model__MMethodDef___is_abstract 16
238 #define COLOR_nit__model__MMethodDef___is_intern 17
239 #define COLOR_nit__parser_nodes__AMethPropdef___n_extern_code_block 25
240 #define COLOR_nit__model__MMethodDef___is_extern 18
241 short int nit___nit__MType___is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
242 #define COLOR_nit__modelize_property__AAttrPropdef___is_lazy 24
243 #define COLOR_nit__modelize_property__AAttrPropdef___mlazypropdef 26
244 #define COLOR_nit__parser_nodes__AAttrPropdef___n_id2 19
245 val
* nit__model___standard__Object___interface_kind(val
* self
);
246 val
* nit__model___standard__Object___enum_kind(val
* self
);
247 val
* nit__model___standard__Object___extern_kind(val
* self
);
248 val
* NEW_nit__MAttribute(const struct type
* type
);
249 extern const struct type type_nit__MAttribute
;
250 #define COLOR_standard__string__String___43d 82
251 val
* NEW_nit__MAttributeDef(const struct type
* type
);
252 extern const struct type type_nit__MAttributeDef
;
253 #define COLOR_nit__parser_nodes__AAttrPropdef___n_expr 21
254 #define COLOR_nit__parser_nodes__AAttrPropdef___n_block 22
255 val
* nit__model_base___standard__Object___none_visibility(val
* self
);
256 #define COLOR_nit__parser_nodes__AAnnotation___n_args 15
257 val
* nit__annotation___AAnnotation___arg_as_id(val
* self
, val
* p0
);
258 #define COLOR_nit__parser_nodes__AAttrPropdef___n_type 20
259 #define COLOR_nit__model__MType__resolve_for 45
260 extern const struct type type_nit__ANewExpr
;
261 #define COLOR_nit__parser_nodes__ANewExpr___n_type 11
262 extern const struct type type_nit__AIntExpr
;
263 val
* nit___nit__ModelBuilder___try_get_mclass_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
264 extern const struct type type_nit__AFloatExpr
;
265 extern const struct type type_nit__ACharExpr
;
266 extern const struct type type_nit__ABoolExpr
;
267 extern const struct type type_nit__ASuperstringExpr
;
268 extern const struct type type_nit__AStringFormExpr
;
269 void standard___standard__Array___with_capacity(val
* self
, long p0
);
270 void standard___standard__AbstractArray___standard__abstract_collection__Sequence__push(val
* self
, val
* p0
);
271 val
* nit__model___Model___get_mclasses_by_name(val
* self
, val
* p0
);
272 void nit__modelize_property___AAttrPropdef___check_method_signature(val
* self
, val
* p0
, val
* p1
);
273 #define COLOR_nit__parser_nodes__ATypePropdef___n_id 19
274 val
* NEW_nit__MVirtualTypeProp(const struct type
* type
);
275 #define COLOR_standard__string__Text__chars 46
276 extern const struct type type_standard__Char
;
277 void nit___nit__ModelBuilder___warning(val
* self
, val
* p0
, val
* p1
, val
* p2
);
278 #define COLOR_nit__parser_nodes__ATypePropdef___n_type 20
279 extern const struct type type_standard__Array__nit__MVirtualType
;
280 #define COLOR_nit__model__MVirtualTypeProp___mvirtualtype 15
281 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
282 val
* nit___nit__MVirtualType___MType__lookup_bound(val
* self
, val
* p0
, val
* p1
);