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 12
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 44
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___NativeString___to_s_full(char* self
, long p0
, long p1
);
19 #define COLOR_core__abstract_text__String___43d 76
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 31
41 #define COLOR_nitc__model__MType__undecorate 47
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 18
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 val
* NEW_csv__CsvFormat(const struct type
* type
);
73 extern const struct type type_csv__CsvFormat
;
74 #define COLOR_csv__CsvFormat__delimiter_61d 13
75 #define COLOR_csv__CsvFormat__separator_61d 14
76 #define COLOR_csv__CsvFormat__eol_61d 15
77 #define COLOR_csv__CsvDocument___format 0
78 val
* NEW_core__Array(const struct type
* type
);
79 extern const struct type type_core__Array__core__String
;
80 void core___core__Array___with_capacity(val
* self
, long p0
);
81 void core___core__AbstractArray___core__abstract_collection__Sequence__push(val
* self
, val
* p0
);
82 #define COLOR_csv__CsvDocument___header 1
83 val
* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val
* self
);
84 #define COLOR_nitc__model__MType__need_anchor 29
85 short int core___core__HashSet___core__abstract_collection__Collection__has(val
* self
, val
* p0
);
86 extern const struct type type_core__Array__core__Object
;
87 val
* NEW_core__NativeArray(int length
, const struct type
* type
);
88 extern const struct type type_core__NativeArray__core__Object
;
89 #define COLOR_core__array__Array__with_native 27
90 void csv___csv__CsvDocument___add_record(val
* self
, val
* p0
);
91 val
* NEW_ordered_tree__OrderedTree(const struct type
* type
);
92 extern const struct type type_ordered_tree__OrderedTree__core__Object
;
93 val
* nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(val
* self
);
94 void ordered_tree___ordered_tree__OrderedTree___add(val
* self
, val
* p0
, val
* p1
);
95 #define COLOR_nitc__model__MProperty___mpropdefs 14
96 #define COLOR_nitc__model__MPropDef___to_s 14
97 val
* core__abstract_text___Sys___alpha_comparator(val
* self
);
98 void ordered_tree___ordered_tree__OrderedTree___sort_with(val
* self
, val
* p0
);
99 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___totry_methods 13
100 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___totry_methods_to_remove 14
101 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___try_methods 15
102 #define COLOR_nitc__rapid_type_analysis__RapidTypeAnalysis___todo 16
103 #define COLOR_nitc__modelbuilder_base__ModelBuilder___model 11
104 val
* nitc__model___Model___get_mclasses_by_name(val
* self
, val
* p0
);
105 #define COLOR_nitc__model__MClass___mclass_type 19
106 void nitc___nitc__RapidTypeAnalysis___add_new(val
* self
, val
* p0
, val
* p1
);
107 val
* nitc__model___MModule___sys_type(val
* self
);
108 val
* nitc__model___MModule___try_get_primitive_method(val
* self
, val
* p0
, val
* p1
);
109 void nitc___nitc__RapidTypeAnalysis___add_send(val
* self
, val
* p0
, val
* p1
);
110 val
* nitc__model___MModule___finalizable_type(val
* self
);
111 void nitc___nitc__RapidTypeAnalysis___force_alive(val
* self
, val
* p0
);
112 short int core___core__List___core__abstract_collection__Collection__is_empty(val
* self
);
113 val
* core___core__List___core__abstract_collection__Sequence__shift(val
* self
);
114 #define COLOR_nitc__model__MPropDef___mproperty 8
115 #define COLOR_nitc__model__MMethodDef___msignature 15
116 val
* NEW_nitc__RapidTypeVisitor(const struct type
* type
);
117 extern const struct type type_nitc__RapidTypeVisitor
;
118 #define COLOR_nitc__model__MPropDef___mclassdef 7
119 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor__analysis_61d 15
120 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor__receiver_61d 16
121 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor__mpropdef_61d 17
122 #define COLOR_nitc__model__MSignature___vararg_rank 11
123 extern const struct type type_core__Int
;
124 extern const char FILE_core__kernel
[];
125 val
* nitc__modelize_property___ModelBuilder___mpropdef2node(val
* self
, val
* p0
);
126 #define COLOR_nitc__model__MSignature___mparameters 9
127 val
* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
128 #define COLOR_nitc__model__MParameter___mtype 7
129 val
* nitc__model___MModule___array_type(val
* self
, val
* p0
);
130 void nitc___nitc__RapidTypeVisitor___add_type(val
* self
, val
* p0
);
131 val
* nitc__model___MModule___native_array_type(val
* self
, val
* p0
);
132 val
* nitc___nitc__ModelBuilder___force_get_primitive_method(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
133 void nitc___nitc__RapidTypeVisitor___add_monomorphic_send(val
* self
, val
* p0
, val
* p1
);
134 #define COLOR_nitc__model__MProperty___intro 15
135 long nitc___nitc__MSignature___arity(val
* self
);
136 void nitc___nitc__RapidTypeAnalysis___add_cast(val
* self
, val
* p0
);
137 long core___core__Int___Discrete__successor(long self
, long p0
);
138 extern const struct type type_nitc__AClassdef
;
139 #define COLOR_nitc__modelize_property__AClassdef___mfree_init 6
140 #define COLOR_nitc__model__MMethod___is_root_init 20
141 short int nitc___nitc__MPropDef___is_intro(val
* self
);
142 #define COLOR_nitc__rapid_type_analysis__RapidTypeVisitor___receiver 2
143 void nitc___nitc__RapidTypeAnalysis___add_super_send(val
* self
, val
* p0
, val
* p1
);
144 #define COLOR_nitc__model__MMethodDef___constant_value 21
145 #define COLOR_core__kernel__Object___33d_61d 1
146 #define COLOR_nitc__model__MSignature___return_mtype 10
147 extern const struct type type_nitc__AMethPropdef
;
148 #define COLOR_nitc__auto_super_init__AMethPropdef___auto_super_inits 24
149 void nitc___nitc__RapidTypeVisitor___add_callsite(val
* self
, val
* p0
);
150 #define COLOR_nitc__auto_super_init__AMethPropdef___auto_super_call 25
151 #define COLOR_nitc__model__MMethodDef___is_intern 19
152 #define COLOR_nitc__model__MMethodDef___is_extern 20
153 #define COLOR_nitc__model__MClass___kind 15
154 val
* nitc__model___core__Sys___abstract_kind(val
* self
);
155 val
* nitc__model___core__Sys___interface_kind(val
* self
);
156 void nitc___nitc__Visitor___enter_visit(val
* self
, val
* p0
);
157 val
* NEW_core__List(const struct type
* type
);
158 extern const struct type type_core__List__nitc__MClassType
;
159 #define COLOR_core___core__List___core__kernel__Object__init 27
160 #define COLOR_nitc__model__MType__can_resolve_for 30
161 val
* nitc___nitc__MClassType___MType__anchor_to(val
* self
, val
* p0
, val
* p1
);
162 short int nitc___nitc__RapidTypeAnalysis___check_depth(val
* self
, val
* p0
);
163 void core___core__HashSet___core__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
164 void core___core__Sequence___SimpleCollection__add(val
* self
, val
* p0
);
165 #define COLOR_nitc__model__MType__length 36
166 extern const struct type type_core__NativeArray__core__String
;
167 val
* core__flat___Int___core__abstract_text__Object__to_s(long self
);
168 #define COLOR_core__abstract_text__Object__to_s 3
169 #define COLOR_core__abstract_text__NativeArray__native_to_s 12
170 void nitc___nitc__ToolContext___fatal_error(val
* self
, val
* p0
, val
* p1
);
171 void nitc___nitc__RapidTypeAnalysis___try_send(val
* self
, val
* p0
, val
* p1
);
172 void nitc___nitc__RapidTypeAnalysis___try_super_send(val
* self
, val
* p0
, val
* p1
);
173 void core___core__HashSet___core__abstract_collection__RemovableCollection__remove(val
* self
, val
* p0
);
174 void core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(val
* self
);
175 val
* nitc___nitc__MClassType___MType__collect_mclassdefs(val
* self
, val
* p0
);
176 #define COLOR_core__abstract_collection__Collection__iterator 21
177 val
* nitc__modelize_property___ModelBuilder___collect_attr_propdef(val
* self
, val
* p0
);
178 #define COLOR_nitc__modelize_property__AAttrPropdef___has_value 16
179 #define COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef 18
180 #define COLOR_nitc__parser_nodes__AAttrPropdef___n_expr 24
181 #define COLOR_nitc__parser_nodes__AAttrPropdef___n_block 26
182 short int nitc___nitc__MType___has_mproperty(val
* self
, val
* p0
, val
* p1
);
183 void nitc___nitc__RapidTypeAnalysis___add_call(val
* self
, val
* p0
);
184 #define COLOR_nitc__model__MClassDef___mmodule 7
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 23
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 41
197 #define COLOR_nitc__typing__AExpr___is_typed 7
198 #define COLOR_nitc__rapid_type_analysis__ANode__accept_rapid_type_visitor 22
199 #define COLOR_nitc__typing__AExpr___implicit_cast_to 8
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 6
211 #define COLOR_nitc__model__MClassType__arguments 57
212 val
* nitc___nitc__RapidTypeVisitor___get_method(val
* self
, val
* p0
, val
* p1
);
213 #define COLOR_nitc__typing__AArrayExpr___with_capacity_callsite 17
214 #define COLOR_nitc__typing__AArrayExpr___push_callsite 18
215 val
* nitc__model___MModule___native_string_type(val
* self
);
216 val
* nitc__model___MModule___string_type(val
* self
);
217 #define COLOR_nitc__typing__ARangeExpr___init_callsite 15
218 #define COLOR_nitc__typing__AIsaExpr___cast_type 15
219 #define COLOR_nitc__typing__ASendExpr___callsite 13
220 #define COLOR_nitc__typing__AReassignFormExpr___reassign_callsite 16
221 #define COLOR_nitc__typing__ASendReassignFormExpr___write_callsite 20
222 #define COLOR_nitc__typing__ASuperExpr___callsite 15
223 #define COLOR_nitc__typing__ASuperExpr___mpropdef 16
224 #define COLOR_nitc__typing__AForGroup___method_iterator 9
225 #define COLOR_nitc__typing__AForGroup___method_is_ok 10
226 #define COLOR_nitc__scope__AForGroup___variables 17
227 extern const char FILE_core__array
[];
228 #define COLOR_nitc__typing__AForGroup___method_item 11
229 #define COLOR_nitc__typing__AForGroup___method_key 13
230 #define COLOR_nitc__typing__AForGroup___method_next 12
231 #define COLOR_nitc__typing__AForGroup___method_finish 14
232 #define COLOR_nitc__typing__ANewExpr___recvtype 17
233 #define COLOR_nitc__typing__ANewExpr___callsite 16