cleanup some remaining nitc
[nit.git] / c_src / scope.sep.0.h
1 #include "nit.common.h"
2 extern const int COLOR_scope__ToolContext___64dscope_phase;
3 val* scope__ToolContext__scope_phase(val* self);
4 void scope__ToolContext__scope_phase_61d(val* self, val* p0);
5 extern const int COLOR_phase__Phase__toolcontext;
6 extern const int COLOR_scope__APropdef__do_scope;
7 void scope__ScopePhase__process_npropdef(val* self, val* p0);
8 extern const int COLOR_scope__Variable___64dname;
9 val* scope__Variable__name(val* self);
10 void scope__Variable__name_61d(val* self, val* p0);
11 extern const int COLOR_scope__Variable__name;
12 val* scope__Variable__to_s(val* self);
13 void scope__Variable__init(val* self, val* p0);
14 extern const int COLOR_scope__EscapeMark___64dname;
15 val* scope__EscapeMark__name(val* self);
16 void scope__EscapeMark__name_61d(val* self, val* p0);
17 extern const int COLOR_scope__EscapeMark___64dfor_loop;
18 short int scope__EscapeMark__for_loop(val* self);
19 void scope__EscapeMark__for_loop_61d(val* self, short int p0);
20 extern const int COLOR_scope__EscapeMark___64dcontinues;
21 val* scope__EscapeMark__continues(val* self);
22 void scope__EscapeMark__continues_61d(val* self, val* p0);
23 extern const int COLOR_scope__EscapeMark___64dbreaks;
24 val* scope__EscapeMark__breaks(val* self);
25 void scope__EscapeMark__breaks_61d(val* self, val* p0);
26 void scope__EscapeMark__init(val* self, val* p0, short int p1);
27 extern const int COLOR_scope__ScopeVisitor___64dtoolcontext;
28 val* scope__ScopeVisitor__toolcontext(val* self);
29 void scope__ScopeVisitor__toolcontext_61d(val* self, val* p0);
30 extern const int COLOR_scope__ScopeVisitor___64dselfvariable;
31 val* scope__ScopeVisitor__selfvariable(val* self);
32 void scope__ScopeVisitor__selfvariable_61d(val* self, val* p0);
33 extern const int COLOR_parser_nodes__Visitor__init;
34 extern const int COLOR_scope__ScopeVisitor__toolcontext_61d;
35 extern const int COLOR_scope__ScopeVisitor__scopes;
36 val* NEW_scope__Scope(const struct type* type);
37 extern const struct type type_scope__Scope;
38 extern const int COLOR_scope__Scope__init;
39 void CHECK_NEW_scope__Scope(val*);
40 extern const int COLOR_abstract_collection__SimpleCollection__add;
41 void scope__ScopeVisitor__init(val* self, val* p0);
42 extern const int COLOR_scope__ScopeVisitor___64dscopes;
43 val* scope__ScopeVisitor__scopes(val* self);
44 void scope__ScopeVisitor__scopes_61d(val* self, val* p0);
45 extern const int COLOR_scope__ScopeVisitor__search_variable;
46 val* string__NativeString__to_s_with_length(char* self, long p0);
47 val* NEW_array__Array(const struct type* type);
48 extern const struct type type_array__Arraykernel__Object;
49 val* NEW_array__NativeArray(int length, const struct type* type);
50 extern const struct type type_array__NativeArraykernel__Object;
51 extern const int COLOR_array__Array__with_native;
52 void CHECK_NEW_array__Array(val*);
53 extern const int COLOR_string__Object__to_s;
54 extern const int COLOR_scope__ScopeVisitor__error;
55 extern const int COLOR_abstract_collection__Collection__first;
56 extern const int COLOR_scope__Scope__variables;
57 extern const int COLOR_abstract_collection__Map___91d_93d_61d;
58 short int scope__ScopeVisitor__register_variable(val* self, val* p0, val* p1);
59 extern const int COLOR_abstract_collection__Collection__iterator;
60 extern const int COLOR_abstract_collection__Iterator__is_ok;
61 extern const int COLOR_abstract_collection__Iterator__item;
62 extern const int COLOR_scope__Scope__get_variable;
63 extern const int COLOR_abstract_collection__Iterator__next;
64 val* scope__ScopeVisitor__search_variable(val* self, val* p0);
65 extern const int COLOR_scope__ANode__accept_scope_visitor;
66 void scope__ScopeVisitor__visit(val* self, val* p0);
67 extern const int COLOR_scope__Scope__escapemark_61d;
68 extern const int COLOR_abstract_collection__Sequence__unshift;
69 extern const int COLOR_parser_nodes__Visitor__enter_visit;
70 extern const int COLOR_abstract_collection__Sequence__shift;
71 void scope__ScopeVisitor__enter_visit_block(val* self, val* p0, val* p1);
72 extern const int COLOR_scope__Scope__escapemark;
73 extern const int COLOR_scope__EscapeMark__name;
74 extern const int COLOR_kernel__Object___61d_61d;
75 val* scope__ScopeVisitor__search_label(val* self, val* p0);
76 extern const int COLOR_parser_nodes__ALabel__n_id;
77 extern const int COLOR_parser_nodes__Token__text;
78 extern const int COLOR_scope__ScopeVisitor__search_label;
79 val* NEW_scope__EscapeMark(const struct type* type);
80 extern const struct type type_scope__EscapeMark;
81 extern const int COLOR_scope__EscapeMark__init;
82 void CHECK_NEW_scope__EscapeMark(val*);
83 val* scope__ScopeVisitor__make_escape_mark(val* self, val* p0, short int p1);
84 val* scope__ScopeVisitor__get_escapemark(val* self, val* p0, val* p1);
85 extern const int COLOR_scope__ScopeVisitor__toolcontext;
86 extern const int COLOR_parser_nodes__ANode__hot_location;
87 extern const int COLOR_toolcontext__ToolContext__error;
88 void scope__ScopeVisitor__error(val* self, val* p0, val* p1);
89 extern const int COLOR_scope__Scope___64dvariables;
90 val* scope__Scope__variables(val* self);
91 void scope__Scope__variables_61d(val* self, val* p0);
92 extern const int COLOR_scope__Scope___64descapemark;
93 val* scope__Scope__escapemark(val* self);
94 void scope__Scope__escapemark_61d(val* self, val* p0);
95 extern const int COLOR_abstract_collection__MapRead__has_key;
96 extern const int COLOR_abstract_collection__MapRead___91d_93d;
97 val* scope__Scope__get_variable(val* self, val* p0);
98 void scope__Scope__init(val* self);
99 extern const int COLOR_parser_nodes__ANode__visit_all;
100 void scope__ANode__accept_scope_visitor(val* self, val* p0);
101 val* NEW_scope__ScopeVisitor(const struct type* type);
102 extern const struct type type_scope__ScopeVisitor;
103 extern const int COLOR_scope__ScopeVisitor__init;
104 void CHECK_NEW_scope__ScopeVisitor(val*);
105 void scope__APropdef__do_scope(val* self, val* p0);
106 extern const int COLOR_scope__AParam___64dvariable;
107 val* scope__AParam__variable(val* self);
108 void scope__AParam__variable_61d(val* self, val* p0);
109 extern const int COLOR_scope__AParam__accept_scope_visitor;
110 extern const int COLOR_parser_nodes__AParam__n_id;
111 val* NEW_scope__Variable(const struct type* type);
112 extern const struct type type_scope__Variable;
113 extern const int COLOR_scope__Variable__init;
114 void CHECK_NEW_scope__Variable(val*);
115 extern const int COLOR_scope__ScopeVisitor__register_variable;
116 extern const int COLOR_scope__AParam__variable_61d;
117 void scope__AParam__accept_scope_visitor(val* self, val* p0);
118 extern const int COLOR_scope__AClosureDecl___64dvariable;
119 val* scope__AClosureDecl__variable(val* self);
120 void scope__AClosureDecl__variable_61d(val* self, val* p0);
121 extern const int COLOR_parser_nodes__AClosureDecl__n_id;
122 val* NEW_scope__ClosureVariable(const struct type* type);
123 extern const struct type type_scope__ClosureVariable;
124 void CHECK_NEW_scope__ClosureVariable(val*);
125 extern const int COLOR_scope__AClosureDecl__variable_61d;
126 void scope__AClosureDecl__accept_scope_visitor(val* self, val* p0);
127 extern const int COLOR_scope__AVardeclExpr___64dvariable;
128 val* scope__AVardeclExpr__variable(val* self);
129 void scope__AVardeclExpr__variable_61d(val* self, val* p0);
130 extern const int COLOR_scope__AVardeclExpr__accept_scope_visitor;
131 extern const int COLOR_parser_nodes__AVardeclExpr__n_id;
132 extern const int COLOR_scope__AVardeclExpr__variable_61d;
133 void scope__AVardeclExpr__accept_scope_visitor(val* self, val* p0);
134 extern const int COLOR_scope__ASelfExpr___64dvariable;
135 val* scope__ASelfExpr__variable(val* self);
136 void scope__ASelfExpr__variable_61d(val* self, val* p0);
137 extern const int COLOR_scope__ASelfExpr__accept_scope_visitor;
138 extern const int COLOR_scope__ScopeVisitor__selfvariable;
139 extern const int COLOR_scope__ASelfExpr__variable_61d;
140 void scope__ASelfExpr__accept_scope_visitor(val* self, val* p0);
141 extern const int COLOR_scope__AContinueExpr___64descapemark;
142 val* scope__AContinueExpr__escapemark(val* self);
143 void scope__AContinueExpr__escapemark_61d(val* self, val* p0);
144 extern const int COLOR_scope__AContinueExpr__accept_scope_visitor;
145 extern const int COLOR_parser_nodes__ALabelable__n_label;
146 extern const int COLOR_scope__ScopeVisitor__get_escapemark;
147 extern const int COLOR_scope__EscapeMark__for_loop;
148 extern const int COLOR_scope__EscapeMark__continues;
149 extern const int COLOR_scope__AContinueExpr__escapemark_61d;
150 void scope__AContinueExpr__accept_scope_visitor(val* self, val* p0);
151 extern const int COLOR_scope__ABreakExpr___64descapemark;
152 val* scope__ABreakExpr__escapemark(val* self);
153 void scope__ABreakExpr__escapemark_61d(val* self, val* p0);
154 extern const int COLOR_scope__ABreakExpr__accept_scope_visitor;
155 extern const int COLOR_scope__EscapeMark__breaks;
156 extern const int COLOR_scope__ABreakExpr__escapemark_61d;
157 void scope__ABreakExpr__accept_scope_visitor(val* self, val* p0);
158 extern const int COLOR_scope__ADoExpr___64descapemark;
159 val* scope__ADoExpr__escapemark(val* self);
160 void scope__ADoExpr__escapemark_61d(val* self, val* p0);
161 extern const int COLOR_scope__ScopeVisitor__make_escape_mark;
162 extern const int COLOR_scope__ADoExpr__escapemark_61d;
163 extern const int COLOR_parser_nodes__ADoExpr__n_block;
164 extern const int COLOR_scope__ADoExpr__escapemark;
165 extern const int COLOR_scope__ScopeVisitor__enter_visit_block;
166 void scope__ADoExpr__accept_scope_visitor(val* self, val* p0);
167 extern const int COLOR_parser_nodes__AIfExpr__n_expr;
168 extern const int COLOR_parser_nodes__AIfExpr__n_then;
169 extern const int COLOR_parser_nodes__AIfExpr__n_else;
170 void scope__AIfExpr__accept_scope_visitor(val* self, val* p0);
171 extern const int COLOR_scope__AWhileExpr___64descapemark;
172 val* scope__AWhileExpr__escapemark(val* self);
173 void scope__AWhileExpr__escapemark_61d(val* self, val* p0);
174 extern const int COLOR_scope__AWhileExpr__escapemark_61d;
175 extern const int COLOR_parser_nodes__AWhileExpr__n_expr;
176 extern const int COLOR_parser_nodes__AWhileExpr__n_block;
177 void scope__AWhileExpr__accept_scope_visitor(val* self, val* p0);
178 extern const int COLOR_scope__ALoopExpr___64descapemark;
179 val* scope__ALoopExpr__escapemark(val* self);
180 void scope__ALoopExpr__escapemark_61d(val* self, val* p0);
181 extern const int COLOR_scope__ALoopExpr__escapemark_61d;
182 extern const int COLOR_parser_nodes__ALoopExpr__n_block;
183 void scope__ALoopExpr__accept_scope_visitor(val* self, val* p0);
184 extern const int COLOR_scope__AForExpr___64dvariables;
185 val* scope__AForExpr__variables(val* self);
186 void scope__AForExpr__variables_61d(val* self, val* p0);
187 extern const int COLOR_scope__AForExpr___64descapemark;
188 val* scope__AForExpr__escapemark(val* self);
189 void scope__AForExpr__escapemark_61d(val* self, val* p0);
190 extern const int COLOR_parser_nodes__AForExpr__n_expr;
191 extern const struct type type_array__Arrayscope__Variable;
192 extern const int COLOR_array__Array__init;
193 extern const int COLOR_scope__AForExpr__variables_61d;
194 extern const int COLOR_parser_nodes__AForExpr__n_ids;
195 extern const int COLOR_scope__AForExpr__escapemark_61d;
196 extern const int COLOR_parser_nodes__AForExpr__n_block;
197 void scope__AForExpr__accept_scope_visitor(val* self, val* p0);
198 extern const int COLOR_scope__AVarFormExpr___64dvariable;
199 val* scope__AVarFormExpr__variable(val* self);
200 void scope__AVarFormExpr__variable_61d(val* self, val* p0);
201 extern const int COLOR_parser_nodes__ASendExpr__n_expr;
202 extern const struct type type_parser_nodes__AImplicitSelfExpr;
203 extern const int COLOR_parser_nodes__ACallFormExpr__n_id;
204 val* NEW_parser_nodes__AClosureCallExpr(const struct type* type);
205 extern const struct type type_parser_nodes__AClosureCallExpr;
206 extern const int COLOR_parser_nodes__ACallFormExpr__n_args;
207 extern const int COLOR_parser_nodes__ASendExpr__n_closure_defs;
208 extern const int COLOR_parser_prod__AClosureCallExpr__init_aclosurecallexpr;
209 void CHECK_NEW_parser_nodes__AClosureCallExpr(val*);
210 extern const int COLOR_scope__AClosureCallExpr__variable_61d;
211 extern const int COLOR_parser_nodes__AExprs__n_exprs;
212 extern const int COLOR_abstract_collection__Collection__is_empty;
213 extern const struct type type_parser_nodes__AParExprs;
214 extern const int COLOR_scope__ACallFormExpr__variable_create;
215 extern const int COLOR_scope__AVarFormExpr__variable_61d;
216 extern const int COLOR_parser_nodes__ANode__replace_with;
217 extern const int COLOR_scope__ACallFormExpr__accept_scope_visitor;
218 void scope__ACallFormExpr__accept_scope_visitor(val* self, val* p0);
219 val* scope__ACallFormExpr__variable_create(val* self, val* p0);
220 val* NEW_parser_nodes__AVarExpr(const struct type* type);
221 extern const struct type type_parser_nodes__AVarExpr;
222 extern const int COLOR_parser_prod__AVarExpr__init_avarexpr;
223 void CHECK_NEW_parser_nodes__AVarExpr(val*);
224 val* scope__ACallExpr__variable_create(val* self, val* p0);
225 val* NEW_parser_nodes__AVarAssignExpr(const struct type* type);
226 extern const struct type type_parser_nodes__AVarAssignExpr;
227 extern const int COLOR_parser_nodes__AAssignFormExpr__n_assign;
228 extern const int COLOR_parser_nodes__AAssignFormExpr__n_value;
229 extern const int COLOR_parser_prod__AVarAssignExpr__init_avarassignexpr;
230 void CHECK_NEW_parser_nodes__AVarAssignExpr(val*);
231 val* scope__ACallAssignExpr__variable_create(val* self, val* p0);
232 val* NEW_parser_nodes__AVarReassignExpr(const struct type* type);
233 extern const struct type type_parser_nodes__AVarReassignExpr;
234 extern const int COLOR_parser_nodes__AReassignFormExpr__n_assign_op;
235 extern const int COLOR_parser_nodes__AReassignFormExpr__n_value;
236 extern const int COLOR_parser_prod__AVarReassignExpr__init_avarreassignexpr;
237 void CHECK_NEW_parser_nodes__AVarReassignExpr(val*);
238 val* scope__ACallReassignExpr__variable_create(val* self, val* p0);
239 extern const int COLOR_scope__AClosureCallExpr___64dvariable;
240 val* scope__AClosureCallExpr__variable(val* self);
241 void scope__AClosureCallExpr__variable_61d(val* self, val* p0);
242 extern const int COLOR_scope__ASendExpr___64descapemark;
243 val* scope__ASendExpr__escapemark(val* self);
244 void scope__ASendExpr__escapemark_61d(val* self, val* p0);
245 extern const int COLOR_abstract_collection__Collection__length;
246 extern const struct type type_kernel__Int;
247 extern const int COLOR_abstract_collection__SequenceRead__last;
248 extern const int COLOR_scope__ASendExpr__escapemark_61d;
249 extern const int COLOR_scope__ASendExpr__accept_scope_visitor;
250 void scope__ASendExpr__accept_scope_visitor(val* self, val* p0);
251 extern const int COLOR_scope__AClosureDef___64dvariables;
252 val* scope__AClosureDef__variables(val* self);
253 void scope__AClosureDef__variables_61d(val* self, val* p0);
254 extern const int COLOR_scope__AClosureDef___64descapemark;
255 val* scope__AClosureDef__escapemark(val* self);
256 void scope__AClosureDef__escapemark_61d(val* self, val* p0);
257 extern const int COLOR_scope__AClosureDef__variables_61d;
258 extern const int COLOR_parser_nodes__AClosureDef__n_ids;
259 extern const int COLOR_parser_nodes__ANode__parent;
260 extern const struct type type_parser_nodes__ASendExpr;
261 extern const int COLOR_scope__ASendExpr__escapemark;
262 extern const int COLOR_scope__AClosureDef__escapemark_61d;
263 extern const int COLOR_parser_nodes__AClosureDef__n_expr;
264 extern const int COLOR_scope__AClosureDef__escapemark;
265 void scope__AClosureDef__accept_scope_visitor(val* self, val* p0);