1 #include "nit.common.h"
2 #define COLOR_nit__modelize_class__ToolContext___modelize_class_phase 42
3 extern const char FILE_nit__modelize_class
[];
4 #define COLOR_nit__phase__Phase___toolcontext 0
5 extern const char FILE_nit__phase
[];
6 val
* nit__modelbuilder_base___ToolContext___modelbuilder(val
* self
);
7 void nit__modelize_class___ModelBuilder___build_classes(val
* self
, val
* p0
);
8 #define COLOR_nit__loader__AModule___mmodule 8
9 val
* NEW_standard__Array(const struct type
* type
);
10 extern const struct type type_standard__Array__standard__String
;
11 void standard___standard__Array___standard__kernel__Object__init(val
* self
);
12 extern const struct type type_nit__AStdClassdef
;
13 #define COLOR_nit__parser_nodes__AStdClassdef___n_id 14
14 val
* nit__lexer_work___Token___text(val
* self
);
15 #define COLOR_nit__parser_nodes__AStdClassdef___n_classkind 13
16 extern const char FILE_nit__parser_nodes
[];
17 #define COLOR_nit__modelize_class__AClasskind__mkind 56
18 #define COLOR_nit__parser_nodes__ADefinition___n_visibility 12
19 #define COLOR_nit__modelbuilder_base__AVisibility__mvisibility 56
20 #define COLOR_nit__parser_nodes__AStdClassdef___n_formaldefs 15
21 long nit___nit__ANodes___standard__abstract_collection__Collection__length(val
* self
);
22 val
* nit__model_base___standard__Object___protected_visibility(val
* self
);
23 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
24 void nit___nit__ModelBuilder___error(val
* self
, val
* p0
, val
* p1
);
25 val
* nit__model_base___standard__Object___intrude_visibility(val
* self
);
26 extern const struct type type_standard__Int
;
27 extern const char FILE_standard__kernel
[];
28 val
* nit___nit__ANodes___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
29 #define COLOR_nit__parser_nodes__AFormaldef___n_id 4
30 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
31 extern const struct type type_standard__Array__standard__Object
;
32 val
* NEW_standard__NativeArray(int length
, const struct type
* type
);
33 extern const struct type type_standard__NativeArray__standard__Object
;
34 #define COLOR_standard__array__Array__with_native 73
35 #define COLOR_standard__string__Object__to_s 9
36 #define COLOR_standard__string__Text__chars 46
37 #define COLOR_standard__abstract_collection__Collection__iterator 37
38 #define COLOR_standard__abstract_collection__Iterator__is_ok 34
39 #define COLOR_standard__abstract_collection__Iterator__item 32
40 extern const struct type type_standard__Char
;
41 void nit___nit__ModelBuilder___warning(val
* self
, val
* p0
, val
* p1
, val
* p2
);
42 #define COLOR_standard__abstract_collection__Iterator__next 33
43 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
44 long standard___standard__Int___Discrete__successor(long self
, long p0
);
45 extern const struct type type_nit__ATopClassdef
;
46 val
* nit__model___standard__Object___interface_kind(val
* self
);
47 val
* nit__model_base___standard__Object___public_visibility(val
* self
);
48 extern const struct type type_nit__AMainClassdef
;
49 val
* nit__model___standard__Object___concrete_kind(val
* self
);
50 val
* nit___nit__ModelBuilder___try_get_mclass_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
51 #define COLOR_nit__parser_nodes__ADefinition___n_kwredef 11
52 #define COLOR_standard__kernel__Object___61d_61d 2
53 #define COLOR_nit__mmodule__MModule___mgroup 5
54 short int standard___standard__Comparable____62d_61d(val
* self
, val
* p0
);
55 #define COLOR_nit__modelbuilder_base__ModelBuilder___model 0
56 extern const char FILE_nit__modelbuilder_base
[];
57 val
* nit__model___Model___get_mclasses_by_name(val
* self
, val
* p0
);
58 val
* standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__iterator(val
* self
);
59 short int standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
60 val
* standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__item(val
* self
);
61 #define COLOR_nit__model__MClass___intro_mmodule 4
62 extern const char FILE_nit__model
[];
63 extern const char FILE_nit__mproject
[];
64 #define COLOR_nit__mproject__MGroup___mproject 5
65 val
* nit___nit__MClass___nit__model_base__MEntity__full_name(val
* self
);
66 #define COLOR_nit__model__MClass___intro 15
67 #define COLOR_nit__model__MClassDef___location 7
68 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__next(val
* self
);
69 val
* NEW_nit__MClass(const struct type
* type
);
70 extern const struct type type_nit__MClass
;
71 #define COLOR_nit__model__MClass__intro_mmodule_61d 42
72 #define COLOR_nit__model__MClass__name_61d 43
73 #define COLOR_nit__model__MClass__setup_parameter_names 48
74 #define COLOR_nit__model__MClass__kind_61d 50
75 #define COLOR_nit__model__MClass__visibility_61d 52
76 #define COLOR_standard__kernel__Object__init 7
77 #define COLOR_nit__modelize_class__AModule___mclass2nclassdef 11
78 short int standard___standard__MapRead___has_key(val
* self
, val
* p0
);
79 #define COLOR_standard__abstract_collection__MapRead___91d_93d 32
80 #define COLOR_nit__parser_nodes__ANode___location 0
81 #define COLOR_nit__location__Location___line_start 1
82 val
* BOX_standard__Int(long);
83 #define COLOR_nit__model__MClass___arity 10
84 #define COLOR_nit__model__MClass___kind 12
85 #define COLOR_nit__model__MClass___visibility 13
86 #define COLOR_nit__modelize_class__AClassdef___mclass 5
87 #define COLOR_standard__abstract_collection__Map___91d_93d_61d 41
88 extern const struct type type_standard__Array__nit__AClassdef
;
89 void standard___standard__Array___with_capacity(val
* self
, long p0
);
90 void standard___standard__AbstractArray___standard__abstract_collection__Sequence__push(val
* self
, val
* p0
);
91 #define COLOR_nit__modelize_class__AClassdef___all_defs 7
92 #define COLOR_nit__modelize_class__AClassdef___mclassdef 6
93 extern const struct type type_standard__Array__nit__MType
;
94 short int nit___nit__ANodes___standard__abstract_collection__Collection__is_empty(val
* self
);
95 #define COLOR_nit__model__MClassDef___bound_mtype 6
96 #define COLOR_nit__model__MClassType__arguments 63
97 val
* standard___standard__Array___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
98 #define COLOR_nit__model__MClass___mparameters 11
99 #define COLOR_nit__model__MParameterType___name 7
100 #define COLOR_nit__model__MClassDef___mmodule 4
101 #define COLOR_nit__parser_nodes__AFormaldef___n_type 5
102 val
* nit__modelize_class___ModelBuilder___resolve_mtype_unchecked(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
);
103 #define COLOR_nit__model__MType__need_anchor 43
104 #define COLOR_nit__modelize_class__AFormaldef___bound 7
105 extern const struct type type_nit__MClassType
;
106 #define COLOR_nit__model__MClassType___mclass 5
107 val
* nit__model___standard__Object___enum_kind(val
* self
);
108 #define COLOR_nit__model__MClass___mclassdefs 14
109 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__is_empty(val
* self
);
110 #define COLOR_nit__model__MClass___mclass_type 16
111 val
* nit___nit__MType___as_nullable(val
* self
);
112 val
* nit___nit__MClass___get_mtype(val
* self
, val
* p0
);
113 val
* NEW_nit__MClassDef(const struct type
* type
);
114 extern const struct type type_nit__MClassDef
;
115 #define COLOR_nit__model__MClassDef__mmodule_61d 42
116 #define COLOR_nit__model__MClassDef__bound_mtype_61d 46
117 #define COLOR_nit__model__MClassDef__location_61d 48
118 #define COLOR_nit__modelize_class__ModelBuilder___mclassdef2nclassdef 9
119 void standard___standard__HashMap___standard__abstract_collection__Map___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
120 #define COLOR_nit__parser_nodes__ADefinition___n_doc 10
121 val
* nit__modelbuilder_base___ADoc___to_mdoc(val
* self
);
122 #define COLOR_nit__mdoc__MEntity___mdoc 0
123 #define COLOR_nit__mdoc__MDoc___original_mentity 1
124 short int nit___nit__MClassDef___is_intro(val
* self
);
125 void nit___nit__ModelBuilder___advice(val
* self
, val
* p0
, val
* p1
, val
* p2
);
126 #define COLOR_nit__modelbuilder_base__ModelBuilder___toolcontext 1
127 void nit___nit__ToolContext___info(val
* self
, val
* p0
, long p1
);
128 extern const struct type type_standard__Array__nit__MClassType
;
129 #define COLOR_nit__parser_nodes__AStdClassdef___n_superclasses 17
130 val
* nit___nit__ANodes___standard__abstract_collection__Collection__iterator(val
* self
);
131 #define COLOR_nit__parser_nodes__ASuperclass___n_type 5
132 short int nit___nit__MClassKind___can_specialize(val
* self
, val
* p0
);
133 val
* nit__model___standard__Object___extern_kind(val
* self
);
134 #define COLOR_nit__model__MClass___name 5
135 void nit___nit__MClassDef___set_supertypes(val
* self
, val
* p0
);
136 val
* standard__string___Collection___join(val
* self
, val
* p0
);
137 #define COLOR_nit__model__MClassDef___supertypes 13
138 short int nit___nit__MType___is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
139 #define COLOR_nit__toolcontext__ToolContext___error_count 0
140 #define COLOR_nit__modelize_class__AModule___build_classes_is_done 10
141 #define COLOR_nit__mmodule__MModule___in_importation 8
142 extern const char FILE_nit__mmodule
[];
143 val
* poset___poset__POSetElement___direct_greaters(val
* self
);
144 val
* nit__loader___ModelBuilder___mmodule2node(val
* self
, val
* p0
);
145 #define COLOR_nit__parser_nodes__AModule___n_classdefs 7
146 void nit__modelize_class___ModelBuilder___build_a_mclass(val
* self
, val
* p0
, val
* p1
);
147 void nit__modelize_class___ModelBuilder___build_a_mclassdef(val
* self
, val
* p0
, val
* p1
);
148 void nit__modelize_class___ModelBuilder___collect_a_mclassdef_inheritance(val
* self
, val
* p0
, val
* p1
);
149 #define COLOR_nit__model__MModule___mclassdefs 19
150 void nit___nit__MClassDef___add_in_hierarchy(val
* self
);
151 void nit__modelize_class___ModelBuilder___check_supertypes(val
* self
, val
* p0
, val
* p1
);
152 #define COLOR_nit__modelize_class__AType___mtype 7
153 val
* nit__modelize_class___ModelBuilder___resolve_mtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
154 val
* NEW_standard__HashMap(const struct type
* type
);
155 extern const struct type type_standard__HashMap__nit__MClass__nit__MClassType
;
156 void standard___standard__HashMap___standard__kernel__Object__init(val
* self
);
157 #define COLOR_nit__model__MClassDef___in_hierarchy 14
158 val
* poset___poset__POSetElement___greaters(val
* self
);
159 val
* standard___standard__HashMap___standard__abstract_collection__MapRead___91d_93d(val
* self
, val
* p0
);
160 #define COLOR_nit__model__MClassDef___mclass 5
161 #define COLOR_nit__model__MType__resolve_for 45
162 extern const struct type type_standard__Array__nit__MClass
;
163 val
* NEW_standard__ArrayMap(const struct type
* type
);
164 extern const struct type type_standard__ArrayMap__nit__MClass__nit__AType
;
165 #define COLOR_nit__location__Location___file 0
166 extern const char FILE_nit__location
[];
167 #define COLOR_nit__location__SourceFile___filename 0
168 short int standard___standard__Text___is_empty(val
* self
);
169 void standard___standard__ArrayMap___standard__abstract_collection__Map___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
170 #define COLOR_nit__parser_nodes__AType___n_id 5
171 val
* nit___nit__ModelBuilder___try_get_mproperty_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
172 extern const struct type type_nullable__nit__MVirtualTypeProp
;
173 #define COLOR_nit__parser_nodes__AType___n_types 6
174 #define COLOR_nit__model__MVirtualTypeProp___mvirtualtype 15
175 #define COLOR_nit__parser_nodes__AType___n_kwnullable 4
176 #define COLOR_nit__modelize_class__AType___checked_mtype 8
177 extern const struct type type_nit__MGenericType
;
178 val
* nit__model___standard__Object___abstract_kind(val
* self
);