nitg: refactor the ToolChain class by adding an abstract super class
[nit.git] / c_src / modelize_property.sep.0.h
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__AClassdef___64dbuild_properties_is_done;
96 short int modelize_property__AClassdef__build_properties_is_done(val* self);
97 void modelize_property__AClassdef__build_properties_is_done_61d(val* self, short int p0);
98 extern const int COLOR_modelize_property__AClassdef___64dsuper_inits;
99 val* modelize_property__AClassdef__super_inits(val* self);
100 void modelize_property__AClassdef__super_inits_61d(val* self, val* p0);
101 extern const int COLOR_modelize_property__AClassdef___64dmfree_init;
102 val* modelize_property__AClassdef__mfree_init(val* self);
103 void modelize_property__AClassdef__mfree_init_61d(val* self, val* p0);
104 extern const int COLOR_modelize_property__AClassdef___64dmprop2npropdef;
105 val* modelize_property__AClassdef__mprop2npropdef(val* self);
106 void modelize_property__AClassdef__mprop2npropdef_61d(val* self, val* p0);
107 val* NEW_modelize_property__TextCollectorVisitor(const struct type* type);
108 extern const struct type type_modelize_property__TextCollectorVisitor;
109 extern const int COLOR_modelize_property__TextCollectorVisitor__init;
110 extern const int COLOR_parser_nodes__Visitor__enter_visit;
111 extern const int COLOR_modelize_property__TextCollectorVisitor__text;
112 extern const int COLOR_kernel__Object___33d_61d;
113 val* modelize_property__Prod__collect_text(val* self);
114 extern const int COLOR_modelize_property__TextCollectorVisitor___64dtext;
115 val* modelize_property__TextCollectorVisitor__text(val* self);
116 void modelize_property__TextCollectorVisitor__text_61d(val* self, val* p0);
117 extern const struct type type_parser_nodes__Token;
118 extern const int COLOR_parser_nodes__Token__text;
119 extern const int COLOR_string__String___43d;
120 extern const int COLOR_modelize_property__TextCollectorVisitor__text_61d;
121 extern const int COLOR_parser_nodes__ANode__visit_all;
122 void modelize_property__TextCollectorVisitor__visit(val* self, val* p0);
123 extern const int COLOR_parser_nodes__Visitor__init;
124 void modelize_property__TextCollectorVisitor__init(val* self);
125 extern const int COLOR_modelize_property__APropdef___64dmpropdef;
126 val* modelize_property__APropdef__mpropdef(val* self);
127 extern const int COLOR_parser_nodes__APropdef_VTMPROPDEF;
128 void modelize_property__APropdef__mpropdef_61d(val* self, val* p0);
129 void modelize_property__APropdef__build_property(val* self, val* p0, val* p1);
130 void modelize_property__APropdef__build_signature(val* self, val* p0, val* p1);
131 void modelize_property__APropdef__check_signature(val* self, val* p0, val* p1);
132 extern const int COLOR_model_base__Object__public_visibility;
133 extern const int COLOR_modelbuilder__AVisibility__mvisibility;
134 extern const int COLOR_model_base__Object__intrude_visibility;
135 extern const int COLOR_model_base__Object__private_visibility;
136 extern const int COLOR_model_base__Object__protected_visibility;
137 val* modelize_property__APropdef__new_property_visibility(val* self, val* p0, val* p1, val* p2);
138 extern const int COLOR_model__MProperty__visibility;
139 void modelize_property__APropdef__check_redef_property_visibility(val* self, val* p0, val* p1, val* p2, val* p3);
140 extern const int COLOR_modelize_property__AClassdef__mprop2npropdef;
141 extern const int COLOR_abstract_collection__MapRead__has_key;
142 short int modelize_property__APropdef__check_redef_keyword(val* self, val* p0, val* p1, val* p2, short int p3, val* p4);
143 extern const int COLOR_modelize_property__ASignature___64dis_visited;
144 short int modelize_property__ASignature__is_visited(val* self);
145 void modelize_property__ASignature__is_visited_61d(val* self, short int p0);
146 extern const int COLOR_modelize_property__ASignature___64dparam_names;
147 val* modelize_property__ASignature__param_names(val* self);
148 void modelize_property__ASignature__param_names_61d(val* self, val* p0);
149 extern const int COLOR_modelize_property__ASignature___64dparam_types;
150 val* modelize_property__ASignature__param_types(val* self);
151 void modelize_property__ASignature__param_types_61d(val* self, val* p0);
152 extern const int COLOR_modelize_property__ASignature___64dvararg_rank;
153 long modelize_property__ASignature__vararg_rank(val* self);
154 void modelize_property__ASignature__vararg_rank_61d(val* self, long p0);
155 extern const int COLOR_modelize_property__ASignature___64dret_type;
156 val* modelize_property__ASignature__ret_type(val* self);
157 void modelize_property__ASignature__ret_type_61d(val* self, val* p0);
158 extern const int COLOR_modelize_property__ASignature__param_names;
159 extern const int COLOR_modelize_property__ASignature__param_types;
160 extern const int COLOR_parser_nodes__ASignature__n_params;
161 extern const int COLOR_parser_nodes__AParam__n_id;
162 extern const int COLOR_parser_nodes__AParam__n_type;
163 extern const int COLOR_modelize_class__ModelBuilder__resolve_mtype;
164 val* NEW_range__Range(const struct type* type);
165 extern const struct type type_range__Rangekernel__Int;
166 extern const int COLOR_abstract_collection__Collection__length;
167 extern const int COLOR_range__Range__without_last;
168 extern const int COLOR_parser_nodes__AParam__n_dotdotdot;
169 extern const int COLOR_modelize_property__ASignature__vararg_rank;
170 extern const int COLOR_abstract_collection__SequenceRead___91d_93d;
171 extern const int COLOR_modelize_property__ASignature__vararg_rank_61d;
172 extern const int COLOR_parser_nodes__ASignature__n_type;
173 extern const int COLOR_modelize_property__ASignature__ret_type_61d;
174 extern const int COLOR_modelize_property__ASignature__ret_type;
175 extern const int COLOR_modelize_property__ASignature__is_visited_61d;
176 short int modelize_property__ASignature__visit_signature(val* self, val* p0, val* p1);
177 extern const int COLOR_modelize_property__AParam__mparameter_61d;
178 val* modelize_property__ASignature__build_signature(val* self, val* p0, val* p1);
179 extern const int COLOR_modelize_property__AParam___64dmparameter;
180 val* modelize_property__AParam__mparameter(val* self);
181 void modelize_property__AParam__mparameter_61d(val* self, val* p0);
182 extern const struct type type_parser_nodes__AInitPropdef;
183 extern const int COLOR_parser_nodes__AMethPropdef__n_methid;
184 extern const struct type type_parser_nodes__AMainMethPropdef;
185 extern const struct type type_parser_nodes__AConcreteInitPropdef;
186 extern const int COLOR_parser_nodes__AConcreteInitPropdef__n_kwinit;
187 extern const struct type type_parser_nodes__AExternInitPropdef;
188 extern const int COLOR_parser_nodes__AExternInitPropdef__n_kwnew;
189 extern const struct type type_parser_nodes__AIdMethid;
190 extern const int COLOR_parser_nodes__AIdMethid__n_id;
191 extern const int COLOR_modelize_property__Prod__collect_text;
192 extern const int COLOR_parser_nodes__AMethPropdef__n_signature;
193 extern const int COLOR_parser_nodes__AMethPropdef__n_kwredef;
194 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mproperty_by_name;
195 extern const int COLOR_parser_nodes__AMethPropdef__n_visibility;
196 extern const int COLOR_modelize_property__APropdef__new_property_visibility;
197 extern const int COLOR_model__MMethod__is_new_61d;
198 extern const int COLOR_modelize_property__APropdef__check_redef_keyword;
199 extern const int COLOR_modelize_property__APropdef__check_redef_property_visibility;
200 extern const int COLOR_abstract_collection__Map___91d_93d_61d;
201 extern const int COLOR_modelize_property__APropdef__mpropdef_61d;
202 extern const int COLOR_modelize_property__ModelBuilder__mpropdef2npropdef;
203 extern const int COLOR_model__MPropDef__is_intro;
204 extern const int COLOR_model__MProperty__full_name;
205 void modelize_property__AMethPropdef__build_property(val* self, val* p0, val* p1);
206 extern const int COLOR_model__MPropDef__mclassdef;
207 extern const struct type type_array__Arraystring__String;
208 extern const struct type type_array__Arraymodel__MType;
209 extern const int COLOR_modelize_property__ASignature__visit_signature;
210 extern const int COLOR_model__MSignature__mparameters;
211 extern const int COLOR_model__MParameter__mtype;
212 extern const int COLOR_model__MSignature__vararg_rank;
213 extern const int COLOR_model__MSignature__return_mtype;
214 extern const struct type type_parser_nodes__ADeferredMethPropdef;
215 extern const int COLOR_model__MMethodDef__is_abstract_61d;
216 void modelize_property__AMethPropdef__build_signature(val* self, val* p0, val* p1);
217 extern const struct type type_kernel__Int;
218 extern const int COLOR_model__MType__is_subtype;
219 extern const int COLOR_model__MParameter__name;
220 void modelize_property__AMethPropdef__check_signature(val* self, val* p0, val* p1);
221 extern const int COLOR_modelize_property__AAttrPropdef___64dmreadpropdef;
222 val* modelize_property__AAttrPropdef__mreadpropdef(val* self);
223 void modelize_property__AAttrPropdef__mreadpropdef_61d(val* self, val* p0);
224 extern const int COLOR_modelize_property__AAttrPropdef___64dmwritepropdef;
225 val* modelize_property__AAttrPropdef__mwritepropdef(val* self);
226 void modelize_property__AAttrPropdef__mwritepropdef_61d(val* self, val* p0);
227 extern const int COLOR_parser_nodes__AAttrPropdef__n_id;
228 extern const int COLOR_parser_nodes__AAttrPropdef__n_id2;
229 extern const int COLOR_model__Object__interface_kind;
230 extern const int COLOR_model__Object__enum_kind;
231 extern const int COLOR_model__Object__extern_kind;
232 extern const int COLOR_parser_nodes__AAttrPropdef__n_visibility;
233 val* NEW_model__MAttribute(const struct type* type);
234 extern const struct type type_model__MAttribute;
235 extern const int COLOR_model__MAttribute__init;
236 extern const int COLOR_parser_nodes__AAttrPropdef__n_kwredef;
237 val* NEW_model__MAttributeDef(const struct type* type);
238 extern const struct type type_model__MAttributeDef;
239 extern const int COLOR_model__MAttributeDef__init;
240 extern const int COLOR_parser_nodes__AAttrPropdef__n_readable;
241 extern const int COLOR_parser_nodes__AAble__n_visibility;
242 extern const int COLOR_parser_nodes__AAble__n_kwredef;
243 extern const int COLOR_modelize_property__AAttrPropdef__mreadpropdef_61d;
244 extern const int COLOR_parser_nodes__AAttrPropdef__n_writable;
245 extern const int COLOR_modelize_property__AAttrPropdef__mwritepropdef_61d;
246 extern const int COLOR_model_base__Object__none_visibility;
247 void modelize_property__AAttrPropdef__build_property(val* self, val* p0, val* p1);
248 extern const int COLOR_parser_nodes__AAttrPropdef__n_type;
249 extern const struct type type_parser_nodes__ANewExpr;
250 extern const int COLOR_parser_nodes__ANewExpr__n_type;
251 extern const struct type type_parser_nodes__AIntExpr;
252 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mclass_by_name;
253 extern const int COLOR_model__MClass__mclass_type;
254 extern const struct type type_parser_nodes__AFloatExpr;
255 extern const struct type type_parser_nodes__ACharExpr;
256 extern const struct type type_parser_nodes__ABoolExpr;
257 extern const struct type type_parser_nodes__ASuperstringExpr;
258 extern const struct type type_parser_nodes__AStringFormExpr;
259 extern const int COLOR_toolcontext__ToolContext__opt_warn;
260 extern const int COLOR_opts__Option__value;
261 extern const int COLOR_modelbuilder__ModelBuilder__warning;
262 extern const int COLOR_model__MAttributeDef__static_mtype_61d;
263 extern const int COLOR_modelize_property__AAttrPropdef__mreadpropdef;
264 extern const int COLOR_modelize_property__AAttrPropdef__mwritepropdef;
265 extern const int COLOR_array__Array__with_capacity;
266 extern const int COLOR_abstract_collection__Sequence__push;
267 void modelize_property__AAttrPropdef__build_signature(val* self, val* p0, val* p1);
268 extern const int COLOR_modelize_property__AAttrPropdef__check_method_signature;
269 void modelize_property__AAttrPropdef__check_signature(val* self, val* p0, val* p1);
270 void modelize_property__AAttrPropdef__check_method_signature(val* self, val* p0, val* p1, val* p2);
271 extern const int COLOR_parser_nodes__ATypePropdef__n_id;
272 extern const int COLOR_parser_nodes__ATypePropdef__n_visibility;
273 val* NEW_model__MVirtualTypeProp(const struct type* type);
274 extern const struct type type_model__MVirtualTypeProp;
275 extern const int COLOR_model__MVirtualTypeProp__init;
276 extern const struct type type_kernel__Char;
277 extern const int COLOR_parser_nodes__ATypePropdef__n_kwredef;
278 val* NEW_model__MVirtualTypeDef(const struct type* type);
279 extern const struct type type_model__MVirtualTypeDef;
280 extern const int COLOR_model__MVirtualTypeDef__init;
281 void modelize_property__ATypePropdef__build_property(val* self, val* p0, val* p1);
282 extern const int COLOR_parser_nodes__ATypePropdef__n_type;
283 extern const int COLOR_model__MVirtualTypeDef__bound_61d;
284 void modelize_property__ATypePropdef__build_signature(val* self, val* p0, val* p1);
285 extern const int COLOR_model__MVirtualTypeDef__bound;
286 extern const struct type type_model__MVirtualType;
287 extern const struct type type_array__Arraymodel__MVirtualType;
288 extern const int COLOR_model__MVirtualTypeProp__mvirtualtype;
289 extern const int COLOR_abstract_collection__Collection__has;
290 extern const int COLOR_model__MVirtualType__lookup_bound;
291 void modelize_property__ATypePropdef__check_signature(val* self, val* p0, val* p1);