1 #include "nit.common.h"
2 #define COLOR_nit__modelbuilder_base__ToolContext___modelbuilder_real 6
3 extern const char FILE_nit__modelbuilder_base
[];
4 #define COLOR_nit__modelbuilder_base__ModelBuilder___model 9
5 #define COLOR_nit__modelbuilder_base__ModelBuilder___toolcontext 10
6 val
* nit__model___Model___get_mclasses_by_name(val
* self
, val
* p0
);
7 short int standard___standard__Array___standard__kernel__Object___61d_61d(val
* self
, val
* p0
);
8 val
* standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__iterator(val
* self
);
9 short int standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
10 val
* standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__item(val
* self
);
11 #define COLOR_nit__mmodule__MModule___in_importation 33
12 extern const char FILE_nit__mmodule
[];
13 #define COLOR_nit__model__MClass___intro_mmodule 5
14 extern const char FILE_nit__model
[];
15 short int poset___poset__POSetElement____60d_61d(val
* self
, val
* p0
);
16 #define COLOR_nit__model__MClass___visibility 14
17 short int nit___nit__MModule___is_visible(val
* self
, val
* p0
, val
* p1
);
18 val
* NEW_standard__NativeArray(int length
, const struct type
* type
);
19 extern const struct type type_standard__NativeArray__standard__String
;
20 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
21 val
* nit___nit__MClass___nit__model_base__MEntity__full_name(val
* self
);
22 #define COLOR_standard__string__NativeArray__native_to_s 16
23 void nit___nit__ModelBuilder___error(val
* self
, val
* p0
, val
* p1
);
24 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__next(val
* self
);
25 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__finish(val
* self
);
26 val
* nit___nit__ModelBuilder___try_get_mclass_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
27 val
* nit__model___Model___get_mproperties_by_name(val
* self
, val
* p0
);
28 #define COLOR_nit__modelbuilder_base__ModelBuilder___try_get_mproperty_by_name2_cache 11
29 val
* more_collections___more_collections__HashMap3____91d_93d(val
* self
, val
* p0
, val
* p1
, val
* p2
);
30 #define COLOR_standard__kernel__Object___61d_61d 4
31 short int nit___nit__MType___has_mproperty(val
* self
, val
* p0
, val
* p1
);
32 #define COLOR_nit__model__MProperty___intro_mclassdef 4
33 #define COLOR_nit__model__MClassDef___mmodule 5
34 #define COLOR_nit__model__MProperty___visibility 10
35 extern const struct type type_nit__MMethod
;
36 #define COLOR_nit__model__MMethod___is_new 19
37 extern const struct type type_nit__MClassType
;
38 #define COLOR_nit__model__MClassDef___mclass 6
39 #define COLOR_nit__model__MClassType___mclass 6
40 #define COLOR_nit__model__MMethod___is_init 17
41 #define COLOR_nit__model__MClassDef___bound_mtype 7
42 short int nit___nit__MType___is_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
43 val
* NEW_standard__Array(const struct type
* type
);
44 extern const struct type type_standard__Array__nit__MProperty
;
45 void standard___standard__Array___standard__kernel__Object__init(val
* self
);
46 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
47 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__is_empty(val
* self
);
48 #define COLOR_standard__array__AbstractArrayRead___length 0
49 extern const struct type type_standard__Int
;
50 extern const char FILE_standard__kernel
[];
51 extern const struct type type_standard__Array__standard__String
;
52 val
* nit___nit__MProperty___nit__model_base__MEntity__full_name(val
* self
);
53 #define COLOR_standard__string__Object__to_s 3
54 val
* standard__string___Collection___join(val
* self
, val
* p0
);
55 void more_collections___more_collections__HashMap3____91d_93d_61d(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
56 val
* nit___nit__ModelBuilder___try_get_mproperty_by_name2(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
57 #define COLOR_nit__parser_nodes__ANode__hot_location 18
58 val
* nit___nit__ToolContext___error(val
* self
, val
* p0
, val
* p1
);
59 val
* nit___nit__ToolContext___warning(val
* self
, val
* p0
, val
* p1
, val
* p2
);
60 val
* nit___nit__ToolContext___advice(val
* self
, val
* p0
, val
* p1
, val
* p2
);
61 val
* nit__model___MModule___try_get_primitive_method(val
* self
, val
* p0
, val
* p1
);
62 void nit___nit__ToolContext___fatal_error(val
* self
, val
* p0
, val
* p1
);
63 #define COLOR_nit__parser_nodes__AType___n_id 7
64 extern const char FILE_nit__parser_nodes
[];
65 val
* nit__lexer_work___Token___text(val
* self
);
66 val
* nit___nit__ModelBuilder___try_get_mproperty_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
67 extern const struct type type_nullable__nit__MVirtualTypeProp
;
68 #define COLOR_nit__parser_nodes__AType___n_types 9
69 short int nit___nit__ANodes___standard__abstract_collection__Collection__is_empty(val
* self
);
70 #define COLOR_nit__model__MVirtualTypeProp___mvirtualtype 16
71 #define COLOR_nit__parser_nodes__AType___n_kwnullable 6
72 val
* nit___nit__MType___as_nullable(val
* self
);
73 #define COLOR_nit__modelbuilder_base__AType___mtype 4
74 #define COLOR_nit__model__MClass___mparameters 12
75 #define COLOR_nit__model__MParameterType___name 10
76 long nit___nit__ANodes___standard__abstract_collection__Collection__length(val
* self
);
77 #define COLOR_nit__model__MClass___arity 11
78 val
* nit___nit__MClass___signature_to_s(val
* self
);
79 val
* standard__string___Int___Object__to_s(long self
);
80 #define COLOR_nit__model__MClass___mclass_type 17
81 extern const struct type type_standard__Array__nit__MType
;
82 val
* nit___nit__ANodes___standard__abstract_collection__Collection__iterator(val
* self
);
83 #define COLOR_standard__abstract_collection__Iterator__is_ok 16
84 #define COLOR_standard__abstract_collection__Iterator__item 17
85 val
* nit___nit__ModelBuilder___resolve_mtype_unchecked(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
);
86 #define COLOR_standard__abstract_collection__Iterator__next 18
87 #define COLOR_standard__abstract_collection__Iterator__finish 19
88 val
* nit___nit__MClass___get_mtype(val
* self
, val
* p0
);
89 #define COLOR_nit__modelbuilder_base__AType___checked_mtype 5
90 extern const struct type type_nit__MGenericType
;
91 val
* nit___nit__MClass___try_intro(val
* self
);
92 #define COLOR_nit__model__MClassType__arguments 54
93 val
* standard___standard__Array___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
94 val
* nit___nit__ANodes___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
95 val
* nit___nit__ModelBuilder___resolve_mtype(val
* self
, val
* p0
, val
* p1
, val
* p2
);
96 short int nit___nit__ModelBuilder___check_subtype(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
);
97 long standard___standard__Int___Discrete__successor(long self
, long p0
);
98 val
* nit__model_base___standard__Sys___intrude_visibility(val
* self
);
99 val
* nit__model_base___standard__Sys___public_visibility(val
* self
);
100 val
* nit__model_base___standard__Sys___protected_visibility(val
* self
);
101 val
* nit__model_base___standard__Sys___private_visibility(val
* self
);
102 #define COLOR_nit__modelbuilder_base__ADoc___mdoc_cache 4
103 val
* NEW_nit__MDoc(const struct type
* type
);
104 extern const struct type type_nit__MDoc
;
105 #define COLOR_nit__parser_nodes__ANode___location 0
106 #define COLOR_nit__mdoc__MDoc__location_61d 17
107 #define COLOR_standard__kernel__Object__init 0
108 #define COLOR_nit__parser_nodes__ADoc___n_comment 5
109 #define COLOR_standard__string__Text__length 26
110 #define COLOR_nit__mdoc__MDoc___content 0
111 extern const char FILE_nit__mdoc
[];
112 #define COLOR_standard__string__Text__chars 27
113 #define COLOR_standard__abstract_collection__SequenceRead___91d_93d 31
114 val
* standard___standard__Text___substring_from(val
* self
, long p0
);
115 #define COLOR_standard__abstract_collection__SequenceRead__last 35
116 #define COLOR_standard__string__Text__substring 28