1 #include "nit.common.h"
2 #define COLOR_nit__loader__ToolContext___opt_path 38
3 extern const char FILE_nit__loader
[];
4 #define COLOR_nit__loader__ToolContext___opt_only_metamodel 39
5 #define COLOR_nit__loader__ToolContext___opt_only_parse 40
6 #define COLOR_nit__loader___ToolContext___standard__kernel__Object__init 156
7 #define COLOR_nit__toolcontext__ToolContext___option_context 7
8 extern const char FILE_nit__toolcontext
[];
9 val
* NEW_standard__Array(const struct type
* type
);
10 extern const struct type type_standard__Array__opts__Option
;
11 val
* NEW_standard__NativeArray(int length
, const struct type
* type
);
12 extern const struct type type_standard__NativeArray__opts__Option
;
13 #define COLOR_standard__array__Array__with_native 73
14 void opts___opts__OptionContext___add_option(val
* self
, val
* p0
);
15 #define COLOR_nit__loader___ModelBuilder___standard__kernel__Object__init 91
16 #define COLOR_nit__loader__ModelBuilder___paths 3
17 #define COLOR_nit__modelbuilder_base__ModelBuilder___toolcontext 1
18 extern const char FILE_nit__modelbuilder_base
[];
19 #define COLOR_opts__Option___value 6
20 void standard___standard__Sequence___append(val
* self
, val
* p0
);
21 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
22 val
* standard__environ___String___environ(val
* self
);
23 short int standard___standard__Text___is_empty(val
* self
);
24 val
* BOX_standard__Char(char);
25 val
* standard__string_search___Text___split_with(val
* self
, val
* p0
);
26 #define COLOR_nit__toolcontext__ToolContext___nit_dir 25
27 extern const struct type type_standard__Array__standard__Object
;
28 extern const struct type type_standard__NativeArray__standard__Object
;
29 #define COLOR_standard__string__Object__to_s 9
30 short int standard__file___String___file_exists(val
* self
);
31 void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
33 void nit___nit__ToolContext___info(val
* self
, val
* p0
, long p1
);
34 val
* NEW_standard__ArraySet(const struct type
* type
);
35 extern const struct type type_standard__ArraySet__nit__MModule
;
36 void standard___standard__ArraySet___standard__kernel__Object__init(val
* self
);
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 val
* nit__loader___ModelBuilder___load_module(val
* self
, val
* p0
);
41 void nit__loader___ModelBuilder___build_module_importation(val
* self
, val
* p0
);
42 #define COLOR_nit__loader__AModule___mmodule 8
43 void standard___standard__ArraySet___standard__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
44 #define COLOR_standard__abstract_collection__Iterator__next 33
45 extern const struct type type_standard__Int
;
46 extern const char FILE_standard__kernel
[];
47 val
* BOX_standard__Int(long);
48 short int nit___nit__ToolContext___check_errors(val
* self
);
49 val
* standard__array___Collection___to_a(val
* self
);
50 #define COLOR_standard__kernel__Object___61d_61d 2
51 #define COLOR_nit__mproject__MGroup___filepath 8
52 short int standard___standard__Text___has_suffix(val
* self
, val
* p0
);
53 #define COLOR_standard__string__String___43d 82
54 val
* standard__file___String___simplify_path(val
* self
);
55 val
* nit__loader___ModelBuilder___identify_file(val
* self
, val
* p0
);
56 #define COLOR_nit__mproject__MGroup___parent 6
57 #define COLOR_nit__mproject__MGroup___mproject 5
58 extern const char FILE_nit__mproject
[];
59 #define COLOR_nit__mproject__MProject___root 8
60 val
* standard__file___String___join_path(val
* self
, val
* p0
);
61 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__has(val
* self
, val
* p0
);
62 #define COLOR_nit__parser_nodes__ANode__hot_location 34
63 val
* nit__loader___ModelBuilder___search_module_in_paths(val
* self
, val
* p0
, val
* p1
, val
* p2
);
64 #define COLOR_nit__mproject__MGroup___name 4
65 val
* standard__string___Collection___join(val
* self
, val
* p0
);
66 void nit___nit__ModelBuilder___error(val
* self
, val
* p0
, val
* p1
);
67 val
* nit__loader___ModelBuilder___search_mmodule_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
68 #define COLOR_nit__loader__ModulePath___filepath 1
69 val
* nit__loader___ModelBuilder___module_absolute_path(val
* self
, val
* p0
);
70 void nit___nit__ToolContext___error(val
* self
, val
* p0
, val
* p1
);
71 #define COLOR_nit__loader__ModelBuilder___identified_files_by_path 4
72 #define COLOR_nit__loader__ModelBuilder___identified_files 5
73 val
* standard__file___String___file_extension(val
* self
);
74 val
* standard__file___String___dirname(val
* self
);
75 val
* nit__loader___ModelBuilder___get_mgroup(val
* self
, val
* p0
);
76 val
* standard__file___String___basename(val
* self
, val
* p0
);
77 short int standard___standard__MapRead___has_key(val
* self
, val
* p0
);
78 val
* standard___standard__HashMap___standard__abstract_collection__MapRead___91d_93d(val
* self
, val
* p0
);
79 val
* NEW_nit__MProject(const struct type
* type
);
80 extern const struct type type_nit__MProject
;
81 #define COLOR_nit__modelbuilder_base__ModelBuilder___model 0
82 #define COLOR_nit__mproject__MProject__name_61d 41
83 #define COLOR_nit__mproject__MProject__model_61d 42
84 #define COLOR_standard__kernel__Object__init 7
85 val
* NEW_nit__MGroup(const struct type
* type
);
86 extern const struct type type_nit__MGroup
;
87 #define COLOR_nit__mproject__MGroup__name_61d 41
88 #define COLOR_nit__mproject__MGroup__mproject_61d 43
89 #define COLOR_nit__mproject__MGroup__parent_61d 45
90 val
* NEW_nit__ModulePath(const struct type
* type
);
91 extern const struct type type_nit__ModulePath
;
92 #define COLOR_nit__loader__ModulePath__name_61d 33
93 #define COLOR_nit__loader__ModulePath__filepath_61d 35
94 #define COLOR_nit__loader__ModulePath__mgroup_61d 37
95 #define COLOR_nit__loader__MGroup___module_paths 11
96 void standard___standard__HashMap___standard__abstract_collection__Map___91d_93d_61d(val
* self
, val
* p0
, val
* p1
);
97 #define COLOR_nit__loader__ModelBuilder___mgroups 6
98 val
* standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__iterator(val
* self
);
99 short int standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
100 val
* standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__item(val
* self
);
101 val
* standard__file___String____47d(val
* self
, val
* p0
);
102 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__next(val
* self
);
103 val
* nit___nit__MGroup___nit__model_base__MEntity__full_name(val
* self
);
104 val
* NEW_nit__MDoc(const struct type
* type
);
105 extern const struct type type_nit__MDoc
;
106 val
* NEW_standard__IFStream(const struct type
* type
);
107 extern const struct type type_standard__IFStream
;
108 void standard___standard__IFStream___open(val
* self
, val
* p0
);
109 short int standard___standard__BufferedIStream___IStream__eof(val
* self
);
110 #define COLOR_nit__mdoc__MDoc___content 0
111 extern const char FILE_nit__mdoc
[];
112 val
* standard___standard__IStream___read_line(val
* self
);
113 #define COLOR_nit__mdoc__MEntity___mdoc 0
114 #define COLOR_nit__mdoc__MDoc___original_mentity 1
115 val
* standard__file___Object___getcwd(val
* self
);
116 val
* NEW_nit__Lexer(const struct type
* type
);
117 extern const struct type type_nit__Lexer
;
118 val
* NEW_nit__SourceFile(const struct type
* type
);
119 extern const struct type type_nit__SourceFile
;
120 #define COLOR_nit__location__SourceFile__filename_61d 33
121 #define COLOR_nit__location__SourceFile__stream_61d 37
122 #define COLOR_nit__lexer_work__Lexer__file_61d 37
123 val
* NEW_nit__Parser(const struct type
* type
);
124 extern const struct type type_nit__Parser
;
125 #define COLOR_nit__parser_work__Parser__lexer_61d 36
126 val
* nit___nit__Parser___parse(val
* self
);
127 void standard___standard__IFStream___standard__stream__IOS__close(val
* self
);
128 #define COLOR_nit__parser_nodes__Start___n_base 4
129 #define COLOR_nit__parser_nodes__Start___n_eof 5
130 extern const char FILE_nit__parser_nodes
[];
131 extern const struct type type_nit__AError
;
132 #define COLOR_nit__lexer_work__AError___message 5
133 extern const char FILE_nit__lexer_work
[];
134 #define COLOR_nit__loader__ModulePath___mmodule 3
135 #define COLOR_nit__loader__ModelBuilder___mmodule2nmodule 8
136 val
* nit__loader___ModelBuilder___load_module_ast(val
* self
, val
* p0
);
137 #define COLOR_nit__loader__ModulePath___mgroup 2
138 #define COLOR_nit__loader__ModulePath___name 0
139 val
* nit__loader___ModelBuilder___build_a_mmodule(val
* self
, val
* p0
, val
* p1
, val
* p2
);
140 #define COLOR_nit__parser_nodes__AModule___n_moduledecl 4
141 #define COLOR_nit__parser_nodes__AModuledecl___n_name 14
142 #define COLOR_nit__parser_nodes__AModuleName___n_id 6
143 val
* nit__lexer_work___Token___text(val
* self
);
144 val
* nit__mmodule___Model___get_mmodules_by_name(val
* self
, val
* p0
);
145 #define COLOR_nit__mmodule__MModule___mgroup 5
146 val
* nit___nit__MModule___nit__model_base__MEntity__full_name(val
* self
);
147 #define COLOR_nit__mmodule__MModule___location 7
148 extern const char FILE_nit__mmodule
[];
149 val
* NEW_nit__MModule(const struct type
* type
);
150 extern const struct type type_nit__MModule
;
151 #define COLOR_nit__parser_nodes__ANode___location 0
152 #define COLOR_nit__mmodule__MModule__model_61d 41
153 #define COLOR_nit__mmodule__MModule__mgroup_61d 43
154 #define COLOR_nit__mmodule__MModule__name_61d 45
155 #define COLOR_nit__mmodule__MModule__location_61d 47
156 #define COLOR_nit__loader__ModelBuilder___nmodules 7
157 #define COLOR_nit__location__Location___file 0
158 #define COLOR_nit__loader__SourceFile___mmodule 6
159 #define COLOR_nit__parser_nodes__ADefinition___n_doc 10
160 val
* nit__modelbuilder_base___ADoc___to_mdoc(val
* self
);
161 void nit___nit__ModelBuilder___advice(val
* self
, val
* p0
, val
* p1
, val
* p2
);
162 val
* nit___nit__Prod___get_annotations(val
* self
, val
* p0
);
163 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__is_empty(val
* self
);
164 #define COLOR_nit__mmodule__MModule___is_test_suite 17
165 #define COLOR_nit__loader__AModule___is_importation_done 9
166 extern const struct type type_standard__Array__nit__MModule
;
167 void standard___standard__Array___standard__kernel__Object__init(val
* self
);
168 #define COLOR_nit__parser_nodes__AModule___n_imports 5
169 val
* nit___nit__ANodes___standard__abstract_collection__Collection__iterator(val
* self
);
170 extern const struct type type_nit__AStdImport
;
171 #define COLOR_nit__parser_nodes__AStdImport___n_name 6
172 #define COLOR_nit__parser_nodes__AModuleName___n_quad 4
173 #define COLOR_nit__parser_nodes__AModuleName___n_path 5
174 val
* nit__loader___ModelBuilder___get_mmodule_by_name(val
* self
, val
* p0
, val
* p1
, val
* p2
);
175 #define COLOR_nit__loader__AStdImport___mmodule 7
176 #define COLOR_nit__parser_nodes__AImport___n_visibility 4
177 #define COLOR_nit__modelbuilder_base__AVisibility__mvisibility 56
178 val
* nit__model_base___standard__Object___protected_visibility(val
* self
);
179 #define COLOR_nit__mmodule__MModule___in_importation 8
180 short int poset___poset__POSetElement____60d(val
* self
, val
* p0
);
181 void nit___nit__MModule___set_visibility_for(val
* self
, val
* p0
, val
* p1
);
182 val
* nit__model_base___standard__Object___public_visibility(val
* self
);
183 void nit___nit__MModule___set_imported_mmodules(val
* self
, val
* p0
);
184 val
* poset___poset__POSetElement___greaters(val
* self
);
185 #define COLOR_nit__mmodule__MModule___name 6
186 val
* poset___poset__POSetElement___direct_greaters(val
* self
);
187 #define COLOR_standard__abstract_collection__Collection__has 40
188 val
* standard___standard__HashMap___standard__abstract_collection__MapRead__get_or_null(val
* self
, val
* p0
);
189 #define COLOR_nit___nit__ModulePath___standard__kernel__Object__init 40