1 #include "nit.common.h"
2 #define COLOR_nitc__modelize_class__ToolContext___modelize_class_phase 1
3 extern const char FILE_nitc__modelize_class
[];
4 #define COLOR_nitc__phase__Phase___toolcontext 0
5 extern const char FILE_nitc__phase
[];
6 val
* nitc__modelbuilder_base___ToolContext___modelbuilder(val
* self
);
7 void nitc__modelize_class___ModelBuilder___build_classes(val
* self
, val
* p0
);
8 #define COLOR_nitc__loader__AModule___mmodule 5
9 val
* NEW_core__Array(const struct type
* type
);
10 extern const struct type type_core__Array__core__String
;
11 void core___core__Array___core__kernel__Object__init(val
* self
);
12 extern const struct type type_nitc__AStdClassdef
;
13 #define COLOR_nitc__parser_nodes__AStdClassdef___n_qid 14
14 #define COLOR_core__kernel__Object___61d_61d 4
15 #define COLOR_nitc__parser_nodes__AQclassid___n_id 4
16 extern const char FILE_nitc__parser_nodes
[];
17 val
* nitc__lexer_work___Token___text(val
* self
);
18 #define COLOR_nitc__parser_nodes__AStdClassdef___n_classkind 13
19 #define COLOR_nitc__modelize_class__AClasskind__mkind 34
20 #define COLOR_nitc__parser_nodes__ADefinition___n_visibility 12
21 #define COLOR_nitc__modelbuilder_base__AVisibility__mvisibility 34
22 #define COLOR_nitc__parser_nodes__AStdClassdef___n_formaldefs 16
23 long nitc___nitc__ANodes___core__abstract_collection__Collection__length(val
* self
);
24 val
* nitc__model_base___core__Sys___protected_visibility(val
* self
);
25 val
* core__flat___CString___to_s_unsafe(char* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
26 void nitc___nitc__ModelBuilder___error(val
* self
, val
* p0
, val
* p1
);
27 val
* nitc__model_base___core__Sys___intrude_visibility(val
* self
);
28 extern const struct type type_core__Int
;
29 extern const char FILE_core__kernel
[];
30 val
* nitc___nitc__ANodes___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
31 #define COLOR_nitc__parser_nodes__AFormaldef___n_id 5
32 short int core___core__AbstractArrayRead___core__abstract_collection__Collection__has(val
* self
, val
* p0
);
33 val
* NEW_core__NativeArray(int length
, const struct type
* type
);
34 extern const struct type type_core__NativeArray__core__String
;
35 #define COLOR_core__abstract_text__NativeArray__native_to_s 12
36 #define COLOR_core__abstract_text__Text__chars 27
37 #define COLOR_core__abstract_collection__Collection__iterator 24
38 #define COLOR_core__abstract_collection__Iterator__is_ok 12
39 #define COLOR_core__abstract_collection__Iterator__item 13
40 extern const struct type type_core__Char
;
41 void nitc___nitc__ModelBuilder___warning(val
* self
, val
* p0
, val
* p1
, val
* p2
);
42 #define COLOR_core__abstract_collection__Iterator__next 14
43 #define COLOR_core__abstract_collection__Iterator__finish 15
44 void core___core__Array___core__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
45 long core___core__Int___Discrete__successor(long self
, long p0
);
46 val
* nitc___nitc__ModelBuilder___try_get_mclass_by_qid(val
* self
, val
* p0
, val
* p1
);
47 #define COLOR_nitc__parser_nodes__AQclassid___n_qualified 3
48 #define COLOR_nitc__parser_nodes__ADefinition___n_kwredef 11
49 void nitc___nitc__ModelBuilder___class_not_found(val
* self
, val
* p0
, val
* p1
);
50 #define COLOR_nitc__modelbuilder_base__ANode___is_broken 0
51 extern const struct type type_nitc__ATopClassdef
;
52 #define COLOR_nitc__parser_nodes__AClassdef___n_propdefs 7
53 val
* core___core__SequenceRead___Collection__first(val
* self
);
54 extern const struct type type_nitc__AMethPropdef
;
55 #define COLOR_nitc__parser_nodes__AMethPropdef___n_methid 18
56 val
* nitc__parser_work___Prod___collect_text(val
* self
);
57 val
* nitc__model___core__Sys___interface_kind(val
* self
);
58 val
* nitc__model_base___core__Sys___public_visibility(val
* self
);
59 val
* nitc___nitc__ModelBuilder___try_get_mclass_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
60 val
* nitc__model___core__Sys___concrete_kind(val
* self
);
61 #define COLOR_nitc__mmodule__MModule___mgroup 42
62 short int core___core__Comparable____62d_61d(val
* self
, val
* p0
);
63 #define COLOR_nitc__modelbuilder_base__ModelBuilder___model 12
64 extern const char FILE_nitc__modelbuilder_base
[];
65 val
* nitc__model___Model___get_mclasses_by_name(val
* self
, val
* p0
);
66 val
* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val
* self
);
67 #define COLOR_nitc__model__MClass___intro_mmodule 7
68 extern const char FILE_nitc__model
[];
69 extern const char FILE_nitc__mpackage
[];
70 #define COLOR_nitc__mpackage__MGroup___mpackage 11
71 val
* nitc___nitc__MClass___try_intro(val
* self
);
72 val
* nitc___nitc__MClass___nitc__model_base__MEntity__full_name(val
* self
);
73 #define COLOR_core__abstract_text__Object__to_s 3
74 #define COLOR_nitc__model__MClass___intro 19
75 #define COLOR_nitc__model__MClassDef___location 10
76 val
* NEW_nitc__MClass(const struct type
* type
);
77 extern const struct type type_nitc__MClass
;
78 #define COLOR_nitc__parser_nodes__ANode___location 1
79 #define COLOR_nitc__model__MClass__intro_mmodule_61d 31
80 #define COLOR_nitc__model__MClass__name_61d 32
81 #define COLOR_nitc__model__MClass__location_61d 33
82 #define COLOR_nitc__model__MClass__setup_parameter_names 34
83 #define COLOR_nitc__model__MClass__kind_61d 35
84 #define COLOR_nitc__model__MClass__visibility_61d 36
85 #define COLOR_core__kernel__Object__init 0
86 #define COLOR_nitc__modelize_class__AModule___mclass2nclassdef 4
87 #define COLOR_core__abstract_collection__MapRead__has_key 14
88 #define COLOR_core__abstract_collection__MapRead___91d_93d 15
89 #define COLOR_nitc__location__Location___line_start 1
90 val
* core__flat___Int___core__abstract_text__Object__to_s(long self
);
91 #define COLOR_nitc__model_base__MEntity___is_broken 0
92 #define COLOR_nitc__model__MClass___arity 14
93 val
* nitc___nitc__MClass___signature_to_s(val
* self
);
94 #define COLOR_nitc__model__MClass___kind 16
95 #define COLOR_nitc__model__MClass___visibility 17
96 #define COLOR_nitc__modelize_class__AClassdef___mclass 4
97 #define COLOR_core__abstract_collection__Map___91d_93d_61d 22
98 extern const struct type type_core__Array__nitc__AClassdef
;
99 void core___core__Array___with_capacity(val
* self
, long p0
);
100 void core___core__AbstractArray___core__abstract_collection__Sequence__push(val
* self
, val
* p0
);
101 #define COLOR_nitc__modelize_class__AClassdef___all_defs 6
102 #define COLOR_nitc__modelize_class__AClassdef___mclassdef 5
103 extern const struct type type_core__Array__nitc__MType
;
104 short int nitc___nitc__ANodes___core__abstract_collection__Collection__is_empty(val
* self
);
105 #define COLOR_nitc__model__MClassDef___bound_mtype 9
106 #define COLOR_nitc__model__MClassType__arguments 61
107 val
* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
108 #define COLOR_nitc__model__MClass___mparameters 15
109 #define COLOR_nitc__model__MParameterType___name 13
110 #define COLOR_nitc__model__MClassDef___mmodule 7
111 #define COLOR_nitc__parser_nodes__AFormaldef___n_type 6
112 val
* nitc___nitc__ModelBuilder___resolve_mtype_unchecked(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
);
113 #define COLOR_nitc__model__MType__need_anchor 31
114 #define COLOR_nitc__modelize_class__AFormaldef___bound 4
115 extern const struct type type_nitc__MClassType
;
116 #define COLOR_nitc__model__MClassType___mclass 9
117 val
* nitc__model___core__Sys___enum_kind(val
* self
);
118 #define COLOR_nitc__model__MClass___mclassdefs 18
119 short int core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(val
* self
);
120 #define COLOR_nitc__model__MClass___mclass_type 20
121 val
* nitc___nitc__MType___as_nullable(val
* self
);
122 val
* nitc___nitc__MClass___get_mtype(val
* self
, val
* p0
);
123 val
* NEW_nitc__MClassDef(const struct type
* type
);
124 extern const struct type type_nitc__MClassDef
;
125 #define COLOR_nitc__model__MClassDef__mmodule_61d 30
126 #define COLOR_nitc__model__MClassDef__bound_mtype_61d 31
127 #define COLOR_nitc__model__MClassDef__location_61d 32
128 #define COLOR_nitc__modelize_class__ModelBuilder___mclassdef2nclassdef 2
129 void core___core__HashMap___core__abstract_collection__Map___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
130 #define COLOR_nitc__parser_nodes__ADefinition___n_doc 8
131 val
* nitc__modelbuilder_base___ADoc___to_mdoc(val
* self
);
132 #define COLOR_nitc__mdoc__MEntity___mdoc 2
133 #define COLOR_nitc__mdoc__MDoc___original_mentity 1
134 short int nitc___nitc__MClassDef___is_intro(val
* self
);
135 void nitc___nitc__ModelBuilder___advice(val
* self
, val
* p0
, val
* p1
, val
* p2
);
136 #define COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext 13
137 void nitc___nitc__ToolContext___info(val
* self
, val
* p0
, long p1
);
138 extern const struct type type_core__Array__nitc__MClassType
;
139 val
* nitc___nitc__AStdClassdef___n_superclasses(val
* self
);
140 #define COLOR_nitc__parser_nodes__ASuperPropdef___n_type 15
141 short int nitc___nitc__MClassKind___can_specialize(val
* self
, val
* p0
);
142 val
* nitc__model___core__Sys___extern_kind(val
* self
);
143 #define COLOR_nitc__model__MClass___name 8
144 void nitc___nitc__MClassDef___set_supertypes(val
* self
, val
* p0
);
145 val
* core__abstract_text___Collection___join(val
* self
, val
* p0
, val
* p1
);
146 #define COLOR_nitc__model__MClassDef___supertypes 16
147 short int nitc___nitc__MType___is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
148 #define COLOR_nitc__modelize_class__AModule___build_classes_is_done 3
149 #define COLOR_nitc__mmodule__MModule___in_importation 45
150 extern const char FILE_nitc__mmodule
[];
151 val
* poset___poset__POSetElement___direct_greaters(val
* self
);
152 val
* nitc__loader___ModelBuilder___mmodule2node(val
* self
, val
* p0
);
153 #define COLOR_nitc__parser_nodes__AModule___n_classdefs 12
154 val
* nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(val
* self
);
155 void nitc__modelize_class___ModelBuilder___build_a_mclass(val
* self
, val
* p0
, val
* p1
);
156 void nitc__modelize_class___ModelBuilder___build_a_mclassdef(val
* self
, val
* p0
, val
* p1
);
157 void nitc__modelize_class___ModelBuilder___collect_a_mclassdef_inheritance(val
* self
, val
* p0
, val
* p1
);
158 #define COLOR_nitc__model__MModule___mclassdefs 7
159 void nitc___nitc__MClassDef___add_in_hierarchy(val
* self
);
160 void nitc__modelize_class___ModelBuilder___check_supertypes(val
* self
, val
* p0
, val
* p1
);
161 #define COLOR_nitc__modelbuilder_base__AType___mtype 3
162 val
* nitc___nitc__ModelBuilder___resolve_mtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
163 val
* NEW_core__HashMap(const struct type
* type
);
164 extern const struct type type_core__HashMap__nitc__MClass__nitc__MClassType
;
165 void core___core__HashMap___core__kernel__Object__init(val
* self
);
166 #define COLOR_nitc__model__MClassDef___in_hierarchy 17
167 val
* poset___poset__POSetElement___greaters(val
* self
);
168 short int core___core__HashMap___core__abstract_collection__MapRead__has_key(val
* self
, val
* p0
);
169 val
* core___core__HashMap___core__abstract_collection__MapRead___91d_93d(val
* self
, val
* p0
);
170 #define COLOR_nitc__model__MClassDef___mclass 8
171 #define COLOR_nitc__model__MType__resolve_for 29
172 extern const struct type type_core__Array__nitc__MClass
;
173 val
* NEW_core__ArrayMap(const struct type
* type
);
174 extern const struct type type_core__ArrayMap__nitc__MClass__nitc__AType
;
175 #define COLOR_nitc__location__Location___file 0
176 extern const char FILE_nitc__location
[];
177 #define COLOR_nitc__location__SourceFile___filename 1
178 #define COLOR_core__abstract_text__Text__is_empty 43
179 short int core___core__CoupleMap___MapRead__has_key(val
* self
, val
* p0
);
180 void core___core__ArrayMap___core__abstract_collection__Map___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
181 val
* nitc__model___core__Sys___abstract_kind(val
* self
);