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 extern const int COLOR_string__Object__to_s
;
37 val
* NEW_model__MClass(const struct type
* type
);
38 extern const struct type type_model__MClass
;
39 extern const int COLOR_model__MClass__init
;
40 extern const int COLOR_modelize_class__AModule__mclass2nclassdef
;
41 extern const int COLOR_abstract_collection__MapRead__has_key
;
42 extern const int COLOR_abstract_collection__MapRead___91d_93d
;
43 extern const int COLOR_parser_nodes__ANode__location
;
44 extern const int COLOR_location__Location__line_start
;
45 val
* BOX_kernel__Int(long);
46 extern const int COLOR_model__MClass__arity
;
47 extern const int COLOR_kernel__Object___33d_61d
;
48 extern const int COLOR_model__MClass__kind
;
49 extern const int COLOR_model__MClass__visibility
;
50 extern const int COLOR_modelize_class__AClassdef__mclass_61d
;
51 extern const int COLOR_abstract_collection__Map___91d_93d_61d
;
52 void modelize_class__ModelBuilder__build_a_mclass(val
* self
, val
* p0
, val
* p1
);
53 extern const int COLOR_modelize_class__AClassdef__mclass
;
54 extern const struct type type_array__Arraystring__String
;
55 extern const int COLOR_array__Array__init
;
56 extern const struct type type_array__Arraymodel__MType
;
57 extern const struct type type_kernel__Int
;
58 val
* NEW_range__Range(const struct type
* type
);
59 extern const struct type type_range__Rangekernel__Int
;
60 extern const int COLOR_range__Range__without_last
;
61 extern const int COLOR_abstract_collection__Collection__iterator
;
62 extern const int COLOR_abstract_collection__Iterator__is_ok
;
63 extern const int COLOR_abstract_collection__Iterator__item
;
64 extern const int COLOR_abstract_collection__SequenceRead___91d_93d
;
65 extern const int COLOR_parser_nodes__AFormaldef__n_id
;
66 extern const int COLOR_abstract_collection__Collection__has
;
67 extern const struct type type_kernel__Char
;
68 extern const int COLOR_modelbuilder__ModelBuilder__warning
;
69 extern const int COLOR_abstract_collection__Iterator__next
;
70 extern const int COLOR_abstract_collection__SimpleCollection__add
;
71 extern const int COLOR_model__MClass__mclass_type
;
72 extern const int COLOR_model__MClassType__arguments
;
73 extern const struct type type_model__MParameterType
;
74 extern const int COLOR_modelize_class__AFormaldef__mtype_61d
;
75 extern const int COLOR_parser_nodes__AFormaldef__n_type
;
76 extern const int COLOR_modelize_class__ModelBuilder__resolve_mtype_unchecked
;
77 extern const int COLOR_model__MType__need_anchor
;
78 extern const int COLOR_modelize_class__AFormaldef__bound_61d
;
79 extern const int COLOR_model__MClass__mclassdefs
;
80 extern const int COLOR_abstract_collection__Collection__is_empty
;
81 extern const int COLOR_model__MType__as_nullable
;
82 extern const int COLOR_model__MClass__intro
;
83 extern const int COLOR_model__MClassDef__bound_mtype
;
84 extern const int COLOR_model__MClass__get_mtype
;
85 val
* NEW_model__MClassDef(const struct type
* type
);
86 extern const struct type type_model__MClassDef
;
87 extern const int COLOR_model__MClassDef__init
;
88 extern const int COLOR_modelize_class__AClassdef__mclassdef_61d
;
89 extern const int COLOR_modelize_class__ModelBuilder__mclassdef2nclassdef
;
90 extern const int COLOR_model__MClassDef__is_intro
;
91 extern const int COLOR_modelbuilder__ModelBuilder__toolcontext
;
92 extern const int COLOR_model__MClass__full_name
;
93 extern const int COLOR_toolcontext__ToolContext__info
;
94 void modelize_class__ModelBuilder__build_a_mclassdef(val
* self
, val
* p0
, val
* p1
);
95 extern const int COLOR_modelize_class__AClassdef__mclassdef
;
96 extern const struct type type_array__Arraymodel__MClassType
;
97 extern const int COLOR_parser_nodes__AStdClassdef__n_superclasses
;
98 extern const int COLOR_parser_nodes__ASuperclass__n_type
;
99 extern const struct type type_model__MClassType
;
100 extern const int COLOR_model__Object__extern_kind
;
101 extern const int COLOR_model__MClass__name
;
102 extern const int COLOR_model__MClassDef__set_supertypes
;
103 extern const int COLOR_string__Collection__join
;
104 void modelize_class__ModelBuilder__collect_a_mclassdef_inheritance(val
* self
, val
* p0
, val
* p1
);
105 extern const int COLOR_model__MClassDef__supertypes
;
106 extern const int COLOR_model__MType__is_subtype
;
107 void modelize_class__ModelBuilder__check_supertypes(val
* self
, val
* p0
, val
* p1
);
108 extern const int COLOR_toolcontext__ToolContext__error_count
;
109 extern const int COLOR_modelize_class__AModule__build_classes_is_done
;
110 extern const int COLOR_modelize_class__AModule__build_classes_is_done_61d
;
111 extern const int COLOR_mmodule__MModule__in_importation
;
112 extern const int COLOR_poset__POSetElement__direct_greaters
;
113 extern const int COLOR_modelbuilder__ModelBuilder__mmodule2nmodule
;
114 extern const int COLOR_parser_nodes__AModule__n_classdefs
;
115 extern const int COLOR_modelize_class__ModelBuilder__build_a_mclass
;
116 extern const int COLOR_modelize_class__ModelBuilder__build_a_mclassdef
;
117 extern const int COLOR_modelize_class__ModelBuilder__collect_a_mclassdef_inheritance
;
118 extern const int COLOR_model__MClassDef__add_in_hierarchy
;
119 extern const int COLOR_modelize_class__ModelBuilder__check_supertypes
;
120 extern const int COLOR_modelize_class__AType__mtype
;
121 extern const int COLOR_modelize_class__ModelBuilder__resolve_mtype
;
122 val
* NEW_hash_collection__HashMap(const struct type
* type
);
123 extern const struct type type_hash_collection__HashMapmodel__MClassmodel__MClassType
;
124 extern const int COLOR_hash_collection__HashMap__init
;
125 extern const int COLOR_model__MClassDef__in_hierarchy
;
126 extern const int COLOR_poset__POSetElement__greaters
;
127 extern const int COLOR_model__MClassType__mclass
;
128 extern const int COLOR_model__MClassDef__mclass
;
129 extern const int COLOR_model__MType__resolve_for
;
130 extern const struct type type_array__Arraymodel__MClass
;
131 val
* NEW_array__ArrayMap(const struct type
* type
);
132 extern const struct type type_array__ArrayMapmodel__MClassparser_nodes__AType
;
133 extern const int COLOR_array__ArrayMap__init
;
134 void modelize_class__ModelBuilder__build_classes(val
* self
, val
* p0
);
135 extern const int COLOR_modelize_class__ModelBuilder___64dmclassdef2nclassdef
;
136 val
* modelize_class__ModelBuilder__mclassdef2nclassdef(val
* self
);
137 void modelize_class__ModelBuilder__mclassdef2nclassdef_61d(val
* self
, val
* p0
);
138 extern const int COLOR_parser_nodes__AType__n_id
;
139 extern const int COLOR_parser_nodes__ANode__parent
;
140 extern const struct type type_parser_nodes__AModule
;
141 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mproperty_by_name
;
142 extern const struct type type_nullable_model__MVirtualTypeProp
;
143 extern const int COLOR_parser_nodes__AType__n_types
;
144 extern const int COLOR_model__MVirtualTypeProp__mvirtualtype
;
145 extern const int COLOR_parser_nodes__AType__n_kwnullable
;
146 extern const int COLOR_modelize_class__AType__mtype_61d
;
147 extern const int COLOR_model__MClassDef__parameter_names
;
148 val
* modelize_class__ModelBuilder__resolve_mtype_unchecked(val
* self
, val
* p0
, val
* p1
, short int p2
);
149 extern const int COLOR_modelize_class__AType__checked_mtype
;
150 extern const struct type type_model__MGenericType
;
151 extern const int COLOR_modelize_class__AType__checked_mtype_61d
;
152 val
* modelize_class__ModelBuilder__resolve_mtype(val
* self
, val
* p0
, val
* p1
);
153 extern const int COLOR_modelize_class__AModule___64dbuild_classes_is_done
;
154 short int modelize_class__AModule__build_classes_is_done(val
* self
);
155 void modelize_class__AModule__build_classes_is_done_61d(val
* self
, short int p0
);
156 extern const int COLOR_modelize_class__AModule___64dmclass2nclassdef
;
157 val
* modelize_class__AModule__mclass2nclassdef(val
* self
);
158 void modelize_class__AModule__mclass2nclassdef_61d(val
* self
, val
* p0
);
159 extern const int COLOR_modelize_class__AClassdef___64dmclass
;
160 val
* modelize_class__AClassdef__mclass(val
* self
);
161 void modelize_class__AClassdef__mclass_61d(val
* self
, val
* p0
);
162 extern const int COLOR_modelize_class__AClassdef___64dmclassdef
;
163 val
* modelize_class__AClassdef__mclassdef(val
* self
);
164 void modelize_class__AClassdef__mclassdef_61d(val
* self
, val
* p0
);
165 val
* modelize_class__AClasskind__mkind(val
* self
);
166 val
* modelize_class__AConcreteClasskind__mkind(val
* self
);
167 extern const int COLOR_model__Object__abstract_kind
;
168 val
* modelize_class__AAbstractClasskind__mkind(val
* self
);
169 val
* modelize_class__AInterfaceClasskind__mkind(val
* self
);
170 extern const int COLOR_model__Object__enum_kind
;
171 val
* modelize_class__AEnumClasskind__mkind(val
* self
);
172 val
* modelize_class__AExternClasskind__mkind(val
* self
);
173 extern const int COLOR_modelize_class__AFormaldef___64dmtype
;
174 val
* modelize_class__AFormaldef__mtype(val
* self
);
175 void modelize_class__AFormaldef__mtype_61d(val
* self
, val
* p0
);
176 extern const int COLOR_modelize_class__AFormaldef___64dbound
;
177 val
* modelize_class__AFormaldef__bound(val
* self
);
178 void modelize_class__AFormaldef__bound_61d(val
* self
, val
* p0
);
179 extern const int COLOR_modelize_class__AType___64dmtype
;
180 val
* modelize_class__AType__mtype(val
* self
);
181 void modelize_class__AType__mtype_61d(val
* self
, val
* p0
);
182 extern const int COLOR_modelize_class__AType___64dchecked_mtype
;
183 short int modelize_class__AType__checked_mtype(val
* self
);
184 void modelize_class__AType__checked_mtype_61d(val
* self
, short int p0
);