1 #include "nit.common.h"
2 extern const int COLOR_modelize_property__ToolContext___64dmodelize_property_phase
;
3 val
* modelize_property__ToolContext__modelize_property_phase(val
* self
);
4 void modelize_property__ToolContext__modelize_property_phase_61d(val
* self
, val
* p0
);
5 extern const int COLOR_parser_nodes__AModule__n_classdefs
;
6 extern const int COLOR_abstract_collection__Collection__iterator
;
7 extern const int COLOR_abstract_collection__Iterator__is_ok
;
8 extern const int COLOR_abstract_collection__Iterator__item
;
9 extern const int COLOR_phase__Phase__toolcontext
;
10 extern const int COLOR_modelbuilder__ToolContext__modelbuilder
;
11 extern const int COLOR_modelize_property__ModelBuilder__build_properties
;
12 extern const int COLOR_abstract_collection__Iterator__next
;
13 void modelize_property__ModelizePropertyPhase__process_nmodule(val
* self
, val
* p0
);
14 extern const int COLOR_modelize_property__ModelBuilder___64dmpropdef2npropdef
;
15 val
* modelize_property__ModelBuilder__mpropdef2npropdef(val
* self
);
16 void modelize_property__ModelBuilder__mpropdef2npropdef_61d(val
* self
, val
* p0
);
17 extern const int COLOR_modelize_property__AClassdef__build_properties_is_done
;
18 extern const int COLOR_modelize_property__AClassdef__build_properties_is_done_61d
;
19 extern const int COLOR_modelize_class__AClassdef__mclassdef
;
20 extern const int COLOR_model__MClassDef__in_hierarchy
;
21 extern const int COLOR_poset__POSetElement__direct_greaters
;
22 extern const int COLOR_modelize_class__ModelBuilder__mclassdef2nclassdef
;
23 extern const int COLOR_abstract_collection__MapRead___91d_93d
;
24 extern const int COLOR_parser_nodes__AClassdef__n_propdefs
;
25 extern const int COLOR_modelize_property__APropdef__build_property
;
26 extern const int COLOR_modelize_property__APropdef__build_signature
;
27 extern const int COLOR_modelize_property__APropdef__check_signature
;
28 extern const int COLOR_modelize_property__ModelBuilder__process_default_constructors
;
29 void modelize_property__ModelBuilder__build_properties(val
* self
, val
* p0
);
30 extern const int COLOR_model__MClassDef__is_intro
;
31 extern const int COLOR_model__MClassDef__mclass
;
32 extern const int COLOR_model__MClass__kind
;
33 extern const int COLOR_model__MClassKind__need_init
;
34 extern const int COLOR_model__MClassDef__mpropdefs
;
35 extern const struct type type_model__MMethodDef
;
36 extern const int COLOR_model__MPropDef__mproperty
;
37 extern const int COLOR_model__MMethod__is_init
;
38 extern const struct type type_parser_nodes__AStdClassdef
;
39 extern const int COLOR_model__MClassDef__mmodule
;
40 val
* NEW_array__Array(const struct type
* type
);
41 extern const struct type type_array__Arraymodel__MMethod
;
42 extern const int COLOR_array__Array__init
;
43 extern const int COLOR_model__MClassDef__supertypes
;
44 extern const int COLOR_model__MClassType__mclass
;
45 extern const int COLOR_model__MClassDef__bound_mtype
;
46 extern const int COLOR_model__MType__anchor_to
;
47 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
48 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mproperty_by_name2
;
49 extern const struct type type_nullable_model__MMethod
;
50 extern const int COLOR_model__MProperty__intro
;
51 extern const int COLOR_model__MMethodDef__msignature
;
52 extern const int COLOR_model__MSignature__arity
;
53 extern const int COLOR_abstract_collection__SimpleCollection__add
;
54 extern const int COLOR_modelize_property__MClass__inherit_init_from
;
55 extern const int COLOR_kernel__Object___61d_61d
;
56 extern const struct type type_array__Arraykernel__Object
;
57 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
58 extern const struct type type_array__NativeArraykernel__Object
;
59 extern const int COLOR_array__Array__with_native
;
60 extern const int COLOR_string__Object__to_s
;
61 extern const int COLOR_modelbuilder__ModelBuilder__error
;
62 extern const int COLOR_abstract_collection__Collection__is_empty
;
63 extern const int COLOR_modelbuilder__ModelBuilder__toolcontext
;
64 extern const int COLOR_toolcontext__ToolContext__info
;
65 extern const int COLOR_modelize_property__MClass__inherit_init_from_61d
;
66 extern const int COLOR_string__Collection__join
;
67 extern const int COLOR_modelize_property__AClassdef__super_inits_61d
;
68 val
* NEW_model__MMethod(const struct type
* type
);
69 extern const struct type type_model__MMethod
;
70 extern const int COLOR_model__MClass__visibility
;
71 extern const int COLOR_model__MMethod__init
;
72 val
* NEW_model__MMethodDef(const struct type
* type
);
73 extern const int COLOR_parser_nodes__ANode__location
;
74 extern const int COLOR_model__MMethodDef__init
;
75 extern const struct type type_array__Arraymodel__MParameter
;
76 val
* NEW_model__MSignature(const struct type
* type
);
77 extern const struct type type_model__MSignature
;
78 extern const int COLOR_model__MSignature__init
;
79 extern const int COLOR_model__MMethodDef__msignature_61d
;
80 extern const int COLOR_model__MMethod__is_init_61d
;
81 extern const int COLOR_modelize_property__AClassdef__mfree_init_61d
;
82 extern const struct type type_parser_nodes__AAttrPropdef
;
83 extern const int COLOR_parser_nodes__AAttrPropdef__n_expr
;
84 extern const int COLOR_modelize_property__APropdef__mpropdef
;
85 extern const int COLOR_model__MProperty__name
;
86 extern const int COLOR_string__AbstractString__substring_from
;
87 extern const int COLOR_model__MAttributeDef__static_mtype
;
88 val
* NEW_model__MParameter(const struct type
* type
);
89 extern const struct type type_model__MParameter
;
90 extern const int COLOR_model__MParameter__init
;
91 void modelize_property__ModelBuilder__process_default_constructors(val
* self
, val
* p0
);
92 extern const int COLOR_modelize_property__MClass___64dinherit_init_from
;
93 val
* modelize_property__MClass__inherit_init_from(val
* self
);
94 void modelize_property__MClass__inherit_init_from_61d(val
* self
, val
* p0
);
95 extern const int COLOR_modelize_property__MClassDef___64dpropdef_names
;
96 val
* modelize_property__MClassDef__propdef_names(val
* self
);
97 void modelize_property__MClassDef__propdef_names_61d(val
* self
, val
* p0
);
98 extern const int COLOR_modelize_property__MPropDef___64dhas_supercall
;
99 short int modelize_property__MPropDef__has_supercall(val
* self
);
100 void modelize_property__MPropDef__has_supercall_61d(val
* self
, short int p0
);
101 extern const int COLOR_modelize_property__AClassdef___64dbuild_properties_is_done
;
102 short int modelize_property__AClassdef__build_properties_is_done(val
* self
);
103 void modelize_property__AClassdef__build_properties_is_done_61d(val
* self
, short int p0
);
104 extern const int COLOR_modelize_property__AClassdef___64dsuper_inits
;
105 val
* modelize_property__AClassdef__super_inits(val
* self
);
106 void modelize_property__AClassdef__super_inits_61d(val
* self
, val
* p0
);
107 extern const int COLOR_modelize_property__AClassdef___64dmfree_init
;
108 val
* modelize_property__AClassdef__mfree_init(val
* self
);
109 void modelize_property__AClassdef__mfree_init_61d(val
* self
, val
* p0
);
110 extern const int COLOR_modelize_property__AClassdef___64dmprop2npropdef
;
111 val
* modelize_property__AClassdef__mprop2npropdef(val
* self
);
112 void modelize_property__AClassdef__mprop2npropdef_61d(val
* self
, val
* p0
);
113 val
* NEW_modelize_property__TextCollectorVisitor(const struct type
* type
);
114 extern const struct type type_modelize_property__TextCollectorVisitor
;
115 extern const int COLOR_modelize_property__TextCollectorVisitor__init
;
116 extern const int COLOR_parser_nodes__Visitor__enter_visit
;
117 extern const int COLOR_modelize_property__TextCollectorVisitor__text
;
118 extern const int COLOR_kernel__Object___33d_61d
;
119 val
* modelize_property__Prod__collect_text(val
* self
);
120 extern const int COLOR_modelize_property__TextCollectorVisitor___64dtext
;
121 val
* modelize_property__TextCollectorVisitor__text(val
* self
);
122 void modelize_property__TextCollectorVisitor__text_61d(val
* self
, val
* p0
);
123 extern const struct type type_parser_nodes__Token
;
124 extern const int COLOR_parser_nodes__Token__text
;
125 extern const int COLOR_string__String___43d
;
126 extern const int COLOR_modelize_property__TextCollectorVisitor__text_61d
;
127 extern const int COLOR_parser_nodes__ANode__visit_all
;
128 void modelize_property__TextCollectorVisitor__visit(val
* self
, val
* p0
);
129 extern const int COLOR_parser_nodes__Visitor__init
;
130 void modelize_property__TextCollectorVisitor__init(val
* self
);
131 extern const int COLOR_modelize_property__APropdef___64dmpropdef
;
132 val
* modelize_property__APropdef__mpropdef(val
* self
);
133 extern const int COLOR_nullable_parser_nodes__APropdef_VTMPROPDEF
;
134 void modelize_property__APropdef__mpropdef_61d(val
* self
, val
* p0
);
135 void modelize_property__APropdef__build_property(val
* self
, val
* p0
, val
* p1
);
136 void modelize_property__APropdef__build_signature(val
* self
, val
* p0
, val
* p1
);
137 void modelize_property__APropdef__check_signature(val
* self
, val
* p0
, val
* p1
);
138 extern const int COLOR_model_base__Object__public_visibility
;
139 extern const int COLOR_modelbuilder__AVisibility__mvisibility
;
140 extern const int COLOR_model_base__Object__intrude_visibility
;
141 extern const int COLOR_model_base__Object__private_visibility
;
142 extern const int COLOR_model_base__Object__protected_visibility
;
143 val
* modelize_property__APropdef__new_property_visibility(val
* self
, val
* p0
, val
* p1
, val
* p2
);
144 extern const int COLOR_model__MProperty__visibility
;
145 void modelize_property__APropdef__check_redef_property_visibility(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
146 extern const int COLOR_modelize_property__AClassdef__mprop2npropdef
;
147 extern const int COLOR_abstract_collection__MapRead__has_key
;
148 short int modelize_property__APropdef__check_redef_keyword(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
, val
* p4
);
149 extern const int COLOR_modelize_property__ASignature___64dis_visited
;
150 short int modelize_property__ASignature__is_visited(val
* self
);
151 void modelize_property__ASignature__is_visited_61d(val
* self
, short int p0
);
152 extern const int COLOR_modelize_property__ASignature___64dparam_names
;
153 val
* modelize_property__ASignature__param_names(val
* self
);
154 void modelize_property__ASignature__param_names_61d(val
* self
, val
* p0
);
155 extern const int COLOR_modelize_property__ASignature___64dparam_types
;
156 val
* modelize_property__ASignature__param_types(val
* self
);
157 void modelize_property__ASignature__param_types_61d(val
* self
, val
* p0
);
158 extern const int COLOR_modelize_property__ASignature___64dvararg_rank
;
159 long modelize_property__ASignature__vararg_rank(val
* self
);
160 void modelize_property__ASignature__vararg_rank_61d(val
* self
, long p0
);
161 extern const int COLOR_modelize_property__ASignature___64dret_type
;
162 val
* modelize_property__ASignature__ret_type(val
* self
);
163 void modelize_property__ASignature__ret_type_61d(val
* self
, val
* p0
);
164 extern const int COLOR_modelize_property__ASignature__param_names
;
165 extern const int COLOR_modelize_property__ASignature__param_types
;
166 extern const int COLOR_parser_nodes__ASignature__n_params
;
167 extern const int COLOR_parser_nodes__AParam__n_id
;
168 extern const int COLOR_parser_nodes__AParam__n_type
;
169 extern const int COLOR_modelize_class__ModelBuilder__resolve_mtype
;
170 val
* NEW_range__Range(const struct type
* type
);
171 extern const struct type type_range__Rangekernel__Int
;
172 extern const int COLOR_abstract_collection__Collection__length
;
173 val
* BOX_kernel__Int(long);
174 extern const int COLOR_range__Range__without_last
;
175 extern const int COLOR_parser_nodes__AParam__n_dotdotdot
;
176 extern const int COLOR_modelize_property__ASignature__vararg_rank
;
177 extern const int COLOR_abstract_collection__SequenceRead___91d_93d
;
178 extern const int COLOR_modelize_property__ASignature__vararg_rank_61d
;
179 extern const int COLOR_parser_nodes__ASignature__n_type
;
180 extern const int COLOR_modelize_property__ASignature__ret_type_61d
;
181 extern const int COLOR_modelize_property__ASignature__ret_type
;
182 extern const int COLOR_modelize_property__ASignature__is_visited_61d
;
183 short int modelize_property__ASignature__visit_signature(val
* self
, val
* p0
, val
* p1
);
184 extern const int COLOR_modelize_property__AParam__mparameter_61d
;
185 val
* modelize_property__ASignature__build_signature(val
* self
, val
* p0
, val
* p1
);
186 extern const int COLOR_modelize_property__AParam___64dmparameter
;
187 val
* modelize_property__AParam__mparameter(val
* self
);
188 void modelize_property__AParam__mparameter_61d(val
* self
, val
* p0
);
189 extern const struct type type_parser_nodes__AInitPropdef
;
190 extern const int COLOR_parser_nodes__AMethPropdef__n_methid
;
191 extern const struct type type_parser_nodes__AMainMethPropdef
;
192 extern const struct type type_parser_nodes__AConcreteInitPropdef
;
193 extern const int COLOR_parser_nodes__AConcreteInitPropdef__n_kwinit
;
194 extern const struct type type_parser_nodes__AExternInitPropdef
;
195 extern const int COLOR_parser_nodes__AExternInitPropdef__n_kwnew
;
196 extern const struct type type_parser_nodes__AIdMethid
;
197 extern const int COLOR_parser_nodes__AIdMethid__n_id
;
198 extern const int COLOR_modelize_property__Prod__collect_text
;
199 extern const int COLOR_parser_nodes__AMethPropdef__n_signature
;
200 extern const int COLOR_parser_nodes__AMethPropdef__n_kwredef
;
201 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mproperty_by_name
;
202 extern const int COLOR_parser_nodes__AMethPropdef__n_visibility
;
203 extern const int COLOR_modelize_property__APropdef__new_property_visibility
;
204 extern const int COLOR_model__MMethod__is_new_61d
;
205 extern const int COLOR_modelize_property__APropdef__check_redef_keyword
;
206 extern const int COLOR_modelize_property__APropdef__check_redef_property_visibility
;
207 extern const int COLOR_abstract_collection__Map___91d_93d_61d
;
208 extern const int COLOR_modelize_property__MClassDef__propdef_names
;
209 extern const int COLOR_abstract_collection__Collection__has
;
210 extern const int COLOR_model__MPropDef__location
;
211 extern const int COLOR_modelize_property__APropdef__mpropdef_61d
;
212 extern const int COLOR_modelize_property__ModelBuilder__mpropdef2npropdef
;
213 extern const int COLOR_model__MPropDef__is_intro
;
214 extern const int COLOR_model__MProperty__full_name
;
215 void modelize_property__AMethPropdef__build_property(val
* self
, val
* p0
, val
* p1
);
216 extern const int COLOR_model__MPropDef__mclassdef
;
217 extern const struct type type_array__Arraystring__String
;
218 extern const struct type type_array__Arraymodel__MType
;
219 extern const int COLOR_modelize_property__ASignature__visit_signature
;
220 extern const int COLOR_model__MSignature__mparameters
;
221 extern const int COLOR_model__MParameter__mtype
;
222 extern const int COLOR_model__MSignature__vararg_rank
;
223 extern const int COLOR_model__MSignature__return_mtype
;
224 extern const struct type type_parser_nodes__ADeferredMethPropdef
;
225 extern const int COLOR_model__MMethodDef__is_abstract_61d
;
226 void modelize_property__AMethPropdef__build_signature(val
* self
, val
* p0
, val
* p1
);
227 extern const struct type type_kernel__Int
;
228 extern const int COLOR_model__MType__is_subtype
;
229 extern const int COLOR_model__MParameter__name
;
230 void modelize_property__AMethPropdef__check_signature(val
* self
, val
* p0
, val
* p1
);
231 extern const int COLOR_modelize_property__AAttrPropdef___64dmreadpropdef
;
232 val
* modelize_property__AAttrPropdef__mreadpropdef(val
* self
);
233 void modelize_property__AAttrPropdef__mreadpropdef_61d(val
* self
, val
* p0
);
234 extern const int COLOR_modelize_property__AAttrPropdef___64dmwritepropdef
;
235 val
* modelize_property__AAttrPropdef__mwritepropdef(val
* self
);
236 void modelize_property__AAttrPropdef__mwritepropdef_61d(val
* self
, val
* p0
);
237 extern const int COLOR_parser_nodes__AAttrPropdef__n_id
;
238 extern const int COLOR_parser_nodes__AAttrPropdef__n_id2
;
239 extern const int COLOR_model__Object__interface_kind
;
240 extern const int COLOR_model__Object__enum_kind
;
241 extern const int COLOR_model__Object__extern_kind
;
242 extern const int COLOR_parser_nodes__AAttrPropdef__n_visibility
;
243 val
* NEW_model__MAttribute(const struct type
* type
);
244 extern const struct type type_model__MAttribute
;
245 extern const int COLOR_model__MAttribute__init
;
246 extern const int COLOR_parser_nodes__AAttrPropdef__n_kwredef
;
247 val
* NEW_model__MAttributeDef(const struct type
* type
);
248 extern const struct type type_model__MAttributeDef
;
249 extern const int COLOR_model__MAttributeDef__init
;
250 extern const int COLOR_parser_nodes__AAttrPropdef__n_readable
;
251 extern const int COLOR_parser_nodes__AAble__n_visibility
;
252 extern const int COLOR_parser_nodes__AAble__n_kwredef
;
253 extern const int COLOR_modelize_property__AAttrPropdef__mreadpropdef_61d
;
254 extern const int COLOR_parser_nodes__AAttrPropdef__n_writable
;
255 extern const int COLOR_modelize_property__AAttrPropdef__mwritepropdef_61d
;
256 extern const int COLOR_model_base__Object__none_visibility
;
257 void modelize_property__AAttrPropdef__build_property(val
* self
, val
* p0
, val
* p1
);
258 extern const int COLOR_parser_nodes__AAttrPropdef__n_type
;
259 extern const struct type type_parser_nodes__ANewExpr
;
260 extern const int COLOR_parser_nodes__ANewExpr__n_type
;
261 extern const struct type type_parser_nodes__AIntExpr
;
262 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mclass_by_name
;
263 extern const int COLOR_model__MClass__mclass_type
;
264 extern const struct type type_parser_nodes__AFloatExpr
;
265 extern const struct type type_parser_nodes__ACharExpr
;
266 extern const struct type type_parser_nodes__ABoolExpr
;
267 extern const struct type type_parser_nodes__ASuperstringExpr
;
268 extern const struct type type_parser_nodes__AStringFormExpr
;
269 extern const int COLOR_toolcontext__ToolContext__opt_warn
;
270 extern const int COLOR_opts__Option__value
;
271 extern const int COLOR_modelbuilder__ModelBuilder__warning
;
272 extern const int COLOR_model__MAttributeDef__static_mtype_61d
;
273 extern const int COLOR_modelize_property__AAttrPropdef__mreadpropdef
;
274 extern const int COLOR_modelize_property__AAttrPropdef__mwritepropdef
;
275 extern const int COLOR_array__Array__with_capacity
;
276 extern const int COLOR_abstract_collection__Sequence__push
;
277 void modelize_property__AAttrPropdef__build_signature(val
* self
, val
* p0
, val
* p1
);
278 extern const int COLOR_modelize_property__AAttrPropdef__check_method_signature
;
279 void modelize_property__AAttrPropdef__check_signature(val
* self
, val
* p0
, val
* p1
);
280 void modelize_property__AAttrPropdef__check_method_signature(val
* self
, val
* p0
, val
* p1
, val
* p2
);
281 extern const int COLOR_parser_nodes__ATypePropdef__n_id
;
282 extern const int COLOR_parser_nodes__ATypePropdef__n_visibility
;
283 val
* NEW_model__MVirtualTypeProp(const struct type
* type
);
284 extern const struct type type_model__MVirtualTypeProp
;
285 extern const int COLOR_model__MVirtualTypeProp__init
;
286 extern const struct type type_kernel__Char
;
287 extern const int COLOR_parser_nodes__ATypePropdef__n_kwredef
;
288 val
* NEW_model__MVirtualTypeDef(const struct type
* type
);
289 extern const struct type type_model__MVirtualTypeDef
;
290 extern const int COLOR_model__MVirtualTypeDef__init
;
291 void modelize_property__ATypePropdef__build_property(val
* self
, val
* p0
, val
* p1
);
292 extern const int COLOR_parser_nodes__ATypePropdef__n_type
;
293 extern const int COLOR_model__MVirtualTypeDef__bound_61d
;
294 void modelize_property__ATypePropdef__build_signature(val
* self
, val
* p0
, val
* p1
);
295 extern const int COLOR_model__MVirtualTypeDef__bound
;
296 extern const struct type type_model__MVirtualType
;
297 extern const struct type type_array__Arraymodel__MVirtualType
;
298 extern const int COLOR_model__MVirtualTypeProp__mvirtualtype
;
299 extern const int COLOR_model__MVirtualType__lookup_bound
;
300 void modelize_property__ATypePropdef__check_signature(val
* self
, val
* p0
, val
* p1
);