1 #include "nit.common.h"
2 #define COLOR_nitc__modelbuilder_base__ToolContext___modelbuilder_real 6
3 extern const char FILE_nitc__modelbuilder_base
[];
4 #define COLOR_nitc__modelbuilder_base__ModelBuilder___model 12
5 #define COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext 13
6 #define COLOR_nitc___nitc__ModelBuilder___core__kernel__Object__init 87
7 val
* nitc__model___Model___get_mclasses_by_name(val
* self
, val
* p0
);
8 short int core___core__Array___core__kernel__Object___61d_61d(val
* self
, val
* p0
);
9 val
* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val
* self
);
10 #define COLOR_core__abstract_collection__Iterator__is_ok 12
11 #define COLOR_core__abstract_collection__Iterator__item 13
12 #define COLOR_nitc__mmodule__MModule___in_importation 45
13 extern const char FILE_nitc__mmodule
[];
14 #define COLOR_nitc__model__MClass___intro_mmodule 7
15 extern const char FILE_nitc__model
[];
16 short int poset___poset__POSetElement____60d_61d(val
* self
, val
* p0
);
17 #define COLOR_nitc__model__MClass___visibility 17
18 short int nitc___nitc__MModule___is_visible(val
* self
, val
* p0
, val
* p1
);
19 val
* NEW_core__NativeArray(int length
, const struct type
* type
);
20 extern const struct type type_core__NativeArray__core__String
;
21 val
* core__flat___CString___to_s_unsafe(char* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
22 val
* nitc___nitc__MClass___nitc__model_base__MEntity__full_name(val
* self
);
23 #define COLOR_core__abstract_text__NativeArray__native_to_s 12
24 void nitc___nitc__ModelBuilder___error(val
* self
, val
* p0
, val
* p1
);
25 #define COLOR_core__abstract_collection__Iterator__next 14
26 #define COLOR_core__abstract_collection__Iterator__finish 15
27 #define COLOR_nitc__parser_nodes__AQclassid___n_id 4
28 extern const char FILE_nitc__parser_nodes
[];
29 val
* nitc__lexer_work___Token___text(val
* self
);
30 short int nitc__modelbuilder_base___AQclassid___accept(val
* self
, val
* p0
);
31 val
* nitc___nitc__ModelBuilder___try_get_mclass_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
32 val
* nitc__model___Model___get_mproperties_by_name(val
* self
, val
* p0
);
33 #define COLOR_nitc__modelbuilder_base__ModelBuilder___try_get_mproperty_by_name2_cache 14
34 val
* more_collections___more_collections__HashMap3____91d_93d(val
* self
, val
* p0
, val
* p1
, val
* p2
);
35 #define COLOR_core__kernel__Object___61d_61d 4
36 short int nitc___nitc__MType___has_mproperty(val
* self
, val
* p0
, val
* p1
);
37 #define COLOR_nitc__model__MProperty___intro_mclassdef 6
38 #define COLOR_nitc__model__MClassDef___mmodule 7
39 #define COLOR_nitc__model__MProperty___visibility 13
40 extern const struct type type_nitc__MMethod
;
41 #define COLOR_nitc__model__MMethod___is_new 22
42 extern const struct type type_nitc__MClassType
;
43 #define COLOR_nitc__model__MClassDef___mclass 8
44 #define COLOR_nitc__model__MClassType___mclass 9
45 #define COLOR_nitc__model__MMethod___is_init 20
46 #define COLOR_nitc__model__MClassDef___bound_mtype 9
47 short int nitc___nitc__MType___is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
48 val
* NEW_core__Array(const struct type
* type
);
49 extern const struct type type_core__Array__nitc__MProperty
;
50 void core___core__Array___core__kernel__Object__init(val
* self
);
51 void core___core__Array___core__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
52 short int core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(val
* self
);
53 #define COLOR_core__array__AbstractArrayRead___length 0
54 extern const struct type type_core__Int
;
55 extern const char FILE_core__kernel
[];
56 extern const struct type type_core__Array__core__String
;
57 val
* nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(val
* self
);
58 #define COLOR_core__abstract_text__Object__to_s 3
59 val
* core__abstract_text___Collection___join(val
* self
, val
* p0
, val
* p1
);
60 void more_collections___more_collections__HashMap3____91d_93d_61d(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
61 val
* nitc___nitc__ModelBuilder___try_get_mproperty_by_name2(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
62 #define COLOR_nitc__parser_nodes__ANode__hot_location 16
63 #define COLOR_nitc__modelbuilder_base__ANode___is_broken 0
64 val
* nitc___nitc__ToolContext___error(val
* self
, val
* p0
, val
* p1
);
65 val
* nitc___nitc__ToolContext___warning(val
* self
, val
* p0
, val
* p1
, val
* p2
);
66 val
* nitc___nitc__ToolContext___advice(val
* self
, val
* p0
, val
* p1
, val
* p2
);
67 val
* nitc__model___MModule___try_get_primitive_method(val
* self
, val
* p0
, val
* p1
);
68 void nitc___nitc__ToolContext___fatal_error(val
* self
, val
* p0
, val
* p1
);
69 #define COLOR_nitc__parser_nodes__AType___n_qid 6
70 val
* nitc___nitc__ModelBuilder___try_get_mproperty_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
71 extern const struct type type_nullable__nitc__MVirtualTypeProp
;
72 #define COLOR_nitc__parser_nodes__AType___n_types 8
73 short int nitc___nitc__ANodes___core__abstract_collection__Collection__is_empty(val
* self
);
74 #define COLOR_nitc__model__MVirtualTypeProp___mvirtualtype 19
75 #define COLOR_nitc__parser_nodes__AType___n_kwnullable 5
76 val
* nitc___nitc__MType___as_nullable(val
* self
);
77 #define COLOR_nitc__modelbuilder_base__AType___mtype 3
78 #define COLOR_nitc__model__MClass___mparameters 15
79 #define COLOR_nitc__model__MParameterType___name 13
80 val
* nitc___nitc__ModelBuilder___try_get_mclass_by_qid(val
* self
, val
* p0
, val
* p1
);
81 long nitc___nitc__ANodes___core__abstract_collection__Collection__length(val
* self
);
82 #define COLOR_nitc__model__MClass___arity 14
83 val
* nitc___nitc__MClass___signature_to_s(val
* self
);
84 val
* core__flat___Int___core__abstract_text__Object__to_s(long self
);
85 #define COLOR_nitc__model__MClass___mclass_type 20
86 extern const struct type type_core__Array__nitc__MType
;
87 val
* nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(val
* self
);
88 val
* nitc___nitc__ModelBuilder___resolve_mtype_unchecked(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
);
89 val
* nitc___nitc__MClass___get_mtype(val
* self
, val
* p0
);
90 void nitc___nitc__ModelBuilder___class_not_found(val
* self
, val
* p0
, val
* p1
);
91 val
* nitc__modelbuilder_base___AQclassid___full_name(val
* self
);
92 #define COLOR_nitc__modelbuilder_base__ModelBuilder___bad_class_names 15
93 val
* core___core__HashMap___core__abstract_collection__MapRead___91d_93d(val
* self
, val
* p0
);
94 short int core___core__AbstractArrayRead___core__abstract_collection__Collection__has(val
* self
, val
* p0
);
95 void core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(val
* self
);
96 val
* nitc__model_base___core__Sys___private_visibility(val
* self
);
97 short int core___core__Comparable____60d_61d(val
* self
, val
* p0
);
98 val
* nitc___nitc__MModule___nitc__model_base__MEntity__full_name(val
* self
);
99 short int core___core__Collection___not_empty(val
* self
);
100 val
* NEW_more_collections__BestDistance(const struct type
* type
);
101 extern const struct type type_more_collections__BestDistance__nitc__MClass
;
102 #define COLOR_core__abstract_text__Text__length 25
103 #define COLOR_more_collections__BestDistance__best_distance_61d 12
104 #define COLOR_core__kernel__Object__init 0
105 #define COLOR_nitc__model__Model___mclasses 6
106 #define COLOR_nitc__model__MClass___name 8
107 long core___core__Text___levenshtein_distance(val
* self
, val
* p0
);
108 short int more_collections___more_collections__BestDistance___update(val
* self
, long p0
, val
* p1
);
109 #define COLOR_more_collections__BestDistance___best_items 1
110 extern const char FILE_more_collections
[];
111 #define COLOR_core__abstract_collection__Collection__iterator 24
112 #define COLOR_nitc__modelbuilder_base__AType___checked_mtype 4
113 extern const struct type type_nitc__MGenericType
;
114 val
* nitc___nitc__MClass___try_intro(val
* self
);
115 #define COLOR_nitc__model__MClassType__arguments 61
116 val
* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
117 val
* nitc___nitc__ANodes___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
118 val
* nitc___nitc__ModelBuilder___resolve_mtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
119 short int nitc___nitc__ModelBuilder___check_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
);
120 long core___core__Int___Discrete__successor(long self
, long p0
);
121 val
* nitc__model_base___core__Sys___intrude_visibility(val
* self
);
122 val
* nitc__model_base___core__Sys___public_visibility(val
* self
);
123 val
* nitc__model_base___core__Sys___protected_visibility(val
* self
);
124 #define COLOR_nitc__modelbuilder_base__ADoc___mdoc_cache 3
125 val
* NEW_nitc__MDoc(const struct type
* type
);
126 extern const struct type type_nitc__MDoc
;
127 #define COLOR_nitc__parser_nodes__ANode___location 1
128 #define COLOR_nitc__mdoc__MDoc__location_61d 13
129 #define COLOR_nitc__parser_nodes__ADoc___n_comment 4
130 #define COLOR_nitc__mdoc__MDoc___content 0
131 extern const char FILE_nitc__mdoc
[];
132 #define COLOR_core__abstract_text__Text__chars 27
133 #define COLOR_core__abstract_collection__SequenceRead___91d_93d 34
134 #define COLOR_core__abstract_text__Text__substring_from 34
135 #define COLOR_core__abstract_collection__SequenceRead__last 38
136 #define COLOR_core__abstract_text__Text__substring 28
137 #define COLOR_nitc__parser_nodes__AQclassid___n_qualified 3
138 #define COLOR_nitc__parser_nodes__AQualified___n_id 4
139 val
* nitc__modelbuilder_base___AQclassid___mpackname(val
* self
);
140 val
* nitc___nitc__MModule___mpackage(val
* self
);
141 #define COLOR_nitc__mpackage__MPackage___name 9
142 extern const char FILE_nitc__mpackage
[];
143 val
* nitc__modelbuilder_base___AQclassid___mmodname(val
* self
);
144 #define COLOR_nitc__mmodule__MModule___name 43
145 #define COLOR_nitc__parser_nodes__AQualified___n_classid 5
146 #define COLOR_core__abstract_text__Text___43d 39
147 val
* nitc___nitc__ANodes___core__abstract_collection__SequenceRead__reverse_iterator(val
* self
);
148 val
* core___core__Iterator___iterator(val
* self
);