1 #include "nit.common.h"
2 val
* NEW_nitc__RapidTypeAnalysis(const struct type
* type
);
3 extern const struct type type_nitc__RapidTypeAnalysis
;
4 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis__modelbuilder_61d 12
5 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis__mainmodule_61d 13
6 #define COLOR_core__kernel__Object__init 0
7 void nitc___nitc__RapidTypeAnalysis___run_analysis(val
* self
);
8 #define COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext 13
9 extern const char FILE_nitc__modelbuilder_base
[];
10 #define COLOR_nitc__toolcontext__ToolContext___opt_log 19
11 extern const char FILE_nitc__toolcontext
[];
12 #define COLOR_opts__Option___value 6
13 #define COLOR_nitc__toolcontext__ToolContext___log_directory 9
14 #define COLOR_nitc__mmodule__MModule___name 43
15 extern const char FILE_nitc__mmodule
[];
16 val
* core__file___String____47d(val
* self
, val
* p0
);
17 val
* nitc___nitc__RapidTypeAnalysis___live_methods_to_tree(val
* self
);
18 val
* core__flat___CString___to_s_unsafe(char* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
19 #define COLOR_core__abstract_text__Text___43d 39
20 void core__file___Writable___write_to_file(val
* self
, val
* p0
);
21 val
* nitc___nitc__RapidTypeAnalysis___live_types_to_csv(val
* self
);
22 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___modelbuilder 0
23 extern const char FILE_nitc__rapid_type_analysis
[];
24 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___mainmodule 1
25 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_types 2
26 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_open_types 3
27 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_classes 4
28 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_cast_types 5
29 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_open_cast_types 6
30 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_methoddefs 7
31 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_methods 8
32 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_mmodules 9
33 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_callsites 10
34 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_targets_cache 11
35 #define COLOR_nitc__typing__CallSite___recv 7
36 extern const char FILE_nitc__typing
[];
37 #define COLOR_nitc__typing__CallSite___anchor 9
38 #define COLOR_core__kernel__Object___61d_61d 4
39 #define COLOR_nitc__typing__CallSite___mmodule 8
40 #define COLOR_nitc__model__MType__anchor_to 33
41 #define COLOR_nitc__model__MType__undecorate 51
42 extern const struct type type_nitc__MClassType
;
43 #define COLOR_nitc__model__MClassType___mclass 9
44 extern const char FILE_nitc__model
[];
45 #define COLOR_nitc__model__MClass___intro 19
46 #define COLOR_nitc__model__MClassDef___bound_mtype 9
47 #define COLOR_nitc__typing__CallSite___mproperty 11
48 val
* more_collections___more_collections__HashMap2____91d_93d(val
* self
, val
* p0
, val
* p1
);
49 val
* NEW_core__ArraySet(const struct type
* type
);
50 extern const struct type type_core__ArraySet__nitc__MMethodDef
;
51 void core___core__ArraySet___core__kernel__Object__init(val
* self
);
52 void more_collections___more_collections__HashMap2____91d_93d_61d(val
* self
, val
* p0
, val
* p1
, val
* p2
);
53 val
* core___core__HashSet___core__abstract_collection__Collection__iterator(val
* self
);
54 #define COLOR_core__abstract_collection__Iterator__is_ok 12
55 #define COLOR_core__abstract_collection__Iterator__item 13
56 short int nitc___nitc__MType___is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
57 val
* nitc___nitc__MProperty___lookup_first_definition(val
* self
, val
* p0
, val
* p1
);
58 void core___core__ArraySet___core__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
59 #define COLOR_core__abstract_collection__Iterator__next 14
60 #define COLOR_core__abstract_collection__Iterator__finish 15
61 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___live_super_sends 12
62 val
* NEW_core__HashSet(const struct type
* type
);
63 extern const struct type type_core__HashSet__nitc__MType
;
64 void core___core__HashSet___core__kernel__Object__init(val
* self
);
65 void core___core__SimpleCollection___add_all(val
* self
, val
* p0
);
66 val
* core__array___Collection___to_a(val
* self
);
67 val
* NEW_core__CachedAlphaComparator(const struct type
* type
);
68 extern const struct type type_core__CachedAlphaComparator
;
69 void core___core__Comparator___sort(val
* self
, val
* p0
);
70 val
* NEW_csv__CsvDocument(const struct type
* type
);
71 extern const struct type type_csv__CsvDocument
;
72 #define COLOR_csv__CsvDocument__header_61d 18
73 #define COLOR_csv__CsvDocument__records_61d 19
74 #define COLOR_csv__CsvStream___separator 1
75 val
* NEW_core__Array(const struct type
* type
);
76 extern const struct type type_core__Array__core__String
;
77 void core___core__Array___with_capacity(val
* self
, long p0
);
78 void core___core__AbstractArray___core__abstract_collection__Sequence__push(val
* self
, val
* p0
);
79 #define COLOR_csv__CsvDocument___header 3
80 val
* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val
* self
);
81 #define COLOR_nitc__model__MType__need_anchor 31
82 short int core___core__HashSet___core__abstract_collection__Collection__has(val
* self
, val
* p0
);
83 extern const struct type type_core__Array__core__Object
;
84 val
* NEW_core__NativeArray(int length
, const struct type
* type
);
85 extern const struct type type_core__NativeArray__core__Object
;
86 #define COLOR_core__array__Array__with_native 32
87 void csv___csv__CsvDocument___add_record(val
* self
, val
* p0
);
88 val
* NEW_ordered_tree__OrderedTree(const struct type
* type
);
89 extern const struct type type_ordered_tree__OrderedTree__core__Object
;
90 val
* nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(val
* self
);
91 void ordered_tree___ordered_tree__OrderedTree___add(val
* self
, val
* p0
, val
* p1
);
92 #define COLOR_nitc__model__MProperty___mpropdefs 15
93 #define COLOR_nitc__model__MPropDef___to_s 14
94 val
* core__abstract_text___Sys___alpha_comparator(val
* self
);
95 void ordered_tree___ordered_tree__OrderedTree___sort_with(val
* self
, val
* p0
);
96 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___totry_methods 13
97 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___totry_methods_to_remove 14
98 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___try_methods 15
99 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___todo 16
100 #define COLOR_nitc__modelbuilder_base__ModelBuilder___model 12
101 val
* nitc__model___Model___get_mclasses_by_name(val
* self
, val
* p0
);
102 #define COLOR_nitc__model__MClass___mclass_type 20
103 void nitc___nitc__RapidTypeAnalysis___add_new(val
* self
, val
* p0
, val
* p1
);
104 val
* nitc__model___MModule___sys_type(val
* self
);
105 val
* nitc__model___MModule___try_get_primitive_method(val
* self
, val
* p0
, val
* p1
);
106 void nitc___nitc__RapidTypeAnalysis___add_send(val
* self
, val
* p0
, val
* p1
);
107 val
* nitc__model___MModule___finalizable_type(val
* self
);
108 void nitc___nitc__RapidTypeAnalysis___force_alive(val
* self
, val
* p0
);
109 short int core___core__List___core__abstract_collection__Collection__is_empty(val
* self
);
110 val
* core___core__List___core__abstract_collection__Sequence__shift(val
* self
);
111 #define COLOR_nitc__model__MPropDef___mproperty 8
112 #define COLOR_nitc__model__MMethodDef___msignature 15
113 val
* NEW_nitc__RapidTypeVisitor(const struct type
* type
);
114 extern const struct type type_nitc__RapidTypeVisitor
;
115 #define COLOR_nitc__model__MPropDef___mclassdef 7
116 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor__analysis_61d 15
117 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor__receiver_61d 16
118 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor__mpropdef_61d 17
119 #define COLOR_nitc__model__MSignature___vararg_rank 11
120 extern const struct type type_core__Int
;
121 extern const char FILE_core__kernel
[];
122 val
* nitc__modelize_property___ModelBuilder___mpropdef2node(val
* self
, val
* p0
);
123 #define COLOR_nitc__model__MSignature___mparameters 9
124 val
* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
125 #define COLOR_nitc__model__MParameter___mtype 7
126 val
* nitc__model___MModule___array_type(val
* self
, val
* p0
);
127 void nitc___nitc__RapidTypeVisitor___add_type(val
* self
, val
* p0
);
128 val
* nitc__model___MModule___native_array_type(val
* self
, val
* p0
);
129 val
* nitc___nitc__ModelBuilder___force_get_primitive_method(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
130 void nitc___nitc__RapidTypeVisitor___add_monomorphic_send(val
* self
, val
* p0
, val
* p1
);
131 #define COLOR_nitc__model__MProperty___intro 16
132 long nitc___nitc__MSignature___arity(val
* self
);
133 void nitc___nitc__RapidTypeAnalysis___add_cast(val
* self
, val
* p0
);
134 long core___core__Int___Discrete__successor(long self
, long p0
);
135 #define COLOR_nitc__model__MMethodDef___is_abstract 18
136 extern const struct type type_nitc__AClassdef
;
137 #define COLOR_nitc__model__MMethod___is_root_init 21
138 short int nitc___nitc__MPropDef___is_intro(val
* self
);
139 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor___receiver 2
140 void nitc___nitc__RapidTypeAnalysis___add_super_send(val
* self
, val
* p0
, val
* p1
);
141 extern const struct type type_core__NativeArray__core__String
;
142 #define COLOR_core__abstract_text__Object__to_s 3
143 #define COLOR_core__abstract_text__NativeArray__native_to_s 12
144 void nitc___nitc__ANode___debug(val
* self
, val
* p0
);
145 #define COLOR_nitc__model__MMethodDef___constant_value 21
146 #define COLOR_core__kernel__Object___33d_61d 1
147 #define COLOR_nitc__model__MSignature___return_mtype 10
148 extern const struct type type_nitc__AMethPropdef
;
149 #define COLOR_nitc__auto_super_init__AMethPropdef___auto_super_inits 25
150 void nitc___nitc__RapidTypeVisitor___add_callsite(val
* self
, val
* p0
);
151 #define COLOR_nitc__auto_super_init__AMethPropdef___auto_super_call 26
152 #define COLOR_nitc__model__MMethodDef___is_intern 19
153 #define COLOR_nitc__model__MMethodDef___is_extern 20
154 #define COLOR_nitc__model__MClass___kind 16
155 val
* nitc__model___core__Sys___abstract_kind(val
* self
);
156 val
* nitc__model___core__Sys___interface_kind(val
* self
);
157 void nitc___nitc__Visitor___enter_visit(val
* self
, val
* p0
);
158 val
* NEW_core__List(const struct type
* type
);
159 extern const struct type type_core__List__nitc__MClassType
;
160 #define COLOR_core___core__List___core__kernel__Object__init 17
161 #define COLOR_nitc__model__MType__can_resolve_for 32
162 val
* nitc___nitc__MClassType___MType__anchor_to(val
* self
, val
* p0
, val
* p1
);
163 #define COLOR_nitc__model__MType__is_legal_in 34
164 short int nitc___nitc__RapidTypeAnalysis___check_depth(val
* self
, val
* p0
);
165 void core___core__HashSet___core__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
166 void core___core__List___core__abstract_collection__Sequence__unshift(val
* self
, val
* p0
);
167 #define COLOR_nitc__model__MType__length 40
168 val
* core__flat___Int___core__abstract_text__Object__to_s(long self
);
169 void nitc___nitc__ToolContext___fatal_error(val
* self
, val
* p0
, val
* p1
);
170 void nitc___nitc__RapidTypeAnalysis___try_send(val
* self
, val
* p0
, val
* p1
);
171 void nitc___nitc__RapidTypeAnalysis___try_super_send(val
* self
, val
* p0
, val
* p1
);
172 void core___core__HashSet___core__abstract_collection__RemovableCollection__remove(val
* self
, val
* p0
);
173 void core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(val
* self
);
174 val
* nitc___nitc__MClassType___MType__collect_mclassdefs(val
* self
, val
* p0
);
175 #define COLOR_core__abstract_collection__Collection__iterator 24
176 val
* nitc__modelize_property___ModelBuilder___collect_attr_propdef(val
* self
, val
* p0
);
177 #define COLOR_nitc__modelize_property__AAttrPropdef___has_value 18
178 #define COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef 20
179 #define COLOR_nitc__parser_nodes__AAttrPropdef___n_expr 26
180 #define COLOR_nitc__parser_nodes__AAttrPropdef___n_block 28
181 short int nitc___nitc__MType___has_mproperty(val
* self
, val
* p0
, val
* p1
);
182 void nitc___nitc__RapidTypeAnalysis___add_call(val
* self
, val
* p0
);
183 #define COLOR_nitc__model__MClassDef___mmodule 7
184 void core___core__Sequence___SimpleCollection__add(val
* self
, val
* p0
);
185 #define COLOR_core__array__AbstractArrayRead___length 0
186 void core___core__Array___core__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
187 val
* core___core__SequenceRead___Collection__first(val
* self
);
188 #define COLOR_core__abstract_collection__Collection__has 27
189 val
* nitc___nitc__MPropDef___lookup_next_definition(val
* self
, val
* p0
, val
* p1
);
190 #define COLOR_nitc__modelize_property__MPropDef___has_supercall 6
191 #define COLOR_nitc___nitc__RapidTypeAnalysis___core__kernel__Object__init 44
192 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor___analysis 1
193 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor___mpropdef 3
194 #define COLOR_nitc___nitc__RapidTypeVisitor___core__kernel__Object__init 26
195 extern const struct type type_nitc__AExpr
;
196 #define COLOR_nitc__typing__AExpr__mtype 49
197 #define COLOR_nitc__typing__AExpr___is_typed 13
198 #define COLOR_nitc__rapid_type_analysis__ANode__accept_rapid_type_visitor 23
199 #define COLOR_nitc__typing__AExpr___implicit_cast_to 14
200 void nitc___nitc__RapidTypeVisitor___add_cast_type(val
* self
, val
* p0
);
201 extern const struct type type_nitc__AAnnotations
;
202 #define COLOR_nitc__parser_nodes__ANode__visit_all 14
203 extern const struct type type_nitc__MNullType
;
204 val
* nitc___nitc__RapidTypeVisitor___cleanup_type(val
* self
, val
* p0
);
205 #define COLOR_nitc__parser_nodes__Visitor___current_node 0
206 #define COLOR_nitc__typing__CallSite___mpropdef 12
207 #define COLOR_nitc__model__MMethodDef___initializers 17
208 extern const struct type type_nitc__MMethod
;
209 void nitc__rapid_type_analysis___AExpr___allocate_mtype(val
* self
, val
* p0
);
210 #define COLOR_nitc__typing__AExpr___mtype 12
211 #define COLOR_nitc__model__MClassType__arguments 61
212 val
* nitc___nitc__RapidTypeVisitor___get_method(val
* self
, val
* p0
, val
* p1
);
213 #define COLOR_nitc__typing__AArrayExpr___with_capacity_callsite 8
214 #define COLOR_nitc__typing__AArrayExpr___push_callsite 18
215 val
* nitc__model___MModule___c_string_type(val
* self
);
216 #define COLOR_nitc__typing__AugmentedStringFormExpr___to_re 20
217 #define COLOR_nitc__typing__AugmentedStringFormExpr___ignore_case 21
218 #define COLOR_nitc__typing__AugmentedStringFormExpr___newline 22
219 #define COLOR_nitc__typing__AugmentedStringFormExpr___extended 23
220 #define COLOR_nitc__typing__AugmentedStringFormExpr___to_bytes_with_copy 24
221 val
* nitc__model___MModule___string_type(val
* self
);
222 #define COLOR_nitc__typing__ARangeExpr___init_callsite 6
223 #define COLOR_nitc__typing__AIsaExpr___cast_type 6
224 #define COLOR_nitc__typing__ASendExpr___callsite 4
225 #define COLOR_nitc__typing__AReassignFormExpr___reassign_callsite 7
226 #define COLOR_nitc__typing__ASendReassignFormExpr___write_callsite 20
227 #define COLOR_nitc__typing__ASuperExpr___callsite 6
228 #define COLOR_nitc__typing__ASuperExpr___mpropdef 7
229 #define COLOR_nitc__typing__AForGroup___method_iterator 7
230 #define COLOR_nitc__typing__AForGroup___method_is_ok 8
231 #define COLOR_nitc__scope__AForGroup___variables 17
232 extern const char FILE_core__array
[];
233 #define COLOR_nitc__typing__AForGroup___method_item 11
234 #define COLOR_nitc__typing__AForGroup___method_key 13
235 #define COLOR_nitc__typing__AForGroup___method_next 12
236 #define COLOR_nitc__typing__AForGroup___method_finish 14
237 #define COLOR_nitc__typing__ANewExpr___recvtype 8
238 #define COLOR_nitc__typing__ANewExpr___callsite 7