1 #include "nit.common.h"
2 #define COLOR_nit__abstract_compiler__ToolContext___opt_output 51
3 extern const char FILE_nit__abstract_compiler
[];
4 #define COLOR_nit__abstract_compiler__ToolContext___opt_dir 52
5 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_cc 53
6 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_main 54
7 #define COLOR_nit__abstract_compiler__ToolContext___opt_make_flags 55
8 #define COLOR_nit__abstract_compiler__ToolContext___opt_max_c_lines 56
9 #define COLOR_nit__abstract_compiler__ToolContext___opt_group_c_files 57
10 #define COLOR_nit__abstract_compiler__ToolContext___opt_compile_dir 58
11 #define COLOR_nit__abstract_compiler__ToolContext___opt_hardening 59
12 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_covariance 60
13 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_attr_isset 61
14 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_assert 62
15 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_autocast 63
16 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_null 64
17 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_all 65
18 #define COLOR_nit__abstract_compiler__ToolContext___opt_typing_test_metrics 66
19 #define COLOR_nit__abstract_compiler__ToolContext___opt_invocation_metrics 67
20 #define COLOR_nit__abstract_compiler__ToolContext___opt_isset_checks_metrics 68
21 #define COLOR_nit__abstract_compiler__ToolContext___opt_stacktrace 69
22 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_gcc_directive 70
23 #define COLOR_nit__abstract_compiler__ToolContext___opt_release 71
24 #define COLOR_nit__abstract_compiler___ToolContext___standard__kernel__Object__init 149
25 #define COLOR_nit__toolcontext__ToolContext___option_context 7
26 extern const char FILE_nit__toolcontext
[];
27 val
* NEW_standard__Array(const struct type
* type
);
28 extern const struct type type_standard__Array__opts__Option
;
29 val
* NEW_standard__NativeArray(int length
, const struct type
* type
);
30 extern const struct type type_standard__NativeArray__opts__Option
;
31 #define COLOR_standard__array__Array__with_native 73
32 void opts___opts__OptionContext___add_option(val
* self
, val
* p0
);
33 #define COLOR_opts__Option___hidden 4
34 #define COLOR_nit__abstract_compiler___ToolContext___process_options 152
35 #define COLOR_opts__Option___value 6
36 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
37 #define COLOR_standard__kernel__Object___61d_61d 2
38 #define COLOR_opts__Option__VALUE 0
39 extern const char FILE_opts
[];
40 extern const struct type type_standard__Array__standard__Object
;
41 extern const struct type type_standard__NativeArray__standard__Object
;
42 #define COLOR_standard__string__Object__to_s 9
43 void standard__file___Object___print(val
* self
, val
* p0
);
44 extern const struct type type_standard__Bool
;
45 val
* BOX_standard__Bool(short int);
46 #define COLOR_nit__abstract_compiler__ModelBuilder___compile_dir 13
47 #define COLOR_nit__abstract_compiler__AbstractCompiler___target_platform 4
48 #define COLOR_nit__modelbuilder_base__ModelBuilder___toolcontext 1
49 extern const char FILE_nit__modelbuilder_base
[];
50 val
* nit__abstract_compiler___Platform___toolchain(val
* self
, val
* p0
);
51 val
* nit___nit__Toolchain___compile_dir(val
* self
);
52 void nit___nit__MakefileToolchain___Toolchain__write_and_make(val
* self
, val
* p0
);
53 val
* NEW_nit__MakefileToolchain(const struct type
* type
);
54 extern const struct type type_nit__MakefileToolchain
;
55 #define COLOR_nit__abstract_compiler__Toolchain__toolcontext_61d 33
56 #define COLOR_standard__kernel__Object__init 7
57 #define COLOR_nit__abstract_compiler__Toolchain___toolcontext 0
58 #define COLOR_nit___nit__Toolchain___standard__kernel__Object__init 36
60 void nit___nit__ToolContext___info(val
* self
, val
* p0
, long p1
);
61 void standard__file___String___mkdir(val
* self
);
62 extern const struct type type_standard__Array__standard__String
;
63 void standard___standard__Array___standard__kernel__Object__init(val
* self
);
64 void nit___nit__MakefileToolchain___write_files(val
* self
, val
* p0
, val
* p1
, val
* p2
);
65 void nit___nit__MakefileToolchain___write_makefile(val
* self
, val
* p0
, val
* p1
, val
* p2
);
66 extern const struct type type_standard__Int
;
67 extern const char FILE_standard__kernel
[];
68 val
* BOX_standard__Int(long);
69 void nit___nit__MakefileToolchain___compile_c_code(val
* self
, val
* p0
, val
* p1
);
70 short int nit___nit__Platform___supports_libunwind(val
* self
);
71 void nit___nit__AbstractCompiler___build_c_to_nit_bindings(val
* self
);
72 short int nit___nit__Platform___supports_libgc(val
* self
);
73 val
* NEW_nit__ExternCFile(const struct type
* type
);
74 extern const struct type type_nit__ExternCFile
;
75 #define COLOR_nit__c_tools__ExternFile__filename_61d 33
76 #define COLOR_nit__c_tools__ExternCFile__cflags_61d 41
77 #define COLOR_nit__c_tools__ExternFile___pkgconfigs 1
78 extern const char FILE_nit__c_tools
[];
79 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
80 #define COLOR_nit__abstract_compiler__AbstractCompiler___extern_bodies 10
81 #define COLOR_nit__toolcontext__ToolContext___nit_dir 25
82 val
* standard__file___String____47d(val
* self
, val
* p0
);
83 #define COLOR_nit__abstract_compiler__AbstractCompiler___files_to_copy 11
84 #define COLOR_nit__abstract_compiler__AbstractCompiler___mainmodule 1
85 #define COLOR_nit__mmodule__MModule___in_importation 8
86 extern const char FILE_nit__mmodule
[];
87 val
* poset___poset__POSetElement___greaters(val
* self
);
88 #define COLOR_standard__abstract_collection__Collection__iterator 37
89 #define COLOR_standard__abstract_collection__Iterator__is_ok 34
90 #define COLOR_standard__abstract_collection__Iterator__item 32
91 void nit___nit__SeparateCompiler___nit__abstract_compiler__AbstractCompiler__finalize_ffi_for_module(val
* self
, val
* p0
);
92 #define COLOR_standard__abstract_collection__Iterator__next 33
93 val
* standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__iterator(val
* self
);
94 short int standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
95 val
* standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__item(val
* self
);
96 val
* standard__file___String___basename(val
* self
, val
* p0
);
97 void standard__file___String___file_copy_to(val
* self
, val
* p0
);
98 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__next(val
* self
);
99 #define COLOR_nit__abstract_compiler__AbstractCompiler___header 6
100 #define COLOR_nit__abstract_compiler__CodeWriter___file 0
101 #define COLOR_nit__abstract_compiler__CodeFile___name 0
102 #define COLOR_standard__string__String___43d 82
103 val
* NEW_standard__OFStream(const struct type
* type
);
104 extern const struct type type_standard__OFStream
;
105 void standard___standard__OFStream___open(val
* self
, val
* p0
);
106 #define COLOR_nit__abstract_compiler__CodeWriter___decl_lines 2
107 val
* standard___standard__List___standard__abstract_collection__Collection__iterator(val
* self
);
108 short int standard___standard__ListIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
109 val
* standard___standard__ListIterator___standard__abstract_collection__Iterator__item(val
* self
);
110 void standard___standard__OFStream___standard__stream__OStream__write(val
* self
, val
* p0
);
111 void standard___standard__ListIterator___standard__abstract_collection__Iterator__next(val
* self
);
112 #define COLOR_nit__abstract_compiler__CodeWriter___lines 1
113 void standard___standard__OFStream___standard__stream__IOS__close(val
* self
);
114 #define COLOR_nit__abstract_compiler__AbstractCompiler___files 5
115 #define COLOR_nit__abstract_compiler__CodeFile___writers 1
116 long standard___standard__List___standard__abstract_collection__Collection__length(val
* self
);
117 #define COLOR_nit__abstract_compiler__CodeFile___required_declarations 2
118 val
* standard___standard__HashSet___standard__abstract_collection__Collection__iterator(val
* self
);
119 #define COLOR_nit__abstract_compiler__AbstractCompiler___provided_declarations 8
120 short int standard___standard__MapRead___has_key(val
* self
, val
* p0
);
121 #define COLOR_nit__abstract_compiler__AbstractCompiler___requirers_of_declarations 9
122 val
* standard___standard__HashMap___standard__abstract_collection__MapRead__get_or_null(val
* self
, val
* p0
);
123 void nit___nit__ANode___debug(val
* self
, val
* p0
);
124 val
* standard___standard__HashMap___standard__abstract_collection__MapRead___91d_93d(val
* self
, val
* p0
);
125 #define COLOR_standard__array__AbstractArrayRead___length 0
126 val
* nit___nit__MModule___nit__model_base__MEntity__c_name(val
* self
);
127 #define COLOR_nit__mmodule__MModule___name 6
128 #define COLOR_nit__mmodule__MModule___is_fictive 16
129 val
* poset___poset__POSetElement___direct_greaters(val
* self
);
130 #define COLOR_standard__abstract_collection__Collection__first 41
131 val
* nit___nit__MakefileToolchain___default_outname(val
* self
, val
* p0
);
132 val
* standard__file___String___join_path(val
* self
, val
* p0
);
133 val
* nit___nit__MakefileToolchain___outfile(val
* self
, val
* p0
);
134 val
* standard__file___String___relpath(val
* self
, val
* p0
);
135 val
* standard___standard__Text___escape_to_mk(val
* self
);
136 val
* nit___nit__MakefileToolchain___makefile_name(val
* self
, val
* p0
);
137 val
* NEW_standard__HashSet(const struct type
* type
);
138 extern const struct type type_standard__HashSet__standard__String
;
139 void standard___standard__HashSet___standard__kernel__Object__init(val
* self
);
140 val
* nit__abstract_compiler___MModule___collect_linker_libs(val
* self
);
141 void standard___standard__SimpleCollection___add_all(val
* self
, val
* p0
);
142 val
* standard__string___Collection___join(val
* self
, val
* p0
);
143 val
* standard___standard__Text___escape_to_sh(val
* self
);
144 val
* standard__string_search___Text___replace(val
* self
, val
* p0
, val
* p1
);
145 val
* standard__file___String___strip_extension(val
* self
, val
* p0
);
146 #define COLOR_nit__abstract_compiler__AbstractCompiler___linker_script 7
147 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__is_empty(val
* self
);
148 extern const struct type type_standard__Array__nit__ExternFile
;
149 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add_all(val
* self
, val
* p0
);
150 val
* nit___nit__ExternCFile___ExternFile__makefile_rule_name(val
* self
);
151 #define COLOR_nit__c_tools__ExternFile___filename 0
152 val
* nit___nit__ExternCFile___ExternFile__makefile_rule_content(val
* self
);
153 short int nit___nit__ExternCFile___ExternFile__compiles_to_o_file(val
* self
);
154 short int nit___nit__ExternFile___add_to_jar(val
* self
);
155 #define COLOR_nit__toolcontext__ToolContext___verbose_level 22
156 long standard__exec___Sys___system(val
* self
, val
* p0
);
157 extern const struct class class_standard__Int
;
158 void nit___nit__ToolContext___error(val
* self
, val
* p0
, val
* p1
);
159 #define COLOR_nit__abstract_compiler__AbstractCompiler___names 0
160 #define COLOR_nit__abstract_compiler__AbstractCompiler___realmainmodule 2
161 #define COLOR_nit__abstract_compiler__AbstractCompiler___modelbuilder 3
162 val
* nit__platform___MModule___target_platform(val
* self
);
163 val
* NEW_nit__Platform(const struct type
* type
);
164 extern const struct type type_nit__Platform
;
165 short int standard___standard__List___standard__abstract_collection__Collection__is_empty(val
* self
);
166 val
* NEW_nit__CodeFile(const struct type
* type
);
167 extern const struct type type_nit__CodeFile
;
168 #define COLOR_nit__abstract_compiler__CodeFile__name_61d 33
169 void standard___standard__Sequence___SimpleCollection__add(val
* self
, val
* p0
);
170 val
* standard___standard__List___standard__abstract_collection__Collection__first(val
* self
);
171 void standard___standard__HashMap___standard__abstract_collection__Map___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
172 long standard___standard__HashMap___standard__abstract_collection__MapRead__length(val
* self
);
173 #define COLOR_standard__hash_collection__HashMap___keys 7
174 extern const char FILE_standard__hash_collection
[];
175 val
* standard___standard__Text___escape_to_c(val
* self
);
176 void nit___nit__CodeWriter___add_decl(val
* self
, val
* p0
);
177 #define COLOR_nit__abstract_compiler__AbstractCompiler__compile_header_structs 53
178 void nit___nit__SeparateCompiler___nit__abstract_compiler__AbstractCompiler__compile_nitni_structs(val
* self
);
179 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
180 val
* nit__model___MModule___finalizable_type(val
* self
);
181 #define COLOR_nit__model__MClassType___mclass 5
182 extern const char FILE_nit__model
[];
183 val
* nit__model___MModule___try_get_primitive_method(val
* self
, val
* p0
, val
* p1
);
184 #define COLOR_nit__abstract_compiler__AbstractCompiler__new_visitor 44
185 void nit___nit__AbstractCompilerVisitor___add_decl(val
* self
, val
* p0
);
186 val
* nit___nit__AbstractCompilerVisitor___new_expr(val
* self
, val
* p0
, val
* p1
);
187 extern const struct type type_standard__Array__nit__RuntimeVariable
;
188 void standard___standard__Array___with_capacity(val
* self
, long p0
);
189 void standard___standard__AbstractArray___standard__abstract_collection__Sequence__push(val
* self
, val
* p0
);
190 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__send(val
* self
, val
* p0
, val
* p1
);
191 void nit___nit__AbstractCompilerVisitor___add(val
* self
, val
* p0
);
192 short int nit___nit__Platform___no_main(val
* self
);
193 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_tags 13
194 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___compiler 0
195 val
* nit__model___MModule___sys_type(val
* self
);
196 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__init_instance 82
197 val
* standard__array___Collection___to_a(val
* self
);
198 #define COLOR_nit__mmodule__MModule___location 7
199 #define COLOR_nit__location__Location___file 0
200 extern const char FILE_nit__location
[];
201 #define COLOR_nit__location__SourceFile___filename 0
202 void nit___nit__AbstractCompiler___provide_declaration(val
* self
, val
* p0
, val
* p1
);
203 #define COLOR_nit__abstract_compiler__AbstractCompiler___seen_extern 12
204 #define COLOR_nit__abstract_compiler__AbstractCompiler__VISITOR 0
205 val
* nit___nit__MClassType___MType__collect_mclassdefs(val
* self
, val
* p0
);
206 void nit__model___MModule___linearize_mclassdefs(val
* self
, val
* p0
);
207 val
* nit__modelize_property___ModelBuilder___collect_attr_propdef(val
* self
, val
* p0
);
208 void nit__abstract_compiler___AAttrPropdef___init_expr(val
* self
, val
* p0
, val
* p1
);
209 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_resolved 14
210 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_unresolved 15
211 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_skipped 16
212 val
* NEW_standard__HashMap(const struct type
* type
);
213 extern const struct type type_standard__HashMap__standard__String__standard__Int
;
214 void standard___standard__HashMap___standard__kernel__Object__init(val
* self
);
215 val
* nit___nit__AbstractCompiler___init_count_type_test_tags(val
* self
);
216 void standard__file___Object___printn(val
* self
, val
* p0
);
217 val
* nit___nit__AbstractCompiler___div(val
* self
, long p0
, long p1
);
218 extern const struct type type_standard__Float
;
219 val
* standard__string___Float___to_precision(double self
, long p0
);
220 #define COLOR_nit___nit__CodeFile___standard__kernel__Object__init 36
221 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__COMPILER 0
222 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___current_node 1
223 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___frame 2
224 val
* nit__model___MModule___object_type(val
* self
);
225 val
* nit__model___MModule___bool_type(val
* self
);
226 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___writer 3
227 val
* NEW_nit__CodeWriter(const struct type
* type
);
228 extern const struct type type_nit__CodeWriter
;
229 val
* standard___standard__List___standard__abstract_collection__SequenceRead__last(val
* self
);
230 #define COLOR_nit__abstract_compiler__CodeWriter__file_61d 33
231 val
* nit__model___MModule___get_primitive_class(val
* self
, val
* p0
);
232 extern const struct type type_nit__MClassType
;
233 val
* nit___nit__ModelBuilder___force_get_primitive_method(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
234 #define COLOR_nit__typing__CallSite___mpropdef 6
235 extern const char FILE_nit__typing
[];
236 #define COLOR_nit__model__MMethodDef___initializers 15
237 val
* standard___standard__SequenceRead___Collection__first(val
* self
);
238 extern const struct type type_nit__MMethod
;
239 #define COLOR_nit__model__MProperty___intro 12
240 #define COLOR_nit__model__MMethodDef___msignature 13
241 #define COLOR_nit__model__MSignature___mparameters 5
242 val
* standard___standard__Array___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
243 extern const struct type type_nit__MAttribute
;
244 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__write_attribute(val
* self
, val
* p0
, val
* p1
, val
* p2
);
245 #define COLOR_nit__typing__CallSite___mproperty 5
246 #define COLOR_nit__model__MMethodDef___new_msignature 14
247 #define COLOR_standard__abstract_collection__Collection__is_empty 38
248 #define COLOR_nit__model__MSignature___vararg_rank 7
249 #define COLOR_standard__abstract_collection__Collection__length 39
250 long nit___nit__MSignature___arity(val
* self
);
251 #define COLOR_standard__abstract_collection__SequenceRead___91d_93d 45
252 extern const struct type type_nit__AVarargExpr
;
253 #define COLOR_nit__parser_nodes__AVarargExpr___n_expr 10
254 extern const char FILE_nit__parser_nodes
[];
255 val
* nit___nit__AbstractCompilerVisitor___expr(val
* self
, val
* p0
, val
* p1
);
256 long standard___standard__Int___Discrete__successor(long self
, long p0
);
257 #define COLOR_nit__model__MParameter___mtype 5
258 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__vararg_instance(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
259 #define COLOR_nit__model__MType__need_anchor 43
260 #define COLOR_nit__abstract_compiler__StaticFrame___receiver 2
261 #define COLOR_nit__model__MType__anchor_to 42
262 #define COLOR_nit__abstract_compiler__RuntimeVariable___mcasttype 2
263 #define COLOR_nit__model__MType__resolve_for 45
264 val
* nit___nit__AbstractCompilerVisitor___anchor(val
* self
, val
* p0
);
265 short int nit___nit__MType___is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
266 extern const struct type type_nit__MNullableType
;
267 #define COLOR_nit__model__MNullableType___mtype 5
268 val
* NEW_nit__RuntimeVariable(const struct type
* type
);
269 extern const struct type type_nit__RuntimeVariable
;
270 #define COLOR_nit__abstract_compiler__RuntimeVariable___name 0
271 #define COLOR_nit__abstract_compiler__RuntimeVariable__name_61d 33
272 #define COLOR_nit__abstract_compiler__RuntimeVariable__mtype_61d 35
273 #define COLOR_nit__abstract_compiler__RuntimeVariable__mcasttype_61d 37
274 val
* nit___nit__MProperty___lookup_first_definition(val
* self
, val
* p0
, val
* p1
);
275 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__call(val
* self
, val
* p0
, val
* p1
, val
* p2
);
276 val
* nit___nit__MPropDef___lookup_next_definition(val
* self
, val
* p0
, val
* p1
);
277 extern const struct type type_nit__MNullType
;
278 void nit___nit__AbstractCompilerVisitor___add_abort(val
* self
, val
* p0
);
279 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___names 4
280 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___last 5
281 short int standard___standard__HashSet___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
282 void standard___standard__HashSet___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
283 val
* standard__string___Int___Object__to_s(long self
);
284 #define COLOR_nit__abstract_compiler__StaticFrame___escapemark_names 6
285 #define COLOR_nit__scope__EscapeMark___name 0
286 val
* nit___nit__AbstractCompilerVisitor___get_name(val
* self
, val
* p0
);
287 #define COLOR_nit__scope__EscapeMark___escapes 2
288 extern const char FILE_nit__scope
[];
289 val
* nit___nit__AbstractCompilerVisitor___escapemark_name(val
* self
, val
* p0
);
290 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___variables 6
291 #define COLOR_nit__scope__Variable___name 0
292 #define COLOR_nit__typing__Variable___declared_type 3
293 #define COLOR_nit__abstract_compiler__MType__ctype 58
294 #define COLOR_nit__abstract_compiler__MType__ctype_extern 59
295 #define COLOR_nit__abstract_compiler__RuntimeVariable___mtype 1
296 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__autobox(val
* self
, val
* p0
, val
* p1
);
297 val
* nit__abstract_compiler___MClassType___MType__ctype(val
* self
);
298 #define COLOR_nit__model__MClass___name 5
299 val
* nit___nit__AbstractCompilerVisitor___get_class(val
* self
, val
* p0
);
300 #define COLOR_nit__model__MClass___mclass_type 16
301 val
* nit___nit__AbstractCompilerVisitor___new_var(val
* self
, val
* p0
);
302 #define COLOR_standard__string__Text__length 47
303 val
* nit___nit__AbstractCompilerVisitor___int_instance(val
* self
, long p0
);
304 val
* nit___nit__AbstractCompilerVisitor___get_property(val
* self
, val
* p0
, val
* p1
);
305 val
* nit___nit__AbstractCompilerVisitor___bool_instance(val
* self
, short int p0
);
306 extern const struct type type_standard__String
;
307 val
* nit___nit__AbstractCompilerVisitor___string_instance(val
* self
, val
* p0
);
308 void nit___nit__AbstractCompilerVisitor___require_declaration(val
* self
, val
* p0
);
309 short int standard__file___String___file_exists(val
* self
);
310 void nit___nit__AbstractCompilerVisitor___declare_once(val
* self
, val
* p0
);
311 short int standard___standard__ArraySet___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
312 void standard___standard__ArraySet___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
313 void nit___nit__AbstractCompilerVisitor___add_raw_abort(val
* self
);
314 #define COLOR_nit__parser_nodes__ANode___location 0
315 extern const char FILE_nit__loader
[];
316 #define COLOR_nit__loader__SourceFile___mmodule 6
317 #define COLOR_nit__location__Location___line_start 1
318 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__type_test 58
319 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__class_name_string 75
320 #define COLOR_nit__abstract_compiler__StaticFrame___returnvar 4
321 void nit___nit__AbstractCompilerVisitor___assign(val
* self
, val
* p0
, val
* p1
);
322 #define COLOR_nit__abstract_compiler__StaticFrame___returnlabel 5
323 #define COLOR_nit__typing__AExpr___comprehension 8
324 #define COLOR_nit__abstract_compiler__StaticFrame___comprehension 7
325 #define COLOR_nit__typing__AArrayExpr___element_mtype 16
326 #define COLOR_nit__typing__AArrayExpr___push_callsite 15
327 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__compile_callsite 44
328 #define COLOR_nit__abstract_compiler__AExpr__stmt 76
329 #define COLOR_nit__abstract_compiler__AExpr__expr 75
330 #define COLOR_nit__typing__AExpr__mtype 60
331 val
* nit___nit__AbstractCompilerVisitor___autoadapt(val
* self
, val
* p0
, val
* p1
);
332 #define COLOR_nit__typing__AExpr___implicit_cast_to 7
333 void nit___nit__AbstractCompilerVisitor___add_cast(val
* self
, val
* p0
, val
* p1
, val
* p2
);
334 val
* nit___nit__AbstractCompilerVisitor___bool_type(val
* self
);
335 #define COLOR_nit__abstract_compiler__AbstractRuntimeFunction___mmethoddef 0
336 #define COLOR_nit__abstract_compiler__AbstractRuntimeFunction___c_name_cache 1
337 #define COLOR_nit__separate_compiler__SeparateRuntimeFunction___build_c_name 4
338 extern const char FILE_nit__separate_compiler
[];
339 #define COLOR_nit___nit__AbstractRuntimeFunction___standard__kernel__Object__init 39
340 #define COLOR_nit__abstract_compiler__RuntimeVariable___is_exact 3
341 #define COLOR_nit__abstract_compiler__StaticFrame__VISITOR 0
342 #define COLOR_nit__abstract_compiler__StaticFrame___visitor 0
343 #define COLOR_nit__abstract_compiler__StaticFrame___mpropdef 1
344 #define COLOR_nit__abstract_compiler__StaticFrame___arguments 3
345 #define COLOR_nit___nit__StaticFrame___standard__kernel__Object__init 46
346 #define COLOR_nit__model__MClass___kind 12
347 val
* nit__model___standard__Object___extern_kind(val
* self
);
348 #define COLOR_nit__abstract_compiler__MPropDef__VISITOR 0
349 #define COLOR_nit__model__MMethodDef___is_abstract 16
350 val
* nit__modelize_property___ModelBuilder___mpropdef2node(val
* self
, val
* p0
);
351 extern const struct type type_nit__APropdef
;
352 #define COLOR_nit__abstract_compiler__APropdef__can_inline 93
353 extern const struct type type_nit__AClassdef
;
354 #define COLOR_nit__model__MMethodDef___constant_value 19
355 void nit__abstract_compiler___MMethodDef___compile_parameter_check(val
* self
, val
* p0
, val
* p1
);
356 #define COLOR_nit__abstract_compiler__APropdef__compile_to_c 92
357 void nit__abstract_compiler___AClassdef___compile_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
358 #define COLOR_standard__kernel__Object___33d_61d 3
359 val
* nit___nit__AbstractCompilerVisitor___value_instance(val
* self
, val
* p0
);
360 void nit___nit__AbstractCompilerVisitor___ret(val
* self
, val
* p0
);
361 #define COLOR_nit__model__MPropDef___mproperty 5
362 #define COLOR_nit__model__MParameter___name 4
363 val
* nit___nit__RuntimeVariable___standard__string__Object__inspect(val
* self
);
364 val
* standard__string___Object___class_name(val
* self
);
365 val
* nit___nit__Location___standard__string__Object__to_s(val
* self
);
366 #define COLOR_nit__model__MProperty___name 5
367 #define COLOR_nit__auto_super_init__AMethPropdef___auto_super_inits 26
368 void standard___standard__AbstractArray___standard__abstract_collection__RemovableCollection__clear(val
* self
);
369 #define COLOR_nit__typing__CallSite___msignature 7
370 #define COLOR_nit__auto_super_init__AMethPropdef___auto_super_call 27
371 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__supercall(val
* self
, val
* p0
, val
* p1
, val
* p2
);
372 #define COLOR_nit__model__MMethodDef___is_intern 17
373 short int nit__abstract_compiler___AMethPropdef___compile_intern_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
374 #define COLOR_nit__model__MMethodDef___is_extern 18
375 #define COLOR_nit__model__MMethod___is_init 16
376 short int nit__abstract_compiler___AMethPropdef___compile_externinit_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
377 short int nit__abstract_compiler___AMethPropdef___compile_externmeth_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
378 #define COLOR_nit__parser_nodes__AMethPropdef___n_block 23
379 #define COLOR_nit__parser_nodes__AMethPropdef___n_signature 22
380 #define COLOR_nit__parser_nodes__ASignature___n_params 5
381 val
* nit___nit__ANodes___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
382 #define COLOR_nit__scope__AParam___variable 7
383 val
* nit___nit__AbstractCompilerVisitor___variable(val
* self
, val
* p0
);
384 void nit___nit__AbstractCompilerVisitor___stmt(val
* self
, val
* p0
);
385 #define COLOR_nit__modelize_property__APropdef___mpropdef 16
386 #define COLOR_nit__model__MPropDef___mclassdef 4
387 #define COLOR_nit__model__MClassDef___mclass 5
388 extern const struct type type_nit__ABlockExpr
;
389 #define COLOR_nit__parser_nodes__ABlockExpr___n_expr 10
390 long nit___nit__ANodes___standard__abstract_collection__Collection__length(val
* self
);
391 #define COLOR_nit__model__MSignature___return_mtype 6
392 val
* nit___nit__AbstractCompilerVisitor___resolve_for(val
* self
, val
* p0
, val
* p1
);
393 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__adapt_signature(val
* self
, val
* p0
, val
* p1
);
394 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__unbox_signature_extern(val
* self
, val
* p0
, val
* p1
);
395 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__equal_test(val
* self
, val
* p0
, val
* p1
);
396 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__native_array_def(val
* self
, val
* p0
, val
* p1
, val
* p2
);
397 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__calloc_array 46
398 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__is_same_type_test(val
* self
, val
* p0
, val
* p1
);
399 val
* nit__annotation___Prod___get_single_annotation(val
* self
, val
* p0
, val
* p1
);
400 #define COLOR_nit__parser_nodes__AAnnotation___n_args 15
401 val
* nit__annotation___AAnnotation___arg_as_string(val
* self
, val
* p0
);
402 #define COLOR_nit__model__MClassDef___mmodule 4
403 void nit___nit__AbstractCompilerVisitor___add_extern(val
* self
, val
* p0
);
404 val
* nit___nit__AbstractCompilerVisitor___new_var_extern(val
* self
, val
* p0
);
405 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__box_extern 56
406 val
* standard___standard__AbstractArray___standard__abstract_collection__Sequence__shift(val
* self
);
407 #define COLOR_nit__modelize_property__AAttrPropdef___is_lazy 24
408 #define COLOR_nit__modelize_property__AAttrPropdef___mreadpropdef 27
409 #define COLOR_nit__model__MAttributeDef___static_mtype 13
410 #define COLOR_nit__modelize_property__AAttrPropdef___mlazypropdef 26
411 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__isset_attribute(val
* self
, val
* p0
, val
* p1
);
412 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__read_attribute(val
* self
, val
* p0
, val
* p1
);
413 val
* nit__abstract_compiler___AAttrPropdef___evaluate_expr(val
* self
, val
* p0
, val
* p1
);
414 #define COLOR_nit__modelize_property__AAttrPropdef___mwritepropdef 28
415 #define COLOR_nit__modelize_property__AAttrPropdef___has_value 25
416 val
* NEW_nit__StaticFrame(const struct type
* type
);
417 extern const struct type type_nit__StaticFrame
;
418 #define COLOR_nit__model__MType__as_notnullable 50
419 #define COLOR_nit__abstract_compiler__StaticFrame__visitor_61d 32
420 #define COLOR_nit__abstract_compiler__StaticFrame__mpropdef_61d 34
421 #define COLOR_nit__abstract_compiler__StaticFrame__receiver_61d 36
422 #define COLOR_nit__abstract_compiler__StaticFrame__arguments_61d 38
423 #define COLOR_nit__parser_nodes__AAttrPropdef___n_expr 21
424 #define COLOR_nit__parser_nodes__AAttrPropdef___n_block 22
425 #define COLOR_nit__modelize_property__AClassdef___mfree_init 9
426 #define COLOR_nit__model__MMethod___is_root_init 17
427 short int nit___nit__MPropDef___is_intro(val
* self
);
428 val
* nit___nit__ANodes___standard__abstract_collection__Collection__iterator(val
* self
);
429 val
* standard___standard__SequenceRead___last(val
* self
);
430 #define COLOR_nit__scope__AVardeclExpr___variable 15
431 #define COLOR_nit__parser_nodes__AVardeclExpr___n_expr 14
432 #define COLOR_nit__scope__AVarFormExpr___variable 11
433 #define COLOR_nit__typing__AExpr___mtype 5
434 #define COLOR_nit__parser_nodes__AAssignFormExpr___n_value 13
435 #define COLOR_nit__parser_nodes__AReassignFormExpr___n_value 13
436 #define COLOR_nit__typing__AReassignFormExpr___reassign_callsite 14
437 #define COLOR_nit__scope__AEscapeExpr___escapemark 12
438 #define COLOR_nit__parser_nodes__AReturnExpr___n_expr 11
439 #define COLOR_nit__parser_nodes__AIfExpr___n_expr 11
440 val
* nit___nit__AbstractCompilerVisitor___expr_bool(val
* self
, val
* p0
);
441 #define COLOR_nit__parser_nodes__AIfExpr___n_then 12
442 #define COLOR_nit__parser_nodes__AIfExpr___n_else 13
443 #define COLOR_nit__parser_nodes__AIfexprExpr___n_expr 11
444 #define COLOR_nit__parser_nodes__AIfexprExpr___n_then 13
445 #define COLOR_nit__parser_nodes__AIfexprExpr___n_else 15
446 #define COLOR_nit__parser_nodes__ADoExpr___n_block 12
447 #define COLOR_nit__scope__ADoExpr___break_mark 13
448 void nit___nit__AbstractCompilerVisitor___add_escape_label(val
* self
, val
* p0
);
449 #define COLOR_nit__parser_nodes__AWhileExpr___n_expr 12
450 #define COLOR_nit__parser_nodes__AWhileExpr___n_block 14
451 #define COLOR_nit__scope__AWhileExpr___continue_mark 16
452 #define COLOR_nit__scope__AWhileExpr___break_mark 15
453 #define COLOR_nit__parser_nodes__ALoopExpr___n_block 12
454 #define COLOR_nit__scope__ALoopExpr___continue_mark 14
455 #define COLOR_nit__scope__ALoopExpr___break_mark 13
456 #define COLOR_nit__parser_nodes__AForExpr___n_expr 13
457 #define COLOR_nit__typing__AForExpr___method_iterator 20
458 #define COLOR_nit__typing__AForExpr___method_is_ok 21
459 #define COLOR_nit__scope__AForExpr___variables 16
460 extern const char FILE_standard__array
[];
461 #define COLOR_nit__typing__AForExpr___method_item 22
462 #define COLOR_nit__typing__AForExpr___method_key 24
463 #define COLOR_nit__parser_nodes__AForExpr___n_block 15
464 #define COLOR_nit__scope__AForExpr___continue_mark 18
465 #define COLOR_nit__typing__AForExpr___method_next 23
466 #define COLOR_nit__scope__AForExpr___break_mark 17
467 #define COLOR_nit__typing__AForExpr___method_finish 25
468 #define COLOR_nit__parser_nodes__AAssertExpr___n_expr 12
469 #define COLOR_nit__parser_nodes__AAssertExpr___n_else 13
470 #define COLOR_nit__parser_nodes__AAssertExpr___n_id 11
471 val
* nit__lexer_work___Token___text(val
* self
);
472 #define COLOR_nit__parser_nodes__ABinBoolExpr___n_expr 10
473 #define COLOR_nit__parser_nodes__ABinBoolExpr___n_expr2 11
474 #define COLOR_nit__parser_nodes__ANotExpr___n_expr 11
475 #define COLOR_nit__literal__AIntExpr___value 10
476 #define COLOR_nit__parser_nodes__AFloatExpr___n_float 10
477 #define COLOR_nit__literal__ACharExpr___value 11
478 val
* standard__string___Char___Object__to_s(char self
);
479 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__array_instance(val
* self
, val
* p0
, val
* p1
);
480 #define COLOR_nit__parser_nodes__AArrayExpr___n_exprs 11
481 #define COLOR_nit__literal__AStringFormExpr___value 11
482 #define COLOR_nit__parser_nodes__ASuperstringExpr___n_exprs 10
483 extern const struct type type_nit__AStringFormExpr
;
484 val
* nit___nit__AbstractCompilerVisitor___object_type(val
* self
);
485 #define COLOR_nit__parser_nodes__ARangeExpr___n_expr 10
486 #define COLOR_nit__parser_nodes__ARangeExpr___n_expr2 11
487 #define COLOR_nit__typing__ARangeExpr___init_callsite 12
488 #define COLOR_nit__parser_nodes__AIsaExpr___n_expr 10
489 #define COLOR_nit__typing__AIsaExpr___cast_type 12
490 #define COLOR_nit__parser_nodes__AAsCastForm___n_expr 10
491 #define COLOR_nit__parser_nodes__AParExpr___n_expr 11
492 #define COLOR_nit__parser_nodes__AOnceExpr___n_expr 11
493 #define COLOR_nit__parser_nodes__ASendExpr___n_expr 10
494 #define COLOR_nit__typing__ASendExpr___callsite 11
495 val
* nit__typing___ASendExpr___raw_arguments(val
* self
);
496 val
* nit___nit__AbstractCompilerVisitor___varargize(val
* self
, val
* p0
, val
* p1
, val
* p2
);
497 #define COLOR_nit__typing__ASendReassignFormExpr___write_callsite 18
498 #define COLOR_nit__typing__ASuperExpr___callsite 13
499 #define COLOR_nit__parser_nodes__ASuperExpr___n_args 12
500 #define COLOR_nit__parser_nodes__AExprs___n_exprs 4
501 #define COLOR_nit__typing__ASuperExpr___mpropdef 14
502 #define COLOR_nit__typing__ANewExpr___recvtype 15
503 #define COLOR_nit__parser_nodes__ANewExpr___n_args 13
504 extern const struct type type_nit__MGenericType
;
505 #define COLOR_nit__model__MGenericType___arguments 12
506 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__native_array_instance 45
507 val
* nit___nit__AbstractCompilerVisitor___init_instance_or_extern(val
* self
, val
* p0
);
508 #define COLOR_nit__typing__ANewExpr___callsite 14
509 #define COLOR_nit__parser_nodes__AAttrFormExpr___n_expr 10
510 #define COLOR_nit__typing__AAttrFormExpr___mproperty 16
511 #define COLOR_nit__abstract_compiler__MModule___properties_cache 26
512 extern const struct type type_standard__HashSet__nit__MProperty
;
513 extern const struct type type_standard__Array__nit__MClass
;
514 val
* nit__model___MModule___flatten_mclass_hierarchy(val
* self
);
515 short int poset___poset__POSet___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
516 val
* nit___nit__MClass___in_hierarchy(val
* self
, val
* p0
);
517 val
* nit__abstract_compiler___MModule___properties(val
* self
, val
* p0
);
518 #define COLOR_nit__model__MClass___mclassdefs 14
519 short int poset___poset__POSetElement____60d_61d(val
* self
, val
* p0
);
520 #define COLOR_nit__model__MClassDef___intro_mproperties 15
521 #define COLOR_standard__abstract_collection__Map___91d_93d_61d 41
522 #define COLOR_standard__abstract_collection__MapRead___91d_93d 32
523 val
* NEW_nit__ToolContext(const struct type
* type
);
524 extern const struct type type_nit__ToolContext
;
525 void nit__separate_erasure_compiler___ToolContext___standard__kernel__Object__init(val
* self
);
526 #define COLOR_nit__toolcontext__ToolContext___tooldescription 23
527 val
* standard__string___Object___args(val
* self
);
528 void nit__nith___ToolContext___process_options(val
* self
, val
* p0
);
529 val
* NEW_nit__Model(const struct type
* type
);
530 extern const struct type type_nit__Model
;
531 val
* NEW_nit__ModelBuilder(const struct type
* type
);
532 extern const struct type type_nit__ModelBuilder
;
533 #define COLOR_nit__modelbuilder_base__ModelBuilder__model_61d 33
534 #define COLOR_nit__modelbuilder_base__ModelBuilder__toolcontext_61d 35
535 #define COLOR_opts__OptionContext___rest 1
536 val
* nit__loader___ModelBuilder___parse(val
* self
, val
* p0
);
537 void nit__modelbuilder___ModelBuilder___run_phases(val
* self
);
538 extern const struct type type_standard__Array__nit__MModule
;
539 void nit__modelbuilder___ToolContext___run_global_phases(val
* self
, val
* p0
);