1 #include "nit.common.h"
2 extern const int COLOR_modelize_class__ToolContext___64dmodelize_class_phase
;
3 val
* modelize_class__ToolContext__modelize_class_phase(val
* self
);
4 void modelize_class__ToolContext__modelize_class_phase_61d(val
* self
, val
* p0
);
5 extern const int COLOR_phase__Phase__toolcontext
;
6 extern const int COLOR_modelbuilder__ToolContext__modelbuilder
;
7 extern const int COLOR_modelize_class__ModelBuilder__build_classes
;
8 void modelize_class__ModelizeClassPhase__process_nmodule(val
* self
, val
* p0
);
9 extern const int COLOR_modelbuilder__AModule__mmodule
;
10 extern const struct type type_parser_nodes__AStdClassdef
;
11 extern const int COLOR_parser_nodes__AStdClassdef__n_id
;
12 extern const int COLOR_parser_nodes__Token__text
;
13 extern const int COLOR_parser_nodes__AStdClassdef__n_classkind
;
14 extern const int COLOR_modelize_class__AClasskind__mkind
;
15 extern const int COLOR_parser_nodes__AStdClassdef__n_visibility
;
16 extern const int COLOR_modelbuilder__AVisibility__mvisibility
;
17 extern const int COLOR_parser_nodes__AStdClassdef__n_formaldefs
;
18 extern const int COLOR_abstract_collection__Collection__length
;
19 extern const int COLOR_model_base__Object__protected_visibility
;
20 extern const int COLOR_kernel__Object___61d_61d
;
21 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
22 extern const int COLOR_modelbuilder__ModelBuilder__error
;
23 extern const int COLOR_model_base__Object__intrude_visibility
;
24 extern const struct type type_parser_nodes__ATopClassdef
;
25 extern const int COLOR_model__Object__interface_kind
;
26 extern const int COLOR_model_base__Object__public_visibility
;
27 extern const struct type type_parser_nodes__AMainClassdef
;
28 extern const int COLOR_model__Object__concrete_kind
;
29 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mclass_by_name
;
30 extern const int COLOR_parser_nodes__AStdClassdef__n_kwredef
;
31 val
* NEW_array__Array(const struct type
* type
);
32 extern const struct type type_array__Arraykernel__Object
;
33 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
34 extern const struct type type_array__NativeArraykernel__Object
;
35 extern const int COLOR_array__Array__with_native
;
36 void CHECK_NEW_array__Array(val
*);
37 extern const int COLOR_string__Object__to_s
;
38 val
* NEW_model__MClass(const struct type
* type
);
39 extern const struct type type_model__MClass
;
40 extern const int COLOR_model__MClass__init
;
41 void CHECK_NEW_model__MClass(val
*);
42 extern const int COLOR_modelize_class__AModule__mclass2nclassdef
;
43 extern const int COLOR_abstract_collection__MapRead__has_key
;
44 extern const int COLOR_abstract_collection__MapRead___91d_93d
;
45 extern const int COLOR_parser_nodes__ANode__location
;
46 extern const int COLOR_location__Location__line_start
;
47 extern const int COLOR_model__MClass__arity
;
48 extern const int COLOR_kernel__Object___33d_61d
;
49 extern const int COLOR_model__MClass__kind
;
50 extern const int COLOR_model__MClass__visibility
;
51 extern const int COLOR_modelize_class__AClassdef__mclass_61d
;
52 extern const int COLOR_abstract_collection__Map___91d_93d_61d
;
53 void modelize_class__ModelBuilder__build_a_mclass(val
* self
, val
* p0
, val
* p1
);
54 extern const int COLOR_modelize_class__AClassdef__mclass
;
55 extern const struct type type_array__Arraystring__String
;
56 extern const int COLOR_array__Array__init
;
57 extern const struct type type_array__Arraymodel__MType
;
58 extern const struct type type_kernel__Int
;
59 val
* NEW_range__Range(const struct type
* type
);
60 extern const struct type type_range__Rangekernel__Int
;
61 extern const int COLOR_range__Range__without_last
;
62 void CHECK_NEW_range__Range(val
*);
63 extern const int COLOR_abstract_collection__Collection__iterator
;
64 extern const int COLOR_abstract_collection__Iterator__is_ok
;
65 extern const int COLOR_abstract_collection__Iterator__item
;
66 extern const int COLOR_abstract_collection__SequenceRead___91d_93d
;
67 extern const int COLOR_parser_nodes__AFormaldef__n_id
;
68 extern const int COLOR_abstract_collection__Collection__has
;
69 extern const struct type type_kernel__Char
;
70 extern const int COLOR_modelbuilder__ModelBuilder__warning
;
71 extern const int COLOR_abstract_collection__Iterator__next
;
72 extern const int COLOR_abstract_collection__SimpleCollection__add
;
73 extern const int COLOR_model__MClass__mclass_type
;
74 extern const int COLOR_model__MClassType__arguments
;
75 extern const struct type type_model__MParameterType
;
76 extern const int COLOR_modelize_class__AFormaldef__mtype_61d
;
77 extern const int COLOR_parser_nodes__AFormaldef__n_type
;
78 extern const int COLOR_modelize_class__ModelBuilder__resolve_mtype_unchecked
;
79 extern const int COLOR_model__MType__need_anchor
;
80 extern const int COLOR_modelize_class__AFormaldef__bound_61d
;
81 extern const int COLOR_model__MClass__mclassdefs
;
82 extern const int COLOR_abstract_collection__Collection__is_empty
;
83 extern const int COLOR_model__MType__as_nullable
;
84 extern const int COLOR_model__MClass__intro
;
85 extern const int COLOR_model__MClassDef__bound_mtype
;
86 extern const int COLOR_model__MClass__get_mtype
;
87 val
* NEW_model__MClassDef(const struct type
* type
);
88 extern const struct type type_model__MClassDef
;
89 extern const int COLOR_model__MClassDef__init
;
90 void CHECK_NEW_model__MClassDef(val
*);
91 extern const int COLOR_modelize_class__AClassdef__mclassdef_61d
;
92 extern const int COLOR_modelize_class__ModelBuilder__mclassdef2nclassdef
;
93 extern const int COLOR_model__MClassDef__is_intro
;
94 extern const int COLOR_modelbuilder__ModelBuilder__toolcontext
;
95 extern const int COLOR_model__MClass__full_name
;
96 extern const int COLOR_toolcontext__ToolContext__info
;
97 void modelize_class__ModelBuilder__build_a_mclassdef(val
* self
, val
* p0
, val
* p1
);
98 extern const int COLOR_modelize_class__AClassdef__mclassdef
;
99 extern const struct type type_array__Arraymodel__MClassType
;
100 extern const int COLOR_parser_nodes__AStdClassdef__n_superclasses
;
101 extern const int COLOR_parser_nodes__ASuperclass__n_type
;
102 extern const struct type type_model__MClassType
;
103 extern const int COLOR_model__Object__extern_kind
;
104 extern const int COLOR_model__MClass__name
;
105 extern const int COLOR_model__MClassDef__set_supertypes
;
106 extern const int COLOR_string__Collection__join
;
107 void modelize_class__ModelBuilder__collect_a_mclassdef_inheritance(val
* self
, val
* p0
, val
* p1
);
108 extern const int COLOR_model__MClassDef__supertypes
;
109 extern const int COLOR_model__MType__is_subtype
;
110 void modelize_class__ModelBuilder__check_supertypes(val
* self
, val
* p0
, val
* p1
);
111 extern const int COLOR_toolcontext__ToolContext__error_count
;
112 extern const int COLOR_modelize_class__AModule__build_classes_is_done
;
113 extern const int COLOR_modelize_class__AModule__build_classes_is_done_61d
;
114 extern const int COLOR_model_base__MModule__in_importation
;
115 extern const int COLOR_poset__POSetElement__direct_greaters
;
116 extern const int COLOR_modelbuilder__ModelBuilder__mmodule2nmodule
;
117 extern const int COLOR_parser_nodes__AModule__n_classdefs
;
118 extern const int COLOR_modelize_class__ModelBuilder__build_a_mclass
;
119 extern const int COLOR_modelize_class__ModelBuilder__build_a_mclassdef
;
120 extern const int COLOR_modelize_class__ModelBuilder__collect_a_mclassdef_inheritance
;
121 extern const int COLOR_model__MClassDef__add_in_hierarchy
;
122 extern const int COLOR_modelize_class__ModelBuilder__check_supertypes
;
123 extern const int COLOR_modelize_class__AType__mtype
;
124 extern const int COLOR_modelize_class__ModelBuilder__resolve_mtype
;
125 val
* NEW_hash_collection__HashMap(const struct type
* type
);
126 extern const struct type type_hash_collection__HashMapmodel__MClassmodel__MClassType
;
127 extern const int COLOR_hash_collection__HashMap__init
;
128 void CHECK_NEW_hash_collection__HashMap(val
*);
129 extern const int COLOR_model__MClassDef__in_hierarchy
;
130 extern const int COLOR_poset__POSetElement__greaters
;
131 extern const int COLOR_model__MClassType__mclass
;
132 extern const int COLOR_model__MClassDef__mclass
;
133 extern const int COLOR_model__MType__resolve_for
;
134 extern const struct type type_array__Arraymodel__MClass
;
135 val
* NEW_array__ArrayMap(const struct type
* type
);
136 extern const struct type type_array__ArrayMapmodel__MClassparser_nodes__AType
;
137 extern const int COLOR_array__ArrayMap__init
;
138 void CHECK_NEW_array__ArrayMap(val
*);
139 void modelize_class__ModelBuilder__build_classes(val
* self
, val
* p0
);
140 extern const int COLOR_modelize_class__ModelBuilder___64dmclassdef2nclassdef
;
141 val
* modelize_class__ModelBuilder__mclassdef2nclassdef(val
* self
);
142 void modelize_class__ModelBuilder__mclassdef2nclassdef_61d(val
* self
, val
* p0
);
143 extern const int COLOR_parser_nodes__AType__n_id
;
144 extern const int COLOR_parser_nodes__ANode__parent
;
145 extern const struct type type_parser_nodes__AModule
;
146 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mproperty_by_name
;
147 extern const struct type type_nullable_model__MVirtualTypeProp
;
148 extern const int COLOR_parser_nodes__AType__n_types
;
149 extern const int COLOR_model__MVirtualTypeProp__mvirtualtype
;
150 extern const int COLOR_parser_nodes__AType__n_kwnullable
;
151 extern const int COLOR_modelize_class__AType__mtype_61d
;
152 extern const int COLOR_model__MClassDef__parameter_names
;
153 val
* modelize_class__ModelBuilder__resolve_mtype_unchecked(val
* self
, val
* p0
, val
* p1
, short int p2
);
154 extern const int COLOR_modelize_class__AType__checked_mtype
;
155 extern const struct type type_model__MGenericType
;
156 extern const int COLOR_modelize_class__AType__checked_mtype_61d
;
157 val
* modelize_class__ModelBuilder__resolve_mtype(val
* self
, val
* p0
, val
* p1
);
158 extern const int COLOR_modelize_class__AModule___64dbuild_classes_is_done
;
159 short int modelize_class__AModule__build_classes_is_done(val
* self
);
160 void modelize_class__AModule__build_classes_is_done_61d(val
* self
, short int p0
);
161 extern const int COLOR_modelize_class__AModule___64dmclass2nclassdef
;
162 val
* modelize_class__AModule__mclass2nclassdef(val
* self
);
163 void modelize_class__AModule__mclass2nclassdef_61d(val
* self
, val
* p0
);
164 extern const int COLOR_modelize_class__AClassdef___64dmclass
;
165 val
* modelize_class__AClassdef__mclass(val
* self
);
166 void modelize_class__AClassdef__mclass_61d(val
* self
, val
* p0
);
167 extern const int COLOR_modelize_class__AClassdef___64dmclassdef
;
168 val
* modelize_class__AClassdef__mclassdef(val
* self
);
169 void modelize_class__AClassdef__mclassdef_61d(val
* self
, val
* p0
);
170 val
* modelize_class__AClasskind__mkind(val
* self
);
171 val
* modelize_class__AConcreteClasskind__mkind(val
* self
);
172 extern const int COLOR_model__Object__abstract_kind
;
173 val
* modelize_class__AAbstractClasskind__mkind(val
* self
);
174 val
* modelize_class__AInterfaceClasskind__mkind(val
* self
);
175 extern const int COLOR_model__Object__enum_kind
;
176 val
* modelize_class__AEnumClasskind__mkind(val
* self
);
177 val
* modelize_class__AExternClasskind__mkind(val
* self
);
178 extern const int COLOR_modelize_class__AFormaldef___64dmtype
;
179 val
* modelize_class__AFormaldef__mtype(val
* self
);
180 void modelize_class__AFormaldef__mtype_61d(val
* self
, val
* p0
);
181 extern const int COLOR_modelize_class__AFormaldef___64dbound
;
182 val
* modelize_class__AFormaldef__bound(val
* self
);
183 void modelize_class__AFormaldef__bound_61d(val
* self
, val
* p0
);
184 extern const int COLOR_modelize_class__AType___64dmtype
;
185 val
* modelize_class__AType__mtype(val
* self
);
186 void modelize_class__AType__mtype_61d(val
* self
, val
* p0
);
187 extern const int COLOR_modelize_class__AType___64dchecked_mtype
;
188 short int modelize_class__AType__checked_mtype(val
* self
);
189 void modelize_class__AType__checked_mtype_61d(val
* self
, short int p0
);