1 #include "nit.common.h"
2 #define COLOR_modelize_class__ToolContext___modelize_class_phase 32
3 #define COLOR_phase__Phase___toolcontext 0
4 val
* modelbuilder__ToolContext__modelbuilder(val
* self
);
5 void modelize_class__ModelBuilder__build_classes(val
* self
, val
* p0
);
6 void modelize_class__ModelizeClassPhase__process_nmodule(val
* self
, val
* p0
);
7 #define COLOR_modelbuilder__AModule___mmodule 8
8 extern const struct type type_parser_nodes__AStdClassdef
;
9 val
* parser_nodes__AStdClassdef__n_id(val
* self
);
10 val
* lexer_work__Token__text(val
* self
);
11 val
* parser_nodes__AStdClassdef__n_classkind(val
* self
);
12 #define COLOR_modelize_class__AClasskind__mkind 53
13 val
* parser_nodes__AStdClassdef__n_visibility(val
* self
);
14 #define COLOR_modelbuilder__AVisibility__mvisibility 53
15 #define COLOR_parser_nodes__AStdClassdef___n_formaldefs 16
16 long parser_nodes__ANodes__length(val
* self
);
17 val
* model_base__Object__protected_visibility(val
* self
);
18 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
19 void modelbuilder__ModelBuilder__error(val
* self
, val
* p0
, val
* p1
);
20 val
* model_base__Object__intrude_visibility(val
* self
);
21 extern const struct type type_parser_nodes__ATopClassdef
;
22 val
* model__Object__interface_kind(val
* self
);
23 val
* model_base__Object__public_visibility(val
* self
);
24 extern const struct type type_parser_nodes__AMainClassdef
;
25 val
* model__Object__concrete_kind(val
* self
);
26 val
* modelbuilder__ModelBuilder__try_get_mclass_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
27 val
* parser_nodes__AStdClassdef__n_kwredef(val
* self
);
28 #define COLOR_kernel__Object___61d_61d 2
29 val
* NEW_array__Array(const struct type
* type
);
30 extern const struct type type_array__Arraykernel__Object
;
31 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
32 extern const struct type type_array__NativeArraykernel__Object
;
33 #define COLOR_array__Array__with_native 65
34 #define COLOR_string__Object__to_s 7
35 val
* NEW_model__MClass(const struct type
* type
);
36 extern const struct type type_model__MClass
;
37 void model__MClass__init(val
* self
, val
* p0
, val
* p1
, long p2
, val
* p3
, val
* p4
);
38 #define COLOR_modelize_class__AModule___mclass2nclassdef 11
39 short int abstract_collection__MapRead__has_key(val
* self
, val
* p0
);
40 #define COLOR_abstract_collection__MapRead___91d_93d 29
41 val
* parser_nodes__ANode__location(val
* self
);
42 #define COLOR_location__Location___line_start 1
43 val
* BOX_kernel__Int(long);
44 #define COLOR_model__MClass___arity 3
45 #define COLOR_model__MClass___kind 4
46 #define COLOR_model__MClass___visibility 5
47 #define COLOR_modelize_class__AClassdef___mclass 5
48 #define COLOR_abstract_collection__Map___91d_93d_61d 39
49 extern const struct type type_array__Arrayparser_nodes__AClassdef
;
50 void array__Array__with_capacity(val
* self
, long p0
);
51 void array__AbstractArray__push(val
* self
, val
* p0
);
52 #define COLOR_modelize_class__AClassdef___all_defs 7
53 void array__Array__add(val
* self
, val
* p0
);
54 void modelize_class__ModelBuilder__build_a_mclass(val
* self
, val
* p0
, val
* p1
);
55 #define COLOR_modelize_class__AClassdef___mclassdef 6
56 extern const struct type type_array__Arraystring__String
;
57 void array__Array__init(val
* self
);
58 extern const struct type type_array__Arraymodel__MType
;
59 extern const struct type type_kernel__Int
;
60 val
* NEW_range__Range(const struct type
* type
);
61 extern const struct type type_range__Rangekernel__Int
;
62 void range__Range__without_last(val
* self
, val
* p0
, val
* p1
);
63 val
* range__Range__iterator(val
* self
);
64 #define COLOR_abstract_collection__Iterator__is_ok 31
65 #define COLOR_abstract_collection__Iterator__item 29
66 val
* parser_nodes__ANodes___91d_93d(val
* self
, long p0
);
67 val
* parser_nodes__AFormaldef__n_id(val
* self
);
68 short int array__AbstractArrayRead__has(val
* self
, val
* p0
);
69 #define COLOR_string__FlatString___chars 6
70 #define COLOR_abstract_collection__Collection__iterator 29
71 extern const struct type type_kernel__Char
;
72 void modelbuilder__ModelBuilder__warning(val
* self
, val
* p0
, val
* p1
);
73 #define COLOR_abstract_collection__Iterator__next 30
74 #define COLOR_model__MClass___mclass_type 7
75 #define COLOR_model__MClassType___arguments 4
76 val
* array__Array___91d_93d(val
* self
, long p0
);
77 extern const struct type type_model__MParameterType
;
78 #define COLOR_modelize_class__AFormaldef___mtype 6
79 val
* parser_nodes__AFormaldef__n_type(val
* self
);
80 val
* modelize_class__ModelBuilder__resolve_mtype_unchecked(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
);
81 #define COLOR_model__MType__need_anchor 36
82 #define COLOR_modelize_class__AFormaldef___bound 7
83 extern const struct type type_model__MClassType
;
84 #define COLOR_model__MClassType___mclass 3
85 val
* model__Object__enum_kind(val
* self
);
86 #define COLOR_model__MClass___mclassdefs 6
87 short int array__AbstractArrayRead__is_empty(val
* self
);
88 val
* model__MType__as_nullable(val
* self
);
89 val
* model__MClass__intro(val
* self
);
90 #define COLOR_model__MClassDef___bound_mtype 3
91 val
* model__MClass__get_mtype(val
* self
, val
* p0
);
92 val
* NEW_model__MClassDef(const struct type
* type
);
93 extern const struct type type_model__MClassDef
;
94 void model__MClassDef__init(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
95 #define COLOR_modelize_class__ModelBuilder___mclassdef2nclassdef 8
96 void hash_collection__HashMap___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
97 val
* parser_nodes__AStdClassdef__n_doc(val
* self
);
98 val
* modelbuilder__ADoc__to_mdoc(val
* self
);
99 #define COLOR_mdoc__MEntity___mdoc 0
100 #define COLOR_mdoc__MDoc___original_mentity 1
101 short int model__MClassDef__is_intro(val
* self
);
102 #define COLOR_modelbuilder__ModelBuilder___toolcontext 1
103 val
* model__MClass__full_name(val
* self
);
104 void toolcontext__ToolContext__info(val
* self
, val
* p0
, long p1
);
105 void modelize_class__ModelBuilder__build_a_mclassdef(val
* self
, val
* p0
, val
* p1
);
106 extern const struct type type_array__Arraymodel__MClassType
;
107 #define COLOR_parser_nodes__AStdClassdef___n_superclasses 18
108 val
* parser_nodes__ANodes__iterator(val
* self
);
109 val
* parser_nodes__ASuperclass__n_type(val
* self
);
110 short int model__MClassKind__can_specialize(val
* self
, val
* p0
);
111 val
* model__Object__extern_kind(val
* self
);
112 #define COLOR_model__MClass___name 2
113 void model__MClassDef__set_supertypes(val
* self
, val
* p0
);
114 val
* string__Collection__join(val
* self
, val
* p0
);
115 void modelize_class__ModelBuilder__collect_a_mclassdef_inheritance(val
* self
, val
* p0
, val
* p1
);
116 #define COLOR_model__MClassDef___supertypes 7
117 val
* array__AbstractArrayRead__iterator(val
* self
);
118 short int array__ArrayIterator__is_ok(val
* self
);
119 val
* array__ArrayIterator__item(val
* self
);
120 short int model__MType__is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
121 void array__ArrayIterator__next(val
* self
);
122 void modelize_class__ModelBuilder__check_supertypes(val
* self
, val
* p0
, val
* p1
);
123 #define COLOR_toolcontext__ToolContext___error_count 0
124 #define COLOR_modelize_class__AModule___build_classes_is_done 10
125 #define COLOR_mmodule__MModule___in_importation 7
126 val
* poset__POSetElement__direct_greaters(val
* self
);
127 #define COLOR_modelbuilder__ModelBuilder___mmodule2nmodule 7
128 val
* hash_collection__HashMap___91d_93d(val
* self
, val
* p0
);
129 #define COLOR_parser_nodes__AModule___n_classdefs 7
130 #define COLOR_model__MModule___mclassdefs 13
131 void model__MClassDef__add_in_hierarchy(val
* self
);
132 #define COLOR_modelize_class__AType___mtype 7
133 val
* modelize_class__ModelBuilder__resolve_mtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
134 val
* NEW_hash_collection__HashMap(const struct type
* type
);
135 extern const struct type type_hash_collection__HashMapmodel__MClassmodel__MClassType
;
136 void hash_collection__HashMap__init(val
* self
);
137 #define COLOR_model__MClassDef___in_hierarchy 8
138 val
* poset__POSetElement__greaters(val
* self
);
139 #define COLOR_model__MClassDef___mclass 2
140 #define COLOR_model__MType__resolve_for 38
141 extern const struct type type_array__Arraymodel__MClass
;
142 val
* NEW_array__ArrayMap(const struct type
* type
);
143 extern const struct type type_array__ArrayMapmodel__MClassparser_nodes__AType
;
144 void array__ArrayMap__init(val
* self
);
145 #define COLOR_location__Location___file 0
146 #define COLOR_location__SourceFile___filename 0
147 short int string__Text__is_empty(val
* self
);
148 void array__ArrayMap___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
149 val
* parser_nodes__AType__n_id(val
* self
);
150 val
* modelbuilder__ModelBuilder__try_get_mproperty_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
151 extern const struct type type_nullable_model__MVirtualTypeProp
;
152 #define COLOR_parser_nodes__AType___n_types 6
153 short int parser_nodes__ANodes__is_empty(val
* self
);
154 #define COLOR_model__MVirtualTypeProp___mvirtualtype 8
155 val
* parser_nodes__AType__n_kwnullable(val
* self
);
156 #define COLOR_model__MClassDef___parameter_names 4
157 long array__AbstractArrayRead__length(val
* self
);
158 short int string__FlatString___61d_61d(val
* self
, val
* p0
);
159 #define COLOR_model__MType__as_nullable 40
160 #define COLOR_modelize_class__AType___checked_mtype 8
161 extern const struct type type_model__MGenericType
;
162 val
* modelize_class__AConcreteClasskind__mkind(val
* self
);
163 val
* model__Object__abstract_kind(val
* self
);
164 val
* modelize_class__AAbstractClasskind__mkind(val
* self
);
165 val
* modelize_class__AInterfaceClasskind__mkind(val
* self
);
166 val
* modelize_class__AEnumClasskind__mkind(val
* self
);
167 val
* modelize_class__AExternClasskind__mkind(val
* self
);