1 #include "nit.common.h"
2 #define COLOR_nit__abstract_compiler__ToolContext___opt_output 74
3 extern const char FILE_nit__abstract_compiler
[];
4 #define COLOR_nit__abstract_compiler__ToolContext___opt_dir 75
5 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_cc 76
6 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_main 77
7 #define COLOR_nit__abstract_compiler__ToolContext___opt_make_flags 78
8 #define COLOR_nit__abstract_compiler__ToolContext___opt_max_c_lines 79
9 #define COLOR_nit__abstract_compiler__ToolContext___opt_group_c_files 80
10 #define COLOR_nit__abstract_compiler__ToolContext___opt_compile_dir 81
11 #define COLOR_nit__abstract_compiler__ToolContext___opt_hardening 82
12 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_covariance 83
13 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_attr_isset 84
14 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_assert 85
15 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_autocast 86
16 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_null 87
17 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_check_all 88
18 #define COLOR_nit__abstract_compiler__ToolContext___opt_typing_test_metrics 89
19 #define COLOR_nit__abstract_compiler__ToolContext___opt_invocation_metrics 90
20 #define COLOR_nit__abstract_compiler__ToolContext___opt_isset_checks_metrics 91
21 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_stacktrace 92
22 #define COLOR_nit__abstract_compiler__ToolContext___opt_no_gcc_directive 93
23 #define COLOR_nit__abstract_compiler__ToolContext___opt_release 94
24 #define COLOR_nit__abstract_compiler___ToolContext___standard__kernel__Object__init 146
25 #define COLOR_nit__toolcontext__ToolContext___option_context 15
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 58
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 149
35 #define COLOR_opts__Option___value 6
36 #define COLOR_standard__kernel__Object___61d_61d 4
37 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
38 void standard__file___Sys___print(val
* self
, val
* p0
);
39 #define COLOR_opts__Option__VALUE 0
40 extern const struct type type_standard__Bool
;
41 extern const char FILE_opts
[];
42 #define COLOR_nit__abstract_compiler__AbstractCompiler___target_platform 5
43 #define COLOR_nit__modelbuilder_base__ModelBuilder___toolcontext 10
44 extern const char FILE_nit__modelbuilder_base
[];
45 val
* nit__abstract_compiler___Platform___toolchain(val
* self
, val
* p0
, val
* p1
);
46 #define COLOR_nit__abstract_compiler__AbstractCompiler___toolchain 4
47 void nit___nit__MakefileToolchain___Toolchain__write_and_make(val
* self
);
48 val
* NEW_nit__MakefileToolchain(const struct type
* type
);
49 extern const struct type type_nit__MakefileToolchain
;
50 #define COLOR_nit__abstract_compiler__Toolchain__toolcontext_61d 17
51 #define COLOR_nit__abstract_compiler__Toolchain__compiler_61d 18
52 #define COLOR_standard__kernel__Object__init 0
53 #define COLOR_nit__abstract_compiler__Toolchain___toolcontext 0
54 #define COLOR_nit__abstract_compiler__Toolchain___compiler 1
55 val
* nit___nit__Toolchain___root_compile_dir(val
* self
);
56 #define COLOR_nit___nit__Toolchain___standard__kernel__Object__init 23
57 val
* nit___nit__Toolchain___compile_dir(val
* self
);
59 void nit___nit__ToolContext___info(val
* self
, val
* p0
, long p1
);
60 val
* standard__file___String___mkdir(val
* self
);
61 extern const struct type type_standard__Array__standard__String
;
62 void standard___standard__Array___standard__kernel__Object__init(val
* self
);
63 void nit___nit__MakefileToolchain___write_files(val
* self
, val
* p0
, val
* p1
);
64 void nit___nit__MakefileToolchain___write_makefile(val
* self
, val
* p0
, val
* p1
);
65 extern const struct type type_standard__NativeArray__standard__String
;
66 extern const struct type type_standard__Int
;
67 extern const char FILE_standard__kernel
[];
68 val
* standard__string___Int___Object__to_s(long self
);
69 #define COLOR_standard__string__NativeArray__native_to_s 16
70 void nit___nit__MakefileToolchain___compile_c_code(val
* self
, val
* p0
);
71 val
* standard___standard__Text___escape_to_sh(val
* self
);
72 long standard__exec___Sys___system(val
* self
, val
* p0
);
73 short int nit___nit__Platform___supports_libunwind(val
* self
);
74 void nit___nit__AbstractCompiler___build_c_to_nit_bindings(val
* self
);
75 short int nit___nit__Platform___supports_libgc(val
* self
);
76 val
* NEW_nit__ExternCFile(const struct type
* type
);
77 extern const struct type type_nit__ExternCFile
;
78 #define COLOR_nit__c_tools__ExternFile__filename_61d 16
79 #define COLOR_nit__c_tools__ExternCFile__cflags_61d 24
80 #define COLOR_nit__c_tools__ExternFile___pkgconfigs 1
81 extern const char FILE_nit__c_tools
[];
82 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
83 #define COLOR_nit__abstract_compiler__AbstractCompiler___extern_bodies 11
84 #define COLOR_nit__toolcontext__ToolContext___nit_dir 34
85 val
* standard__file___String____47d(val
* self
, val
* p0
);
86 #define COLOR_nit__abstract_compiler__AbstractCompiler___files_to_copy 12
87 #define COLOR_nit__abstract_compiler__AbstractCompiler___mainmodule 1
88 #define COLOR_nit__mmodule__MModule___in_importation 33
89 extern const char FILE_nit__mmodule
[];
90 val
* poset___poset__POSetElement___greaters(val
* self
);
91 #define COLOR_standard__abstract_collection__Collection__iterator 25
92 #define COLOR_standard__abstract_collection__Iterator__is_ok 16
93 #define COLOR_standard__abstract_collection__Iterator__item 17
94 void nit___nit__SeparateCompiler___nit__abstract_compiler__AbstractCompiler__finalize_ffi_for_module(val
* self
, val
* p0
);
95 #define COLOR_standard__abstract_collection__Iterator__next 18
96 #define COLOR_standard__abstract_collection__Iterator__finish 19
97 val
* standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__iterator(val
* self
);
98 short int standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
99 val
* standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__item(val
* self
);
100 val
* standard__file___String___basename(val
* self
, val
* p0
);
101 void standard__file___String___file_copy_to(val
* self
, val
* p0
);
102 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__next(val
* self
);
103 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__finish(val
* self
);
104 #define COLOR_nit__abstract_compiler__AbstractCompiler___header 7
105 #define COLOR_nit__abstract_compiler__CodeWriter___file 0
106 #define COLOR_nit__abstract_compiler__CodeFile___name 0
107 #define COLOR_standard__string__String___43d 71
108 val
* NEW_standard__FileWriter(const struct type
* type
);
109 extern const struct type type_standard__FileWriter
;
110 void standard___standard__FileWriter___open(val
* self
, val
* p0
);
111 #define COLOR_nit__abstract_compiler__CodeWriter___decl_lines 2
112 val
* standard___standard__List___standard__abstract_collection__Collection__iterator(val
* self
);
113 short int standard___standard__ListIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
114 val
* standard___standard__ListIterator___standard__abstract_collection__Iterator__item(val
* self
);
115 void standard___standard__FileWriter___standard__stream__Writer__write(val
* self
, val
* p0
);
116 void standard___standard__ListIterator___standard__abstract_collection__Iterator__next(val
* self
);
117 #define COLOR_nit__abstract_compiler__CodeWriter___lines 1
118 void standard___standard__FileWriter___standard__stream__Stream__close(val
* self
);
119 #define COLOR_nit__abstract_compiler__AbstractCompiler___files 6
120 #define COLOR_nit__abstract_compiler__CodeFile___writers 1
121 long standard___standard__List___standard__abstract_collection__Collection__length(val
* self
);
122 #define COLOR_nit__abstract_compiler__CodeFile___required_declarations 2
123 val
* standard___standard__HashSet___standard__abstract_collection__Collection__iterator(val
* self
);
124 #define COLOR_nit__abstract_compiler__AbstractCompiler___provided_declarations 9
125 short int standard___standard__HashMap___standard__abstract_collection__MapRead__has_key(val
* self
, val
* p0
);
126 #define COLOR_nit__abstract_compiler__AbstractCompiler___requirers_of_declarations 10
127 val
* standard___standard__HashMap___standard__abstract_collection__MapRead__get_or_null(val
* self
, val
* p0
);
128 void nit___nit__ANode___debug(val
* self
, val
* p0
);
129 val
* standard___standard__HashMap___standard__abstract_collection__MapRead___91d_93d(val
* self
, val
* p0
);
130 #define COLOR_standard__array__AbstractArrayRead___length 0
131 val
* nit___nit__MModule___nit__model_base__MEntity__c_name(val
* self
);
132 val
* nit___nit__MModule___first_real_mmodule(val
* self
);
133 #define COLOR_nit__mmodule__MModule___name 31
134 val
* nit___nit__MakefileToolchain___default_outname(val
* self
);
135 val
* standard__file___String___join_path(val
* self
, val
* p0
);
136 val
* nit___nit__MakefileToolchain___outfile(val
* self
, val
* p0
);
137 val
* standard__file___String___relpath(val
* self
, val
* p0
);
138 val
* standard___standard__Text___escape_to_mk(val
* self
);
139 val
* nit___nit__MakefileToolchain___makefile_name(val
* self
);
140 val
* NEW_standard__HashSet(const struct type
* type
);
141 extern const struct type type_standard__HashSet__standard__String
;
142 void standard___standard__HashSet___standard__kernel__Object__init(val
* self
);
143 val
* nit__light___MModule___collect_linker_libs(val
* self
);
144 void standard___standard__SimpleCollection___add_all(val
* self
, val
* p0
);
145 val
* standard__string___Collection___join(val
* self
, val
* p0
);
146 val
* standard__string_search___Text___replace(val
* self
, val
* p0
, val
* p1
);
147 val
* standard__file___String___strip_extension(val
* self
, val
* p0
);
148 #define COLOR_nit__abstract_compiler__AbstractCompiler___linker_script 8
149 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__is_empty(val
* self
);
150 extern const struct type type_standard__Array__nit__ExternFile
;
151 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add_all(val
* self
, val
* p0
);
152 val
* nit___nit__ExternCFile___ExternFile__makefile_rule_name(val
* self
);
153 #define COLOR_nit__c_tools__ExternFile___filename 0
154 val
* nit___nit__ExternCFile___ExternFile__makefile_rule_content(val
* self
);
155 short int nit___nit__ExternCFile___ExternFile__compiles_to_o_file(val
* self
);
156 short int nit___nit__ExternFile___add_to_jar(val
* self
);
157 #define COLOR_nit__toolcontext__ToolContext___verbose_level 31
158 val
* 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 16
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 val
* standard___standard__HashMap___standard__abstract_collection__MapRead__keys(val
* self
);
174 val
* standard___standard__Text___escape_to_c(val
* self
);
175 void nit___nit__CodeWriter___add_decl(val
* self
, val
* p0
);
176 #define COLOR_nit__abstract_compiler__AbstractCompiler__compile_header_structs 36
177 void nit___nit__SeparateCompiler___nit__abstract_compiler__AbstractCompiler__compile_nitni_structs(val
* self
);
178 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
179 val
* nit__model___MModule___finalizable_type(val
* self
);
180 #define COLOR_nit__model__MClassType___mclass 6
181 extern const char FILE_nit__model
[];
182 val
* nit__model___MModule___try_get_primitive_method(val
* self
, val
* p0
, val
* p1
);
183 #define COLOR_nit__abstract_compiler__AbstractCompiler__new_visitor 38
184 void nit___nit__AbstractCompilerVisitor___add_decl(val
* self
, val
* p0
);
185 val
* nit___nit__AbstractCompilerVisitor___new_expr(val
* self
, val
* p0
, val
* p1
);
186 extern const struct type type_standard__Array__nit__RuntimeVariable
;
187 void standard___standard__Array___with_capacity(val
* self
, long p0
);
188 void standard___standard__AbstractArray___standard__abstract_collection__Sequence__push(val
* self
, val
* p0
);
189 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__send(val
* self
, val
* p0
, val
* p1
);
190 void nit___nit__AbstractCompilerVisitor___add(val
* self
, val
* p0
);
191 short int nit___nit__Platform___no_main(val
* self
);
192 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_tags 14
193 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___compiler 0
194 val
* nit__model___MModule___sys_type(val
* self
);
195 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__init_instance 24
196 #define COLOR_standard__string__Object__to_s 3
197 val
* standard__array___Collection___to_a(val
* self
);
198 #define COLOR_nit__mmodule__MModule___location 32
199 #define COLOR_nit__location__Location___file 0
200 extern const char FILE_nit__location
[];
201 #define COLOR_nit__location__SourceFile___filename 1
202 void nit___nit__AbstractCompiler___provide_declaration(val
* self
, val
* p0
, val
* p1
);
203 #define COLOR_nit__abstract_compiler__AbstractCompiler___seen_extern 13
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__separate_compiler___AAttrPropdef___init_expr(val
* self
, val
* p0
, val
* p1
);
209 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_resolved 15
210 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_unresolved 16
211 #define COLOR_nit__abstract_compiler__AbstractCompiler___count_type_test_skipped 17
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 extern const struct type type_standard__Array__standard__Object
;
217 extern const struct type type_standard__NativeArray__standard__Object
;
218 void standard__file___Sys___printn(val
* self
, val
* p0
);
219 val
* counter___standard__Sys___div(val
* self
, long p0
, long p1
);
220 void nit__light___MModule___finalize_ffi(val
* self
, val
* p0
);
221 #define COLOR_nit___nit__CodeFile___standard__kernel__Object__init 20
222 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__COMPILER 0
223 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___current_node 1
224 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___frame 2
225 val
* nit__model___MModule___object_type(val
* self
);
226 val
* nit__model___MModule___bool_type(val
* self
);
227 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___writer 3
228 val
* NEW_nit__CodeWriter(const struct type
* type
);
229 extern const struct type type_nit__CodeWriter
;
230 val
* standard___standard__List___standard__abstract_collection__SequenceRead__last(val
* self
);
231 #define COLOR_nit__abstract_compiler__CodeWriter__file_61d 16
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 13
240 #define COLOR_nit__model__MMethodDef___msignature 13
241 #define COLOR_nit__model__MSignature___mparameters 6
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 long nit___nit__MSignature___arity(val
* self
);
248 #define COLOR_standard__abstract_collection__Collection__length 23
249 val
* nit___nit__AbstractCompilerVisitor___expr(val
* self
, val
* p0
, val
* p1
);
250 #define COLOR_nit__typing__SignatureMap___map 0
251 val
* standard___standard__MapRead___get_or_null(val
* self
, val
* p0
);
252 val
* nit___nit__AbstractCompilerVisitor___null_instance(val
* self
);
253 #define COLOR_nit__model__MParameter___is_vararg 6
254 #define COLOR_nit__typing__SignatureMap___vararg_decl 1
255 val
* standard___standard__AbstractArrayRead___sub(val
* self
, long p0
, long p1
);
256 #define COLOR_nit__model__MParameter___mtype 5
257 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__vararg_instance(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
258 long standard___standard__Int___Discrete__successor(long self
, long p0
);
259 #define COLOR_nit__model__MType__need_anchor 28
260 #define COLOR_nit__abstract_compiler__StaticFrame___receiver 2
261 #define COLOR_nit__model__MType__anchor_to 30
262 #define COLOR_nit__abstract_compiler__RuntimeVariable___mcasttype 2
263 #define COLOR_nit__model__MType__resolve_for 26
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__MProxyType___mtype 6
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 17
272 #define COLOR_nit__abstract_compiler__RuntimeVariable__mtype_61d 18
273 #define COLOR_nit__abstract_compiler__RuntimeVariable__mcasttype_61d 19
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 #define COLOR_nit__abstract_compiler__StaticFrame___escapemark_names 6
284 #define COLOR_nit__scope__EscapeMark___name 0
285 val
* nit___nit__AbstractCompilerVisitor___get_name(val
* self
, val
* p0
);
286 #define COLOR_nit__scope__EscapeMark___escapes 2
287 extern const char FILE_nit__scope
[];
288 val
* nit___nit__AbstractCompilerVisitor___escapemark_name(val
* self
, val
* p0
);
289 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor___variables 6
290 #define COLOR_nit__scope__Variable___name 2
291 #define COLOR_nit__typing__Variable___declared_type 0
292 #define COLOR_nit__abstract_compiler__MType__ctype 27
293 #define COLOR_nit__abstract_compiler__MType__ctype_extern 39
294 #define COLOR_nit__abstract_compiler__RuntimeVariable___mtype 1
295 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__autobox(val
* self
, val
* p0
, val
* p1
);
296 val
* nit__abstract_compiler___MClassType___MType__ctype(val
* self
);
297 #define COLOR_nit__model__MClass___name 6
298 short int nit__abstract_compiler___MClassType___MType__is_c_primitive(val
* self
);
299 val
* nit___nit__AbstractCompilerVisitor___mmodule(val
* self
);
300 val
* nit__model___MModule___int_type(val
* self
);
301 val
* nit__model___MModule___byte_type(val
* self
);
302 val
* standard__string___Byte___Object__to_s(unsigned char self
);
303 val
* nit__model___MModule___char_type(val
* self
);
304 val
* standard__string___Char___Object__to_s(uint32_t self
);
305 val
* nit__model___MModule___float_type(val
* self
);
306 val
* nit___nit__AbstractCompilerVisitor___bool_type(val
* self
);
307 #define COLOR_nit__mmodule__MModule___model 29
308 #define COLOR_nit__model__Model___null_type 7
309 val
* nit__model___MModule___string_type(val
* self
);
310 val
* nit___nit__AbstractCompilerVisitor___new_var(val
* self
, val
* p0
);
311 val
* nit__model___MModule___native_string_type(val
* self
);
312 #define COLOR_standard__string__Text__length 26
313 val
* nit___nit__AbstractCompilerVisitor___int_instance(val
* self
, long p0
);
314 val
* nit___nit__AbstractCompilerVisitor___get_property(val
* self
, val
* p0
, val
* p1
);
315 val
* nit___nit__AbstractCompilerVisitor___bool_instance(val
* self
, short int p0
);
316 extern const struct type type_standard__String
;
317 val
* nit___nit__AbstractCompilerVisitor___string_instance(val
* self
, val
* p0
);
318 void nit___nit__AbstractCompilerVisitor___require_declaration(val
* self
, val
* p0
);
319 short int standard__file___String___file_exists(val
* self
);
320 void nit___nit__AbstractCompilerVisitor___declare_once(val
* self
, val
* p0
);
321 short int standard___standard__ArraySet___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
322 void standard___standard__ArraySet___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
323 void nit___nit__AbstractCompilerVisitor___add_raw_abort(val
* self
);
324 extern const char FILE_nit__parser_nodes
[];
325 #define COLOR_nit__parser_nodes__ANode___location 0
326 extern const char FILE_nit__loader
[];
327 #define COLOR_nit__loader__SourceFile___mmodule 0
328 #define COLOR_nit__location__Location___line_start 1
329 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__type_test 65
330 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__class_name_string 48
331 #define COLOR_nit__abstract_compiler__StaticFrame___returnvar 4
332 void nit___nit__AbstractCompilerVisitor___assign(val
* self
, val
* p0
, val
* p1
);
333 #define COLOR_nit__abstract_compiler__StaticFrame___returnlabel 5
334 #define COLOR_nit__typing__AExpr__mtype 42
335 #define COLOR_nit__typing__AExpr___is_typed 6
336 #define COLOR_nit__typing__AExpr___comprehension 8
337 #define COLOR_nit__abstract_compiler__StaticFrame___comprehension 7
338 #define COLOR_nit__typing__AArrayExpr___element_mtype 17
339 #define COLOR_nit__typing__AArrayExpr___push_callsite 16
340 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__compile_callsite 56
341 #define COLOR_nit__abstract_compiler__AExpr__stmt 59
342 #define COLOR_nit__abstract_compiler__AExpr__expr 60
343 val
* nit___nit__AbstractCompilerVisitor___autoadapt(val
* self
, val
* p0
, val
* p1
);
344 #define COLOR_nit__typing__AExpr___implicit_cast_to 7
345 void nit___nit__AbstractCompilerVisitor___add_cast(val
* self
, val
* p0
, val
* p1
, val
* p2
);
346 #define COLOR_nit__abstract_compiler__AbstractRuntimeFunction___mmethoddef 0
347 #define COLOR_nit__abstract_compiler__AbstractRuntimeFunction___c_name_cache 1
348 #define COLOR_nit__separate_compiler__SeparateRuntimeFunction___build_c_name 4
349 extern const char FILE_nit__separate_compiler
[];
350 #define COLOR_nit___nit__AbstractRuntimeFunction___standard__kernel__Object__init 23
351 #define COLOR_nit__abstract_compiler__RuntimeVariable___is_exact 3
352 #define COLOR_nit__abstract_compiler__StaticFrame__VISITOR 0
353 #define COLOR_nit__abstract_compiler__StaticFrame___visitor 0
354 #define COLOR_nit__abstract_compiler__StaticFrame___mpropdef 1
355 #define COLOR_nit__abstract_compiler__StaticFrame___arguments 3
356 #define COLOR_nit___nit__StaticFrame___standard__kernel__Object__init 30
357 #define COLOR_nit__abstract_compiler__MClassType___ctype 13
358 #define COLOR_nit__abstract_compiler__MClassType__lazy_32d_is_c_primitive 16
359 #define COLOR_nit__abstract_compiler__MClassType___is_c_primitive 15
360 #define COLOR_nit__model__MClass___kind 13
361 val
* nit__model___standard__Sys___extern_kind(val
* self
);
362 #define COLOR_nit__abstract_compiler__MPropDef__VISITOR 0
363 #define COLOR_nit__model__MMethodDef___is_abstract 16
364 val
* nit__modelize_property___ModelBuilder___mpropdef2node(val
* self
, val
* p0
);
365 extern const struct type type_nit__APropdef
;
366 #define COLOR_nit__abstract_compiler__APropdef__can_inline 66
367 extern const struct type type_nit__AClassdef
;
368 #define COLOR_nit__model__MMethodDef___constant_value 19
369 #define COLOR_nit__model__MPropDef___mproperty 6
370 #define COLOR_nit__model__MProperty___name 5
371 void nit__abstract_compiler___MMethodDef___compile_parameter_check(val
* self
, val
* p0
, val
* p1
);
372 #define COLOR_nit__abstract_compiler__APropdef__compile_to_c 65
373 void nit__abstract_compiler___AClassdef___compile_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
374 #define COLOR_standard__kernel__Object___33d_61d 1
375 val
* nit___nit__AbstractCompilerVisitor___value_instance(val
* self
, val
* p0
);
376 void nit___nit__AbstractCompilerVisitor___ret(val
* self
, val
* p0
);
377 #define COLOR_nit__model__MSignature___vararg_rank 8
378 #define COLOR_nit__model__MParameter___name 4
379 val
* nit___nit__RuntimeVariable___standard__string__Object__inspect(val
* self
);
380 val
* standard__string___Object___class_name(val
* self
);
381 val
* nit___nit__Location___standard__string__Object__to_s(val
* self
);
382 #define COLOR_nit__auto_super_init__AMethPropdef___auto_super_inits 23
383 void standard___standard__AbstractArray___standard__abstract_collection__RemovableCollection__clear(val
* self
);
384 #define COLOR_nit__typing__CallSite___msignature 7
385 #define COLOR_nit__auto_super_init__AMethPropdef___auto_super_call 24
386 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__supercall(val
* self
, val
* p0
, val
* p1
, val
* p2
);
387 #define COLOR_nit__model__MMethodDef___is_intern 17
388 short int nit__abstract_compiler___AMethPropdef___compile_intern_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
389 #define COLOR_nit__model__MMethodDef___is_extern 18
390 #define COLOR_nit__model__MMethod___is_init 17
391 short int nit__light___AMethPropdef___compile_externinit_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
392 short int nit__light___AMethPropdef___compile_externmeth_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
393 #define COLOR_nit__parser_nodes__AMethPropdef___n_block 19
394 #define COLOR_nit__parser_nodes__AMethPropdef___n_signature 17
395 #define COLOR_nit__parser_nodes__ASignature___n_params 10
396 val
* nit___nit__ANodes___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
397 #define COLOR_nit__scope__AParam___variable 8
398 val
* nit___nit__AbstractCompilerVisitor___variable(val
* self
, val
* p0
);
399 void nit___nit__AbstractCompilerVisitor___stmt(val
* self
, val
* p0
);
400 #define COLOR_nit__modelize_property__APropdef___mpropdef 4
401 #define COLOR_nit__model__MPropDef___mclassdef 5
402 #define COLOR_nit__model__MClassDef___mclass 6
403 extern const struct type type_nit__ABlockExpr
;
404 #define COLOR_nit__parser_nodes__ABlockExpr___n_expr 10
405 long nit___nit__ANodes___standard__abstract_collection__Collection__length(val
* self
);
406 #define COLOR_nit__model__MSignature___return_mtype 7
407 val
* nit___nit__AbstractCompilerVisitor___resolve_for(val
* self
, val
* p0
, val
* p1
);
408 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__adapt_signature(val
* self
, val
* p0
, val
* p1
);
409 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__unbox_signature_extern(val
* self
, val
* p0
, val
* p1
);
410 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__equal_test(val
* self
, val
* p0
, val
* p1
);
411 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__native_array_def(val
* self
, val
* p0
, val
* p1
, val
* p2
);
412 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__calloc_array 71
413 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__is_same_type_test(val
* self
, val
* p0
, val
* p1
);
414 val
* nit__annotation___Prod___get_single_annotation(val
* self
, val
* p0
, val
* p1
);
415 #define COLOR_nit__parser_nodes__AAnnotation___n_args 14
416 val
* nit__annotation___AAnnotation___arg_as_string(val
* self
, val
* p0
);
417 #define COLOR_nit__model__MClassDef___mmodule 5
418 void nit___nit__AbstractCompilerVisitor___add_extern(val
* self
, val
* p0
);
419 val
* nit___nit__AbstractCompilerVisitor___new_var_extern(val
* self
, val
* p0
);
420 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__box_extern 73
421 val
* standard___standard__AbstractArray___standard__abstract_collection__Sequence__shift(val
* self
);
422 #define COLOR_nit__modelize_property__AAttrPropdef___is_lazy 14
423 #define COLOR_nit__modelize_property__AAttrPropdef___mreadpropdef 17
424 #define COLOR_nit__modelize_property__AAttrPropdef___mtype 9
425 #define COLOR_nit__abstract_compiler__MType__is_c_primitive 37
426 #define COLOR_nit__modelize_property__AAttrPropdef___mlazypropdef 16
427 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__isset_attribute(val
* self
, val
* p0
, val
* p1
);
428 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__read_attribute(val
* self
, val
* p0
, val
* p1
);
429 val
* nit__abstract_compiler___AAttrPropdef___evaluate_expr(val
* self
, val
* p0
, val
* p1
);
430 #define COLOR_nit__modelize_property__AAttrPropdef___mwritepropdef 18
431 #define COLOR_nit__modelize_property__AAttrPropdef___has_value 15
432 #define COLOR_nit__parser_nodes__AAttrPropdef___n_expr 23
433 extern const struct type type_nit__ANullExpr
;
434 val
* NEW_nit__StaticFrame(const struct type
* type
);
435 extern const struct type type_nit__StaticFrame
;
436 #define COLOR_nit__model__MType__undecorate 45
437 #define COLOR_nit__abstract_compiler__StaticFrame__visitor_61d 18
438 #define COLOR_nit__abstract_compiler__StaticFrame__mpropdef_61d 19
439 #define COLOR_nit__abstract_compiler__StaticFrame__receiver_61d 20
440 #define COLOR_nit__abstract_compiler__StaticFrame__arguments_61d 21
441 #define COLOR_nit__parser_nodes__AAttrPropdef___n_block 25
442 #define COLOR_nit__modelize_property__AClassdef___mfree_init 5
443 #define COLOR_nit__model__MMethod___is_root_init 18
444 short int nit___nit__MPropDef___is_intro(val
* self
);
445 val
* nit___nit__ANodes___standard__abstract_collection__Collection__iterator(val
* self
);
446 val
* standard___standard__SequenceRead___last(val
* self
);
447 #define COLOR_nit__scope__AVardeclExpr___variable 15
448 #define COLOR_nit__parser_nodes__AVardeclExpr___n_expr 14
449 #define COLOR_nit__scope__AVarFormExpr___variable 11
450 #define COLOR_nit__typing__AExpr___mtype 5
451 #define COLOR_nit__parser_nodes__AAssignFormExpr___n_value 13
452 #define COLOR_nit__parser_nodes__AReassignFormExpr___n_value 13
453 #define COLOR_nit__typing__AReassignFormExpr___reassign_callsite 14
454 #define COLOR_nit__typing__AImplicitSelfExpr___is_sys 13
455 #define COLOR_nit__abstract_compiler___AImplicitSelfExpr___AExpr__expr 71
456 #define COLOR_nit__scope__AEscapeExpr___escapemark 12
457 #define COLOR_nit__parser_nodes__AReturnExpr___n_expr 11
458 #define COLOR_nit__parser_nodes__AIfExpr___n_expr 11
459 val
* nit___nit__AbstractCompilerVisitor___expr_bool(val
* self
, val
* p0
);
460 #define COLOR_nit__parser_nodes__AIfExpr___n_then 13
461 #define COLOR_nit__parser_nodes__AIfExpr___n_else 15
462 #define COLOR_nit__parser_nodes__AIfexprExpr___n_expr 11
463 #define COLOR_nit__parser_nodes__AIfexprExpr___n_then 13
464 #define COLOR_nit__parser_nodes__AIfexprExpr___n_else 15
465 #define COLOR_nit__parser_nodes__ADoExpr___n_block 12
466 #define COLOR_nit__scope__ADoExpr___break_mark 13
467 void nit___nit__AbstractCompilerVisitor___add_escape_label(val
* self
, val
* p0
);
468 #define COLOR_nit__parser_nodes__AWhileExpr___n_expr 12
469 #define COLOR_nit__parser_nodes__AWhileExpr___n_block 14
470 #define COLOR_nit__scope__AWhileExpr___continue_mark 16
471 #define COLOR_nit__scope__AWhileExpr___break_mark 15
472 #define COLOR_nit__parser_nodes__ALoopExpr___n_block 12
473 #define COLOR_nit__scope__ALoopExpr___continue_mark 14
474 #define COLOR_nit__scope__ALoopExpr___break_mark 13
475 #define COLOR_nit__parser_nodes__AForExpr___n_expr 14
476 #define COLOR_nit__typing__AForExpr___method_iterator 18
477 #define COLOR_nit__typing__AForExpr___method_is_ok 19
478 #define COLOR_nit__scope__AForExpr___variables 26
479 extern const char FILE_standard__array
[];
480 #define COLOR_nit__typing__AForExpr___method_item 20
481 #define COLOR_nit__typing__AForExpr___method_key 22
482 #define COLOR_nit__parser_nodes__AForExpr___n_block 16
483 #define COLOR_nit__scope__AForExpr___continue_mark 28
484 #define COLOR_nit__typing__AForExpr___method_next 21
485 #define COLOR_nit__scope__AForExpr___break_mark 27
486 #define COLOR_nit__typing__AForExpr___method_finish 23
487 #define COLOR_nit__parser_nodes__AAssertExpr___n_expr 12
488 #define COLOR_nit__parser_nodes__AAssertExpr___n_else 14
489 #define COLOR_nit__parser_nodes__AAssertExpr___n_id 11
490 val
* nit__lexer_work___Token___text(val
* self
);
491 #define COLOR_nit__parser_nodes__ABinBoolExpr___n_expr 10
492 #define COLOR_nit__parser_nodes__ABinBoolExpr___n_expr2 12
493 #define COLOR_nit__parser_nodes__ANotExpr___n_expr 11
494 #define COLOR_nit__literal__AIntExpr___value 10
495 #define COLOR_nit__literal__AByteExpr___value 10
496 val
* nit___nit__AbstractCompilerVisitor___byte_instance(val
* self
, unsigned char p0
);
497 #define COLOR_nit__parser_nodes__AFloatExpr___n_float 10
498 val
* nit___nit__AbstractCompilerVisitor___float_instance(val
* self
, val
* p0
);
499 #define COLOR_nit__literal__ACharExpr___value 11
500 val
* nit___nit__AbstractCompilerVisitor___char_instance(val
* self
, uint32_t p0
);
501 val
* nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__array_instance(val
* self
, val
* p0
, val
* p1
);
502 #define COLOR_nit__parser_nodes__AArrayExpr___n_exprs 11
503 #define COLOR_nit__literal__AStringFormExpr___value 11
504 extern const struct type type_standard__Array__nit__AExpr
;
505 #define COLOR_nit__parser_nodes__ASuperstringExpr___n_exprs 10
506 extern const struct type type_nit__AStringFormExpr
;
507 #define COLOR_nit__abstract_compiler__AbstractCompilerVisitor__native_array_instance 85
508 void nit___nit__SeparateCompilerVisitor___nit__abstract_compiler__AbstractCompilerVisitor__native_array_set(val
* self
, val
* p0
, long p1
, val
* p2
);
509 val
* nit___nit__AbstractCompilerVisitor___object_type(val
* self
);
510 #define COLOR_nit__parser_nodes__ARangeExpr___n_expr 10
511 #define COLOR_nit__parser_nodes__ARangeExpr___n_expr2 12
512 #define COLOR_nit__typing__ARangeExpr___init_callsite 13
513 #define COLOR_nit__parser_nodes__AIsaExpr___n_expr 10
514 #define COLOR_nit__typing__AIsaExpr___cast_type 13
515 #define COLOR_nit__parser_nodes__AAsCastForm___n_expr 10
516 #define COLOR_nit__parser_nodes__AParExpr___n_expr 11
517 #define COLOR_nit__parser_nodes__AOnceExpr___n_expr 11
518 #define COLOR_nit__parser_nodes__ASendExpr___n_expr 10
519 #define COLOR_nit__typing__ASendExpr___callsite 11
520 #define COLOR_nit__typing__CallSite___signaturemap 9
521 val
* nit__typing___ASendExpr___raw_arguments(val
* self
);
522 val
* nit___nit__AbstractCompilerVisitor___varargize(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
523 #define COLOR_nit__typing__ASendReassignFormExpr___write_callsite 18
524 #define COLOR_nit__typing__ASuperExpr___callsite 13
525 #define COLOR_nit__parser_nodes__ASuperExpr___n_args 12
526 #define COLOR_nit__parser_nodes__AExprs___n_exprs 4
527 short int nit___nit__ANodes___standard__abstract_collection__Collection__is_empty(val
* self
);
528 #define COLOR_nit__typing__ASuperExpr___mpropdef 14
529 #define COLOR_nit__typing__ASuperExpr___signaturemap 15
530 #define COLOR_nit__typing__ANewExpr___recvtype 15
531 #define COLOR_nit__parser_nodes__ANewExpr___n_args 13
532 extern const struct type type_nit__MGenericType
;
533 #define COLOR_nit__model__MGenericType___arguments 17
534 val
* nit___nit__AbstractCompilerVisitor___init_instance_or_extern(val
* self
, val
* p0
);
535 #define COLOR_nit__typing__ANewExpr___callsite 14
536 #define COLOR_nit__parser_nodes__AAttrFormExpr___n_expr 10
537 #define COLOR_nit__typing__AAttrFormExpr___mproperty 16
538 #define COLOR_nit__parser_nodes__AVarargExpr___n_expr 10
539 #define COLOR_nit__parser_nodes__ANamedargExpr___n_expr 12
540 #define COLOR_nit__abstract_compiler__MModule___properties_cache 43
541 #define COLOR_standard__abstract_collection__MapRead__has_key 18
542 extern const struct type type_standard__HashSet__nit__MProperty
;
543 extern const struct type type_standard__Array__nit__MClass
;
544 val
* nit__model___MModule___flatten_mclass_hierarchy(val
* self
);
545 short int poset___poset__POSet___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
546 val
* nit___nit__MClass___in_hierarchy(val
* self
, val
* p0
);
547 val
* poset___poset__POSetElement___direct_greaters(val
* self
);
548 val
* nit__abstract_compiler___MModule___properties(val
* self
, val
* p0
);
549 #define COLOR_nit__model__MClass___mclassdefs 15
550 short int poset___poset__POSetElement____60d_61d(val
* self
, val
* p0
);
551 #define COLOR_nit__model__MClassDef___intro_mproperties 16
552 #define COLOR_standard__abstract_collection__Map___91d_93d_61d 25
553 #define COLOR_standard__abstract_collection__MapRead___91d_93d 19
554 val
* NEW_nit__ToolContext(const struct type
* type
);
555 extern const struct type type_nit__ToolContext
;
556 void nit__separate_erasure_compiler___ToolContext___standard__kernel__Object__init(val
* self
);
557 #define COLOR_nit__toolcontext__ToolContext___tooldescription 32
558 val
* standard__string___Sys___args(val
* self
);
559 void nit__nith___ToolContext___process_options(val
* self
, val
* p0
);
560 val
* NEW_nit__Model(const struct type
* type
);
561 extern const struct type type_nit__Model
;
562 val
* NEW_nit__ModelBuilder(const struct type
* type
);
563 extern const struct type type_nit__ModelBuilder
;
564 #define COLOR_nit__modelbuilder_base__ModelBuilder__model_61d 16
565 #define COLOR_nit__modelbuilder_base__ModelBuilder__toolcontext_61d 17
566 #define COLOR_opts__OptionContext___rest 1
567 val
* nit__loader___ModelBuilder___parse(val
* self
, val
* p0
);
568 void nit__modelbuilder___ModelBuilder___run_phases(val
* self
);
569 extern const struct type type_standard__Array__nit__MModule
;
570 void nit__modelbuilder___ToolContext___run_global_phases(val
* self
, val
* p0
);