1 #include "nitc__parser_prod.sep.0.h"
2 /* method parser_prod$AMethPropdef$visit_all for (self: AMethPropdef, Visitor) */
3 void nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4 val
* var_v
/* var v: Visitor */;
5 val
* var
/* : nullable ADoc */;
6 val
* var1
/* : nullable TKwredef */;
7 val
* var2
/* : nullable AVisibility */;
8 val
* var3
/* : nullable TKwmeth */;
9 val
* var4
/* : nullable TKwinit */;
10 val
* var5
/* : nullable TKwnew */;
11 val
* var6
/* : nullable AMethid */;
12 val
* var7
/* : nullable ASignature */;
13 val
* var8
/* : nullable AAnnotations */;
14 val
* var9
/* : nullable AExternCalls */;
15 val
* var10
/* : nullable AExternCodeBlock */;
16 val
* var11
/* : nullable TKwdo */;
17 val
* var12
/* : nullable AExpr */;
18 val
* var13
/* : nullable TKwend */;
20 var
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
; /* _n_doc on <self:AMethPropdef> */
22 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
24 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AMethPropdef> */
26 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
28 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:AMethPropdef> */
30 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
32 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_kwmeth
].val
; /* _n_kwmeth on <self:AMethPropdef> */
34 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
36 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_kwinit
].val
; /* _n_kwinit on <self:AMethPropdef> */
38 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
40 var5
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_kwnew
].val
; /* _n_kwnew on <self:AMethPropdef> */
42 nitc___nitc__Visitor___enter_visit(var_v
, var5
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
44 var6
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_methid
].val
; /* _n_methid on <self:AMethPropdef> */
46 nitc___nitc__Visitor___enter_visit(var_v
, var6
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
48 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_signature
].val
; /* _n_signature on <self:AMethPropdef> */
50 nitc___nitc__Visitor___enter_visit(var_v
, var7
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
52 var8
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AMethPropdef> */
54 nitc___nitc__Visitor___enter_visit(var_v
, var8
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
56 var9
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_extern_calls
].val
; /* _n_extern_calls on <self:AMethPropdef> */
58 nitc___nitc__Visitor___enter_visit(var_v
, var9
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
60 var10
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_extern_code_block
].val
; /* _n_extern_code_block on <self:AMethPropdef> */
62 nitc___nitc__Visitor___enter_visit(var_v
, var10
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
64 var11
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_kwdo
].val
; /* _n_kwdo on <self:AMethPropdef> */
66 nitc___nitc__Visitor___enter_visit(var_v
, var11
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
68 var12
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_block
].val
; /* _n_block on <self:AMethPropdef> */
70 nitc___nitc__Visitor___enter_visit(var_v
, var12
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
72 var13
= self
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_kwend
].val
; /* _n_kwend on <self:AMethPropdef> */
74 nitc___nitc__Visitor___enter_visit(var_v
, var13
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
78 /* method parser_prod$ASuperPropdef$init_asuperpropdef for (self: ASuperPropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwsuper, nullable AType, nullable AAnnotations) */
79 void nitc__parser_prod___ASuperPropdef___init_asuperpropdef(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
, val
* p5
) {
80 val
* var_n_doc
/* var n_doc: nullable ADoc */;
81 val
* var_n_kwredef
/* var n_kwredef: nullable TKwredef */;
82 val
* var_n_visibility
/* var n_visibility: nullable AVisibility */;
83 val
* var_n_kwsuper
/* var n_kwsuper: nullable TKwsuper */;
84 val
* var_n_type
/* var n_type: nullable AType */;
85 val
* var_n_annotations
/* var n_annotations: nullable AAnnotations */;
86 short int var
/* : Bool */;
87 short int var2
/* : Bool */;
88 val
* var_other
/* var other: nullable Object */;
89 short int var4
/* : Bool */;
90 short int var5
/* : Bool */;
91 short int var7
/* : Bool */;
92 short int var8
/* : Bool */;
93 short int var10
/* : Bool */;
94 short int var11
/* : Bool */;
95 short int var16
/* : Bool */;
96 short int var17
/* : Bool */;
97 short int var19
/* : Bool */;
98 short int var20
/* : Bool */;
100 { /* Inline kernel$Object$init (self) on <self:ASuperPropdef> */
106 var_n_visibility
= p2
;
109 var_n_annotations
= p5
;
110 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
= var_n_doc
; /* _n_doc on <self:ASuperPropdef> */
111 if (var_n_doc
== NULL
) {
112 var
= 0; /* is null */
114 var
= 1; /* arg is null and recv is not */
117 { /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on <var_n_doc:nullable ADoc> */
118 var_other
= ((val
*)NULL
);
120 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_doc
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_doc
, var_other
); /* == on <var_n_doc:nullable ADoc(ADoc)>*/
131 { /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on <var_n_doc:nullable ADoc(ADoc)> */
132 var_n_doc
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_doc:nullable ADoc(ADoc)> */
138 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
= var_n_kwredef
; /* _n_kwredef on <self:ASuperPropdef> */
139 if (var_n_kwredef
== NULL
) {
140 var7
= 0; /* is null */
142 var7
= 1; /* arg is null and recv is not */
145 { /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on <var_n_kwredef:nullable TKwredef> */
146 var_other
= ((val
*)NULL
);
148 var10
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwredef
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwredef
, var_other
); /* == on <var_n_kwredef:nullable TKwredef(TKwredef)>*/
159 { /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on <var_n_kwredef:nullable TKwredef(TKwredef)> */
160 var_n_kwredef
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwredef:nullable TKwredef(TKwredef)> */
166 if (unlikely(var_n_visibility
== NULL
)) {
167 if(catchStack
.cursor
>= 0){
168 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
170 PRINT_ERROR("Runtime error: %s", "Cast failed");
171 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1323);
174 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
= var_n_visibility
; /* _n_visibility on <self:ASuperPropdef> */
175 if (var_n_visibility
== NULL
) {
176 if(catchStack
.cursor
>= 0){
177 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
179 PRINT_ERROR("Runtime error: %s", "Receiver is null");
180 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1324);
183 { /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on <var_n_visibility:nullable AVisibility> */
184 if (unlikely(var_n_visibility
== NULL
)) {
185 if(catchStack
.cursor
>= 0){
186 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
188 PRINT_ERROR("Runtime error: %s", "Receiver is null");
189 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
192 var_n_visibility
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_visibility:nullable AVisibility> */
196 if (unlikely(var_n_kwsuper
== NULL
)) {
197 if(catchStack
.cursor
>= 0){
198 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
200 PRINT_ERROR("Runtime error: %s", "Cast failed");
201 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1325);
204 self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_kwsuper
].val
= var_n_kwsuper
; /* _n_kwsuper on <self:ASuperPropdef> */
205 if (var_n_kwsuper
== NULL
) {
206 if(catchStack
.cursor
>= 0){
207 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
209 PRINT_ERROR("Runtime error: %s", "Receiver is null");
210 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1326);
213 { /* Inline parser_nodes$ANode$parent= (var_n_kwsuper,self) on <var_n_kwsuper:nullable TKwsuper> */
214 if (unlikely(var_n_kwsuper
== NULL
)) {
215 if(catchStack
.cursor
>= 0){
216 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
218 PRINT_ERROR("Runtime error: %s", "Receiver is null");
219 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
222 var_n_kwsuper
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwsuper:nullable TKwsuper> */
226 if (unlikely(var_n_type
== NULL
)) {
227 if(catchStack
.cursor
>= 0){
228 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
230 PRINT_ERROR("Runtime error: %s", "Cast failed");
231 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1327);
234 self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_type
].val
= var_n_type
; /* _n_type on <self:ASuperPropdef> */
235 if (var_n_type
== NULL
) {
236 if(catchStack
.cursor
>= 0){
237 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
239 PRINT_ERROR("Runtime error: %s", "Receiver is null");
240 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1328);
243 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
244 if (unlikely(var_n_type
== NULL
)) {
245 if(catchStack
.cursor
>= 0){
246 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
248 PRINT_ERROR("Runtime error: %s", "Receiver is null");
249 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
252 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
256 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_n_annotations
; /* _n_annotations on <self:ASuperPropdef> */
257 if (var_n_annotations
== NULL
) {
258 var16
= 0; /* is null */
260 var16
= 1; /* arg is null and recv is not */
263 { /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on <var_n_annotations:nullable AAnnotations> */
264 var_other
= ((val
*)NULL
);
266 var19
= ((short int(*)(val
* self
, val
* p0
))(var_n_annotations
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_annotations
, var_other
); /* == on <var_n_annotations:nullable AAnnotations(AAnnotations)>*/
277 { /* Inline parser_nodes$ANode$parent= (var_n_annotations,self) on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
278 var_n_annotations
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
286 /* method parser_prod$ASuperPropdef$replace_child for (self: ASuperPropdef, ANode, nullable ANode) */
287 void nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
288 val
* var_old_child
/* var old_child: ANode */;
289 val
* var_new_child
/* var new_child: nullable ANode */;
290 val
* var
/* : nullable ADoc */;
291 short int var1
/* : Bool */;
292 short int var2
/* : Bool */;
293 val
* var_other
/* var other: nullable Object */;
294 short int var4
/* : Bool */;
295 short int var6
/* : Bool */;
296 short int var7
/* : Bool */;
299 const char* var_class_name
;
300 val
* var8
/* : nullable TKwredef */;
301 short int var9
/* : Bool */;
302 short int var10
/* : Bool */;
303 short int var12
/* : Bool */;
304 short int var14
/* : Bool */;
305 short int var15
/* : Bool */;
308 const char* var_class_name18
;
309 val
* var19
/* : nullable AVisibility */;
310 short int var20
/* : Bool */;
311 short int var21
/* : Bool */;
312 short int var23
/* : Bool */;
313 short int var25
/* : Bool */;
314 short int var26
/* : Bool */;
317 const char* var_class_name29
;
318 val
* var30
/* : TKwsuper */;
319 short int var31
/* : Bool */;
320 short int var33
/* : Bool */;
321 short int var35
/* : Bool */;
322 short int var36
/* : Bool */;
325 const char* var_class_name39
;
326 val
* var40
/* : AType */;
327 short int var41
/* : Bool */;
328 short int var43
/* : Bool */;
329 short int var45
/* : Bool */;
330 short int var46
/* : Bool */;
333 const char* var_class_name49
;
334 val
* var50
/* : nullable AAnnotations */;
335 short int var51
/* : Bool */;
336 short int var52
/* : Bool */;
337 short int var54
/* : Bool */;
338 short int var56
/* : Bool */;
339 short int var57
/* : Bool */;
342 const char* var_class_name60
;
345 var
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
; /* _n_doc on <self:ASuperPropdef> */
347 var1
= 0; /* <var_old_child:ANode> cannot be null */
349 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable ADoc> */
350 var_other
= var_old_child
;
352 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable ADoc(ADoc)> */
353 var6
= var
== var_other
;
366 /* <var_new_child:nullable ANode> isa nullable ADoc */
367 cltype
= type_nullable__nitc__ADoc
.color
;
368 idtype
= type_nullable__nitc__ADoc
.id
;
369 if(var_new_child
== NULL
) {
372 if(cltype
>= var_new_child
->type
->table_size
) {
375 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
378 if (unlikely(!var7
)) {
379 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
380 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable ADoc", var_class_name
);
381 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1336);
385 nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperPropdef$n_doc= on <self:ASuperPropdef>*/
390 var8
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:ASuperPropdef> */
392 var9
= 0; /* <var_old_child:ANode> cannot be null */
394 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:nullable TKwredef> */
395 var_other
= var_old_child
;
397 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:nullable TKwredef(TKwredef)> */
398 var14
= var8
== var_other
;
411 /* <var_new_child:nullable ANode> isa nullable TKwredef */
412 cltype16
= type_nullable__nitc__TKwredef
.color
;
413 idtype17
= type_nullable__nitc__TKwredef
.id
;
414 if(var_new_child
== NULL
) {
417 if(cltype16
>= var_new_child
->type
->table_size
) {
420 var15
= var_new_child
->type
->type_table
[cltype16
] == idtype17
;
423 if (unlikely(!var15
)) {
424 var_class_name18
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
425 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwredef", var_class_name18
);
426 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1340);
430 nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperPropdef$n_kwredef= on <self:ASuperPropdef>*/
435 var19
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:ASuperPropdef> */
437 var20
= 0; /* <var_old_child:ANode> cannot be null */
439 { /* Inline kernel$Object$== (var19,var_old_child) on <var19:nullable AVisibility> */
440 var_other
= var_old_child
;
442 { /* Inline kernel$Object$is_same_instance (var19,var_other) on <var19:nullable AVisibility(AVisibility)> */
443 var25
= var19
== var_other
;
456 /* <var_new_child:nullable ANode> isa AVisibility */
457 cltype27
= type_nitc__AVisibility
.color
;
458 idtype28
= type_nitc__AVisibility
.id
;
459 if(var_new_child
== NULL
) {
462 if(cltype27
>= var_new_child
->type
->table_size
) {
465 var26
= var_new_child
->type
->type_table
[cltype27
] == idtype28
;
468 if (unlikely(!var26
)) {
469 var_class_name29
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
470 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AVisibility", var_class_name29
);
471 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1344);
475 nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperPropdef$n_visibility= on <self:ASuperPropdef>*/
480 var30
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_kwsuper
].val
; /* _n_kwsuper on <self:ASuperPropdef> */
481 if (unlikely(var30
== NULL
)) {
482 if(catchStack
.cursor
>= 0){
483 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
485 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper");
486 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1347);
490 { /* Inline kernel$Object$== (var30,var_old_child) on <var30:TKwsuper> */
491 var_other
= var_old_child
;
493 { /* Inline kernel$Object$is_same_instance (var30,var_other) on <var30:TKwsuper> */
494 var35
= var30
== var_other
;
506 /* <var_new_child:nullable ANode> isa TKwsuper */
507 cltype37
= type_nitc__TKwsuper
.color
;
508 idtype38
= type_nitc__TKwsuper
.id
;
509 if(var_new_child
== NULL
) {
512 if(cltype37
>= var_new_child
->type
->table_size
) {
515 var36
= var_new_child
->type
->type_table
[cltype37
] == idtype38
;
518 if (unlikely(!var36
)) {
519 var_class_name39
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
520 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwsuper", var_class_name39
);
521 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1348);
525 nitc__parser_prod___ASuperPropdef___n_kwsuper_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperPropdef$n_kwsuper= on <self:ASuperPropdef>*/
530 var40
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_type
].val
; /* _n_type on <self:ASuperPropdef> */
531 if (unlikely(var40
== NULL
)) {
532 if(catchStack
.cursor
>= 0){
533 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
535 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
536 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1351);
540 { /* Inline kernel$Object$== (var40,var_old_child) on <var40:AType> */
541 var_other
= var_old_child
;
543 { /* Inline kernel$Object$is_same_instance (var40,var_other) on <var40:AType> */
544 var45
= var40
== var_other
;
556 /* <var_new_child:nullable ANode> isa AType */
557 cltype47
= type_nitc__AType
.color
;
558 idtype48
= type_nitc__AType
.id
;
559 if(var_new_child
== NULL
) {
562 if(cltype47
>= var_new_child
->type
->table_size
) {
565 var46
= var_new_child
->type
->type_table
[cltype47
] == idtype48
;
568 if (unlikely(!var46
)) {
569 var_class_name49
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
570 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name49
);
571 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1352);
575 nitc__parser_prod___ASuperPropdef___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperPropdef$n_type= on <self:ASuperPropdef>*/
580 var50
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:ASuperPropdef> */
582 var51
= 0; /* <var_old_child:ANode> cannot be null */
584 { /* Inline kernel$Object$== (var50,var_old_child) on <var50:nullable AAnnotations> */
585 var_other
= var_old_child
;
587 { /* Inline kernel$Object$is_same_instance (var50,var_other) on <var50:nullable AAnnotations(AAnnotations)> */
588 var56
= var50
== var_other
;
601 /* <var_new_child:nullable ANode> isa nullable AAnnotations */
602 cltype58
= type_nullable__nitc__AAnnotations
.color
;
603 idtype59
= type_nullable__nitc__AAnnotations
.id
;
604 if(var_new_child
== NULL
) {
607 if(cltype58
>= var_new_child
->type
->table_size
) {
610 var57
= var_new_child
->type
->type_table
[cltype58
] == idtype59
;
613 if (unlikely(!var57
)) {
614 var_class_name60
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
615 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name60
);
616 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1356);
620 nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__Prod__n_annotations_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperPropdef$n_annotations= on <self:ASuperPropdef>*/
627 /* method parser_prod$ASuperPropdef$n_doc= for (self: ASuperPropdef, nullable ADoc) */
628 void nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(val
* self
, val
* p0
) {
629 val
* var_node
/* var node: nullable ADoc */;
630 short int var
/* : Bool */;
631 short int var1
/* : Bool */;
632 val
* var_other
/* var other: nullable Object */;
633 short int var3
/* : Bool */;
634 short int var4
/* : Bool */;
636 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
= var_node
; /* _n_doc on <self:ASuperPropdef> */
637 if (var_node
== NULL
) {
638 var
= 0; /* is null */
640 var
= 1; /* arg is null and recv is not */
643 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable ADoc> */
644 var_other
= ((val
*)NULL
);
646 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable ADoc(ADoc)>*/
657 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable ADoc(ADoc)> */
658 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable ADoc(ADoc)> */
666 /* method parser_prod$ASuperPropdef$n_kwredef= for (self: ASuperPropdef, nullable TKwredef) */
667 void nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(val
* self
, val
* p0
) {
668 val
* var_node
/* var node: nullable TKwredef */;
669 short int var
/* : Bool */;
670 short int var1
/* : Bool */;
671 val
* var_other
/* var other: nullable Object */;
672 short int var3
/* : Bool */;
673 short int var4
/* : Bool */;
675 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
= var_node
; /* _n_kwredef on <self:ASuperPropdef> */
676 if (var_node
== NULL
) {
677 var
= 0; /* is null */
679 var
= 1; /* arg is null and recv is not */
682 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwredef> */
683 var_other
= ((val
*)NULL
);
685 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwredef(TKwredef)>*/
696 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwredef(TKwredef)> */
697 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwredef(TKwredef)> */
705 /* method parser_prod$ASuperPropdef$n_visibility= for (self: ASuperPropdef, nullable AVisibility) */
706 void nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(val
* self
, val
* p0
) {
707 val
* var_node
/* var node: nullable AVisibility */;
709 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
= var_node
; /* _n_visibility on <self:ASuperPropdef> */
710 if (var_node
== NULL
) {
711 if(catchStack
.cursor
>= 0){
712 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
714 PRINT_ERROR("Runtime error: %s", "Receiver is null");
715 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1374);
718 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AVisibility> */
719 if (unlikely(var_node
== NULL
)) {
720 if(catchStack
.cursor
>= 0){
721 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
723 PRINT_ERROR("Runtime error: %s", "Receiver is null");
724 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
727 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AVisibility> */
733 /* method parser_prod$ASuperPropdef$n_kwsuper= for (self: ASuperPropdef, TKwsuper) */
734 void nitc__parser_prod___ASuperPropdef___n_kwsuper_61d(val
* self
, val
* p0
) {
735 val
* var_node
/* var node: TKwsuper */;
737 self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_kwsuper
].val
= var_node
; /* _n_kwsuper on <self:ASuperPropdef> */
739 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwsuper> */
740 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwsuper> */
746 /* method parser_prod$ASuperPropdef$n_type= for (self: ASuperPropdef, AType) */
747 void nitc__parser_prod___ASuperPropdef___n_type_61d(val
* self
, val
* p0
) {
748 val
* var_node
/* var node: AType */;
750 self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_type
].val
= var_node
; /* _n_type on <self:ASuperPropdef> */
752 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
753 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
759 /* method parser_prod$ASuperPropdef$n_annotations= for (self: ASuperPropdef, nullable AAnnotations) */
760 void nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__Prod__n_annotations_61d(val
* self
, val
* p0
) {
761 val
* var_node
/* var node: nullable AAnnotations */;
762 short int var
/* : Bool */;
763 short int var1
/* : Bool */;
764 val
* var_other
/* var other: nullable Object */;
765 short int var3
/* : Bool */;
766 short int var4
/* : Bool */;
768 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_node
; /* _n_annotations on <self:ASuperPropdef> */
769 if (var_node
== NULL
) {
770 var
= 0; /* is null */
772 var
= 1; /* arg is null and recv is not */
775 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AAnnotations> */
776 var_other
= ((val
*)NULL
);
778 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AAnnotations(AAnnotations)>*/
789 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AAnnotations(AAnnotations)> */
790 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AAnnotations(AAnnotations)> */
798 /* method parser_prod$ASuperPropdef$visit_all for (self: ASuperPropdef, Visitor) */
799 void nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
800 val
* var_v
/* var v: Visitor */;
801 val
* var
/* : nullable ADoc */;
802 val
* var1
/* : nullable TKwredef */;
803 val
* var2
/* : nullable AVisibility */;
804 val
* var3
/* : TKwsuper */;
805 val
* var4
/* : AType */;
806 val
* var5
/* : nullable AAnnotations */;
808 var
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
; /* _n_doc on <self:ASuperPropdef> */
810 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
812 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:ASuperPropdef> */
814 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
816 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:ASuperPropdef> */
818 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
820 var3
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_kwsuper
].val
; /* _n_kwsuper on <self:ASuperPropdef> */
821 if (unlikely(var3
== NULL
)) {
822 if(catchStack
.cursor
>= 0){
823 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
825 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper");
826 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1398);
830 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
832 var4
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperPropdef___n_type
].val
; /* _n_type on <self:ASuperPropdef> */
833 if (unlikely(var4
== NULL
)) {
834 if(catchStack
.cursor
>= 0){
835 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
837 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
838 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1399);
842 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
844 var5
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:ASuperPropdef> */
846 nitc___nitc__Visitor___enter_visit(var_v
, var5
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
850 /* method parser_prod$AAnnotPropdef$init_aannotpropdef for (self: AAnnotPropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable AAtid, nullable TOpar, Collection[Object], nullable TCpar, nullable AAnnotations) */
851 void nitc__parser_prod___AAnnotPropdef___init_aannotpropdef(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
, val
* p5
, val
* p6
, val
* p7
) {
852 val
* var_n_doc
/* var n_doc: nullable ADoc */;
853 val
* var_n_kwredef
/* var n_kwredef: nullable TKwredef */;
854 val
* var_n_visibility
/* var n_visibility: nullable AVisibility */;
855 val
* var_n_atid
/* var n_atid: nullable AAtid */;
856 val
* var_n_opar
/* var n_opar: nullable TOpar */;
857 val
* var_n_args
/* var n_args: Collection[Object] */;
858 val
* var_n_cpar
/* var n_cpar: nullable TCpar */;
859 val
* var_n_annotations
/* var n_annotations: nullable AAnnotations */;
860 short int var
/* : Bool */;
861 short int var2
/* : Bool */;
862 val
* var_other
/* var other: nullable Object */;
863 short int var4
/* : Bool */;
864 short int var5
/* : Bool */;
865 short int var7
/* : Bool */;
866 short int var8
/* : Bool */;
867 short int var10
/* : Bool */;
868 short int var11
/* : Bool */;
869 short int var13
/* : Bool */;
870 short int var14
/* : Bool */;
871 short int var16
/* : Bool */;
872 short int var17
/* : Bool */;
873 short int var20
/* : Bool */;
874 short int var21
/* : Bool */;
875 short int var23
/* : Bool */;
876 short int var24
/* : Bool */;
877 val
* var26
/* : ANodes[AExpr] */;
878 val
* var28
/* : ANodes[AExpr] */;
879 short int var29
/* : Bool */;
880 short int var30
/* : Bool */;
881 short int var32
/* : Bool */;
882 short int var33
/* : Bool */;
883 short int var35
/* : Bool */;
884 short int var36
/* : Bool */;
885 short int var38
/* : Bool */;
886 short int var39
/* : Bool */;
888 { /* Inline kernel$Object$init (self) on <self:AAnnotPropdef> */
894 var_n_visibility
= p2
;
899 var_n_annotations
= p7
;
900 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
= var_n_doc
; /* _n_doc on <self:AAnnotPropdef> */
901 if (var_n_doc
== NULL
) {
902 var
= 0; /* is null */
904 var
= 1; /* arg is null and recv is not */
907 { /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on <var_n_doc:nullable ADoc> */
908 var_other
= ((val
*)NULL
);
910 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_doc
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_doc
, var_other
); /* == on <var_n_doc:nullable ADoc(ADoc)>*/
921 { /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on <var_n_doc:nullable ADoc(ADoc)> */
922 var_n_doc
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_doc:nullable ADoc(ADoc)> */
928 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
= var_n_kwredef
; /* _n_kwredef on <self:AAnnotPropdef> */
929 if (var_n_kwredef
== NULL
) {
930 var7
= 0; /* is null */
932 var7
= 1; /* arg is null and recv is not */
935 { /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on <var_n_kwredef:nullable TKwredef> */
936 var_other
= ((val
*)NULL
);
938 var10
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwredef
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwredef
, var_other
); /* == on <var_n_kwredef:nullable TKwredef(TKwredef)>*/
949 { /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on <var_n_kwredef:nullable TKwredef(TKwredef)> */
950 var_n_kwredef
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwredef:nullable TKwredef(TKwredef)> */
956 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
= var_n_visibility
; /* _n_visibility on <self:AAnnotPropdef> */
957 if (var_n_visibility
== NULL
) {
958 var13
= 0; /* is null */
960 var13
= 1; /* arg is null and recv is not */
963 { /* Inline kernel$Object$!= (var_n_visibility,((val*)NULL)) on <var_n_visibility:nullable AVisibility> */
964 var_other
= ((val
*)NULL
);
966 var16
= ((short int(*)(val
* self
, val
* p0
))(var_n_visibility
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_visibility
, var_other
); /* == on <var_n_visibility:nullable AVisibility(AVisibility)>*/
977 { /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on <var_n_visibility:nullable AVisibility(AVisibility)> */
978 var_n_visibility
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_visibility:nullable AVisibility(AVisibility)> */
984 if (unlikely(var_n_atid
== NULL
)) {
985 if(catchStack
.cursor
>= 0){
986 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
988 PRINT_ERROR("Runtime error: %s", "Cast failed");
989 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1421);
992 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
= var_n_atid
; /* _n_atid on <self:AAnnotPropdef> */
993 if (var_n_atid
== NULL
) {
994 if(catchStack
.cursor
>= 0){
995 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
997 PRINT_ERROR("Runtime error: %s", "Receiver is null");
998 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1422);
1001 { /* Inline parser_nodes$ANode$parent= (var_n_atid,self) on <var_n_atid:nullable AAtid> */
1002 if (unlikely(var_n_atid
== NULL
)) {
1003 if(catchStack
.cursor
>= 0){
1004 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1006 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1007 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1010 var_n_atid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_atid:nullable AAtid> */
1011 RET_LABEL19
:(void)0;
1014 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
= var_n_opar
; /* _n_opar on <self:AAnnotPropdef> */
1015 if (var_n_opar
== NULL
) {
1016 var20
= 0; /* is null */
1018 var20
= 1; /* arg is null and recv is not */
1021 { /* Inline kernel$Object$!= (var_n_opar,((val*)NULL)) on <var_n_opar:nullable TOpar> */
1022 var_other
= ((val
*)NULL
);
1024 var23
= ((short int(*)(val
* self
, val
* p0
))(var_n_opar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_opar
, var_other
); /* == on <var_n_opar:nullable TOpar(TOpar)>*/
1029 RET_LABEL22
:(void)0;
1035 { /* Inline parser_nodes$ANode$parent= (var_n_opar,self) on <var_n_opar:nullable TOpar(TOpar)> */
1036 var_n_opar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_opar:nullable TOpar(TOpar)> */
1037 RET_LABEL25
:(void)0;
1043 { /* Inline parser_nodes$AAnnotation$n_args (self) on <self:AAnnotPropdef> */
1044 var28
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_args
].val
; /* _n_args on <self:AAnnotPropdef> */
1045 if (unlikely(var28
== NULL
)) {
1046 if(catchStack
.cursor
>= 0){
1047 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1049 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
1050 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 3007);
1054 RET_LABEL27
:(void)0;
1058 nitc___nitc__ANodes___unsafe_add_all(var26
, var_n_args
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var26:ANodes[AExpr]>*/
1060 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
= var_n_cpar
; /* _n_cpar on <self:AAnnotPropdef> */
1061 if (var_n_cpar
== NULL
) {
1062 var29
= 0; /* is null */
1064 var29
= 1; /* arg is null and recv is not */
1067 { /* Inline kernel$Object$!= (var_n_cpar,((val*)NULL)) on <var_n_cpar:nullable TCpar> */
1068 var_other
= ((val
*)NULL
);
1070 var32
= ((short int(*)(val
* self
, val
* p0
))(var_n_cpar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_cpar
, var_other
); /* == on <var_n_cpar:nullable TCpar(TCpar)>*/
1075 RET_LABEL31
:(void)0;
1081 { /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on <var_n_cpar:nullable TCpar(TCpar)> */
1082 var_n_cpar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cpar:nullable TCpar(TCpar)> */
1083 RET_LABEL34
:(void)0;
1088 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_n_annotations
; /* _n_annotations on <self:AAnnotPropdef> */
1089 if (var_n_annotations
== NULL
) {
1090 var35
= 0; /* is null */
1092 var35
= 1; /* arg is null and recv is not */
1095 { /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on <var_n_annotations:nullable AAnnotations> */
1096 var_other
= ((val
*)NULL
);
1098 var38
= ((short int(*)(val
* self
, val
* p0
))(var_n_annotations
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_annotations
, var_other
); /* == on <var_n_annotations:nullable AAnnotations(AAnnotations)>*/
1103 RET_LABEL37
:(void)0;
1109 { /* Inline parser_nodes$ANode$parent= (var_n_annotations,self) on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
1110 var_n_annotations
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
1111 RET_LABEL40
:(void)0;
1118 /* method parser_prod$AAnnotPropdef$replace_child for (self: AAnnotPropdef, ANode, nullable ANode) */
1119 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1120 val
* var_old_child
/* var old_child: ANode */;
1121 val
* var_new_child
/* var new_child: nullable ANode */;
1122 val
* var
/* : nullable ADoc */;
1123 short int var1
/* : Bool */;
1124 short int var2
/* : Bool */;
1125 val
* var_other
/* var other: nullable Object */;
1126 short int var4
/* : Bool */;
1127 short int var6
/* : Bool */;
1128 short int var7
/* : Bool */;
1131 const char* var_class_name
;
1132 val
* var8
/* : nullable TKwredef */;
1133 short int var9
/* : Bool */;
1134 short int var10
/* : Bool */;
1135 short int var12
/* : Bool */;
1136 short int var14
/* : Bool */;
1137 short int var15
/* : Bool */;
1140 const char* var_class_name18
;
1141 val
* var19
/* : nullable AVisibility */;
1142 short int var20
/* : Bool */;
1143 short int var21
/* : Bool */;
1144 short int var23
/* : Bool */;
1145 short int var25
/* : Bool */;
1146 short int var26
/* : Bool */;
1149 const char* var_class_name29
;
1150 val
* var30
/* : AAtid */;
1151 short int var31
/* : Bool */;
1152 short int var33
/* : Bool */;
1153 short int var35
/* : Bool */;
1154 short int var36
/* : Bool */;
1157 const char* var_class_name39
;
1158 val
* var40
/* : nullable TOpar */;
1159 short int var41
/* : Bool */;
1160 short int var42
/* : Bool */;
1161 short int var44
/* : Bool */;
1162 short int var46
/* : Bool */;
1163 short int var47
/* : Bool */;
1166 const char* var_class_name50
;
1167 val
* var51
/* : ANodes[AExpr] */;
1168 val
* var53
/* : ANodes[AExpr] */;
1169 short int var54
/* : Bool */;
1170 val
* var55
/* : nullable TCpar */;
1171 short int var56
/* : Bool */;
1172 short int var57
/* : Bool */;
1173 short int var59
/* : Bool */;
1174 short int var61
/* : Bool */;
1175 short int var62
/* : Bool */;
1178 const char* var_class_name65
;
1179 val
* var66
/* : nullable AAnnotations */;
1180 short int var67
/* : Bool */;
1181 short int var68
/* : Bool */;
1182 short int var70
/* : Bool */;
1183 short int var72
/* : Bool */;
1184 short int var73
/* : Bool */;
1187 const char* var_class_name76
;
1190 var
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
; /* _n_doc on <self:AAnnotPropdef> */
1192 var1
= 0; /* <var_old_child:ANode> cannot be null */
1194 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable ADoc> */
1195 var_other
= var_old_child
;
1197 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable ADoc(ADoc)> */
1198 var6
= var
== var_other
;
1211 /* <var_new_child:nullable ANode> isa nullable ADoc */
1212 cltype
= type_nullable__nitc__ADoc
.color
;
1213 idtype
= type_nullable__nitc__ADoc
.id
;
1214 if(var_new_child
== NULL
) {
1217 if(cltype
>= var_new_child
->type
->table_size
) {
1220 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1223 if (unlikely(!var7
)) {
1224 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1225 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable ADoc", var_class_name
);
1226 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1435);
1230 nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotPropdef$n_doc= on <self:AAnnotPropdef>*/
1235 var8
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AAnnotPropdef> */
1237 var9
= 0; /* <var_old_child:ANode> cannot be null */
1239 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:nullable TKwredef> */
1240 var_other
= var_old_child
;
1242 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:nullable TKwredef(TKwredef)> */
1243 var14
= var8
== var_other
;
1246 RET_LABEL13
:(void)0;
1251 RET_LABEL11
:(void)0;
1256 /* <var_new_child:nullable ANode> isa nullable TKwredef */
1257 cltype16
= type_nullable__nitc__TKwredef
.color
;
1258 idtype17
= type_nullable__nitc__TKwredef
.id
;
1259 if(var_new_child
== NULL
) {
1262 if(cltype16
>= var_new_child
->type
->table_size
) {
1265 var15
= var_new_child
->type
->type_table
[cltype16
] == idtype17
;
1268 if (unlikely(!var15
)) {
1269 var_class_name18
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1270 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwredef", var_class_name18
);
1271 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1439);
1275 nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotPropdef$n_kwredef= on <self:AAnnotPropdef>*/
1280 var19
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:AAnnotPropdef> */
1281 if (var19
== NULL
) {
1282 var20
= 0; /* <var_old_child:ANode> cannot be null */
1284 { /* Inline kernel$Object$== (var19,var_old_child) on <var19:nullable AVisibility> */
1285 var_other
= var_old_child
;
1287 { /* Inline kernel$Object$is_same_instance (var19,var_other) on <var19:nullable AVisibility(AVisibility)> */
1288 var25
= var19
== var_other
;
1291 RET_LABEL24
:(void)0;
1296 RET_LABEL22
:(void)0;
1301 /* <var_new_child:nullable ANode> isa nullable AVisibility */
1302 cltype27
= type_nullable__nitc__AVisibility
.color
;
1303 idtype28
= type_nullable__nitc__AVisibility
.id
;
1304 if(var_new_child
== NULL
) {
1307 if(cltype27
>= var_new_child
->type
->table_size
) {
1310 var26
= var_new_child
->type
->type_table
[cltype27
] == idtype28
;
1313 if (unlikely(!var26
)) {
1314 var_class_name29
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1315 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AVisibility", var_class_name29
);
1316 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1443);
1320 nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotPropdef$n_visibility= on <self:AAnnotPropdef>*/
1325 var30
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
; /* _n_atid on <self:AAnnotPropdef> */
1326 if (unlikely(var30
== NULL
)) {
1327 if(catchStack
.cursor
>= 0){
1328 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1330 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_atid");
1331 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1446);
1335 { /* Inline kernel$Object$== (var30,var_old_child) on <var30:AAtid> */
1336 var_other
= var_old_child
;
1338 { /* Inline kernel$Object$is_same_instance (var30,var_other) on <var30:AAtid> */
1339 var35
= var30
== var_other
;
1342 RET_LABEL34
:(void)0;
1347 RET_LABEL32
:(void)0;
1351 /* <var_new_child:nullable ANode> isa AAtid */
1352 cltype37
= type_nitc__AAtid
.color
;
1353 idtype38
= type_nitc__AAtid
.id
;
1354 if(var_new_child
== NULL
) {
1357 if(cltype37
>= var_new_child
->type
->table_size
) {
1360 var36
= var_new_child
->type
->type_table
[cltype37
] == idtype38
;
1363 if (unlikely(!var36
)) {
1364 var_class_name39
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1365 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAtid", var_class_name39
);
1366 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1447);
1370 nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__AAnnotation__n_atid_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotPropdef$n_atid= on <self:AAnnotPropdef>*/
1375 var40
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
; /* _n_opar on <self:AAnnotPropdef> */
1376 if (var40
== NULL
) {
1377 var41
= 0; /* <var_old_child:ANode> cannot be null */
1379 { /* Inline kernel$Object$== (var40,var_old_child) on <var40:nullable TOpar> */
1380 var_other
= var_old_child
;
1382 { /* Inline kernel$Object$is_same_instance (var40,var_other) on <var40:nullable TOpar(TOpar)> */
1383 var46
= var40
== var_other
;
1386 RET_LABEL45
:(void)0;
1391 RET_LABEL43
:(void)0;
1396 /* <var_new_child:nullable ANode> isa nullable TOpar */
1397 cltype48
= type_nullable__nitc__TOpar
.color
;
1398 idtype49
= type_nullable__nitc__TOpar
.id
;
1399 if(var_new_child
== NULL
) {
1402 if(cltype48
>= var_new_child
->type
->table_size
) {
1405 var47
= var_new_child
->type
->type_table
[cltype48
] == idtype49
;
1408 if (unlikely(!var47
)) {
1409 var_class_name50
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1410 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TOpar", var_class_name50
);
1411 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1451);
1415 nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__AAnnotation__n_opar_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotPropdef$n_opar= on <self:AAnnotPropdef>*/
1421 { /* Inline parser_nodes$AAnnotation$n_args (self) on <self:AAnnotPropdef> */
1422 var53
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_args
].val
; /* _n_args on <self:AAnnotPropdef> */
1423 if (unlikely(var53
== NULL
)) {
1424 if(catchStack
.cursor
>= 0){
1425 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1427 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
1428 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 3007);
1432 RET_LABEL52
:(void)0;
1436 var54
= nitc___nitc__ANodes___replace_child(var51
, var_old_child
, var_new_child
);
1442 var55
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
; /* _n_cpar on <self:AAnnotPropdef> */
1443 if (var55
== NULL
) {
1444 var56
= 0; /* <var_old_child:ANode> cannot be null */
1446 { /* Inline kernel$Object$== (var55,var_old_child) on <var55:nullable TCpar> */
1447 var_other
= var_old_child
;
1449 { /* Inline kernel$Object$is_same_instance (var55,var_other) on <var55:nullable TCpar(TCpar)> */
1450 var61
= var55
== var_other
;
1453 RET_LABEL60
:(void)0;
1458 RET_LABEL58
:(void)0;
1463 /* <var_new_child:nullable ANode> isa nullable TCpar */
1464 cltype63
= type_nullable__nitc__TCpar
.color
;
1465 idtype64
= type_nullable__nitc__TCpar
.id
;
1466 if(var_new_child
== NULL
) {
1469 if(cltype63
>= var_new_child
->type
->table_size
) {
1472 var62
= var_new_child
->type
->type_table
[cltype63
] == idtype64
;
1475 if (unlikely(!var62
)) {
1476 var_class_name65
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1477 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name65
);
1478 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1456);
1482 nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__AAnnotation__n_cpar_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotPropdef$n_cpar= on <self:AAnnotPropdef>*/
1487 var66
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AAnnotPropdef> */
1488 if (var66
== NULL
) {
1489 var67
= 0; /* <var_old_child:ANode> cannot be null */
1491 { /* Inline kernel$Object$== (var66,var_old_child) on <var66:nullable AAnnotations> */
1492 var_other
= var_old_child
;
1494 { /* Inline kernel$Object$is_same_instance (var66,var_other) on <var66:nullable AAnnotations(AAnnotations)> */
1495 var72
= var66
== var_other
;
1498 RET_LABEL71
:(void)0;
1503 RET_LABEL69
:(void)0;
1508 /* <var_new_child:nullable ANode> isa nullable AAnnotations */
1509 cltype74
= type_nullable__nitc__AAnnotations
.color
;
1510 idtype75
= type_nullable__nitc__AAnnotations
.id
;
1511 if(var_new_child
== NULL
) {
1514 if(cltype74
>= var_new_child
->type
->table_size
) {
1517 var73
= var_new_child
->type
->type_table
[cltype74
] == idtype75
;
1520 if (unlikely(!var73
)) {
1521 var_class_name76
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1522 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name76
);
1523 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1460);
1527 nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__Prod__n_annotations_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotPropdef$n_annotations= on <self:AAnnotPropdef>*/
1534 /* method parser_prod$AAnnotPropdef$n_doc= for (self: AAnnotPropdef, nullable ADoc) */
1535 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(val
* self
, val
* p0
) {
1536 val
* var_node
/* var node: nullable ADoc */;
1537 short int var
/* : Bool */;
1538 short int var1
/* : Bool */;
1539 val
* var_other
/* var other: nullable Object */;
1540 short int var3
/* : Bool */;
1541 short int var4
/* : Bool */;
1543 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
= var_node
; /* _n_doc on <self:AAnnotPropdef> */
1544 if (var_node
== NULL
) {
1545 var
= 0; /* is null */
1547 var
= 1; /* arg is null and recv is not */
1550 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable ADoc> */
1551 var_other
= ((val
*)NULL
);
1553 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable ADoc(ADoc)>*/
1564 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable ADoc(ADoc)> */
1565 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable ADoc(ADoc)> */
1573 /* method parser_prod$AAnnotPropdef$n_kwredef= for (self: AAnnotPropdef, nullable TKwredef) */
1574 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(val
* self
, val
* p0
) {
1575 val
* var_node
/* var node: nullable TKwredef */;
1576 short int var
/* : Bool */;
1577 short int var1
/* : Bool */;
1578 val
* var_other
/* var other: nullable Object */;
1579 short int var3
/* : Bool */;
1580 short int var4
/* : Bool */;
1582 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
= var_node
; /* _n_kwredef on <self:AAnnotPropdef> */
1583 if (var_node
== NULL
) {
1584 var
= 0; /* is null */
1586 var
= 1; /* arg is null and recv is not */
1589 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwredef> */
1590 var_other
= ((val
*)NULL
);
1592 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwredef(TKwredef)>*/
1603 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwredef(TKwredef)> */
1604 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwredef(TKwredef)> */
1612 /* method parser_prod$AAnnotPropdef$n_visibility= for (self: AAnnotPropdef, nullable AVisibility) */
1613 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(val
* self
, val
* p0
) {
1614 val
* var_node
/* var node: nullable AVisibility */;
1615 short int var
/* : Bool */;
1616 short int var1
/* : Bool */;
1617 val
* var_other
/* var other: nullable Object */;
1618 short int var3
/* : Bool */;
1619 short int var4
/* : Bool */;
1621 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
= var_node
; /* _n_visibility on <self:AAnnotPropdef> */
1622 if (var_node
== NULL
) {
1623 var
= 0; /* is null */
1625 var
= 1; /* arg is null and recv is not */
1628 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AVisibility> */
1629 var_other
= ((val
*)NULL
);
1631 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AVisibility(AVisibility)>*/
1642 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AVisibility(AVisibility)> */
1643 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AVisibility(AVisibility)> */
1651 /* method parser_prod$AAnnotPropdef$n_atid= for (self: AAnnotPropdef, AAtid) */
1652 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__AAnnotation__n_atid_61d(val
* self
, val
* p0
) {
1653 val
* var_node
/* var node: AAtid */;
1655 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
= var_node
; /* _n_atid on <self:AAnnotPropdef> */
1657 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AAtid> */
1658 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AAtid> */
1664 /* method parser_prod$AAnnotPropdef$n_opar= for (self: AAnnotPropdef, nullable TOpar) */
1665 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__AAnnotation__n_opar_61d(val
* self
, val
* p0
) {
1666 val
* var_node
/* var node: nullable TOpar */;
1667 short int var
/* : Bool */;
1668 short int var1
/* : Bool */;
1669 val
* var_other
/* var other: nullable Object */;
1670 short int var3
/* : Bool */;
1671 short int var4
/* : Bool */;
1673 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
= var_node
; /* _n_opar on <self:AAnnotPropdef> */
1674 if (var_node
== NULL
) {
1675 var
= 0; /* is null */
1677 var
= 1; /* arg is null and recv is not */
1680 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TOpar> */
1681 var_other
= ((val
*)NULL
);
1683 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TOpar(TOpar)>*/
1694 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TOpar(TOpar)> */
1695 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TOpar(TOpar)> */
1703 /* method parser_prod$AAnnotPropdef$n_cpar= for (self: AAnnotPropdef, nullable TCpar) */
1704 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__AAnnotation__n_cpar_61d(val
* self
, val
* p0
) {
1705 val
* var_node
/* var node: nullable TCpar */;
1706 short int var
/* : Bool */;
1707 short int var1
/* : Bool */;
1708 val
* var_other
/* var other: nullable Object */;
1709 short int var3
/* : Bool */;
1710 short int var4
/* : Bool */;
1712 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
= var_node
; /* _n_cpar on <self:AAnnotPropdef> */
1713 if (var_node
== NULL
) {
1714 var
= 0; /* is null */
1716 var
= 1; /* arg is null and recv is not */
1719 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TCpar> */
1720 var_other
= ((val
*)NULL
);
1722 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TCpar(TCpar)>*/
1733 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TCpar(TCpar)> */
1734 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TCpar(TCpar)> */
1742 /* method parser_prod$AAnnotPropdef$n_annotations= for (self: AAnnotPropdef, nullable AAnnotations) */
1743 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__Prod__n_annotations_61d(val
* self
, val
* p0
) {
1744 val
* var_node
/* var node: nullable AAnnotations */;
1745 short int var
/* : Bool */;
1746 short int var1
/* : Bool */;
1747 val
* var_other
/* var other: nullable Object */;
1748 short int var3
/* : Bool */;
1749 short int var4
/* : Bool */;
1751 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_node
; /* _n_annotations on <self:AAnnotPropdef> */
1752 if (var_node
== NULL
) {
1753 var
= 0; /* is null */
1755 var
= 1; /* arg is null and recv is not */
1758 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AAnnotations> */
1759 var_other
= ((val
*)NULL
);
1761 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AAnnotations(AAnnotations)>*/
1772 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AAnnotations(AAnnotations)> */
1773 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AAnnotations(AAnnotations)> */
1781 /* method parser_prod$AAnnotPropdef$visit_all for (self: AAnnotPropdef, Visitor) */
1782 void nitc__parser_prod___AAnnotPropdef___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1783 val
* var_v
/* var v: Visitor */;
1784 val
* var
/* : nullable ADoc */;
1785 val
* var1
/* : nullable TKwredef */;
1786 val
* var2
/* : nullable AVisibility */;
1787 val
* var3
/* : AAtid */;
1788 val
* var4
/* : nullable TOpar */;
1789 val
* var5
/* : ANodes[AExpr] */;
1790 val
* var7
/* : ANodes[AExpr] */;
1791 val
* var8
/* : nullable TCpar */;
1792 val
* var9
/* : nullable AAnnotations */;
1794 var
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
; /* _n_doc on <self:AAnnotPropdef> */
1796 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1798 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AAnnotPropdef> */
1800 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1802 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:AAnnotPropdef> */
1804 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1806 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
; /* _n_atid on <self:AAnnotPropdef> */
1807 if (unlikely(var3
== NULL
)) {
1808 if(catchStack
.cursor
>= 0){
1809 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1811 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_atid");
1812 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1507);
1816 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1818 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
; /* _n_opar on <self:AAnnotPropdef> */
1820 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1823 { /* Inline parser_nodes$AAnnotation$n_args (self) on <self:AAnnotPropdef> */
1824 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_args
].val
; /* _n_args on <self:AAnnotPropdef> */
1825 if (unlikely(var7
== NULL
)) {
1826 if(catchStack
.cursor
>= 0){
1827 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1829 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
1830 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 3007);
1838 nitc___nitc__ANodes___visit_all(var5
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var5:ANodes[AExpr]>*/
1840 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
; /* _n_cpar on <self:AAnnotPropdef> */
1842 nitc___nitc__Visitor___enter_visit(var_v
, var8
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1844 var9
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AAnnotPropdef> */
1846 nitc___nitc__Visitor___enter_visit(var_v
, var9
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1850 /* method parser_prod$AIdMethid$init_aidmethid for (self: AIdMethid, nullable TId) */
1851 void nitc__parser_prod___AIdMethid___init_aidmethid(val
* self
, val
* p0
) {
1852 val
* var_n_id
/* var n_id: nullable TId */;
1854 { /* Inline kernel$Object$init (self) on <self:AIdMethid> */
1859 if (unlikely(var_n_id
== NULL
)) {
1860 if(catchStack
.cursor
>= 0){
1861 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1863 PRINT_ERROR("Runtime error: %s", "Cast failed");
1864 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1519);
1867 self
->attrs
[COLOR_nitc__parser_nodes__AIdMethid___n_id
].val
= var_n_id
; /* _n_id on <self:AIdMethid> */
1868 if (var_n_id
== NULL
) {
1869 if(catchStack
.cursor
>= 0){
1870 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1872 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1873 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1520);
1876 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId> */
1877 if (unlikely(var_n_id
== NULL
)) {
1878 if(catchStack
.cursor
>= 0){
1879 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1881 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1882 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1885 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId> */
1891 /* method parser_prod$AIdMethid$replace_child for (self: AIdMethid, ANode, nullable ANode) */
1892 void nitc__parser_prod___AIdMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1893 val
* var_old_child
/* var old_child: ANode */;
1894 val
* var_new_child
/* var new_child: nullable ANode */;
1895 val
* var
/* : TId */;
1896 short int var1
/* : Bool */;
1897 val
* var_other
/* var other: nullable Object */;
1898 short int var3
/* : Bool */;
1899 short int var5
/* : Bool */;
1900 short int var6
/* : Bool */;
1903 const char* var_class_name
;
1906 var
= self
->attrs
[COLOR_nitc__parser_nodes__AIdMethid___n_id
].val
; /* _n_id on <self:AIdMethid> */
1907 if (unlikely(var
== NULL
)) {
1908 if(catchStack
.cursor
>= 0){
1909 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1911 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
1912 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1525);
1916 { /* Inline kernel$Object$== (var,var_old_child) on <var:TId> */
1917 var_other
= var_old_child
;
1919 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TId> */
1920 var5
= var
== var_other
;
1932 /* <var_new_child:nullable ANode> isa TId */
1933 cltype
= type_nitc__TId
.color
;
1934 idtype
= type_nitc__TId
.id
;
1935 if(var_new_child
== NULL
) {
1938 if(cltype
>= var_new_child
->type
->table_size
) {
1941 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1944 if (unlikely(!var6
)) {
1945 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1946 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name
);
1947 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1526);
1951 nitc__parser_prod___AIdMethid___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AIdMethid$n_id= on <self:AIdMethid>*/
1958 /* method parser_prod$AIdMethid$n_id= for (self: AIdMethid, TId) */
1959 void nitc__parser_prod___AIdMethid___n_id_61d(val
* self
, val
* p0
) {
1960 val
* var_node
/* var node: TId */;
1962 self
->attrs
[COLOR_nitc__parser_nodes__AIdMethid___n_id
].val
= var_node
; /* _n_id on <self:AIdMethid> */
1964 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TId> */
1965 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TId> */
1971 /* method parser_prod$AIdMethid$visit_all for (self: AIdMethid, Visitor) */
1972 void nitc__parser_prod___AIdMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1973 val
* var_v
/* var v: Visitor */;
1974 val
* var
/* : TId */;
1976 var
= self
->attrs
[COLOR_nitc__parser_nodes__AIdMethid___n_id
].val
; /* _n_id on <self:AIdMethid> */
1977 if (unlikely(var
== NULL
)) {
1978 if(catchStack
.cursor
>= 0){
1979 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1981 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
1982 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1540);
1986 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1990 /* method parser_prod$APlusMethid$init_aplusmethid for (self: APlusMethid, nullable TPlus) */
1991 void nitc__parser_prod___APlusMethid___init_aplusmethid(val
* self
, val
* p0
) {
1992 val
* var_n_op
/* var n_op: nullable TPlus */;
1994 { /* Inline kernel$Object$init (self) on <self:APlusMethid> */
1999 if (unlikely(var_n_op
== NULL
)) {
2000 if(catchStack
.cursor
>= 0){
2001 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2003 PRINT_ERROR("Runtime error: %s", "Cast failed");
2004 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1548);
2007 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:APlusMethid> */
2008 if (var_n_op
== NULL
) {
2009 if(catchStack
.cursor
>= 0){
2010 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2012 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2013 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1549);
2016 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPlus> */
2017 if (unlikely(var_n_op
== NULL
)) {
2018 if(catchStack
.cursor
>= 0){
2019 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2021 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2022 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2025 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPlus> */
2031 /* method parser_prod$APlusMethid$replace_child for (self: APlusMethid, ANode, nullable ANode) */
2032 void nitc__parser_prod___APlusMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2033 val
* var_old_child
/* var old_child: ANode */;
2034 val
* var_new_child
/* var new_child: nullable ANode */;
2035 val
* var
/* : Token */;
2036 short int var1
/* : Bool */;
2037 val
* var_other
/* var other: nullable Object */;
2038 short int var3
/* : Bool */;
2039 short int var5
/* : Bool */;
2040 short int var6
/* : Bool */;
2043 const char* var_class_name
;
2046 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:APlusMethid> */
2047 if (unlikely(var
== NULL
)) {
2048 if(catchStack
.cursor
>= 0){
2049 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2051 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2052 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1554);
2056 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2057 var_other
= var_old_child
;
2059 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2060 var5
= var
== var_other
;
2072 /* <var_new_child:nullable ANode> isa TPlus */
2073 cltype
= type_nitc__TPlus
.color
;
2074 idtype
= type_nitc__TPlus
.id
;
2075 if(var_new_child
== NULL
) {
2078 if(cltype
>= var_new_child
->type
->table_size
) {
2081 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2084 if (unlikely(!var6
)) {
2085 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2086 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPlus", var_class_name
);
2087 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1555);
2091 nitc__parser_prod___APlusMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APlusMethid$n_op= on <self:APlusMethid>*/
2098 /* method parser_prod$APlusMethid$n_op= for (self: APlusMethid, Token) */
2099 void nitc__parser_prod___APlusMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
2100 val
* var_node
/* var node: Token */;
2102 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:APlusMethid> */
2104 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2105 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2111 /* method parser_prod$APlusMethid$visit_all for (self: APlusMethid, Visitor) */
2112 void nitc__parser_prod___APlusMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2113 val
* var_v
/* var v: Visitor */;
2114 val
* var
/* : Token */;
2116 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:APlusMethid> */
2117 if (unlikely(var
== NULL
)) {
2118 if(catchStack
.cursor
>= 0){
2119 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2121 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2122 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1569);
2126 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2130 /* method parser_prod$AMinusMethid$init_aminusmethid for (self: AMinusMethid, nullable TMinus) */
2131 void nitc__parser_prod___AMinusMethid___init_aminusmethid(val
* self
, val
* p0
) {
2132 val
* var_n_op
/* var n_op: nullable TMinus */;
2134 { /* Inline kernel$Object$init (self) on <self:AMinusMethid> */
2139 if (unlikely(var_n_op
== NULL
)) {
2140 if(catchStack
.cursor
>= 0){
2141 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2143 PRINT_ERROR("Runtime error: %s", "Cast failed");
2144 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1577);
2147 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AMinusMethid> */
2148 if (var_n_op
== NULL
) {
2149 if(catchStack
.cursor
>= 0){
2150 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2152 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2153 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1578);
2156 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TMinus> */
2157 if (unlikely(var_n_op
== NULL
)) {
2158 if(catchStack
.cursor
>= 0){
2159 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2161 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2162 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2165 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TMinus> */
2171 /* method parser_prod$AMinusMethid$replace_child for (self: AMinusMethid, ANode, nullable ANode) */
2172 void nitc__parser_prod___AMinusMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2173 val
* var_old_child
/* var old_child: ANode */;
2174 val
* var_new_child
/* var new_child: nullable ANode */;
2175 val
* var
/* : Token */;
2176 short int var1
/* : Bool */;
2177 val
* var_other
/* var other: nullable Object */;
2178 short int var3
/* : Bool */;
2179 short int var5
/* : Bool */;
2180 short int var6
/* : Bool */;
2183 const char* var_class_name
;
2186 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AMinusMethid> */
2187 if (unlikely(var
== NULL
)) {
2188 if(catchStack
.cursor
>= 0){
2189 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2191 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2192 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1583);
2196 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2197 var_other
= var_old_child
;
2199 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2200 var5
= var
== var_other
;
2212 /* <var_new_child:nullable ANode> isa TMinus */
2213 cltype
= type_nitc__TMinus
.color
;
2214 idtype
= type_nitc__TMinus
.id
;
2215 if(var_new_child
== NULL
) {
2218 if(cltype
>= var_new_child
->type
->table_size
) {
2221 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2224 if (unlikely(!var6
)) {
2225 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2226 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TMinus", var_class_name
);
2227 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1584);
2231 nitc__parser_prod___AMinusMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AMinusMethid$n_op= on <self:AMinusMethid>*/
2238 /* method parser_prod$AMinusMethid$n_op= for (self: AMinusMethid, Token) */
2239 void nitc__parser_prod___AMinusMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
2240 val
* var_node
/* var node: Token */;
2242 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AMinusMethid> */
2244 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2245 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2251 /* method parser_prod$AMinusMethid$visit_all for (self: AMinusMethid, Visitor) */
2252 void nitc__parser_prod___AMinusMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2253 val
* var_v
/* var v: Visitor */;
2254 val
* var
/* : Token */;
2256 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AMinusMethid> */
2257 if (unlikely(var
== NULL
)) {
2258 if(catchStack
.cursor
>= 0){
2259 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2261 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2262 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1598);
2266 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2270 /* method parser_prod$AStarMethid$init_astarmethid for (self: AStarMethid, nullable TStar) */
2271 void nitc__parser_prod___AStarMethid___init_astarmethid(val
* self
, val
* p0
) {
2272 val
* var_n_op
/* var n_op: nullable TStar */;
2274 { /* Inline kernel$Object$init (self) on <self:AStarMethid> */
2279 if (unlikely(var_n_op
== NULL
)) {
2280 if(catchStack
.cursor
>= 0){
2281 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2283 PRINT_ERROR("Runtime error: %s", "Cast failed");
2284 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1606);
2287 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AStarMethid> */
2288 if (var_n_op
== NULL
) {
2289 if(catchStack
.cursor
>= 0){
2290 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2292 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2293 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1607);
2296 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStar> */
2297 if (unlikely(var_n_op
== NULL
)) {
2298 if(catchStack
.cursor
>= 0){
2299 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2301 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2302 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2305 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStar> */
2311 /* method parser_prod$AStarMethid$replace_child for (self: AStarMethid, ANode, nullable ANode) */
2312 void nitc__parser_prod___AStarMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2313 val
* var_old_child
/* var old_child: ANode */;
2314 val
* var_new_child
/* var new_child: nullable ANode */;
2315 val
* var
/* : Token */;
2316 short int var1
/* : Bool */;
2317 val
* var_other
/* var other: nullable Object */;
2318 short int var3
/* : Bool */;
2319 short int var5
/* : Bool */;
2320 short int var6
/* : Bool */;
2323 const char* var_class_name
;
2326 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AStarMethid> */
2327 if (unlikely(var
== NULL
)) {
2328 if(catchStack
.cursor
>= 0){
2329 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2331 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2332 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1612);
2336 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2337 var_other
= var_old_child
;
2339 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2340 var5
= var
== var_other
;
2352 /* <var_new_child:nullable ANode> isa TStar */
2353 cltype
= type_nitc__TStar
.color
;
2354 idtype
= type_nitc__TStar
.id
;
2355 if(var_new_child
== NULL
) {
2358 if(cltype
>= var_new_child
->type
->table_size
) {
2361 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2364 if (unlikely(!var6
)) {
2365 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2366 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStar", var_class_name
);
2367 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1613);
2371 nitc__parser_prod___AStarMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarMethid$n_op= on <self:AStarMethid>*/
2378 /* method parser_prod$AStarMethid$n_op= for (self: AStarMethid, Token) */
2379 void nitc__parser_prod___AStarMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
2380 val
* var_node
/* var node: Token */;
2382 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AStarMethid> */
2384 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2385 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2391 /* method parser_prod$AStarMethid$visit_all for (self: AStarMethid, Visitor) */
2392 void nitc__parser_prod___AStarMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2393 val
* var_v
/* var v: Visitor */;
2394 val
* var
/* : Token */;
2396 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AStarMethid> */
2397 if (unlikely(var
== NULL
)) {
2398 if(catchStack
.cursor
>= 0){
2399 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2401 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2402 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1627);
2406 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2410 /* method parser_prod$AStarstarMethid$init_astarstarmethid for (self: AStarstarMethid, nullable TStarstar) */
2411 void nitc__parser_prod___AStarstarMethid___init_astarstarmethid(val
* self
, val
* p0
) {
2412 val
* var_n_op
/* var n_op: nullable TStarstar */;
2414 { /* Inline kernel$Object$init (self) on <self:AStarstarMethid> */
2419 if (unlikely(var_n_op
== NULL
)) {
2420 if(catchStack
.cursor
>= 0){
2421 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2423 PRINT_ERROR("Runtime error: %s", "Cast failed");
2424 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1635);
2427 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AStarstarMethid> */
2428 if (var_n_op
== NULL
) {
2429 if(catchStack
.cursor
>= 0){
2430 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2432 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2433 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1636);
2436 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStarstar> */
2437 if (unlikely(var_n_op
== NULL
)) {
2438 if(catchStack
.cursor
>= 0){
2439 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2441 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2442 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2445 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStarstar> */
2451 /* method parser_prod$AStarstarMethid$replace_child for (self: AStarstarMethid, ANode, nullable ANode) */
2452 void nitc__parser_prod___AStarstarMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2453 val
* var_old_child
/* var old_child: ANode */;
2454 val
* var_new_child
/* var new_child: nullable ANode */;
2455 val
* var
/* : Token */;
2456 short int var1
/* : Bool */;
2457 val
* var_other
/* var other: nullable Object */;
2458 short int var3
/* : Bool */;
2459 short int var5
/* : Bool */;
2460 short int var6
/* : Bool */;
2463 const char* var_class_name
;
2466 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AStarstarMethid> */
2467 if (unlikely(var
== NULL
)) {
2468 if(catchStack
.cursor
>= 0){
2469 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2471 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2472 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1641);
2476 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2477 var_other
= var_old_child
;
2479 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2480 var5
= var
== var_other
;
2492 /* <var_new_child:nullable ANode> isa TStarstar */
2493 cltype
= type_nitc__TStarstar
.color
;
2494 idtype
= type_nitc__TStarstar
.id
;
2495 if(var_new_child
== NULL
) {
2498 if(cltype
>= var_new_child
->type
->table_size
) {
2501 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2504 if (unlikely(!var6
)) {
2505 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2506 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStarstar", var_class_name
);
2507 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1642);
2511 nitc__parser_prod___AStarstarMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarstarMethid$n_op= on <self:AStarstarMethid>*/
2518 /* method parser_prod$AStarstarMethid$n_op= for (self: AStarstarMethid, Token) */
2519 void nitc__parser_prod___AStarstarMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
2520 val
* var_node
/* var node: Token */;
2522 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AStarstarMethid> */
2524 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2525 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2531 /* method parser_prod$AStarstarMethid$visit_all for (self: AStarstarMethid, Visitor) */
2532 void nitc__parser_prod___AStarstarMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2533 val
* var_v
/* var v: Visitor */;
2534 val
* var
/* : Token */;
2536 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AStarstarMethid> */
2537 if (unlikely(var
== NULL
)) {
2538 if(catchStack
.cursor
>= 0){
2539 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2541 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2542 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1656);
2546 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2550 /* method parser_prod$ASlashMethid$init_aslashmethid for (self: ASlashMethid, nullable TSlash) */
2551 void nitc__parser_prod___ASlashMethid___init_aslashmethid(val
* self
, val
* p0
) {
2552 val
* var_n_op
/* var n_op: nullable TSlash */;
2554 { /* Inline kernel$Object$init (self) on <self:ASlashMethid> */
2559 if (unlikely(var_n_op
== NULL
)) {
2560 if(catchStack
.cursor
>= 0){
2561 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2563 PRINT_ERROR("Runtime error: %s", "Cast failed");
2564 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1664);
2567 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:ASlashMethid> */
2568 if (var_n_op
== NULL
) {
2569 if(catchStack
.cursor
>= 0){
2570 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2572 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2573 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1665);
2576 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TSlash> */
2577 if (unlikely(var_n_op
== NULL
)) {
2578 if(catchStack
.cursor
>= 0){
2579 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2581 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2582 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2585 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TSlash> */
2591 /* method parser_prod$ASlashMethid$replace_child for (self: ASlashMethid, ANode, nullable ANode) */
2592 void nitc__parser_prod___ASlashMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2593 val
* var_old_child
/* var old_child: ANode */;
2594 val
* var_new_child
/* var new_child: nullable ANode */;
2595 val
* var
/* : Token */;
2596 short int var1
/* : Bool */;
2597 val
* var_other
/* var other: nullable Object */;
2598 short int var3
/* : Bool */;
2599 short int var5
/* : Bool */;
2600 short int var6
/* : Bool */;
2603 const char* var_class_name
;
2606 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ASlashMethid> */
2607 if (unlikely(var
== NULL
)) {
2608 if(catchStack
.cursor
>= 0){
2609 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2611 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2612 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1670);
2616 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2617 var_other
= var_old_child
;
2619 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2620 var5
= var
== var_other
;
2632 /* <var_new_child:nullable ANode> isa TSlash */
2633 cltype
= type_nitc__TSlash
.color
;
2634 idtype
= type_nitc__TSlash
.id
;
2635 if(var_new_child
== NULL
) {
2638 if(cltype
>= var_new_child
->type
->table_size
) {
2641 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2644 if (unlikely(!var6
)) {
2645 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2646 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TSlash", var_class_name
);
2647 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1671);
2651 nitc__parser_prod___ASlashMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ASlashMethid$n_op= on <self:ASlashMethid>*/
2658 /* method parser_prod$ASlashMethid$n_op= for (self: ASlashMethid, Token) */
2659 void nitc__parser_prod___ASlashMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
2660 val
* var_node
/* var node: Token */;
2662 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:ASlashMethid> */
2664 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2665 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2671 /* method parser_prod$ASlashMethid$visit_all for (self: ASlashMethid, Visitor) */
2672 void nitc__parser_prod___ASlashMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2673 val
* var_v
/* var v: Visitor */;
2674 val
* var
/* : Token */;
2676 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ASlashMethid> */
2677 if (unlikely(var
== NULL
)) {
2678 if(catchStack
.cursor
>= 0){
2679 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2681 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2682 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1685);
2686 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2690 /* method parser_prod$APercentMethid$init_apercentmethid for (self: APercentMethid, nullable TPercent) */
2691 void nitc__parser_prod___APercentMethid___init_apercentmethid(val
* self
, val
* p0
) {
2692 val
* var_n_op
/* var n_op: nullable TPercent */;
2694 { /* Inline kernel$Object$init (self) on <self:APercentMethid> */
2699 if (unlikely(var_n_op
== NULL
)) {
2700 if(catchStack
.cursor
>= 0){
2701 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2703 PRINT_ERROR("Runtime error: %s", "Cast failed");
2704 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1693);
2707 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:APercentMethid> */
2708 if (var_n_op
== NULL
) {
2709 if(catchStack
.cursor
>= 0){
2710 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2712 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2713 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1694);
2716 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPercent> */
2717 if (unlikely(var_n_op
== NULL
)) {
2718 if(catchStack
.cursor
>= 0){
2719 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2721 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2722 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2725 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPercent> */
2731 /* method parser_prod$APercentMethid$replace_child for (self: APercentMethid, ANode, nullable ANode) */
2732 void nitc__parser_prod___APercentMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2733 val
* var_old_child
/* var old_child: ANode */;
2734 val
* var_new_child
/* var new_child: nullable ANode */;
2735 val
* var
/* : Token */;
2736 short int var1
/* : Bool */;
2737 val
* var_other
/* var other: nullable Object */;
2738 short int var3
/* : Bool */;
2739 short int var5
/* : Bool */;
2740 short int var6
/* : Bool */;
2743 const char* var_class_name
;
2746 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:APercentMethid> */
2747 if (unlikely(var
== NULL
)) {
2748 if(catchStack
.cursor
>= 0){
2749 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2751 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2752 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1699);
2756 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2757 var_other
= var_old_child
;
2759 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2760 var5
= var
== var_other
;
2772 /* <var_new_child:nullable ANode> isa TPercent */
2773 cltype
= type_nitc__TPercent
.color
;
2774 idtype
= type_nitc__TPercent
.id
;
2775 if(var_new_child
== NULL
) {
2778 if(cltype
>= var_new_child
->type
->table_size
) {
2781 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2784 if (unlikely(!var6
)) {
2785 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2786 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPercent", var_class_name
);
2787 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1700);
2791 nitc__parser_prod___APercentMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APercentMethid$n_op= on <self:APercentMethid>*/
2798 /* method parser_prod$APercentMethid$n_op= for (self: APercentMethid, Token) */
2799 void nitc__parser_prod___APercentMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
2800 val
* var_node
/* var node: Token */;
2802 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:APercentMethid> */
2804 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2805 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2811 /* method parser_prod$APercentMethid$visit_all for (self: APercentMethid, Visitor) */
2812 void nitc__parser_prod___APercentMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2813 val
* var_v
/* var v: Visitor */;
2814 val
* var
/* : Token */;
2816 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:APercentMethid> */
2817 if (unlikely(var
== NULL
)) {
2818 if(catchStack
.cursor
>= 0){
2819 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2821 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2822 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1714);
2826 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2830 /* method parser_prod$AEqMethid$init_aeqmethid for (self: AEqMethid, nullable TEq) */
2831 void nitc__parser_prod___AEqMethid___init_aeqmethid(val
* self
, val
* p0
) {
2832 val
* var_n_op
/* var n_op: nullable TEq */;
2834 { /* Inline kernel$Object$init (self) on <self:AEqMethid> */
2839 if (unlikely(var_n_op
== NULL
)) {
2840 if(catchStack
.cursor
>= 0){
2841 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2843 PRINT_ERROR("Runtime error: %s", "Cast failed");
2844 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1722);
2847 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AEqMethid> */
2848 if (var_n_op
== NULL
) {
2849 if(catchStack
.cursor
>= 0){
2850 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2852 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2853 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1723);
2856 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TEq> */
2857 if (unlikely(var_n_op
== NULL
)) {
2858 if(catchStack
.cursor
>= 0){
2859 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2861 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2862 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2865 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TEq> */
2871 /* method parser_prod$AEqMethid$replace_child for (self: AEqMethid, ANode, nullable ANode) */
2872 void nitc__parser_prod___AEqMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2873 val
* var_old_child
/* var old_child: ANode */;
2874 val
* var_new_child
/* var new_child: nullable ANode */;
2875 val
* var
/* : Token */;
2876 short int var1
/* : Bool */;
2877 val
* var_other
/* var other: nullable Object */;
2878 short int var3
/* : Bool */;
2879 short int var5
/* : Bool */;
2880 short int var6
/* : Bool */;
2883 const char* var_class_name
;
2886 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AEqMethid> */
2887 if (unlikely(var
== NULL
)) {
2888 if(catchStack
.cursor
>= 0){
2889 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2891 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2892 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1728);
2896 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2897 var_other
= var_old_child
;
2899 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2900 var5
= var
== var_other
;
2912 /* <var_new_child:nullable ANode> isa TEq */
2913 cltype
= type_nitc__TEq
.color
;
2914 idtype
= type_nitc__TEq
.id
;
2915 if(var_new_child
== NULL
) {
2918 if(cltype
>= var_new_child
->type
->table_size
) {
2921 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2924 if (unlikely(!var6
)) {
2925 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2926 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TEq", var_class_name
);
2927 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1729);
2931 nitc__parser_prod___AEqMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AEqMethid$n_op= on <self:AEqMethid>*/
2938 /* method parser_prod$AEqMethid$n_op= for (self: AEqMethid, Token) */
2939 void nitc__parser_prod___AEqMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
2940 val
* var_node
/* var node: Token */;
2942 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AEqMethid> */
2944 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2945 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2951 /* method parser_prod$AEqMethid$visit_all for (self: AEqMethid, Visitor) */
2952 void nitc__parser_prod___AEqMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2953 val
* var_v
/* var v: Visitor */;
2954 val
* var
/* : Token */;
2956 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AEqMethid> */
2957 if (unlikely(var
== NULL
)) {
2958 if(catchStack
.cursor
>= 0){
2959 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2961 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2962 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1743);
2966 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2970 /* method parser_prod$ANeMethid$init_anemethid for (self: ANeMethid, nullable TNe) */
2971 void nitc__parser_prod___ANeMethid___init_anemethid(val
* self
, val
* p0
) {
2972 val
* var_n_op
/* var n_op: nullable TNe */;
2974 { /* Inline kernel$Object$init (self) on <self:ANeMethid> */
2979 if (unlikely(var_n_op
== NULL
)) {
2980 if(catchStack
.cursor
>= 0){
2981 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2983 PRINT_ERROR("Runtime error: %s", "Cast failed");
2984 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1751);
2987 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:ANeMethid> */
2988 if (var_n_op
== NULL
) {
2989 if(catchStack
.cursor
>= 0){
2990 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2992 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2993 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1752);
2996 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TNe> */
2997 if (unlikely(var_n_op
== NULL
)) {
2998 if(catchStack
.cursor
>= 0){
2999 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3001 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3002 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3005 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TNe> */
3011 /* method parser_prod$ANeMethid$replace_child for (self: ANeMethid, ANode, nullable ANode) */
3012 void nitc__parser_prod___ANeMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3013 val
* var_old_child
/* var old_child: ANode */;
3014 val
* var_new_child
/* var new_child: nullable ANode */;
3015 val
* var
/* : Token */;
3016 short int var1
/* : Bool */;
3017 val
* var_other
/* var other: nullable Object */;
3018 short int var3
/* : Bool */;
3019 short int var5
/* : Bool */;
3020 short int var6
/* : Bool */;
3023 const char* var_class_name
;
3026 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ANeMethid> */
3027 if (unlikely(var
== NULL
)) {
3028 if(catchStack
.cursor
>= 0){
3029 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3031 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3032 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1757);
3036 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
3037 var_other
= var_old_child
;
3039 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
3040 var5
= var
== var_other
;
3052 /* <var_new_child:nullable ANode> isa TNe */
3053 cltype
= type_nitc__TNe
.color
;
3054 idtype
= type_nitc__TNe
.id
;
3055 if(var_new_child
== NULL
) {
3058 if(cltype
>= var_new_child
->type
->table_size
) {
3061 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3064 if (unlikely(!var6
)) {
3065 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3066 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TNe", var_class_name
);
3067 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1758);
3071 nitc__parser_prod___ANeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ANeMethid$n_op= on <self:ANeMethid>*/
3078 /* method parser_prod$ANeMethid$n_op= for (self: ANeMethid, Token) */
3079 void nitc__parser_prod___ANeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
3080 val
* var_node
/* var node: Token */;
3082 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:ANeMethid> */
3084 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3085 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3091 /* method parser_prod$ANeMethid$visit_all for (self: ANeMethid, Visitor) */
3092 void nitc__parser_prod___ANeMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3093 val
* var_v
/* var v: Visitor */;
3094 val
* var
/* : Token */;
3096 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ANeMethid> */
3097 if (unlikely(var
== NULL
)) {
3098 if(catchStack
.cursor
>= 0){
3099 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3101 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3102 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1772);
3106 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3110 /* method parser_prod$ALeMethid$init_alemethid for (self: ALeMethid, nullable TLe) */
3111 void nitc__parser_prod___ALeMethid___init_alemethid(val
* self
, val
* p0
) {
3112 val
* var_n_op
/* var n_op: nullable TLe */;
3114 { /* Inline kernel$Object$init (self) on <self:ALeMethid> */
3119 if (unlikely(var_n_op
== NULL
)) {
3120 if(catchStack
.cursor
>= 0){
3121 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3123 PRINT_ERROR("Runtime error: %s", "Cast failed");
3124 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1780);
3127 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:ALeMethid> */
3128 if (var_n_op
== NULL
) {
3129 if(catchStack
.cursor
>= 0){
3130 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3132 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3133 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1781);
3136 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TLe> */
3137 if (unlikely(var_n_op
== NULL
)) {
3138 if(catchStack
.cursor
>= 0){
3139 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3141 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3142 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3145 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TLe> */
3151 /* method parser_prod$ALeMethid$replace_child for (self: ALeMethid, ANode, nullable ANode) */
3152 void nitc__parser_prod___ALeMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3153 val
* var_old_child
/* var old_child: ANode */;
3154 val
* var_new_child
/* var new_child: nullable ANode */;
3155 val
* var
/* : Token */;
3156 short int var1
/* : Bool */;
3157 val
* var_other
/* var other: nullable Object */;
3158 short int var3
/* : Bool */;
3159 short int var5
/* : Bool */;
3160 short int var6
/* : Bool */;
3163 const char* var_class_name
;
3166 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ALeMethid> */
3167 if (unlikely(var
== NULL
)) {
3168 if(catchStack
.cursor
>= 0){
3169 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3171 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3172 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1786);
3176 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
3177 var_other
= var_old_child
;
3179 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
3180 var5
= var
== var_other
;
3192 /* <var_new_child:nullable ANode> isa TLe */
3193 cltype
= type_nitc__TLe
.color
;
3194 idtype
= type_nitc__TLe
.id
;
3195 if(var_new_child
== NULL
) {
3198 if(cltype
>= var_new_child
->type
->table_size
) {
3201 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3204 if (unlikely(!var6
)) {
3205 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3206 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TLe", var_class_name
);
3207 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1787);
3211 nitc__parser_prod___ALeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ALeMethid$n_op= on <self:ALeMethid>*/
3218 /* method parser_prod$ALeMethid$n_op= for (self: ALeMethid, Token) */
3219 void nitc__parser_prod___ALeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
3220 val
* var_node
/* var node: Token */;
3222 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:ALeMethid> */
3224 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3225 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3231 /* method parser_prod$ALeMethid$visit_all for (self: ALeMethid, Visitor) */
3232 void nitc__parser_prod___ALeMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3233 val
* var_v
/* var v: Visitor */;
3234 val
* var
/* : Token */;
3236 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ALeMethid> */
3237 if (unlikely(var
== NULL
)) {
3238 if(catchStack
.cursor
>= 0){
3239 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3241 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3242 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1801);
3246 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3250 /* method parser_prod$AGeMethid$init_agemethid for (self: AGeMethid, nullable TGe) */
3251 void nitc__parser_prod___AGeMethid___init_agemethid(val
* self
, val
* p0
) {
3252 val
* var_n_op
/* var n_op: nullable TGe */;
3254 { /* Inline kernel$Object$init (self) on <self:AGeMethid> */
3259 if (unlikely(var_n_op
== NULL
)) {
3260 if(catchStack
.cursor
>= 0){
3261 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3263 PRINT_ERROR("Runtime error: %s", "Cast failed");
3264 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1809);
3267 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AGeMethid> */
3268 if (var_n_op
== NULL
) {
3269 if(catchStack
.cursor
>= 0){
3270 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3272 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3273 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1810);
3276 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TGe> */
3277 if (unlikely(var_n_op
== NULL
)) {
3278 if(catchStack
.cursor
>= 0){
3279 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3281 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3282 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3285 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TGe> */
3291 /* method parser_prod$AGeMethid$replace_child for (self: AGeMethid, ANode, nullable ANode) */
3292 void nitc__parser_prod___AGeMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3293 val
* var_old_child
/* var old_child: ANode */;
3294 val
* var_new_child
/* var new_child: nullable ANode */;
3295 val
* var
/* : Token */;
3296 short int var1
/* : Bool */;
3297 val
* var_other
/* var other: nullable Object */;
3298 short int var3
/* : Bool */;
3299 short int var5
/* : Bool */;
3300 short int var6
/* : Bool */;
3303 const char* var_class_name
;
3306 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AGeMethid> */
3307 if (unlikely(var
== NULL
)) {
3308 if(catchStack
.cursor
>= 0){
3309 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3311 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3312 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1815);
3316 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
3317 var_other
= var_old_child
;
3319 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
3320 var5
= var
== var_other
;
3332 /* <var_new_child:nullable ANode> isa TGe */
3333 cltype
= type_nitc__TGe
.color
;
3334 idtype
= type_nitc__TGe
.id
;
3335 if(var_new_child
== NULL
) {
3338 if(cltype
>= var_new_child
->type
->table_size
) {
3341 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3344 if (unlikely(!var6
)) {
3345 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3346 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGe", var_class_name
);
3347 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1816);
3351 nitc__parser_prod___AGeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AGeMethid$n_op= on <self:AGeMethid>*/
3358 /* method parser_prod$AGeMethid$n_op= for (self: AGeMethid, Token) */
3359 void nitc__parser_prod___AGeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
3360 val
* var_node
/* var node: Token */;
3362 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AGeMethid> */
3364 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3365 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3371 /* method parser_prod$AGeMethid$visit_all for (self: AGeMethid, Visitor) */
3372 void nitc__parser_prod___AGeMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3373 val
* var_v
/* var v: Visitor */;
3374 val
* var
/* : Token */;
3376 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AGeMethid> */
3377 if (unlikely(var
== NULL
)) {
3378 if(catchStack
.cursor
>= 0){
3379 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3381 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3382 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1830);
3386 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3390 /* method parser_prod$ALtMethid$init_altmethid for (self: ALtMethid, nullable TLt) */
3391 void nitc__parser_prod___ALtMethid___init_altmethid(val
* self
, val
* p0
) {
3392 val
* var_n_op
/* var n_op: nullable TLt */;
3394 { /* Inline kernel$Object$init (self) on <self:ALtMethid> */
3399 if (unlikely(var_n_op
== NULL
)) {
3400 if(catchStack
.cursor
>= 0){
3401 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3403 PRINT_ERROR("Runtime error: %s", "Cast failed");
3404 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1838);
3407 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:ALtMethid> */
3408 if (var_n_op
== NULL
) {
3409 if(catchStack
.cursor
>= 0){
3410 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3412 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3413 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1839);
3416 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TLt> */
3417 if (unlikely(var_n_op
== NULL
)) {
3418 if(catchStack
.cursor
>= 0){
3419 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3421 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3422 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3425 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TLt> */
3431 /* method parser_prod$ALtMethid$replace_child for (self: ALtMethid, ANode, nullable ANode) */
3432 void nitc__parser_prod___ALtMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3433 val
* var_old_child
/* var old_child: ANode */;
3434 val
* var_new_child
/* var new_child: nullable ANode */;
3435 val
* var
/* : Token */;
3436 short int var1
/* : Bool */;
3437 val
* var_other
/* var other: nullable Object */;
3438 short int var3
/* : Bool */;
3439 short int var5
/* : Bool */;
3440 short int var6
/* : Bool */;
3443 const char* var_class_name
;
3446 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ALtMethid> */
3447 if (unlikely(var
== NULL
)) {
3448 if(catchStack
.cursor
>= 0){
3449 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3451 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3452 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1844);
3456 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
3457 var_other
= var_old_child
;
3459 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
3460 var5
= var
== var_other
;
3472 /* <var_new_child:nullable ANode> isa TLt */
3473 cltype
= type_nitc__TLt
.color
;
3474 idtype
= type_nitc__TLt
.id
;
3475 if(var_new_child
== NULL
) {
3478 if(cltype
>= var_new_child
->type
->table_size
) {
3481 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3484 if (unlikely(!var6
)) {
3485 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3486 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TLt", var_class_name
);
3487 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1845);
3491 nitc__parser_prod___ALtMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ALtMethid$n_op= on <self:ALtMethid>*/
3498 /* method parser_prod$ALtMethid$n_op= for (self: ALtMethid, Token) */
3499 void nitc__parser_prod___ALtMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
3500 val
* var_node
/* var node: Token */;
3502 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:ALtMethid> */
3504 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3505 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3511 /* method parser_prod$ALtMethid$visit_all for (self: ALtMethid, Visitor) */
3512 void nitc__parser_prod___ALtMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3513 val
* var_v
/* var v: Visitor */;
3514 val
* var
/* : Token */;
3516 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ALtMethid> */
3517 if (unlikely(var
== NULL
)) {
3518 if(catchStack
.cursor
>= 0){
3519 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3521 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3522 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1859);
3526 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3530 /* method parser_prod$AGtMethid$init_agtmethid for (self: AGtMethid, nullable TGt) */
3531 void nitc__parser_prod___AGtMethid___init_agtmethid(val
* self
, val
* p0
) {
3532 val
* var_n_op
/* var n_op: nullable TGt */;
3534 { /* Inline kernel$Object$init (self) on <self:AGtMethid> */
3539 if (unlikely(var_n_op
== NULL
)) {
3540 if(catchStack
.cursor
>= 0){
3541 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3543 PRINT_ERROR("Runtime error: %s", "Cast failed");
3544 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1867);
3547 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AGtMethid> */
3548 if (var_n_op
== NULL
) {
3549 if(catchStack
.cursor
>= 0){
3550 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3552 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3553 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1868);
3556 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TGt> */
3557 if (unlikely(var_n_op
== NULL
)) {
3558 if(catchStack
.cursor
>= 0){
3559 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3561 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3562 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3565 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TGt> */
3571 /* method parser_prod$AGtMethid$replace_child for (self: AGtMethid, ANode, nullable ANode) */
3572 void nitc__parser_prod___AGtMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3573 val
* var_old_child
/* var old_child: ANode */;
3574 val
* var_new_child
/* var new_child: nullable ANode */;
3575 val
* var
/* : Token */;
3576 short int var1
/* : Bool */;
3577 val
* var_other
/* var other: nullable Object */;
3578 short int var3
/* : Bool */;
3579 short int var5
/* : Bool */;
3580 short int var6
/* : Bool */;
3583 const char* var_class_name
;
3586 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AGtMethid> */
3587 if (unlikely(var
== NULL
)) {
3588 if(catchStack
.cursor
>= 0){
3589 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3591 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3592 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1873);
3596 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
3597 var_other
= var_old_child
;
3599 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
3600 var5
= var
== var_other
;
3612 /* <var_new_child:nullable ANode> isa TGt */
3613 cltype
= type_nitc__TGt
.color
;
3614 idtype
= type_nitc__TGt
.id
;
3615 if(var_new_child
== NULL
) {
3618 if(cltype
>= var_new_child
->type
->table_size
) {
3621 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3624 if (unlikely(!var6
)) {
3625 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3626 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGt", var_class_name
);
3627 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1874);
3631 nitc__parser_prod___AGtMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AGtMethid$n_op= on <self:AGtMethid>*/
3638 /* method parser_prod$AGtMethid$n_op= for (self: AGtMethid, Token) */
3639 void nitc__parser_prod___AGtMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
3640 val
* var_node
/* var node: Token */;
3642 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AGtMethid> */
3644 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3645 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3651 /* method parser_prod$AGtMethid$visit_all for (self: AGtMethid, Visitor) */
3652 void nitc__parser_prod___AGtMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3653 val
* var_v
/* var v: Visitor */;
3654 val
* var
/* : Token */;
3656 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AGtMethid> */
3657 if (unlikely(var
== NULL
)) {
3658 if(catchStack
.cursor
>= 0){
3659 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3661 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3662 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1888);
3666 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3670 /* method parser_prod$ALlMethid$init_allmethid for (self: ALlMethid, nullable TLl) */
3671 void nitc__parser_prod___ALlMethid___init_allmethid(val
* self
, val
* p0
) {
3672 val
* var_n_op
/* var n_op: nullable TLl */;
3674 { /* Inline kernel$Object$init (self) on <self:ALlMethid> */
3679 if (unlikely(var_n_op
== NULL
)) {
3680 if(catchStack
.cursor
>= 0){
3681 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3683 PRINT_ERROR("Runtime error: %s", "Cast failed");
3684 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1896);
3687 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:ALlMethid> */
3688 if (var_n_op
== NULL
) {
3689 if(catchStack
.cursor
>= 0){
3690 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3692 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3693 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1897);
3696 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TLl> */
3697 if (unlikely(var_n_op
== NULL
)) {
3698 if(catchStack
.cursor
>= 0){
3699 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3701 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3702 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3705 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TLl> */
3711 /* method parser_prod$ALlMethid$replace_child for (self: ALlMethid, ANode, nullable ANode) */
3712 void nitc__parser_prod___ALlMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3713 val
* var_old_child
/* var old_child: ANode */;
3714 val
* var_new_child
/* var new_child: nullable ANode */;
3715 val
* var
/* : Token */;
3716 short int var1
/* : Bool */;
3717 val
* var_other
/* var other: nullable Object */;
3718 short int var3
/* : Bool */;
3719 short int var5
/* : Bool */;
3720 short int var6
/* : Bool */;
3723 const char* var_class_name
;
3726 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ALlMethid> */
3727 if (unlikely(var
== NULL
)) {
3728 if(catchStack
.cursor
>= 0){
3729 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3731 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3732 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1902);
3736 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
3737 var_other
= var_old_child
;
3739 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
3740 var5
= var
== var_other
;
3752 /* <var_new_child:nullable ANode> isa TLl */
3753 cltype
= type_nitc__TLl
.color
;
3754 idtype
= type_nitc__TLl
.id
;
3755 if(var_new_child
== NULL
) {
3758 if(cltype
>= var_new_child
->type
->table_size
) {
3761 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3764 if (unlikely(!var6
)) {
3765 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3766 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TLl", var_class_name
);
3767 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1903);
3771 nitc__parser_prod___ALlMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ALlMethid$n_op= on <self:ALlMethid>*/
3778 /* method parser_prod$ALlMethid$n_op= for (self: ALlMethid, Token) */
3779 void nitc__parser_prod___ALlMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
3780 val
* var_node
/* var node: Token */;
3782 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:ALlMethid> */
3784 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3785 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3791 /* method parser_prod$ALlMethid$visit_all for (self: ALlMethid, Visitor) */
3792 void nitc__parser_prod___ALlMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3793 val
* var_v
/* var v: Visitor */;
3794 val
* var
/* : Token */;
3796 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ALlMethid> */
3797 if (unlikely(var
== NULL
)) {
3798 if(catchStack
.cursor
>= 0){
3799 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3801 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3802 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1917);
3806 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3810 /* method parser_prod$AGgMethid$init_aggmethid for (self: AGgMethid, nullable TGg) */
3811 void nitc__parser_prod___AGgMethid___init_aggmethid(val
* self
, val
* p0
) {
3812 val
* var_n_op
/* var n_op: nullable TGg */;
3814 { /* Inline kernel$Object$init (self) on <self:AGgMethid> */
3819 if (unlikely(var_n_op
== NULL
)) {
3820 if(catchStack
.cursor
>= 0){
3821 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3823 PRINT_ERROR("Runtime error: %s", "Cast failed");
3824 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1925);
3827 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AGgMethid> */
3828 if (var_n_op
== NULL
) {
3829 if(catchStack
.cursor
>= 0){
3830 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3832 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3833 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1926);
3836 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TGg> */
3837 if (unlikely(var_n_op
== NULL
)) {
3838 if(catchStack
.cursor
>= 0){
3839 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3841 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3842 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3845 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TGg> */
3851 /* method parser_prod$AGgMethid$replace_child for (self: AGgMethid, ANode, nullable ANode) */
3852 void nitc__parser_prod___AGgMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3853 val
* var_old_child
/* var old_child: ANode */;
3854 val
* var_new_child
/* var new_child: nullable ANode */;
3855 val
* var
/* : Token */;
3856 short int var1
/* : Bool */;
3857 val
* var_other
/* var other: nullable Object */;
3858 short int var3
/* : Bool */;
3859 short int var5
/* : Bool */;
3860 short int var6
/* : Bool */;
3863 const char* var_class_name
;
3866 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AGgMethid> */
3867 if (unlikely(var
== NULL
)) {
3868 if(catchStack
.cursor
>= 0){
3869 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3871 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3872 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1931);
3876 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
3877 var_other
= var_old_child
;
3879 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
3880 var5
= var
== var_other
;
3892 /* <var_new_child:nullable ANode> isa TGg */
3893 cltype
= type_nitc__TGg
.color
;
3894 idtype
= type_nitc__TGg
.id
;
3895 if(var_new_child
== NULL
) {
3898 if(cltype
>= var_new_child
->type
->table_size
) {
3901 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3904 if (unlikely(!var6
)) {
3905 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3906 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGg", var_class_name
);
3907 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1932);
3911 nitc__parser_prod___AGgMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AGgMethid$n_op= on <self:AGgMethid>*/
3918 /* method parser_prod$AGgMethid$n_op= for (self: AGgMethid, Token) */
3919 void nitc__parser_prod___AGgMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
3920 val
* var_node
/* var node: Token */;
3922 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AGgMethid> */
3924 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3925 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3931 /* method parser_prod$AGgMethid$visit_all for (self: AGgMethid, Visitor) */
3932 void nitc__parser_prod___AGgMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3933 val
* var_v
/* var v: Visitor */;
3934 val
* var
/* : Token */;
3936 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AGgMethid> */
3937 if (unlikely(var
== NULL
)) {
3938 if(catchStack
.cursor
>= 0){
3939 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3941 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3942 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1946);
3946 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3950 /* method parser_prod$AStarshipMethid$init_astarshipmethid for (self: AStarshipMethid, nullable TStarship) */
3951 void nitc__parser_prod___AStarshipMethid___init_astarshipmethid(val
* self
, val
* p0
) {
3952 val
* var_n_op
/* var n_op: nullable TStarship */;
3954 { /* Inline kernel$Object$init (self) on <self:AStarshipMethid> */
3959 if (unlikely(var_n_op
== NULL
)) {
3960 if(catchStack
.cursor
>= 0){
3961 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3963 PRINT_ERROR("Runtime error: %s", "Cast failed");
3964 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1954);
3967 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AStarshipMethid> */
3968 if (var_n_op
== NULL
) {
3969 if(catchStack
.cursor
>= 0){
3970 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3972 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3973 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1955);
3976 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStarship> */
3977 if (unlikely(var_n_op
== NULL
)) {
3978 if(catchStack
.cursor
>= 0){
3979 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3981 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3982 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3985 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStarship> */
3991 /* method parser_prod$AStarshipMethid$replace_child for (self: AStarshipMethid, ANode, nullable ANode) */
3992 void nitc__parser_prod___AStarshipMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3993 val
* var_old_child
/* var old_child: ANode */;
3994 val
* var_new_child
/* var new_child: nullable ANode */;
3995 val
* var
/* : Token */;
3996 short int var1
/* : Bool */;
3997 val
* var_other
/* var other: nullable Object */;
3998 short int var3
/* : Bool */;
3999 short int var5
/* : Bool */;
4000 short int var6
/* : Bool */;
4003 const char* var_class_name
;
4006 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AStarshipMethid> */
4007 if (unlikely(var
== NULL
)) {
4008 if(catchStack
.cursor
>= 0){
4009 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4011 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4012 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1960);
4016 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
4017 var_other
= var_old_child
;
4019 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
4020 var5
= var
== var_other
;
4032 /* <var_new_child:nullable ANode> isa TStarship */
4033 cltype
= type_nitc__TStarship
.color
;
4034 idtype
= type_nitc__TStarship
.id
;
4035 if(var_new_child
== NULL
) {
4038 if(cltype
>= var_new_child
->type
->table_size
) {
4041 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4044 if (unlikely(!var6
)) {
4045 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4046 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStarship", var_class_name
);
4047 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1961);
4051 nitc__parser_prod___AStarshipMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarshipMethid$n_op= on <self:AStarshipMethid>*/
4058 /* method parser_prod$AStarshipMethid$n_op= for (self: AStarshipMethid, Token) */
4059 void nitc__parser_prod___AStarshipMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
4060 val
* var_node
/* var node: Token */;
4062 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AStarshipMethid> */
4064 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4065 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4071 /* method parser_prod$AStarshipMethid$visit_all for (self: AStarshipMethid, Visitor) */
4072 void nitc__parser_prod___AStarshipMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4073 val
* var_v
/* var v: Visitor */;
4074 val
* var
/* : Token */;
4076 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AStarshipMethid> */
4077 if (unlikely(var
== NULL
)) {
4078 if(catchStack
.cursor
>= 0){
4079 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4081 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4082 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1975);
4086 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4090 /* method parser_prod$APipeMethid$init_apipemethid for (self: APipeMethid, nullable TPipe) */
4091 void nitc__parser_prod___APipeMethid___init_apipemethid(val
* self
, val
* p0
) {
4092 val
* var_n_op
/* var n_op: nullable TPipe */;
4094 { /* Inline kernel$Object$init (self) on <self:APipeMethid> */
4099 if (unlikely(var_n_op
== NULL
)) {
4100 if(catchStack
.cursor
>= 0){
4101 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4103 PRINT_ERROR("Runtime error: %s", "Cast failed");
4104 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1983);
4107 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:APipeMethid> */
4108 if (var_n_op
== NULL
) {
4109 if(catchStack
.cursor
>= 0){
4110 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4112 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4113 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1984);
4116 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPipe> */
4117 if (unlikely(var_n_op
== NULL
)) {
4118 if(catchStack
.cursor
>= 0){
4119 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4121 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4122 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4125 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPipe> */
4131 /* method parser_prod$APipeMethid$replace_child for (self: APipeMethid, ANode, nullable ANode) */
4132 void nitc__parser_prod___APipeMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4133 val
* var_old_child
/* var old_child: ANode */;
4134 val
* var_new_child
/* var new_child: nullable ANode */;
4135 val
* var
/* : Token */;
4136 short int var1
/* : Bool */;
4137 val
* var_other
/* var other: nullable Object */;
4138 short int var3
/* : Bool */;
4139 short int var5
/* : Bool */;
4140 short int var6
/* : Bool */;
4143 const char* var_class_name
;
4146 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:APipeMethid> */
4147 if (unlikely(var
== NULL
)) {
4148 if(catchStack
.cursor
>= 0){
4149 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4151 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4152 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1989);
4156 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
4157 var_other
= var_old_child
;
4159 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
4160 var5
= var
== var_other
;
4172 /* <var_new_child:nullable ANode> isa TPipe */
4173 cltype
= type_nitc__TPipe
.color
;
4174 idtype
= type_nitc__TPipe
.id
;
4175 if(var_new_child
== NULL
) {
4178 if(cltype
>= var_new_child
->type
->table_size
) {
4181 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4184 if (unlikely(!var6
)) {
4185 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4186 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPipe", var_class_name
);
4187 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 1990);
4191 nitc__parser_prod___APipeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APipeMethid$n_op= on <self:APipeMethid>*/
4198 /* method parser_prod$APipeMethid$n_op= for (self: APipeMethid, Token) */
4199 void nitc__parser_prod___APipeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
4200 val
* var_node
/* var node: Token */;
4202 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:APipeMethid> */
4204 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4205 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4211 /* method parser_prod$APipeMethid$visit_all for (self: APipeMethid, Visitor) */
4212 void nitc__parser_prod___APipeMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4213 val
* var_v
/* var v: Visitor */;
4214 val
* var
/* : Token */;
4216 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:APipeMethid> */
4217 if (unlikely(var
== NULL
)) {
4218 if(catchStack
.cursor
>= 0){
4219 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4221 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4222 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2004);
4226 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4230 /* method parser_prod$ACaretMethid$init_acaretmethid for (self: ACaretMethid, nullable TCaret) */
4231 void nitc__parser_prod___ACaretMethid___init_acaretmethid(val
* self
, val
* p0
) {
4232 val
* var_n_op
/* var n_op: nullable TCaret */;
4234 { /* Inline kernel$Object$init (self) on <self:ACaretMethid> */
4239 if (unlikely(var_n_op
== NULL
)) {
4240 if(catchStack
.cursor
>= 0){
4241 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4243 PRINT_ERROR("Runtime error: %s", "Cast failed");
4244 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2012);
4247 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:ACaretMethid> */
4248 if (var_n_op
== NULL
) {
4249 if(catchStack
.cursor
>= 0){
4250 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4252 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4253 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2013);
4256 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TCaret> */
4257 if (unlikely(var_n_op
== NULL
)) {
4258 if(catchStack
.cursor
>= 0){
4259 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4261 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4262 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4265 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TCaret> */
4271 /* method parser_prod$ACaretMethid$replace_child for (self: ACaretMethid, ANode, nullable ANode) */
4272 void nitc__parser_prod___ACaretMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4273 val
* var_old_child
/* var old_child: ANode */;
4274 val
* var_new_child
/* var new_child: nullable ANode */;
4275 val
* var
/* : Token */;
4276 short int var1
/* : Bool */;
4277 val
* var_other
/* var other: nullable Object */;
4278 short int var3
/* : Bool */;
4279 short int var5
/* : Bool */;
4280 short int var6
/* : Bool */;
4283 const char* var_class_name
;
4286 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ACaretMethid> */
4287 if (unlikely(var
== NULL
)) {
4288 if(catchStack
.cursor
>= 0){
4289 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4291 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4292 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2018);
4296 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
4297 var_other
= var_old_child
;
4299 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
4300 var5
= var
== var_other
;
4312 /* <var_new_child:nullable ANode> isa TCaret */
4313 cltype
= type_nitc__TCaret
.color
;
4314 idtype
= type_nitc__TCaret
.id
;
4315 if(var_new_child
== NULL
) {
4318 if(cltype
>= var_new_child
->type
->table_size
) {
4321 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4324 if (unlikely(!var6
)) {
4325 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4326 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCaret", var_class_name
);
4327 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2019);
4331 nitc__parser_prod___ACaretMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ACaretMethid$n_op= on <self:ACaretMethid>*/
4338 /* method parser_prod$ACaretMethid$n_op= for (self: ACaretMethid, Token) */
4339 void nitc__parser_prod___ACaretMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
4340 val
* var_node
/* var node: Token */;
4342 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:ACaretMethid> */
4344 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4345 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4351 /* method parser_prod$ACaretMethid$visit_all for (self: ACaretMethid, Visitor) */
4352 void nitc__parser_prod___ACaretMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4353 val
* var_v
/* var v: Visitor */;
4354 val
* var
/* : Token */;
4356 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ACaretMethid> */
4357 if (unlikely(var
== NULL
)) {
4358 if(catchStack
.cursor
>= 0){
4359 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4361 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4362 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2033);
4366 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4370 /* method parser_prod$AAmpMethid$init_aampmethid for (self: AAmpMethid, nullable TAmp) */
4371 void nitc__parser_prod___AAmpMethid___init_aampmethid(val
* self
, val
* p0
) {
4372 val
* var_n_op
/* var n_op: nullable TAmp */;
4374 { /* Inline kernel$Object$init (self) on <self:AAmpMethid> */
4379 if (unlikely(var_n_op
== NULL
)) {
4380 if(catchStack
.cursor
>= 0){
4381 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4383 PRINT_ERROR("Runtime error: %s", "Cast failed");
4384 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2041);
4387 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:AAmpMethid> */
4388 if (var_n_op
== NULL
) {
4389 if(catchStack
.cursor
>= 0){
4390 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4392 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4393 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2042);
4396 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TAmp> */
4397 if (unlikely(var_n_op
== NULL
)) {
4398 if(catchStack
.cursor
>= 0){
4399 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4401 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4402 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4405 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TAmp> */
4411 /* method parser_prod$AAmpMethid$replace_child for (self: AAmpMethid, ANode, nullable ANode) */
4412 void nitc__parser_prod___AAmpMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4413 val
* var_old_child
/* var old_child: ANode */;
4414 val
* var_new_child
/* var new_child: nullable ANode */;
4415 val
* var
/* : Token */;
4416 short int var1
/* : Bool */;
4417 val
* var_other
/* var other: nullable Object */;
4418 short int var3
/* : Bool */;
4419 short int var5
/* : Bool */;
4420 short int var6
/* : Bool */;
4423 const char* var_class_name
;
4426 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AAmpMethid> */
4427 if (unlikely(var
== NULL
)) {
4428 if(catchStack
.cursor
>= 0){
4429 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4431 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4432 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2047);
4436 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
4437 var_other
= var_old_child
;
4439 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
4440 var5
= var
== var_other
;
4452 /* <var_new_child:nullable ANode> isa TAmp */
4453 cltype
= type_nitc__TAmp
.color
;
4454 idtype
= type_nitc__TAmp
.id
;
4455 if(var_new_child
== NULL
) {
4458 if(cltype
>= var_new_child
->type
->table_size
) {
4461 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4464 if (unlikely(!var6
)) {
4465 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4466 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAmp", var_class_name
);
4467 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2048);
4471 nitc__parser_prod___AAmpMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AAmpMethid$n_op= on <self:AAmpMethid>*/
4478 /* method parser_prod$AAmpMethid$n_op= for (self: AAmpMethid, Token) */
4479 void nitc__parser_prod___AAmpMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
4480 val
* var_node
/* var node: Token */;
4482 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:AAmpMethid> */
4484 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4485 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4491 /* method parser_prod$AAmpMethid$visit_all for (self: AAmpMethid, Visitor) */
4492 void nitc__parser_prod___AAmpMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4493 val
* var_v
/* var v: Visitor */;
4494 val
* var
/* : Token */;
4496 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:AAmpMethid> */
4497 if (unlikely(var
== NULL
)) {
4498 if(catchStack
.cursor
>= 0){
4499 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4501 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4502 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2062);
4506 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4510 /* method parser_prod$ATildeMethid$init_atildemethid for (self: ATildeMethid, nullable TTilde) */
4511 void nitc__parser_prod___ATildeMethid___init_atildemethid(val
* self
, val
* p0
) {
4512 val
* var_n_op
/* var n_op: nullable TTilde */;
4514 { /* Inline kernel$Object$init (self) on <self:ATildeMethid> */
4519 if (unlikely(var_n_op
== NULL
)) {
4520 if(catchStack
.cursor
>= 0){
4521 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4523 PRINT_ERROR("Runtime error: %s", "Cast failed");
4524 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2070);
4527 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_n_op
; /* _n_op on <self:ATildeMethid> */
4528 if (var_n_op
== NULL
) {
4529 if(catchStack
.cursor
>= 0){
4530 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4532 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4533 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2071);
4536 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TTilde> */
4537 if (unlikely(var_n_op
== NULL
)) {
4538 if(catchStack
.cursor
>= 0){
4539 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4541 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4542 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4545 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TTilde> */
4551 /* method parser_prod$ATildeMethid$replace_child for (self: ATildeMethid, ANode, nullable ANode) */
4552 void nitc__parser_prod___ATildeMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4553 val
* var_old_child
/* var old_child: ANode */;
4554 val
* var_new_child
/* var new_child: nullable ANode */;
4555 val
* var
/* : Token */;
4556 short int var1
/* : Bool */;
4557 val
* var_other
/* var other: nullable Object */;
4558 short int var3
/* : Bool */;
4559 short int var5
/* : Bool */;
4560 short int var6
/* : Bool */;
4563 const char* var_class_name
;
4566 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ATildeMethid> */
4567 if (unlikely(var
== NULL
)) {
4568 if(catchStack
.cursor
>= 0){
4569 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4571 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4572 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2076);
4576 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
4577 var_other
= var_old_child
;
4579 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
4580 var5
= var
== var_other
;
4592 /* <var_new_child:nullable ANode> isa TTilde */
4593 cltype
= type_nitc__TTilde
.color
;
4594 idtype
= type_nitc__TTilde
.id
;
4595 if(var_new_child
== NULL
) {
4598 if(cltype
>= var_new_child
->type
->table_size
) {
4601 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4604 if (unlikely(!var6
)) {
4605 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4606 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TTilde", var_class_name
);
4607 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2077);
4611 nitc__parser_prod___ATildeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ATildeMethid$n_op= on <self:ATildeMethid>*/
4618 /* method parser_prod$ATildeMethid$n_op= for (self: ATildeMethid, Token) */
4619 void nitc__parser_prod___ATildeMethid___nitc__parser_nodes__AOperatorMethid__n_op_61d(val
* self
, val
* p0
) {
4620 val
* var_node
/* var node: Token */;
4622 self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
= var_node
; /* _n_op on <self:ATildeMethid> */
4624 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4625 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4631 /* method parser_prod$ATildeMethid$visit_all for (self: ATildeMethid, Visitor) */
4632 void nitc__parser_prod___ATildeMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4633 val
* var_v
/* var v: Visitor */;
4634 val
* var
/* : Token */;
4636 var
= self
->attrs
[COLOR_nitc__parser_nodes__AOperatorMethid___n_op
].val
; /* _n_op on <self:ATildeMethid> */
4637 if (unlikely(var
== NULL
)) {
4638 if(catchStack
.cursor
>= 0){
4639 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4641 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4642 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2091);
4646 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4650 /* method parser_prod$ABraMethid$init_abramethid for (self: ABraMethid, nullable TObra, nullable TCbra) */
4651 void nitc__parser_prod___ABraMethid___init_abramethid(val
* self
, val
* p0
, val
* p1
) {
4652 val
* var_n_obra
/* var n_obra: nullable TObra */;
4653 val
* var_n_cbra
/* var n_cbra: nullable TCbra */;
4655 { /* Inline kernel$Object$init (self) on <self:ABraMethid> */
4661 if (unlikely(var_n_obra
== NULL
)) {
4662 if(catchStack
.cursor
>= 0){
4663 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4665 PRINT_ERROR("Runtime error: %s", "Cast failed");
4666 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2100);
4669 self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_obra
].val
= var_n_obra
; /* _n_obra on <self:ABraMethid> */
4670 if (var_n_obra
== NULL
) {
4671 if(catchStack
.cursor
>= 0){
4672 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4674 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4675 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2101);
4678 { /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on <var_n_obra:nullable TObra> */
4679 if (unlikely(var_n_obra
== NULL
)) {
4680 if(catchStack
.cursor
>= 0){
4681 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4683 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4684 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4687 var_n_obra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_obra:nullable TObra> */
4691 if (unlikely(var_n_cbra
== NULL
)) {
4692 if(catchStack
.cursor
>= 0){
4693 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4695 PRINT_ERROR("Runtime error: %s", "Cast failed");
4696 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2102);
4699 self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_cbra
].val
= var_n_cbra
; /* _n_cbra on <self:ABraMethid> */
4700 if (var_n_cbra
== NULL
) {
4701 if(catchStack
.cursor
>= 0){
4702 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4704 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4705 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2103);
4708 { /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on <var_n_cbra:nullable TCbra> */
4709 if (unlikely(var_n_cbra
== NULL
)) {
4710 if(catchStack
.cursor
>= 0){
4711 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4713 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4714 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4717 var_n_cbra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cbra:nullable TCbra> */
4723 /* method parser_prod$ABraMethid$replace_child for (self: ABraMethid, ANode, nullable ANode) */
4724 void nitc__parser_prod___ABraMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4725 val
* var_old_child
/* var old_child: ANode */;
4726 val
* var_new_child
/* var new_child: nullable ANode */;
4727 val
* var
/* : TObra */;
4728 short int var1
/* : Bool */;
4729 val
* var_other
/* var other: nullable Object */;
4730 short int var3
/* : Bool */;
4731 short int var5
/* : Bool */;
4732 short int var6
/* : Bool */;
4735 const char* var_class_name
;
4736 val
* var7
/* : TCbra */;
4737 short int var8
/* : Bool */;
4738 short int var10
/* : Bool */;
4739 short int var12
/* : Bool */;
4740 short int var13
/* : Bool */;
4743 const char* var_class_name16
;
4746 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_obra
].val
; /* _n_obra on <self:ABraMethid> */
4747 if (unlikely(var
== NULL
)) {
4748 if(catchStack
.cursor
>= 0){
4749 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4751 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra");
4752 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2108);
4756 { /* Inline kernel$Object$== (var,var_old_child) on <var:TObra> */
4757 var_other
= var_old_child
;
4759 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TObra> */
4760 var5
= var
== var_other
;
4772 /* <var_new_child:nullable ANode> isa TObra */
4773 cltype
= type_nitc__TObra
.color
;
4774 idtype
= type_nitc__TObra
.id
;
4775 if(var_new_child
== NULL
) {
4778 if(cltype
>= var_new_child
->type
->table_size
) {
4781 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4784 if (unlikely(!var6
)) {
4785 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4786 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name
);
4787 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2109);
4791 nitc__parser_prod___ABraMethid___n_obra_61d(self
, var_new_child
); /* Direct call parser_prod$ABraMethid$n_obra= on <self:ABraMethid>*/
4796 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_cbra
].val
; /* _n_cbra on <self:ABraMethid> */
4797 if (unlikely(var7
== NULL
)) {
4798 if(catchStack
.cursor
>= 0){
4799 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4801 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra");
4802 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2112);
4806 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TCbra> */
4807 var_other
= var_old_child
;
4809 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TCbra> */
4810 var12
= var7
== var_other
;
4813 RET_LABEL11
:(void)0;
4822 /* <var_new_child:nullable ANode> isa TCbra */
4823 cltype14
= type_nitc__TCbra
.color
;
4824 idtype15
= type_nitc__TCbra
.id
;
4825 if(var_new_child
== NULL
) {
4828 if(cltype14
>= var_new_child
->type
->table_size
) {
4831 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
4834 if (unlikely(!var13
)) {
4835 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4836 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCbra", var_class_name16
);
4837 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2113);
4841 nitc__parser_prod___ABraMethid___n_cbra_61d(self
, var_new_child
); /* Direct call parser_prod$ABraMethid$n_cbra= on <self:ABraMethid>*/
4848 /* method parser_prod$ABraMethid$n_obra= for (self: ABraMethid, TObra) */
4849 void nitc__parser_prod___ABraMethid___n_obra_61d(val
* self
, val
* p0
) {
4850 val
* var_node
/* var node: TObra */;
4852 self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_obra
].val
= var_node
; /* _n_obra on <self:ABraMethid> */
4854 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TObra> */
4855 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TObra> */
4861 /* method parser_prod$ABraMethid$n_cbra= for (self: ABraMethid, TCbra) */
4862 void nitc__parser_prod___ABraMethid___n_cbra_61d(val
* self
, val
* p0
) {
4863 val
* var_node
/* var node: TCbra */;
4865 self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_cbra
].val
= var_node
; /* _n_cbra on <self:ABraMethid> */
4867 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TCbra> */
4868 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TCbra> */
4874 /* method parser_prod$ABraMethid$visit_all for (self: ABraMethid, Visitor) */
4875 void nitc__parser_prod___ABraMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4876 val
* var_v
/* var v: Visitor */;
4877 val
* var
/* : TObra */;
4878 val
* var1
/* : TCbra */;
4880 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_obra
].val
; /* _n_obra on <self:ABraMethid> */
4881 if (unlikely(var
== NULL
)) {
4882 if(catchStack
.cursor
>= 0){
4883 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4885 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra");
4886 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2132);
4890 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4892 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABraMethid___n_cbra
].val
; /* _n_cbra on <self:ABraMethid> */
4893 if (unlikely(var1
== NULL
)) {
4894 if(catchStack
.cursor
>= 0){
4895 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4897 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra");
4898 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2133);
4902 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4906 /* method parser_prod$AAssignMethid$init_aassignmethid for (self: AAssignMethid, nullable TId, nullable TAssign) */
4907 void nitc__parser_prod___AAssignMethid___init_aassignmethid(val
* self
, val
* p0
, val
* p1
) {
4908 val
* var_n_id
/* var n_id: nullable TId */;
4909 val
* var_n_assign
/* var n_assign: nullable TAssign */;
4911 { /* Inline kernel$Object$init (self) on <self:AAssignMethid> */
4917 if (unlikely(var_n_id
== NULL
)) {
4918 if(catchStack
.cursor
>= 0){
4919 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4921 PRINT_ERROR("Runtime error: %s", "Cast failed");
4922 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2142);
4925 self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_id
].val
= var_n_id
; /* _n_id on <self:AAssignMethid> */
4926 if (var_n_id
== NULL
) {
4927 if(catchStack
.cursor
>= 0){
4928 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4930 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4931 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2143);
4934 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId> */
4935 if (unlikely(var_n_id
== NULL
)) {
4936 if(catchStack
.cursor
>= 0){
4937 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4939 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4940 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4943 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId> */
4947 if (unlikely(var_n_assign
== NULL
)) {
4948 if(catchStack
.cursor
>= 0){
4949 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4951 PRINT_ERROR("Runtime error: %s", "Cast failed");
4952 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2144);
4955 self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_assign
].val
= var_n_assign
; /* _n_assign on <self:AAssignMethid> */
4956 if (var_n_assign
== NULL
) {
4957 if(catchStack
.cursor
>= 0){
4958 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4960 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4961 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2145);
4964 { /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on <var_n_assign:nullable TAssign> */
4965 if (unlikely(var_n_assign
== NULL
)) {
4966 if(catchStack
.cursor
>= 0){
4967 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4969 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4970 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4973 var_n_assign
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign:nullable TAssign> */
4979 /* method parser_prod$AAssignMethid$replace_child for (self: AAssignMethid, ANode, nullable ANode) */
4980 void nitc__parser_prod___AAssignMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4981 val
* var_old_child
/* var old_child: ANode */;
4982 val
* var_new_child
/* var new_child: nullable ANode */;
4983 val
* var
/* : TId */;
4984 short int var1
/* : Bool */;
4985 val
* var_other
/* var other: nullable Object */;
4986 short int var3
/* : Bool */;
4987 short int var5
/* : Bool */;
4988 short int var6
/* : Bool */;
4991 const char* var_class_name
;
4992 val
* var7
/* : TAssign */;
4993 short int var8
/* : Bool */;
4994 short int var10
/* : Bool */;
4995 short int var12
/* : Bool */;
4996 short int var13
/* : Bool */;
4999 const char* var_class_name16
;
5002 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_id
].val
; /* _n_id on <self:AAssignMethid> */
5003 if (unlikely(var
== NULL
)) {
5004 if(catchStack
.cursor
>= 0){
5005 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5007 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
5008 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2150);
5012 { /* Inline kernel$Object$== (var,var_old_child) on <var:TId> */
5013 var_other
= var_old_child
;
5015 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TId> */
5016 var5
= var
== var_other
;
5028 /* <var_new_child:nullable ANode> isa TId */
5029 cltype
= type_nitc__TId
.color
;
5030 idtype
= type_nitc__TId
.id
;
5031 if(var_new_child
== NULL
) {
5034 if(cltype
>= var_new_child
->type
->table_size
) {
5037 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5040 if (unlikely(!var6
)) {
5041 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5042 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name
);
5043 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2151);
5047 nitc__parser_prod___AAssignMethid___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AAssignMethid$n_id= on <self:AAssignMethid>*/
5052 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_assign
].val
; /* _n_assign on <self:AAssignMethid> */
5053 if (unlikely(var7
== NULL
)) {
5054 if(catchStack
.cursor
>= 0){
5055 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5057 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
5058 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2154);
5062 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TAssign> */
5063 var_other
= var_old_child
;
5065 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TAssign> */
5066 var12
= var7
== var_other
;
5069 RET_LABEL11
:(void)0;
5078 /* <var_new_child:nullable ANode> isa TAssign */
5079 cltype14
= type_nitc__TAssign
.color
;
5080 idtype15
= type_nitc__TAssign
.id
;
5081 if(var_new_child
== NULL
) {
5084 if(cltype14
>= var_new_child
->type
->table_size
) {
5087 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
5090 if (unlikely(!var13
)) {
5091 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5092 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name16
);
5093 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2155);
5097 nitc__parser_prod___AAssignMethid___n_assign_61d(self
, var_new_child
); /* Direct call parser_prod$AAssignMethid$n_assign= on <self:AAssignMethid>*/
5104 /* method parser_prod$AAssignMethid$n_id= for (self: AAssignMethid, TId) */
5105 void nitc__parser_prod___AAssignMethid___n_id_61d(val
* self
, val
* p0
) {
5106 val
* var_node
/* var node: TId */;
5108 self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_id
].val
= var_node
; /* _n_id on <self:AAssignMethid> */
5110 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TId> */
5111 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TId> */
5117 /* method parser_prod$AAssignMethid$n_assign= for (self: AAssignMethid, TAssign) */
5118 void nitc__parser_prod___AAssignMethid___n_assign_61d(val
* self
, val
* p0
) {
5119 val
* var_node
/* var node: TAssign */;
5121 self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_assign
].val
= var_node
; /* _n_assign on <self:AAssignMethid> */
5123 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TAssign> */
5124 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TAssign> */
5130 /* method parser_prod$AAssignMethid$visit_all for (self: AAssignMethid, Visitor) */
5131 void nitc__parser_prod___AAssignMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5132 val
* var_v
/* var v: Visitor */;
5133 val
* var
/* : TId */;
5134 val
* var1
/* : TAssign */;
5136 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_id
].val
; /* _n_id on <self:AAssignMethid> */
5137 if (unlikely(var
== NULL
)) {
5138 if(catchStack
.cursor
>= 0){
5139 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5141 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
5142 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2174);
5146 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5148 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignMethid___n_assign
].val
; /* _n_assign on <self:AAssignMethid> */
5149 if (unlikely(var1
== NULL
)) {
5150 if(catchStack
.cursor
>= 0){
5151 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5153 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
5154 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2175);
5158 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5162 /* method parser_prod$ABraassignMethid$init_abraassignmethid for (self: ABraassignMethid, nullable TObra, nullable TCbra, nullable TAssign) */
5163 void nitc__parser_prod___ABraassignMethid___init_abraassignmethid(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
5164 val
* var_n_obra
/* var n_obra: nullable TObra */;
5165 val
* var_n_cbra
/* var n_cbra: nullable TCbra */;
5166 val
* var_n_assign
/* var n_assign: nullable TAssign */;
5168 { /* Inline kernel$Object$init (self) on <self:ABraassignMethid> */
5175 if (unlikely(var_n_obra
== NULL
)) {
5176 if(catchStack
.cursor
>= 0){
5177 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5179 PRINT_ERROR("Runtime error: %s", "Cast failed");
5180 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2185);
5183 self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_obra
].val
= var_n_obra
; /* _n_obra on <self:ABraassignMethid> */
5184 if (var_n_obra
== NULL
) {
5185 if(catchStack
.cursor
>= 0){
5186 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5188 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5189 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2186);
5192 { /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on <var_n_obra:nullable TObra> */
5193 if (unlikely(var_n_obra
== NULL
)) {
5194 if(catchStack
.cursor
>= 0){
5195 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5197 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5198 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5201 var_n_obra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_obra:nullable TObra> */
5205 if (unlikely(var_n_cbra
== NULL
)) {
5206 if(catchStack
.cursor
>= 0){
5207 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5209 PRINT_ERROR("Runtime error: %s", "Cast failed");
5210 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2187);
5213 self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_cbra
].val
= var_n_cbra
; /* _n_cbra on <self:ABraassignMethid> */
5214 if (var_n_cbra
== NULL
) {
5215 if(catchStack
.cursor
>= 0){
5216 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5218 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5219 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2188);
5222 { /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on <var_n_cbra:nullable TCbra> */
5223 if (unlikely(var_n_cbra
== NULL
)) {
5224 if(catchStack
.cursor
>= 0){
5225 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5227 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5228 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5231 var_n_cbra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cbra:nullable TCbra> */
5235 if (unlikely(var_n_assign
== NULL
)) {
5236 if(catchStack
.cursor
>= 0){
5237 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5239 PRINT_ERROR("Runtime error: %s", "Cast failed");
5240 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2189);
5243 self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_assign
].val
= var_n_assign
; /* _n_assign on <self:ABraassignMethid> */
5244 if (var_n_assign
== NULL
) {
5245 if(catchStack
.cursor
>= 0){
5246 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5248 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5249 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2190);
5252 { /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on <var_n_assign:nullable TAssign> */
5253 if (unlikely(var_n_assign
== NULL
)) {
5254 if(catchStack
.cursor
>= 0){
5255 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5257 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5258 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5261 var_n_assign
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign:nullable TAssign> */
5267 /* method parser_prod$ABraassignMethid$replace_child for (self: ABraassignMethid, ANode, nullable ANode) */
5268 void nitc__parser_prod___ABraassignMethid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5269 val
* var_old_child
/* var old_child: ANode */;
5270 val
* var_new_child
/* var new_child: nullable ANode */;
5271 val
* var
/* : TObra */;
5272 short int var1
/* : Bool */;
5273 val
* var_other
/* var other: nullable Object */;
5274 short int var3
/* : Bool */;
5275 short int var5
/* : Bool */;
5276 short int var6
/* : Bool */;
5279 const char* var_class_name
;
5280 val
* var7
/* : TCbra */;
5281 short int var8
/* : Bool */;
5282 short int var10
/* : Bool */;
5283 short int var12
/* : Bool */;
5284 short int var13
/* : Bool */;
5287 const char* var_class_name16
;
5288 val
* var17
/* : TAssign */;
5289 short int var18
/* : Bool */;
5290 short int var20
/* : Bool */;
5291 short int var22
/* : Bool */;
5292 short int var23
/* : Bool */;
5295 const char* var_class_name26
;
5298 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_obra
].val
; /* _n_obra on <self:ABraassignMethid> */
5299 if (unlikely(var
== NULL
)) {
5300 if(catchStack
.cursor
>= 0){
5301 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5303 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra");
5304 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2195);
5308 { /* Inline kernel$Object$== (var,var_old_child) on <var:TObra> */
5309 var_other
= var_old_child
;
5311 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TObra> */
5312 var5
= var
== var_other
;
5324 /* <var_new_child:nullable ANode> isa TObra */
5325 cltype
= type_nitc__TObra
.color
;
5326 idtype
= type_nitc__TObra
.id
;
5327 if(var_new_child
== NULL
) {
5330 if(cltype
>= var_new_child
->type
->table_size
) {
5333 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5336 if (unlikely(!var6
)) {
5337 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5338 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name
);
5339 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2196);
5343 nitc__parser_prod___ABraassignMethid___n_obra_61d(self
, var_new_child
); /* Direct call parser_prod$ABraassignMethid$n_obra= on <self:ABraassignMethid>*/
5348 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_cbra
].val
; /* _n_cbra on <self:ABraassignMethid> */
5349 if (unlikely(var7
== NULL
)) {
5350 if(catchStack
.cursor
>= 0){
5351 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5353 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra");
5354 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2199);
5358 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TCbra> */
5359 var_other
= var_old_child
;
5361 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TCbra> */
5362 var12
= var7
== var_other
;
5365 RET_LABEL11
:(void)0;
5374 /* <var_new_child:nullable ANode> isa TCbra */
5375 cltype14
= type_nitc__TCbra
.color
;
5376 idtype15
= type_nitc__TCbra
.id
;
5377 if(var_new_child
== NULL
) {
5380 if(cltype14
>= var_new_child
->type
->table_size
) {
5383 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
5386 if (unlikely(!var13
)) {
5387 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5388 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCbra", var_class_name16
);
5389 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2200);
5393 nitc__parser_prod___ABraassignMethid___n_cbra_61d(self
, var_new_child
); /* Direct call parser_prod$ABraassignMethid$n_cbra= on <self:ABraassignMethid>*/
5398 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_assign
].val
; /* _n_assign on <self:ABraassignMethid> */
5399 if (unlikely(var17
== NULL
)) {
5400 if(catchStack
.cursor
>= 0){
5401 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5403 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
5404 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2203);
5408 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:TAssign> */
5409 var_other
= var_old_child
;
5411 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:TAssign> */
5412 var22
= var17
== var_other
;
5415 RET_LABEL21
:(void)0;
5420 RET_LABEL19
:(void)0;
5424 /* <var_new_child:nullable ANode> isa TAssign */
5425 cltype24
= type_nitc__TAssign
.color
;
5426 idtype25
= type_nitc__TAssign
.id
;
5427 if(var_new_child
== NULL
) {
5430 if(cltype24
>= var_new_child
->type
->table_size
) {
5433 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
5436 if (unlikely(!var23
)) {
5437 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5438 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name26
);
5439 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2204);
5443 nitc__parser_prod___ABraassignMethid___n_assign_61d(self
, var_new_child
); /* Direct call parser_prod$ABraassignMethid$n_assign= on <self:ABraassignMethid>*/
5450 /* method parser_prod$ABraassignMethid$n_obra= for (self: ABraassignMethid, TObra) */
5451 void nitc__parser_prod___ABraassignMethid___n_obra_61d(val
* self
, val
* p0
) {
5452 val
* var_node
/* var node: TObra */;
5454 self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_obra
].val
= var_node
; /* _n_obra on <self:ABraassignMethid> */
5456 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TObra> */
5457 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TObra> */
5463 /* method parser_prod$ABraassignMethid$n_cbra= for (self: ABraassignMethid, TCbra) */
5464 void nitc__parser_prod___ABraassignMethid___n_cbra_61d(val
* self
, val
* p0
) {
5465 val
* var_node
/* var node: TCbra */;
5467 self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_cbra
].val
= var_node
; /* _n_cbra on <self:ABraassignMethid> */
5469 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TCbra> */
5470 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TCbra> */
5476 /* method parser_prod$ABraassignMethid$n_assign= for (self: ABraassignMethid, TAssign) */
5477 void nitc__parser_prod___ABraassignMethid___n_assign_61d(val
* self
, val
* p0
) {
5478 val
* var_node
/* var node: TAssign */;
5480 self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_assign
].val
= var_node
; /* _n_assign on <self:ABraassignMethid> */
5482 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TAssign> */
5483 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TAssign> */
5489 /* method parser_prod$ABraassignMethid$visit_all for (self: ABraassignMethid, Visitor) */
5490 void nitc__parser_prod___ABraassignMethid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5491 val
* var_v
/* var v: Visitor */;
5492 val
* var
/* : TObra */;
5493 val
* var1
/* : TCbra */;
5494 val
* var2
/* : TAssign */;
5496 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_obra
].val
; /* _n_obra on <self:ABraassignMethid> */
5497 if (unlikely(var
== NULL
)) {
5498 if(catchStack
.cursor
>= 0){
5499 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5501 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra");
5502 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2228);
5506 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5508 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_cbra
].val
; /* _n_cbra on <self:ABraassignMethid> */
5509 if (unlikely(var1
== NULL
)) {
5510 if(catchStack
.cursor
>= 0){
5511 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5513 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra");
5514 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2229);
5518 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5520 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABraassignMethid___n_assign
].val
; /* _n_assign on <self:ABraassignMethid> */
5521 if (unlikely(var2
== NULL
)) {
5522 if(catchStack
.cursor
>= 0){
5523 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5525 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
5526 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2230);
5530 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5534 /* method parser_prod$AQid$init_aqid for (self: AQid, nullable AQualified, nullable TId) */
5535 void nitc__parser_prod___AQid___init_aqid(val
* self
, val
* p0
, val
* p1
) {
5536 val
* var_n_qualified
/* var n_qualified: nullable AQualified */;
5537 val
* var_n_id
/* var n_id: nullable TId */;
5538 short int var
/* : Bool */;
5539 short int var2
/* : Bool */;
5540 val
* var_other
/* var other: nullable Object */;
5541 short int var4
/* : Bool */;
5542 short int var5
/* : Bool */;
5544 { /* Inline kernel$Object$init (self) on <self:AQid> */
5548 var_n_qualified
= p0
;
5550 self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_qualified
].val
= var_n_qualified
; /* _n_qualified on <self:AQid> */
5551 if (var_n_qualified
== NULL
) {
5552 var
= 0; /* is null */
5554 var
= 1; /* arg is null and recv is not */
5557 { /* Inline kernel$Object$!= (var_n_qualified,((val*)NULL)) on <var_n_qualified:nullable AQualified> */
5558 var_other
= ((val
*)NULL
);
5560 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_qualified
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_qualified
, var_other
); /* == on <var_n_qualified:nullable AQualified(AQualified)>*/
5571 { /* Inline parser_nodes$ANode$parent= (var_n_qualified,self) on <var_n_qualified:nullable AQualified(AQualified)> */
5572 var_n_qualified
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qualified:nullable AQualified(AQualified)> */
5578 if (unlikely(var_n_id
== NULL
)) {
5579 if(catchStack
.cursor
>= 0){
5580 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5582 PRINT_ERROR("Runtime error: %s", "Cast failed");
5583 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2241);
5586 self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_id
].val
= var_n_id
; /* _n_id on <self:AQid> */
5587 if (var_n_id
== NULL
) {
5588 if(catchStack
.cursor
>= 0){
5589 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5591 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5592 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2242);
5595 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId> */
5596 if (unlikely(var_n_id
== NULL
)) {
5597 if(catchStack
.cursor
>= 0){
5598 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5600 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5601 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5604 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId> */
5610 /* method parser_prod$AQid$replace_child for (self: AQid, ANode, nullable ANode) */
5611 void nitc__parser_prod___AQid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5612 val
* var_old_child
/* var old_child: ANode */;
5613 val
* var_new_child
/* var new_child: nullable ANode */;
5614 val
* var
/* : nullable AQualified */;
5615 short int var1
/* : Bool */;
5616 short int var2
/* : Bool */;
5617 val
* var_other
/* var other: nullable Object */;
5618 short int var4
/* : Bool */;
5619 short int var6
/* : Bool */;
5620 short int var7
/* : Bool */;
5623 const char* var_class_name
;
5624 val
* var8
/* : TId */;
5625 short int var9
/* : Bool */;
5626 short int var11
/* : Bool */;
5627 short int var13
/* : Bool */;
5628 short int var14
/* : Bool */;
5631 const char* var_class_name17
;
5634 var
= self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_qualified
].val
; /* _n_qualified on <self:AQid> */
5636 var1
= 0; /* <var_old_child:ANode> cannot be null */
5638 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable AQualified> */
5639 var_other
= var_old_child
;
5641 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable AQualified(AQualified)> */
5642 var6
= var
== var_other
;
5655 /* <var_new_child:nullable ANode> isa nullable AQualified */
5656 cltype
= type_nullable__nitc__AQualified
.color
;
5657 idtype
= type_nullable__nitc__AQualified
.id
;
5658 if(var_new_child
== NULL
) {
5661 if(cltype
>= var_new_child
->type
->table_size
) {
5664 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5667 if (unlikely(!var7
)) {
5668 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5669 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQualified", var_class_name
);
5670 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2248);
5674 nitc__parser_prod___AQid___n_qualified_61d(self
, var_new_child
); /* Direct call parser_prod$AQid$n_qualified= on <self:AQid>*/
5679 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_id
].val
; /* _n_id on <self:AQid> */
5680 if (unlikely(var8
== NULL
)) {
5681 if(catchStack
.cursor
>= 0){
5682 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5684 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
5685 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2251);
5689 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:TId> */
5690 var_other
= var_old_child
;
5692 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:TId> */
5693 var13
= var8
== var_other
;
5696 RET_LABEL12
:(void)0;
5701 RET_LABEL10
:(void)0;
5705 /* <var_new_child:nullable ANode> isa TId */
5706 cltype15
= type_nitc__TId
.color
;
5707 idtype16
= type_nitc__TId
.id
;
5708 if(var_new_child
== NULL
) {
5711 if(cltype15
>= var_new_child
->type
->table_size
) {
5714 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
5717 if (unlikely(!var14
)) {
5718 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5719 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name17
);
5720 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2252);
5724 nitc__parser_prod___AQid___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AQid$n_id= on <self:AQid>*/
5731 /* method parser_prod$AQid$n_qualified= for (self: AQid, nullable AQualified) */
5732 void nitc__parser_prod___AQid___n_qualified_61d(val
* self
, val
* p0
) {
5733 val
* var_node
/* var node: nullable AQualified */;
5734 short int var
/* : Bool */;
5735 short int var1
/* : Bool */;
5736 val
* var_other
/* var other: nullable Object */;
5737 short int var3
/* : Bool */;
5738 short int var4
/* : Bool */;
5740 self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_qualified
].val
= var_node
; /* _n_qualified on <self:AQid> */
5741 if (var_node
== NULL
) {
5742 var
= 0; /* is null */
5744 var
= 1; /* arg is null and recv is not */
5747 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AQualified> */
5748 var_other
= ((val
*)NULL
);
5750 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AQualified(AQualified)>*/
5761 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AQualified(AQualified)> */
5762 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AQualified(AQualified)> */
5770 /* method parser_prod$AQid$n_id= for (self: AQid, TId) */
5771 void nitc__parser_prod___AQid___n_id_61d(val
* self
, val
* p0
) {
5772 val
* var_node
/* var node: TId */;
5774 self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_id
].val
= var_node
; /* _n_id on <self:AQid> */
5776 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TId> */
5777 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TId> */
5783 /* method parser_prod$AQid$visit_all for (self: AQid, Visitor) */
5784 void nitc__parser_prod___AQid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5785 val
* var_v
/* var v: Visitor */;
5786 val
* var
/* : nullable AQualified */;
5787 val
* var1
/* : TId */;
5789 var
= self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_qualified
].val
; /* _n_qualified on <self:AQid> */
5791 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5793 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AQid___n_id
].val
; /* _n_id on <self:AQid> */
5794 if (unlikely(var1
== NULL
)) {
5795 if(catchStack
.cursor
>= 0){
5796 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5798 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
5799 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2272);
5803 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5807 /* method parser_prod$AQclassid$init_aqclassid for (self: AQclassid, nullable AQualified, nullable TClassid) */
5808 void nitc__parser_prod___AQclassid___init_aqclassid(val
* self
, val
* p0
, val
* p1
) {
5809 val
* var_n_qualified
/* var n_qualified: nullable AQualified */;
5810 val
* var_n_id
/* var n_id: nullable TClassid */;
5811 short int var
/* : Bool */;
5812 short int var2
/* : Bool */;
5813 val
* var_other
/* var other: nullable Object */;
5814 short int var4
/* : Bool */;
5815 short int var5
/* : Bool */;
5817 { /* Inline kernel$Object$init (self) on <self:AQclassid> */
5821 var_n_qualified
= p0
;
5823 self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_qualified
].val
= var_n_qualified
; /* _n_qualified on <self:AQclassid> */
5824 if (var_n_qualified
== NULL
) {
5825 var
= 0; /* is null */
5827 var
= 1; /* arg is null and recv is not */
5830 { /* Inline kernel$Object$!= (var_n_qualified,((val*)NULL)) on <var_n_qualified:nullable AQualified> */
5831 var_other
= ((val
*)NULL
);
5833 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_qualified
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_qualified
, var_other
); /* == on <var_n_qualified:nullable AQualified(AQualified)>*/
5844 { /* Inline parser_nodes$ANode$parent= (var_n_qualified,self) on <var_n_qualified:nullable AQualified(AQualified)> */
5845 var_n_qualified
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qualified:nullable AQualified(AQualified)> */
5851 if (unlikely(var_n_id
== NULL
)) {
5852 if(catchStack
.cursor
>= 0){
5853 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5855 PRINT_ERROR("Runtime error: %s", "Cast failed");
5856 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2283);
5859 self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_id
].val
= var_n_id
; /* _n_id on <self:AQclassid> */
5860 if (var_n_id
== NULL
) {
5861 if(catchStack
.cursor
>= 0){
5862 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5864 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5865 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2284);
5868 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TClassid> */
5869 if (unlikely(var_n_id
== NULL
)) {
5870 if(catchStack
.cursor
>= 0){
5871 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5873 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5874 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5877 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TClassid> */
5883 /* method parser_prod$AQclassid$replace_child for (self: AQclassid, ANode, nullable ANode) */
5884 void nitc__parser_prod___AQclassid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5885 val
* var_old_child
/* var old_child: ANode */;
5886 val
* var_new_child
/* var new_child: nullable ANode */;
5887 val
* var
/* : nullable AQualified */;
5888 short int var1
/* : Bool */;
5889 short int var2
/* : Bool */;
5890 val
* var_other
/* var other: nullable Object */;
5891 short int var4
/* : Bool */;
5892 short int var6
/* : Bool */;
5893 short int var7
/* : Bool */;
5896 const char* var_class_name
;
5897 val
* var8
/* : TClassid */;
5898 short int var9
/* : Bool */;
5899 short int var11
/* : Bool */;
5900 short int var13
/* : Bool */;
5901 short int var14
/* : Bool */;
5904 const char* var_class_name17
;
5907 var
= self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_qualified
].val
; /* _n_qualified on <self:AQclassid> */
5909 var1
= 0; /* <var_old_child:ANode> cannot be null */
5911 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable AQualified> */
5912 var_other
= var_old_child
;
5914 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable AQualified(AQualified)> */
5915 var6
= var
== var_other
;
5928 /* <var_new_child:nullable ANode> isa nullable AQualified */
5929 cltype
= type_nullable__nitc__AQualified
.color
;
5930 idtype
= type_nullable__nitc__AQualified
.id
;
5931 if(var_new_child
== NULL
) {
5934 if(cltype
>= var_new_child
->type
->table_size
) {
5937 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5940 if (unlikely(!var7
)) {
5941 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5942 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQualified", var_class_name
);
5943 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2290);
5947 nitc__parser_prod___AQclassid___n_qualified_61d(self
, var_new_child
); /* Direct call parser_prod$AQclassid$n_qualified= on <self:AQclassid>*/
5952 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_id
].val
; /* _n_id on <self:AQclassid> */
5953 if (unlikely(var8
== NULL
)) {
5954 if(catchStack
.cursor
>= 0){
5955 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5957 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
5958 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2293);
5962 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:TClassid> */
5963 var_other
= var_old_child
;
5965 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:TClassid> */
5966 var13
= var8
== var_other
;
5969 RET_LABEL12
:(void)0;
5974 RET_LABEL10
:(void)0;
5978 /* <var_new_child:nullable ANode> isa TClassid */
5979 cltype15
= type_nitc__TClassid
.color
;
5980 idtype16
= type_nitc__TClassid
.id
;
5981 if(var_new_child
== NULL
) {
5984 if(cltype15
>= var_new_child
->type
->table_size
) {
5987 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
5990 if (unlikely(!var14
)) {
5991 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5992 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TClassid", var_class_name17
);
5993 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2294);
5997 nitc__parser_prod___AQclassid___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AQclassid$n_id= on <self:AQclassid>*/
6004 /* method parser_prod$AQclassid$n_qualified= for (self: AQclassid, nullable AQualified) */
6005 void nitc__parser_prod___AQclassid___n_qualified_61d(val
* self
, val
* p0
) {
6006 val
* var_node
/* var node: nullable AQualified */;
6007 short int var
/* : Bool */;
6008 short int var1
/* : Bool */;
6009 val
* var_other
/* var other: nullable Object */;
6010 short int var3
/* : Bool */;
6011 short int var4
/* : Bool */;
6013 self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_qualified
].val
= var_node
; /* _n_qualified on <self:AQclassid> */
6014 if (var_node
== NULL
) {
6015 var
= 0; /* is null */
6017 var
= 1; /* arg is null and recv is not */
6020 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AQualified> */
6021 var_other
= ((val
*)NULL
);
6023 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AQualified(AQualified)>*/
6034 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AQualified(AQualified)> */
6035 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AQualified(AQualified)> */
6043 /* method parser_prod$AQclassid$n_id= for (self: AQclassid, TClassid) */
6044 void nitc__parser_prod___AQclassid___n_id_61d(val
* self
, val
* p0
) {
6045 val
* var_node
/* var node: TClassid */;
6047 self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_id
].val
= var_node
; /* _n_id on <self:AQclassid> */
6049 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TClassid> */
6050 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TClassid> */
6056 /* method parser_prod$AQclassid$visit_all for (self: AQclassid, Visitor) */
6057 void nitc__parser_prod___AQclassid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6058 val
* var_v
/* var v: Visitor */;
6059 val
* var
/* : nullable AQualified */;
6060 val
* var1
/* : TClassid */;
6062 var
= self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_qualified
].val
; /* _n_qualified on <self:AQclassid> */
6064 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6066 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_id
].val
; /* _n_id on <self:AQclassid> */
6067 if (unlikely(var1
== NULL
)) {
6068 if(catchStack
.cursor
>= 0){
6069 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6071 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6072 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2314);
6076 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6080 /* method parser_prod$ASignature$init_asignature for (self: ASignature, nullable TOpar, Collection[Object], nullable TCpar, nullable AType) */
6081 void nitc__parser_prod___ASignature___init_asignature(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
6082 val
* var_n_opar
/* var n_opar: nullable TOpar */;
6083 val
* var_n_params
/* var n_params: Collection[Object] */;
6084 val
* var_n_cpar
/* var n_cpar: nullable TCpar */;
6085 val
* var_n_type
/* var n_type: nullable AType */;
6086 short int var
/* : Bool */;
6087 short int var2
/* : Bool */;
6088 val
* var_other
/* var other: nullable Object */;
6089 short int var4
/* : Bool */;
6090 short int var5
/* : Bool */;
6091 val
* var7
/* : ANodes[AParam] */;
6092 val
* var9
/* : ANodes[AParam] */;
6093 short int var10
/* : Bool */;
6094 short int var11
/* : Bool */;
6095 short int var13
/* : Bool */;
6096 short int var14
/* : Bool */;
6097 short int var16
/* : Bool */;
6098 short int var17
/* : Bool */;
6099 short int var19
/* : Bool */;
6100 short int var20
/* : Bool */;
6102 { /* Inline kernel$Object$init (self) on <self:ASignature> */
6110 self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_opar
].val
= var_n_opar
; /* _n_opar on <self:ASignature> */
6111 if (var_n_opar
== NULL
) {
6112 var
= 0; /* is null */
6114 var
= 1; /* arg is null and recv is not */
6117 { /* Inline kernel$Object$!= (var_n_opar,((val*)NULL)) on <var_n_opar:nullable TOpar> */
6118 var_other
= ((val
*)NULL
);
6120 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_opar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_opar
, var_other
); /* == on <var_n_opar:nullable TOpar(TOpar)>*/
6131 { /* Inline parser_nodes$ANode$parent= (var_n_opar,self) on <var_n_opar:nullable TOpar(TOpar)> */
6132 var_n_opar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_opar:nullable TOpar(TOpar)> */
6139 { /* Inline parser_nodes$ASignature$n_params (self) on <self:ASignature> */
6140 var9
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_params
].val
; /* _n_params on <self:ASignature> */
6141 if (unlikely(var9
== NULL
)) {
6142 if(catchStack
.cursor
>= 0){
6143 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6145 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_params");
6146 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1746);
6154 nitc___nitc__ANodes___unsafe_add_all(var7
, var_n_params
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var7:ANodes[AParam]>*/
6156 self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_cpar
].val
= var_n_cpar
; /* _n_cpar on <self:ASignature> */
6157 if (var_n_cpar
== NULL
) {
6158 var10
= 0; /* is null */
6160 var10
= 1; /* arg is null and recv is not */
6163 { /* Inline kernel$Object$!= (var_n_cpar,((val*)NULL)) on <var_n_cpar:nullable TCpar> */
6164 var_other
= ((val
*)NULL
);
6166 var13
= ((short int(*)(val
* self
, val
* p0
))(var_n_cpar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_cpar
, var_other
); /* == on <var_n_cpar:nullable TCpar(TCpar)>*/
6171 RET_LABEL12
:(void)0;
6177 { /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on <var_n_cpar:nullable TCpar(TCpar)> */
6178 var_n_cpar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cpar:nullable TCpar(TCpar)> */
6179 RET_LABEL15
:(void)0;
6184 self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_type
].val
= var_n_type
; /* _n_type on <self:ASignature> */
6185 if (var_n_type
== NULL
) {
6186 var16
= 0; /* is null */
6188 var16
= 1; /* arg is null and recv is not */
6191 { /* Inline kernel$Object$!= (var_n_type,((val*)NULL)) on <var_n_type:nullable AType> */
6192 var_other
= ((val
*)NULL
);
6194 var19
= ((short int(*)(val
* self
, val
* p0
))(var_n_type
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_type
, var_other
); /* == on <var_n_type:nullable AType(AType)>*/
6199 RET_LABEL18
:(void)0;
6205 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType(AType)> */
6206 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType(AType)> */
6207 RET_LABEL21
:(void)0;
6214 /* method parser_prod$ASignature$replace_child for (self: ASignature, ANode, nullable ANode) */
6215 void nitc__parser_prod___ASignature___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6216 val
* var_old_child
/* var old_child: ANode */;
6217 val
* var_new_child
/* var new_child: nullable ANode */;
6218 val
* var
/* : nullable TOpar */;
6219 short int var1
/* : Bool */;
6220 short int var2
/* : Bool */;
6221 val
* var_other
/* var other: nullable Object */;
6222 short int var4
/* : Bool */;
6223 short int var6
/* : Bool */;
6224 short int var7
/* : Bool */;
6227 const char* var_class_name
;
6228 val
* var8
/* : ANodes[AParam] */;
6229 val
* var10
/* : ANodes[AParam] */;
6230 short int var11
/* : Bool */;
6231 val
* var12
/* : nullable TCpar */;
6232 short int var13
/* : Bool */;
6233 short int var14
/* : Bool */;
6234 short int var16
/* : Bool */;
6235 short int var18
/* : Bool */;
6236 short int var19
/* : Bool */;
6239 const char* var_class_name22
;
6240 val
* var23
/* : nullable AType */;
6241 short int var24
/* : Bool */;
6242 short int var25
/* : Bool */;
6243 short int var27
/* : Bool */;
6244 short int var29
/* : Bool */;
6245 short int var30
/* : Bool */;
6248 const char* var_class_name33
;
6251 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_opar
].val
; /* _n_opar on <self:ASignature> */
6253 var1
= 0; /* <var_old_child:ANode> cannot be null */
6255 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable TOpar> */
6256 var_other
= var_old_child
;
6258 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable TOpar(TOpar)> */
6259 var6
= var
== var_other
;
6272 /* <var_new_child:nullable ANode> isa nullable TOpar */
6273 cltype
= type_nullable__nitc__TOpar
.color
;
6274 idtype
= type_nullable__nitc__TOpar
.id
;
6275 if(var_new_child
== NULL
) {
6278 if(cltype
>= var_new_child
->type
->table_size
) {
6281 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6284 if (unlikely(!var7
)) {
6285 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6286 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TOpar", var_class_name
);
6287 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2337);
6291 nitc__parser_prod___ASignature___n_opar_61d(self
, var_new_child
); /* Direct call parser_prod$ASignature$n_opar= on <self:ASignature>*/
6297 { /* Inline parser_nodes$ASignature$n_params (self) on <self:ASignature> */
6298 var10
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_params
].val
; /* _n_params on <self:ASignature> */
6299 if (unlikely(var10
== NULL
)) {
6300 if(catchStack
.cursor
>= 0){
6301 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6303 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_params");
6304 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1746);
6312 var11
= nitc___nitc__ANodes___replace_child(var8
, var_old_child
, var_new_child
);
6318 var12
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_cpar
].val
; /* _n_cpar on <self:ASignature> */
6319 if (var12
== NULL
) {
6320 var13
= 0; /* <var_old_child:ANode> cannot be null */
6322 { /* Inline kernel$Object$== (var12,var_old_child) on <var12:nullable TCpar> */
6323 var_other
= var_old_child
;
6325 { /* Inline kernel$Object$is_same_instance (var12,var_other) on <var12:nullable TCpar(TCpar)> */
6326 var18
= var12
== var_other
;
6329 RET_LABEL17
:(void)0;
6334 RET_LABEL15
:(void)0;
6339 /* <var_new_child:nullable ANode> isa nullable TCpar */
6340 cltype20
= type_nullable__nitc__TCpar
.color
;
6341 idtype21
= type_nullable__nitc__TCpar
.id
;
6342 if(var_new_child
== NULL
) {
6345 if(cltype20
>= var_new_child
->type
->table_size
) {
6348 var19
= var_new_child
->type
->type_table
[cltype20
] == idtype21
;
6351 if (unlikely(!var19
)) {
6352 var_class_name22
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6353 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name22
);
6354 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2342);
6358 nitc__parser_prod___ASignature___n_cpar_61d(self
, var_new_child
); /* Direct call parser_prod$ASignature$n_cpar= on <self:ASignature>*/
6363 var23
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_type
].val
; /* _n_type on <self:ASignature> */
6364 if (var23
== NULL
) {
6365 var24
= 0; /* <var_old_child:ANode> cannot be null */
6367 { /* Inline kernel$Object$== (var23,var_old_child) on <var23:nullable AType> */
6368 var_other
= var_old_child
;
6370 { /* Inline kernel$Object$is_same_instance (var23,var_other) on <var23:nullable AType(AType)> */
6371 var29
= var23
== var_other
;
6374 RET_LABEL28
:(void)0;
6379 RET_LABEL26
:(void)0;
6384 /* <var_new_child:nullable ANode> isa nullable AType */
6385 cltype31
= type_nullable__nitc__AType
.color
;
6386 idtype32
= type_nullable__nitc__AType
.id
;
6387 if(var_new_child
== NULL
) {
6390 if(cltype31
>= var_new_child
->type
->table_size
) {
6393 var30
= var_new_child
->type
->type_table
[cltype31
] == idtype32
;
6396 if (unlikely(!var30
)) {
6397 var_class_name33
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6398 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AType", var_class_name33
);
6399 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2346);
6403 nitc__parser_prod___ASignature___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$ASignature$n_type= on <self:ASignature>*/
6410 /* method parser_prod$ASignature$n_opar= for (self: ASignature, nullable TOpar) */
6411 void nitc__parser_prod___ASignature___n_opar_61d(val
* self
, val
* p0
) {
6412 val
* var_node
/* var node: nullable TOpar */;
6413 short int var
/* : Bool */;
6414 short int var1
/* : Bool */;
6415 val
* var_other
/* var other: nullable Object */;
6416 short int var3
/* : Bool */;
6417 short int var4
/* : Bool */;
6419 self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_opar
].val
= var_node
; /* _n_opar on <self:ASignature> */
6420 if (var_node
== NULL
) {
6421 var
= 0; /* is null */
6423 var
= 1; /* arg is null and recv is not */
6426 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TOpar> */
6427 var_other
= ((val
*)NULL
);
6429 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TOpar(TOpar)>*/
6440 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TOpar(TOpar)> */
6441 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TOpar(TOpar)> */
6449 /* method parser_prod$ASignature$n_cpar= for (self: ASignature, nullable TCpar) */
6450 void nitc__parser_prod___ASignature___n_cpar_61d(val
* self
, val
* p0
) {
6451 val
* var_node
/* var node: nullable TCpar */;
6452 short int var
/* : Bool */;
6453 short int var1
/* : Bool */;
6454 val
* var_other
/* var other: nullable Object */;
6455 short int var3
/* : Bool */;
6456 short int var4
/* : Bool */;
6458 self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_cpar
].val
= var_node
; /* _n_cpar on <self:ASignature> */
6459 if (var_node
== NULL
) {
6460 var
= 0; /* is null */
6462 var
= 1; /* arg is null and recv is not */
6465 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TCpar> */
6466 var_other
= ((val
*)NULL
);
6468 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TCpar(TCpar)>*/
6479 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TCpar(TCpar)> */
6480 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TCpar(TCpar)> */
6488 /* method parser_prod$ASignature$n_type= for (self: ASignature, nullable AType) */
6489 void nitc__parser_prod___ASignature___n_type_61d(val
* self
, val
* p0
) {
6490 val
* var_node
/* var node: nullable AType */;
6491 short int var
/* : Bool */;
6492 short int var1
/* : Bool */;
6493 val
* var_other
/* var other: nullable Object */;
6494 short int var3
/* : Bool */;
6495 short int var4
/* : Bool */;
6497 self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_type
].val
= var_node
; /* _n_type on <self:ASignature> */
6498 if (var_node
== NULL
) {
6499 var
= 0; /* is null */
6501 var
= 1; /* arg is null and recv is not */
6504 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AType> */
6505 var_other
= ((val
*)NULL
);
6507 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AType(AType)>*/
6518 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AType(AType)> */
6519 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AType(AType)> */
6527 /* method parser_prod$ASignature$visit_all for (self: ASignature, Visitor) */
6528 void nitc__parser_prod___ASignature___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6529 val
* var_v
/* var v: Visitor */;
6530 val
* var
/* : nullable TOpar */;
6531 val
* var1
/* : ANodes[AParam] */;
6532 val
* var3
/* : ANodes[AParam] */;
6533 val
* var4
/* : nullable TCpar */;
6534 val
* var5
/* : nullable AType */;
6536 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_opar
].val
; /* _n_opar on <self:ASignature> */
6538 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6541 { /* Inline parser_nodes$ASignature$n_params (self) on <self:ASignature> */
6542 var3
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_params
].val
; /* _n_params on <self:ASignature> */
6543 if (unlikely(var3
== NULL
)) {
6544 if(catchStack
.cursor
>= 0){
6545 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6547 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_params");
6548 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1746);
6556 nitc___nitc__ANodes___visit_all(var1
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var1:ANodes[AParam]>*/
6558 var4
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_cpar
].val
; /* _n_cpar on <self:ASignature> */
6560 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6562 var5
= self
->attrs
[COLOR_nitc__parser_nodes__ASignature___n_type
].val
; /* _n_type on <self:ASignature> */
6564 nitc___nitc__Visitor___enter_visit(var_v
, var5
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6568 /* method parser_prod$AParam$init_aparam for (self: AParam, nullable TId, nullable AType, nullable TDotdotdot, nullable AAnnotations) */
6569 void nitc__parser_prod___AParam___init_aparam(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
6570 val
* var_n_id
/* var n_id: nullable TId */;
6571 val
* var_n_type
/* var n_type: nullable AType */;
6572 val
* var_n_dotdotdot
/* var n_dotdotdot: nullable TDotdotdot */;
6573 val
* var_n_annotations
/* var n_annotations: nullable AAnnotations */;
6574 short int var
/* : Bool */;
6575 short int var3
/* : Bool */;
6576 val
* var_other
/* var other: nullable Object */;
6577 short int var5
/* : Bool */;
6578 short int var6
/* : Bool */;
6579 short int var8
/* : Bool */;
6580 short int var9
/* : Bool */;
6581 short int var11
/* : Bool */;
6582 short int var12
/* : Bool */;
6583 short int var14
/* : Bool */;
6584 short int var15
/* : Bool */;
6585 short int var17
/* : Bool */;
6586 short int var18
/* : Bool */;
6588 { /* Inline kernel$Object$init (self) on <self:AParam> */
6594 var_n_dotdotdot
= p2
;
6595 var_n_annotations
= p3
;
6596 if (unlikely(var_n_id
== NULL
)) {
6597 if(catchStack
.cursor
>= 0){
6598 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6600 PRINT_ERROR("Runtime error: %s", "Cast failed");
6601 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2384);
6604 self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_id
].val
= var_n_id
; /* _n_id on <self:AParam> */
6605 if (var_n_id
== NULL
) {
6606 if(catchStack
.cursor
>= 0){
6607 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6609 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6610 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2385);
6613 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId> */
6614 if (unlikely(var_n_id
== NULL
)) {
6615 if(catchStack
.cursor
>= 0){
6616 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6618 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6619 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6622 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId> */
6626 self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_type
].val
= var_n_type
; /* _n_type on <self:AParam> */
6627 if (var_n_type
== NULL
) {
6628 var
= 0; /* is null */
6630 var
= 1; /* arg is null and recv is not */
6633 { /* Inline kernel$Object$!= (var_n_type,((val*)NULL)) on <var_n_type:nullable AType> */
6634 var_other
= ((val
*)NULL
);
6636 var5
= ((short int(*)(val
* self
, val
* p0
))(var_n_type
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_type
, var_other
); /* == on <var_n_type:nullable AType(AType)>*/
6647 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType(AType)> */
6648 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType(AType)> */
6654 self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_dotdotdot
].val
= var_n_dotdotdot
; /* _n_dotdotdot on <self:AParam> */
6655 if (var_n_dotdotdot
== NULL
) {
6656 var8
= 0; /* is null */
6658 var8
= 1; /* arg is null and recv is not */
6661 { /* Inline kernel$Object$!= (var_n_dotdotdot,((val*)NULL)) on <var_n_dotdotdot:nullable TDotdotdot> */
6662 var_other
= ((val
*)NULL
);
6664 var11
= ((short int(*)(val
* self
, val
* p0
))(var_n_dotdotdot
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_dotdotdot
, var_other
); /* == on <var_n_dotdotdot:nullable TDotdotdot(TDotdotdot)>*/
6669 RET_LABEL10
:(void)0;
6675 { /* Inline parser_nodes$ANode$parent= (var_n_dotdotdot,self) on <var_n_dotdotdot:nullable TDotdotdot(TDotdotdot)> */
6676 var_n_dotdotdot
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_dotdotdot:nullable TDotdotdot(TDotdotdot)> */
6677 RET_LABEL13
:(void)0;
6682 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_n_annotations
; /* _n_annotations on <self:AParam> */
6683 if (var_n_annotations
== NULL
) {
6684 var14
= 0; /* is null */
6686 var14
= 1; /* arg is null and recv is not */
6689 { /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on <var_n_annotations:nullable AAnnotations> */
6690 var_other
= ((val
*)NULL
);
6692 var17
= ((short int(*)(val
* self
, val
* p0
))(var_n_annotations
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_annotations
, var_other
); /* == on <var_n_annotations:nullable AAnnotations(AAnnotations)>*/
6697 RET_LABEL16
:(void)0;
6703 { /* Inline parser_nodes$ANode$parent= (var_n_annotations,self) on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
6704 var_n_annotations
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
6705 RET_LABEL19
:(void)0;
6712 /* method parser_prod$AParam$replace_child for (self: AParam, ANode, nullable ANode) */
6713 void nitc__parser_prod___AParam___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6714 val
* var_old_child
/* var old_child: ANode */;
6715 val
* var_new_child
/* var new_child: nullable ANode */;
6716 val
* var
/* : TId */;
6717 short int var1
/* : Bool */;
6718 val
* var_other
/* var other: nullable Object */;
6719 short int var3
/* : Bool */;
6720 short int var5
/* : Bool */;
6721 short int var6
/* : Bool */;
6724 const char* var_class_name
;
6725 val
* var7
/* : nullable AType */;
6726 short int var8
/* : Bool */;
6727 short int var9
/* : Bool */;
6728 short int var11
/* : Bool */;
6729 short int var13
/* : Bool */;
6730 short int var14
/* : Bool */;
6733 const char* var_class_name17
;
6734 val
* var18
/* : nullable TDotdotdot */;
6735 short int var19
/* : Bool */;
6736 short int var20
/* : Bool */;
6737 short int var22
/* : Bool */;
6738 short int var24
/* : Bool */;
6739 short int var25
/* : Bool */;
6742 const char* var_class_name28
;
6743 val
* var29
/* : nullable AAnnotations */;
6744 short int var30
/* : Bool */;
6745 short int var31
/* : Bool */;
6746 short int var33
/* : Bool */;
6747 short int var35
/* : Bool */;
6748 short int var36
/* : Bool */;
6751 const char* var_class_name39
;
6754 var
= self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_id
].val
; /* _n_id on <self:AParam> */
6755 if (unlikely(var
== NULL
)) {
6756 if(catchStack
.cursor
>= 0){
6757 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6759 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6760 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2396);
6764 { /* Inline kernel$Object$== (var,var_old_child) on <var:TId> */
6765 var_other
= var_old_child
;
6767 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TId> */
6768 var5
= var
== var_other
;
6780 /* <var_new_child:nullable ANode> isa TId */
6781 cltype
= type_nitc__TId
.color
;
6782 idtype
= type_nitc__TId
.id
;
6783 if(var_new_child
== NULL
) {
6786 if(cltype
>= var_new_child
->type
->table_size
) {
6789 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6792 if (unlikely(!var6
)) {
6793 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6794 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name
);
6795 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2397);
6799 nitc__parser_prod___AParam___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AParam$n_id= on <self:AParam>*/
6804 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_type
].val
; /* _n_type on <self:AParam> */
6806 var8
= 0; /* <var_old_child:ANode> cannot be null */
6808 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:nullable AType> */
6809 var_other
= var_old_child
;
6811 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:nullable AType(AType)> */
6812 var13
= var7
== var_other
;
6815 RET_LABEL12
:(void)0;
6820 RET_LABEL10
:(void)0;
6825 /* <var_new_child:nullable ANode> isa nullable AType */
6826 cltype15
= type_nullable__nitc__AType
.color
;
6827 idtype16
= type_nullable__nitc__AType
.id
;
6828 if(var_new_child
== NULL
) {
6831 if(cltype15
>= var_new_child
->type
->table_size
) {
6834 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
6837 if (unlikely(!var14
)) {
6838 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6839 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AType", var_class_name17
);
6840 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2401);
6844 nitc__parser_prod___AParam___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$AParam$n_type= on <self:AParam>*/
6849 var18
= self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_dotdotdot
].val
; /* _n_dotdotdot on <self:AParam> */
6850 if (var18
== NULL
) {
6851 var19
= 0; /* <var_old_child:ANode> cannot be null */
6853 { /* Inline kernel$Object$== (var18,var_old_child) on <var18:nullable TDotdotdot> */
6854 var_other
= var_old_child
;
6856 { /* Inline kernel$Object$is_same_instance (var18,var_other) on <var18:nullable TDotdotdot(TDotdotdot)> */
6857 var24
= var18
== var_other
;
6860 RET_LABEL23
:(void)0;
6865 RET_LABEL21
:(void)0;
6870 /* <var_new_child:nullable ANode> isa nullable TDotdotdot */
6871 cltype26
= type_nullable__nitc__TDotdotdot
.color
;
6872 idtype27
= type_nullable__nitc__TDotdotdot
.id
;
6873 if(var_new_child
== NULL
) {
6876 if(cltype26
>= var_new_child
->type
->table_size
) {
6879 var25
= var_new_child
->type
->type_table
[cltype26
] == idtype27
;
6882 if (unlikely(!var25
)) {
6883 var_class_name28
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6884 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TDotdotdot", var_class_name28
);
6885 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2405);
6889 nitc__parser_prod___AParam___n_dotdotdot_61d(self
, var_new_child
); /* Direct call parser_prod$AParam$n_dotdotdot= on <self:AParam>*/
6894 var29
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AParam> */
6895 if (var29
== NULL
) {
6896 var30
= 0; /* <var_old_child:ANode> cannot be null */
6898 { /* Inline kernel$Object$== (var29,var_old_child) on <var29:nullable AAnnotations> */
6899 var_other
= var_old_child
;
6901 { /* Inline kernel$Object$is_same_instance (var29,var_other) on <var29:nullable AAnnotations(AAnnotations)> */
6902 var35
= var29
== var_other
;
6905 RET_LABEL34
:(void)0;
6910 RET_LABEL32
:(void)0;
6915 /* <var_new_child:nullable ANode> isa nullable AAnnotations */
6916 cltype37
= type_nullable__nitc__AAnnotations
.color
;
6917 idtype38
= type_nullable__nitc__AAnnotations
.id
;
6918 if(var_new_child
== NULL
) {
6921 if(cltype37
>= var_new_child
->type
->table_size
) {
6924 var36
= var_new_child
->type
->type_table
[cltype37
] == idtype38
;
6927 if (unlikely(!var36
)) {
6928 var_class_name39
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6929 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name39
);
6930 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2409);
6934 nitc__parser_prod___AParam___nitc__parser_nodes__Prod__n_annotations_61d(self
, var_new_child
); /* Direct call parser_prod$AParam$n_annotations= on <self:AParam>*/
6941 /* method parser_prod$AParam$n_id= for (self: AParam, TId) */
6942 void nitc__parser_prod___AParam___n_id_61d(val
* self
, val
* p0
) {
6943 val
* var_node
/* var node: TId */;
6945 self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_id
].val
= var_node
; /* _n_id on <self:AParam> */
6947 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TId> */
6948 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TId> */
6954 /* method parser_prod$AParam$n_type= for (self: AParam, nullable AType) */
6955 void nitc__parser_prod___AParam___n_type_61d(val
* self
, val
* p0
) {
6956 val
* var_node
/* var node: nullable AType */;
6957 short int var
/* : Bool */;
6958 short int var1
/* : Bool */;
6959 val
* var_other
/* var other: nullable Object */;
6960 short int var3
/* : Bool */;
6961 short int var4
/* : Bool */;
6963 self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_type
].val
= var_node
; /* _n_type on <self:AParam> */
6964 if (var_node
== NULL
) {
6965 var
= 0; /* is null */
6967 var
= 1; /* arg is null and recv is not */
6970 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AType> */
6971 var_other
= ((val
*)NULL
);
6973 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AType(AType)>*/
6984 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AType(AType)> */
6985 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AType(AType)> */
6993 /* method parser_prod$AParam$n_dotdotdot= for (self: AParam, nullable TDotdotdot) */
6994 void nitc__parser_prod___AParam___n_dotdotdot_61d(val
* self
, val
* p0
) {
6995 val
* var_node
/* var node: nullable TDotdotdot */;
6996 short int var
/* : Bool */;
6997 short int var1
/* : Bool */;
6998 val
* var_other
/* var other: nullable Object */;
6999 short int var3
/* : Bool */;
7000 short int var4
/* : Bool */;
7002 self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_dotdotdot
].val
= var_node
; /* _n_dotdotdot on <self:AParam> */
7003 if (var_node
== NULL
) {
7004 var
= 0; /* is null */
7006 var
= 1; /* arg is null and recv is not */
7009 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TDotdotdot> */
7010 var_other
= ((val
*)NULL
);
7012 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TDotdotdot(TDotdotdot)>*/
7023 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TDotdotdot(TDotdotdot)> */
7024 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TDotdotdot(TDotdotdot)> */
7032 /* method parser_prod$AParam$n_annotations= for (self: AParam, nullable AAnnotations) */
7033 void nitc__parser_prod___AParam___nitc__parser_nodes__Prod__n_annotations_61d(val
* self
, val
* p0
) {
7034 val
* var_node
/* var node: nullable AAnnotations */;
7035 short int var
/* : Bool */;
7036 short int var1
/* : Bool */;
7037 val
* var_other
/* var other: nullable Object */;
7038 short int var3
/* : Bool */;
7039 short int var4
/* : Bool */;
7041 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_node
; /* _n_annotations on <self:AParam> */
7042 if (var_node
== NULL
) {
7043 var
= 0; /* is null */
7045 var
= 1; /* arg is null and recv is not */
7048 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AAnnotations> */
7049 var_other
= ((val
*)NULL
);
7051 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AAnnotations(AAnnotations)>*/
7062 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AAnnotations(AAnnotations)> */
7063 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AAnnotations(AAnnotations)> */
7071 /* method parser_prod$AParam$visit_all for (self: AParam, Visitor) */
7072 void nitc__parser_prod___AParam___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
7073 val
* var_v
/* var v: Visitor */;
7074 val
* var
/* : TId */;
7075 val
* var1
/* : nullable AType */;
7076 val
* var2
/* : nullable TDotdotdot */;
7077 val
* var3
/* : nullable AAnnotations */;
7079 var
= self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_id
].val
; /* _n_id on <self:AParam> */
7080 if (unlikely(var
== NULL
)) {
7081 if(catchStack
.cursor
>= 0){
7082 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7084 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
7085 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2438);
7089 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7091 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_type
].val
; /* _n_type on <self:AParam> */
7093 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7095 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AParam___n_dotdotdot
].val
; /* _n_dotdotdot on <self:AParam> */
7097 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7099 var3
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AParam> */
7101 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7105 /* method parser_prod$AType$init_atype for (self: AType, nullable TKwnullable, nullable AQclassid, nullable TObra, Collection[Object], nullable TCbra, nullable AAnnotations) */
7106 void nitc__parser_prod___AType___init_atype(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
, val
* p5
) {
7107 val
* var_n_kwnullable
/* var n_kwnullable: nullable TKwnullable */;
7108 val
* var_n_qid
/* var n_qid: nullable AQclassid */;
7109 val
* var_n_obra
/* var n_obra: nullable TObra */;
7110 val
* var_n_types
/* var n_types: Collection[Object] */;
7111 val
* var_n_cbra
/* var n_cbra: nullable TCbra */;
7112 val
* var_n_annotations
/* var n_annotations: nullable AAnnotations */;
7113 short int var
/* : Bool */;
7114 short int var2
/* : Bool */;
7115 val
* var_other
/* var other: nullable Object */;
7116 short int var4
/* : Bool */;
7117 short int var5
/* : Bool */;
7118 short int var8
/* : Bool */;
7119 short int var9
/* : Bool */;
7120 short int var11
/* : Bool */;
7121 short int var12
/* : Bool */;
7122 val
* var14
/* : ANodes[AType] */;
7123 val
* var16
/* : ANodes[AType] */;
7124 short int var17
/* : Bool */;
7125 short int var18
/* : Bool */;
7126 short int var20
/* : Bool */;
7127 short int var21
/* : Bool */;
7128 short int var23
/* : Bool */;
7129 short int var24
/* : Bool */;
7130 short int var26
/* : Bool */;
7131 short int var27
/* : Bool */;
7133 { /* Inline kernel$Object$init (self) on <self:AType> */
7137 var_n_kwnullable
= p0
;
7142 var_n_annotations
= p5
;
7143 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_kwnullable
].val
= var_n_kwnullable
; /* _n_kwnullable on <self:AType> */
7144 if (var_n_kwnullable
== NULL
) {
7145 var
= 0; /* is null */
7147 var
= 1; /* arg is null and recv is not */
7150 { /* Inline kernel$Object$!= (var_n_kwnullable,((val*)NULL)) on <var_n_kwnullable:nullable TKwnullable> */
7151 var_other
= ((val
*)NULL
);
7153 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwnullable
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwnullable
, var_other
); /* == on <var_n_kwnullable:nullable TKwnullable(TKwnullable)>*/
7164 { /* Inline parser_nodes$ANode$parent= (var_n_kwnullable,self) on <var_n_kwnullable:nullable TKwnullable(TKwnullable)> */
7165 var_n_kwnullable
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwnullable:nullable TKwnullable(TKwnullable)> */
7171 if (unlikely(var_n_qid
== NULL
)) {
7172 if(catchStack
.cursor
>= 0){
7173 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7175 PRINT_ERROR("Runtime error: %s", "Cast failed");
7176 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2456);
7179 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_qid
].val
= var_n_qid
; /* _n_qid on <self:AType> */
7180 if (var_n_qid
== NULL
) {
7181 if(catchStack
.cursor
>= 0){
7182 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7184 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7185 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2457);
7188 { /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on <var_n_qid:nullable AQclassid> */
7189 if (unlikely(var_n_qid
== NULL
)) {
7190 if(catchStack
.cursor
>= 0){
7191 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7193 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7194 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7197 var_n_qid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qid:nullable AQclassid> */
7201 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_obra
].val
= var_n_obra
; /* _n_obra on <self:AType> */
7202 if (var_n_obra
== NULL
) {
7203 var8
= 0; /* is null */
7205 var8
= 1; /* arg is null and recv is not */
7208 { /* Inline kernel$Object$!= (var_n_obra,((val*)NULL)) on <var_n_obra:nullable TObra> */
7209 var_other
= ((val
*)NULL
);
7211 var11
= ((short int(*)(val
* self
, val
* p0
))(var_n_obra
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_obra
, var_other
); /* == on <var_n_obra:nullable TObra(TObra)>*/
7216 RET_LABEL10
:(void)0;
7222 { /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on <var_n_obra:nullable TObra(TObra)> */
7223 var_n_obra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_obra:nullable TObra(TObra)> */
7224 RET_LABEL13
:(void)0;
7230 { /* Inline parser_nodes$AType$n_types (self) on <self:AType> */
7231 var16
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_types
].val
; /* _n_types on <self:AType> */
7232 if (unlikely(var16
== NULL
)) {
7233 if(catchStack
.cursor
>= 0){
7234 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7236 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_types");
7237 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1782);
7241 RET_LABEL15
:(void)0;
7245 nitc___nitc__ANodes___unsafe_add_all(var14
, var_n_types
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var14:ANodes[AType]>*/
7247 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_cbra
].val
= var_n_cbra
; /* _n_cbra on <self:AType> */
7248 if (var_n_cbra
== NULL
) {
7249 var17
= 0; /* is null */
7251 var17
= 1; /* arg is null and recv is not */
7254 { /* Inline kernel$Object$!= (var_n_cbra,((val*)NULL)) on <var_n_cbra:nullable TCbra> */
7255 var_other
= ((val
*)NULL
);
7257 var20
= ((short int(*)(val
* self
, val
* p0
))(var_n_cbra
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_cbra
, var_other
); /* == on <var_n_cbra:nullable TCbra(TCbra)>*/
7262 RET_LABEL19
:(void)0;
7268 { /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on <var_n_cbra:nullable TCbra(TCbra)> */
7269 var_n_cbra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cbra:nullable TCbra(TCbra)> */
7270 RET_LABEL22
:(void)0;
7275 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_n_annotations
; /* _n_annotations on <self:AType> */
7276 if (var_n_annotations
== NULL
) {
7277 var23
= 0; /* is null */
7279 var23
= 1; /* arg is null and recv is not */
7282 { /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on <var_n_annotations:nullable AAnnotations> */
7283 var_other
= ((val
*)NULL
);
7285 var26
= ((short int(*)(val
* self
, val
* p0
))(var_n_annotations
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_annotations
, var_other
); /* == on <var_n_annotations:nullable AAnnotations(AAnnotations)>*/
7290 RET_LABEL25
:(void)0;
7296 { /* Inline parser_nodes$ANode$parent= (var_n_annotations,self) on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
7297 var_n_annotations
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
7298 RET_LABEL28
:(void)0;
7305 /* method parser_prod$AType$replace_child for (self: AType, ANode, nullable ANode) */
7306 void nitc__parser_prod___AType___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
7307 val
* var_old_child
/* var old_child: ANode */;
7308 val
* var_new_child
/* var new_child: nullable ANode */;
7309 val
* var
/* : nullable TKwnullable */;
7310 short int var1
/* : Bool */;
7311 short int var2
/* : Bool */;
7312 val
* var_other
/* var other: nullable Object */;
7313 short int var4
/* : Bool */;
7314 short int var6
/* : Bool */;
7315 short int var7
/* : Bool */;
7318 const char* var_class_name
;
7319 val
* var8
/* : AQclassid */;
7320 short int var9
/* : Bool */;
7321 short int var11
/* : Bool */;
7322 short int var13
/* : Bool */;
7323 short int var14
/* : Bool */;
7326 const char* var_class_name17
;
7327 val
* var18
/* : nullable TObra */;
7328 short int var19
/* : Bool */;
7329 short int var20
/* : Bool */;
7330 short int var22
/* : Bool */;
7331 short int var24
/* : Bool */;
7332 short int var25
/* : Bool */;
7335 const char* var_class_name28
;
7336 val
* var29
/* : ANodes[AType] */;
7337 val
* var31
/* : ANodes[AType] */;
7338 short int var32
/* : Bool */;
7339 val
* var33
/* : nullable TCbra */;
7340 short int var34
/* : Bool */;
7341 short int var35
/* : Bool */;
7342 short int var37
/* : Bool */;
7343 short int var39
/* : Bool */;
7344 short int var40
/* : Bool */;
7347 const char* var_class_name43
;
7348 val
* var44
/* : nullable AAnnotations */;
7349 short int var45
/* : Bool */;
7350 short int var46
/* : Bool */;
7351 short int var48
/* : Bool */;
7352 short int var50
/* : Bool */;
7353 short int var51
/* : Bool */;
7356 const char* var_class_name54
;
7359 var
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_kwnullable
].val
; /* _n_kwnullable on <self:AType> */
7361 var1
= 0; /* <var_old_child:ANode> cannot be null */
7363 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable TKwnullable> */
7364 var_other
= var_old_child
;
7366 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable TKwnullable(TKwnullable)> */
7367 var6
= var
== var_other
;
7380 /* <var_new_child:nullable ANode> isa nullable TKwnullable */
7381 cltype
= type_nullable__nitc__TKwnullable
.color
;
7382 idtype
= type_nullable__nitc__TKwnullable
.id
;
7383 if(var_new_child
== NULL
) {
7386 if(cltype
>= var_new_child
->type
->table_size
) {
7389 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
7392 if (unlikely(!var7
)) {
7393 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7394 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwnullable", var_class_name
);
7395 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2470);
7399 nitc__parser_prod___AType___n_kwnullable_61d(self
, var_new_child
); /* Direct call parser_prod$AType$n_kwnullable= on <self:AType>*/
7404 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_qid
].val
; /* _n_qid on <self:AType> */
7405 if (unlikely(var8
== NULL
)) {
7406 if(catchStack
.cursor
>= 0){
7407 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7409 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7410 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2473);
7414 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:AQclassid> */
7415 var_other
= var_old_child
;
7417 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:AQclassid> */
7418 var13
= var8
== var_other
;
7421 RET_LABEL12
:(void)0;
7426 RET_LABEL10
:(void)0;
7430 /* <var_new_child:nullable ANode> isa AQclassid */
7431 cltype15
= type_nitc__AQclassid
.color
;
7432 idtype16
= type_nitc__AQclassid
.id
;
7433 if(var_new_child
== NULL
) {
7436 if(cltype15
>= var_new_child
->type
->table_size
) {
7439 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
7442 if (unlikely(!var14
)) {
7443 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7444 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQclassid", var_class_name17
);
7445 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2474);
7449 nitc__parser_prod___AType___n_qid_61d(self
, var_new_child
); /* Direct call parser_prod$AType$n_qid= on <self:AType>*/
7454 var18
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_obra
].val
; /* _n_obra on <self:AType> */
7455 if (var18
== NULL
) {
7456 var19
= 0; /* <var_old_child:ANode> cannot be null */
7458 { /* Inline kernel$Object$== (var18,var_old_child) on <var18:nullable TObra> */
7459 var_other
= var_old_child
;
7461 { /* Inline kernel$Object$is_same_instance (var18,var_other) on <var18:nullable TObra(TObra)> */
7462 var24
= var18
== var_other
;
7465 RET_LABEL23
:(void)0;
7470 RET_LABEL21
:(void)0;
7475 /* <var_new_child:nullable ANode> isa nullable TObra */
7476 cltype26
= type_nullable__nitc__TObra
.color
;
7477 idtype27
= type_nullable__nitc__TObra
.id
;
7478 if(var_new_child
== NULL
) {
7481 if(cltype26
>= var_new_child
->type
->table_size
) {
7484 var25
= var_new_child
->type
->type_table
[cltype26
] == idtype27
;
7487 if (unlikely(!var25
)) {
7488 var_class_name28
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7489 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TObra", var_class_name28
);
7490 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2478);
7494 nitc__parser_prod___AType___n_obra_61d(self
, var_new_child
); /* Direct call parser_prod$AType$n_obra= on <self:AType>*/
7500 { /* Inline parser_nodes$AType$n_types (self) on <self:AType> */
7501 var31
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_types
].val
; /* _n_types on <self:AType> */
7502 if (unlikely(var31
== NULL
)) {
7503 if(catchStack
.cursor
>= 0){
7504 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7506 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_types");
7507 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1782);
7511 RET_LABEL30
:(void)0;
7515 var32
= nitc___nitc__ANodes___replace_child(var29
, var_old_child
, var_new_child
);
7521 var33
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_cbra
].val
; /* _n_cbra on <self:AType> */
7522 if (var33
== NULL
) {
7523 var34
= 0; /* <var_old_child:ANode> cannot be null */
7525 { /* Inline kernel$Object$== (var33,var_old_child) on <var33:nullable TCbra> */
7526 var_other
= var_old_child
;
7528 { /* Inline kernel$Object$is_same_instance (var33,var_other) on <var33:nullable TCbra(TCbra)> */
7529 var39
= var33
== var_other
;
7532 RET_LABEL38
:(void)0;
7537 RET_LABEL36
:(void)0;
7542 /* <var_new_child:nullable ANode> isa nullable TCbra */
7543 cltype41
= type_nullable__nitc__TCbra
.color
;
7544 idtype42
= type_nullable__nitc__TCbra
.id
;
7545 if(var_new_child
== NULL
) {
7548 if(cltype41
>= var_new_child
->type
->table_size
) {
7551 var40
= var_new_child
->type
->type_table
[cltype41
] == idtype42
;
7554 if (unlikely(!var40
)) {
7555 var_class_name43
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7556 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCbra", var_class_name43
);
7557 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2483);
7561 nitc__parser_prod___AType___n_cbra_61d(self
, var_new_child
); /* Direct call parser_prod$AType$n_cbra= on <self:AType>*/
7566 var44
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AType> */
7567 if (var44
== NULL
) {
7568 var45
= 0; /* <var_old_child:ANode> cannot be null */
7570 { /* Inline kernel$Object$== (var44,var_old_child) on <var44:nullable AAnnotations> */
7571 var_other
= var_old_child
;
7573 { /* Inline kernel$Object$is_same_instance (var44,var_other) on <var44:nullable AAnnotations(AAnnotations)> */
7574 var50
= var44
== var_other
;
7577 RET_LABEL49
:(void)0;
7582 RET_LABEL47
:(void)0;
7587 /* <var_new_child:nullable ANode> isa nullable AAnnotations */
7588 cltype52
= type_nullable__nitc__AAnnotations
.color
;
7589 idtype53
= type_nullable__nitc__AAnnotations
.id
;
7590 if(var_new_child
== NULL
) {
7593 if(cltype52
>= var_new_child
->type
->table_size
) {
7596 var51
= var_new_child
->type
->type_table
[cltype52
] == idtype53
;
7599 if (unlikely(!var51
)) {
7600 var_class_name54
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7601 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name54
);
7602 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2487);
7606 nitc__parser_prod___AType___nitc__parser_nodes__Prod__n_annotations_61d(self
, var_new_child
); /* Direct call parser_prod$AType$n_annotations= on <self:AType>*/
7613 /* method parser_prod$AType$n_kwnullable= for (self: AType, nullable TKwnullable) */
7614 void nitc__parser_prod___AType___n_kwnullable_61d(val
* self
, val
* p0
) {
7615 val
* var_node
/* var node: nullable TKwnullable */;
7616 short int var
/* : Bool */;
7617 short int var1
/* : Bool */;
7618 val
* var_other
/* var other: nullable Object */;
7619 short int var3
/* : Bool */;
7620 short int var4
/* : Bool */;
7622 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_kwnullable
].val
= var_node
; /* _n_kwnullable on <self:AType> */
7623 if (var_node
== NULL
) {
7624 var
= 0; /* is null */
7626 var
= 1; /* arg is null and recv is not */
7629 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwnullable> */
7630 var_other
= ((val
*)NULL
);
7632 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwnullable(TKwnullable)>*/
7643 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwnullable(TKwnullable)> */
7644 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwnullable(TKwnullable)> */
7652 /* method parser_prod$AType$n_qid= for (self: AType, AQclassid) */
7653 void nitc__parser_prod___AType___n_qid_61d(val
* self
, val
* p0
) {
7654 val
* var_node
/* var node: AQclassid */;
7656 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_qid
].val
= var_node
; /* _n_qid on <self:AType> */
7658 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AQclassid> */
7659 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AQclassid> */
7665 /* method parser_prod$AType$n_obra= for (self: AType, nullable TObra) */
7666 void nitc__parser_prod___AType___n_obra_61d(val
* self
, val
* p0
) {
7667 val
* var_node
/* var node: nullable TObra */;
7668 short int var
/* : Bool */;
7669 short int var1
/* : Bool */;
7670 val
* var_other
/* var other: nullable Object */;
7671 short int var3
/* : Bool */;
7672 short int var4
/* : Bool */;
7674 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_obra
].val
= var_node
; /* _n_obra on <self:AType> */
7675 if (var_node
== NULL
) {
7676 var
= 0; /* is null */
7678 var
= 1; /* arg is null and recv is not */
7681 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TObra> */
7682 var_other
= ((val
*)NULL
);
7684 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TObra(TObra)>*/
7695 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TObra(TObra)> */
7696 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TObra(TObra)> */
7704 /* method parser_prod$AType$n_cbra= for (self: AType, nullable TCbra) */
7705 void nitc__parser_prod___AType___n_cbra_61d(val
* self
, val
* p0
) {
7706 val
* var_node
/* var node: nullable TCbra */;
7707 short int var
/* : Bool */;
7708 short int var1
/* : Bool */;
7709 val
* var_other
/* var other: nullable Object */;
7710 short int var3
/* : Bool */;
7711 short int var4
/* : Bool */;
7713 self
->attrs
[COLOR_nitc__parser_nodes__AType___n_cbra
].val
= var_node
; /* _n_cbra on <self:AType> */
7714 if (var_node
== NULL
) {
7715 var
= 0; /* is null */
7717 var
= 1; /* arg is null and recv is not */
7720 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TCbra> */
7721 var_other
= ((val
*)NULL
);
7723 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TCbra(TCbra)>*/
7734 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TCbra(TCbra)> */
7735 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TCbra(TCbra)> */
7743 /* method parser_prod$AType$n_annotations= for (self: AType, nullable AAnnotations) */
7744 void nitc__parser_prod___AType___nitc__parser_nodes__Prod__n_annotations_61d(val
* self
, val
* p0
) {
7745 val
* var_node
/* var node: nullable AAnnotations */;
7746 short int var
/* : Bool */;
7747 short int var1
/* : Bool */;
7748 val
* var_other
/* var other: nullable Object */;
7749 short int var3
/* : Bool */;
7750 short int var4
/* : Bool */;
7752 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_node
; /* _n_annotations on <self:AType> */
7753 if (var_node
== NULL
) {
7754 var
= 0; /* is null */
7756 var
= 1; /* arg is null and recv is not */
7759 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AAnnotations> */
7760 var_other
= ((val
*)NULL
);
7762 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AAnnotations(AAnnotations)>*/
7773 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AAnnotations(AAnnotations)> */
7774 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AAnnotations(AAnnotations)> */
7782 /* method parser_prod$AType$visit_all for (self: AType, Visitor) */
7783 void nitc__parser_prod___AType___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
7784 val
* var_v
/* var v: Visitor */;
7785 val
* var
/* : nullable TKwnullable */;
7786 val
* var1
/* : AQclassid */;
7787 val
* var2
/* : nullable TObra */;
7788 val
* var3
/* : ANodes[AType] */;
7789 val
* var5
/* : ANodes[AType] */;
7790 val
* var6
/* : nullable TCbra */;
7791 val
* var7
/* : nullable AAnnotations */;
7793 var
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_kwnullable
].val
; /* _n_kwnullable on <self:AType> */
7795 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7797 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_qid
].val
; /* _n_qid on <self:AType> */
7798 if (unlikely(var1
== NULL
)) {
7799 if(catchStack
.cursor
>= 0){
7800 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7802 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7803 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2522);
7807 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7809 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_obra
].val
; /* _n_obra on <self:AType> */
7811 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7814 { /* Inline parser_nodes$AType$n_types (self) on <self:AType> */
7815 var5
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_types
].val
; /* _n_types on <self:AType> */
7816 if (unlikely(var5
== NULL
)) {
7817 if(catchStack
.cursor
>= 0){
7818 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7820 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_types");
7821 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1782);
7829 nitc___nitc__ANodes___visit_all(var3
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var3:ANodes[AType]>*/
7831 var6
= self
->attrs
[COLOR_nitc__parser_nodes__AType___n_cbra
].val
; /* _n_cbra on <self:AType> */
7833 nitc___nitc__Visitor___enter_visit(var_v
, var6
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7835 var7
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AType> */
7837 nitc___nitc__Visitor___enter_visit(var_v
, var7
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7841 /* method parser_prod$ALabel$init_alabel for (self: ALabel, nullable TKwlabel, nullable TId) */
7842 void nitc__parser_prod___ALabel___init_alabel(val
* self
, val
* p0
, val
* p1
) {
7843 val
* var_n_kwlabel
/* var n_kwlabel: nullable TKwlabel */;
7844 val
* var_n_id
/* var n_id: nullable TId */;
7845 short int var
/* : Bool */;
7846 short int var3
/* : Bool */;
7847 val
* var_other
/* var other: nullable Object */;
7848 short int var5
/* : Bool */;
7849 short int var6
/* : Bool */;
7851 { /* Inline kernel$Object$init (self) on <self:ALabel> */
7857 if (unlikely(var_n_kwlabel
== NULL
)) {
7858 if(catchStack
.cursor
>= 0){
7859 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7861 PRINT_ERROR("Runtime error: %s", "Cast failed");
7862 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2535);
7865 self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_kwlabel
].val
= var_n_kwlabel
; /* _n_kwlabel on <self:ALabel> */
7866 if (var_n_kwlabel
== NULL
) {
7867 if(catchStack
.cursor
>= 0){
7868 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7870 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7871 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2536);
7874 { /* Inline parser_nodes$ANode$parent= (var_n_kwlabel,self) on <var_n_kwlabel:nullable TKwlabel> */
7875 if (unlikely(var_n_kwlabel
== NULL
)) {
7876 if(catchStack
.cursor
>= 0){
7877 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7879 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7880 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7883 var_n_kwlabel
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwlabel:nullable TKwlabel> */
7887 self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_id
].val
= var_n_id
; /* _n_id on <self:ALabel> */
7888 if (var_n_id
== NULL
) {
7889 var
= 0; /* is null */
7891 var
= 1; /* arg is null and recv is not */
7894 { /* Inline kernel$Object$!= (var_n_id,((val*)NULL)) on <var_n_id:nullable TId> */
7895 var_other
= ((val
*)NULL
);
7897 var5
= ((short int(*)(val
* self
, val
* p0
))(var_n_id
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_id
, var_other
); /* == on <var_n_id:nullable TId(TId)>*/
7908 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId(TId)> */
7909 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId(TId)> */
7917 /* method parser_prod$ALabel$replace_child for (self: ALabel, ANode, nullable ANode) */
7918 void nitc__parser_prod___ALabel___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
7919 val
* var_old_child
/* var old_child: ANode */;
7920 val
* var_new_child
/* var new_child: nullable ANode */;
7921 val
* var
/* : TKwlabel */;
7922 short int var1
/* : Bool */;
7923 val
* var_other
/* var other: nullable Object */;
7924 short int var3
/* : Bool */;
7925 short int var5
/* : Bool */;
7926 short int var6
/* : Bool */;
7929 const char* var_class_name
;
7930 val
* var7
/* : nullable TId */;
7931 short int var8
/* : Bool */;
7932 short int var9
/* : Bool */;
7933 short int var11
/* : Bool */;
7934 short int var13
/* : Bool */;
7935 short int var14
/* : Bool */;
7938 const char* var_class_name17
;
7941 var
= self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_kwlabel
].val
; /* _n_kwlabel on <self:ALabel> */
7942 if (unlikely(var
== NULL
)) {
7943 if(catchStack
.cursor
>= 0){
7944 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7946 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwlabel");
7947 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2543);
7951 { /* Inline kernel$Object$== (var,var_old_child) on <var:TKwlabel> */
7952 var_other
= var_old_child
;
7954 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TKwlabel> */
7955 var5
= var
== var_other
;
7967 /* <var_new_child:nullable ANode> isa TKwlabel */
7968 cltype
= type_nitc__TKwlabel
.color
;
7969 idtype
= type_nitc__TKwlabel
.id
;
7970 if(var_new_child
== NULL
) {
7973 if(cltype
>= var_new_child
->type
->table_size
) {
7976 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
7979 if (unlikely(!var6
)) {
7980 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7981 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwlabel", var_class_name
);
7982 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2544);
7986 nitc__parser_prod___ALabel___n_kwlabel_61d(self
, var_new_child
); /* Direct call parser_prod$ALabel$n_kwlabel= on <self:ALabel>*/
7991 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_id
].val
; /* _n_id on <self:ALabel> */
7993 var8
= 0; /* <var_old_child:ANode> cannot be null */
7995 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:nullable TId> */
7996 var_other
= var_old_child
;
7998 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:nullable TId(TId)> */
7999 var13
= var7
== var_other
;
8002 RET_LABEL12
:(void)0;
8007 RET_LABEL10
:(void)0;
8012 /* <var_new_child:nullable ANode> isa nullable TId */
8013 cltype15
= type_nullable__nitc__TId
.color
;
8014 idtype16
= type_nullable__nitc__TId
.id
;
8015 if(var_new_child
== NULL
) {
8018 if(cltype15
>= var_new_child
->type
->table_size
) {
8021 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
8024 if (unlikely(!var14
)) {
8025 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8026 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TId", var_class_name17
);
8027 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2548);
8031 nitc__parser_prod___ALabel___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$ALabel$n_id= on <self:ALabel>*/
8038 /* method parser_prod$ALabel$n_kwlabel= for (self: ALabel, TKwlabel) */
8039 void nitc__parser_prod___ALabel___n_kwlabel_61d(val
* self
, val
* p0
) {
8040 val
* var_node
/* var node: TKwlabel */;
8042 self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_kwlabel
].val
= var_node
; /* _n_kwlabel on <self:ALabel> */
8044 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwlabel> */
8045 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwlabel> */
8051 /* method parser_prod$ALabel$n_id= for (self: ALabel, nullable TId) */
8052 void nitc__parser_prod___ALabel___n_id_61d(val
* self
, val
* p0
) {
8053 val
* var_node
/* var node: nullable TId */;
8054 short int var
/* : Bool */;
8055 short int var1
/* : Bool */;
8056 val
* var_other
/* var other: nullable Object */;
8057 short int var3
/* : Bool */;
8058 short int var4
/* : Bool */;
8060 self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_id
].val
= var_node
; /* _n_id on <self:ALabel> */
8061 if (var_node
== NULL
) {
8062 var
= 0; /* is null */
8064 var
= 1; /* arg is null and recv is not */
8067 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TId> */
8068 var_other
= ((val
*)NULL
);
8070 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TId(TId)>*/
8081 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TId(TId)> */
8082 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TId(TId)> */
8090 /* method parser_prod$ALabel$visit_all for (self: ALabel, Visitor) */
8091 void nitc__parser_prod___ALabel___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8092 val
* var_v
/* var v: Visitor */;
8093 val
* var
/* : TKwlabel */;
8094 val
* var1
/* : nullable TId */;
8096 var
= self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_kwlabel
].val
; /* _n_kwlabel on <self:ALabel> */
8097 if (unlikely(var
== NULL
)) {
8098 if(catchStack
.cursor
>= 0){
8099 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8101 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwlabel");
8102 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2567);
8106 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8108 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ALabel___n_id
].val
; /* _n_id on <self:ALabel> */
8110 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8114 /* method parser_prod$ABlockExpr$init_ablockexpr for (self: ABlockExpr, Collection[Object], nullable TKwend) */
8115 void nitc__parser_prod___ABlockExpr___init_ablockexpr(val
* self
, val
* p0
, val
* p1
) {
8116 val
* var_n_expr
/* var n_expr: Collection[Object] */;
8117 val
* var_n_kwend
/* var n_kwend: nullable TKwend */;
8118 val
* var
/* : ANodes[AExpr] */;
8119 val
* var3
/* : ANodes[AExpr] */;
8120 short int var4
/* : Bool */;
8121 short int var5
/* : Bool */;
8122 val
* var_other
/* var other: nullable Object */;
8123 short int var7
/* : Bool */;
8124 short int var8
/* : Bool */;
8126 { /* Inline kernel$Object$init (self) on <self:ABlockExpr> */
8133 { /* Inline parser_nodes$ABlockExpr$n_expr (self) on <self:ABlockExpr> */
8134 var3
= self
->attrs
[COLOR_nitc__parser_nodes__ABlockExpr___n_expr
].val
; /* _n_expr on <self:ABlockExpr> */
8135 if (unlikely(var3
== NULL
)) {
8136 if(catchStack
.cursor
>= 0){
8137 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8139 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
8140 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1811);
8148 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_expr
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[AExpr]>*/
8150 self
->attrs
[COLOR_nitc__parser_nodes__ABlockExpr___n_kwend
].val
= var_n_kwend
; /* _n_kwend on <self:ABlockExpr> */
8151 if (var_n_kwend
== NULL
) {
8152 var4
= 0; /* is null */
8154 var4
= 1; /* arg is null and recv is not */
8157 { /* Inline kernel$Object$!= (var_n_kwend,((val*)NULL)) on <var_n_kwend:nullable TKwend> */
8158 var_other
= ((val
*)NULL
);
8160 var7
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwend
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwend
, var_other
); /* == on <var_n_kwend:nullable TKwend(TKwend)>*/
8171 { /* Inline parser_nodes$ANode$parent= (var_n_kwend,self) on <var_n_kwend:nullable TKwend(TKwend)> */
8172 var_n_kwend
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwend:nullable TKwend(TKwend)> */
8180 /* method parser_prod$ABlockExpr$replace_child for (self: ABlockExpr, ANode, nullable ANode) */
8181 void nitc__parser_prod___ABlockExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
8182 val
* var_old_child
/* var old_child: ANode */;
8183 val
* var_new_child
/* var new_child: nullable ANode */;
8184 val
* var
/* : ANodes[AExpr] */;
8185 val
* var2
/* : ANodes[AExpr] */;
8186 short int var3
/* : Bool */;
8187 val
* var4
/* : nullable TKwend */;
8188 short int var5
/* : Bool */;
8189 short int var6
/* : Bool */;
8190 val
* var_other
/* var other: nullable Object */;
8191 short int var8
/* : Bool */;
8192 short int var10
/* : Bool */;
8193 short int var11
/* : Bool */;
8196 const char* var_class_name
;
8200 { /* Inline parser_nodes$ABlockExpr$n_expr (self) on <self:ABlockExpr> */
8201 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABlockExpr___n_expr
].val
; /* _n_expr on <self:ABlockExpr> */
8202 if (unlikely(var2
== NULL
)) {
8203 if(catchStack
.cursor
>= 0){
8204 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8206 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
8207 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1811);
8215 var3
= nitc___nitc__ANodes___replace_child(var
, var_old_child
, var_new_child
);
8221 var4
= self
->attrs
[COLOR_nitc__parser_nodes__ABlockExpr___n_kwend
].val
; /* _n_kwend on <self:ABlockExpr> */
8223 var5
= 0; /* <var_old_child:ANode> cannot be null */
8225 { /* Inline kernel$Object$== (var4,var_old_child) on <var4:nullable TKwend> */
8226 var_other
= var_old_child
;
8228 { /* Inline kernel$Object$is_same_instance (var4,var_other) on <var4:nullable TKwend(TKwend)> */
8229 var10
= var4
== var_other
;
8242 /* <var_new_child:nullable ANode> isa nullable TKwend */
8243 cltype
= type_nullable__nitc__TKwend
.color
;
8244 idtype
= type_nullable__nitc__TKwend
.id
;
8245 if(var_new_child
== NULL
) {
8248 if(cltype
>= var_new_child
->type
->table_size
) {
8251 var11
= var_new_child
->type
->type_table
[cltype
] == idtype
;
8254 if (unlikely(!var11
)) {
8255 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8256 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwend", var_class_name
);
8257 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2586);
8261 nitc__parser_prod___ABlockExpr___n_kwend_61d(self
, var_new_child
); /* Direct call parser_prod$ABlockExpr$n_kwend= on <self:ABlockExpr>*/
8268 /* method parser_prod$ABlockExpr$n_kwend= for (self: ABlockExpr, nullable TKwend) */
8269 void nitc__parser_prod___ABlockExpr___n_kwend_61d(val
* self
, val
* p0
) {
8270 val
* var_node
/* var node: nullable TKwend */;
8271 short int var
/* : Bool */;
8272 short int var1
/* : Bool */;
8273 val
* var_other
/* var other: nullable Object */;
8274 short int var3
/* : Bool */;
8275 short int var4
/* : Bool */;
8277 self
->attrs
[COLOR_nitc__parser_nodes__ABlockExpr___n_kwend
].val
= var_node
; /* _n_kwend on <self:ABlockExpr> */
8278 if (var_node
== NULL
) {
8279 var
= 0; /* is null */
8281 var
= 1; /* arg is null and recv is not */
8284 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwend> */
8285 var_other
= ((val
*)NULL
);
8287 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwend(TKwend)>*/
8298 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwend(TKwend)> */
8299 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwend(TKwend)> */
8307 /* method parser_prod$ABlockExpr$visit_all for (self: ABlockExpr, Visitor) */
8308 void nitc__parser_prod___ABlockExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8309 val
* var_v
/* var v: Visitor */;
8310 val
* var
/* : ANodes[AExpr] */;
8311 val
* var2
/* : ANodes[AExpr] */;
8312 val
* var3
/* : nullable TKwend */;
8315 { /* Inline parser_nodes$ABlockExpr$n_expr (self) on <self:ABlockExpr> */
8316 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABlockExpr___n_expr
].val
; /* _n_expr on <self:ABlockExpr> */
8317 if (unlikely(var2
== NULL
)) {
8318 if(catchStack
.cursor
>= 0){
8319 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8321 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
8322 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1811);
8330 nitc___nitc__ANodes___visit_all(var
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var:ANodes[AExpr]>*/
8332 var3
= self
->attrs
[COLOR_nitc__parser_nodes__ABlockExpr___n_kwend
].val
; /* _n_kwend on <self:ABlockExpr> */
8334 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8338 /* method parser_prod$AVardeclExpr$init_avardeclexpr for (self: AVardeclExpr, nullable TKwvar, nullable TId, nullable AType, nullable TAssign, nullable AExpr, nullable AAnnotations) */
8339 void nitc__parser_prod___AVardeclExpr___init_avardeclexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
, val
* p5
) {
8340 val
* var_n_kwvar
/* var n_kwvar: nullable TKwvar */;
8341 val
* var_n_id
/* var n_id: nullable TId */;
8342 val
* var_n_type
/* var n_type: nullable AType */;
8343 val
* var_n_assign
/* var n_assign: nullable TAssign */;
8344 val
* var_n_expr
/* var n_expr: nullable AExpr */;
8345 val
* var_n_annotations
/* var n_annotations: nullable AAnnotations */;
8346 short int var
/* : Bool */;
8347 short int var2
/* : Bool */;
8348 val
* var_other
/* var other: nullable Object */;
8349 short int var4
/* : Bool */;
8350 short int var5
/* : Bool */;
8351 short int var8
/* : Bool */;
8352 short int var9
/* : Bool */;
8353 short int var11
/* : Bool */;
8354 short int var12
/* : Bool */;
8355 short int var14
/* : Bool */;
8356 short int var15
/* : Bool */;
8357 short int var17
/* : Bool */;
8358 short int var18
/* : Bool */;
8359 short int var20
/* : Bool */;
8360 short int var21
/* : Bool */;
8361 short int var23
/* : Bool */;
8362 short int var24
/* : Bool */;
8363 short int var26
/* : Bool */;
8364 short int var27
/* : Bool */;
8365 short int var29
/* : Bool */;
8366 short int var30
/* : Bool */;
8368 { /* Inline kernel$Object$init (self) on <self:AVardeclExpr> */
8377 var_n_annotations
= p5
;
8378 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_kwvar
].val
= var_n_kwvar
; /* _n_kwvar on <self:AVardeclExpr> */
8379 if (var_n_kwvar
== NULL
) {
8380 var
= 0; /* is null */
8382 var
= 1; /* arg is null and recv is not */
8385 { /* Inline kernel$Object$!= (var_n_kwvar,((val*)NULL)) on <var_n_kwvar:nullable TKwvar> */
8386 var_other
= ((val
*)NULL
);
8388 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwvar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwvar
, var_other
); /* == on <var_n_kwvar:nullable TKwvar(TKwvar)>*/
8399 { /* Inline parser_nodes$ANode$parent= (var_n_kwvar,self) on <var_n_kwvar:nullable TKwvar(TKwvar)> */
8400 var_n_kwvar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwvar:nullable TKwvar(TKwvar)> */
8406 if (unlikely(var_n_id
== NULL
)) {
8407 if(catchStack
.cursor
>= 0){
8408 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8410 PRINT_ERROR("Runtime error: %s", "Cast failed");
8411 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2616);
8414 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_id
].val
= var_n_id
; /* _n_id on <self:AVardeclExpr> */
8415 if (var_n_id
== NULL
) {
8416 if(catchStack
.cursor
>= 0){
8417 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8419 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8420 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2617);
8423 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId> */
8424 if (unlikely(var_n_id
== NULL
)) {
8425 if(catchStack
.cursor
>= 0){
8426 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8428 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8429 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8432 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId> */
8436 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_type
].val
= var_n_type
; /* _n_type on <self:AVardeclExpr> */
8437 if (var_n_type
== NULL
) {
8438 var8
= 0; /* is null */
8440 var8
= 1; /* arg is null and recv is not */
8443 { /* Inline kernel$Object$!= (var_n_type,((val*)NULL)) on <var_n_type:nullable AType> */
8444 var_other
= ((val
*)NULL
);
8446 var11
= ((short int(*)(val
* self
, val
* p0
))(var_n_type
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_type
, var_other
); /* == on <var_n_type:nullable AType(AType)>*/
8451 RET_LABEL10
:(void)0;
8457 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType(AType)> */
8458 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType(AType)> */
8459 RET_LABEL13
:(void)0;
8464 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_assign
].val
= var_n_assign
; /* _n_assign on <self:AVardeclExpr> */
8465 if (var_n_assign
== NULL
) {
8466 var14
= 0; /* is null */
8468 var14
= 1; /* arg is null and recv is not */
8471 { /* Inline kernel$Object$!= (var_n_assign,((val*)NULL)) on <var_n_assign:nullable TAssign> */
8472 var_other
= ((val
*)NULL
);
8474 var17
= ((short int(*)(val
* self
, val
* p0
))(var_n_assign
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_assign
, var_other
); /* == on <var_n_assign:nullable TAssign(TAssign)>*/
8479 RET_LABEL16
:(void)0;
8485 { /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on <var_n_assign:nullable TAssign(TAssign)> */
8486 var_n_assign
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign:nullable TAssign(TAssign)> */
8487 RET_LABEL19
:(void)0;
8492 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AVardeclExpr> */
8493 if (var_n_expr
== NULL
) {
8494 var20
= 0; /* is null */
8496 var20
= 1; /* arg is null and recv is not */
8499 { /* Inline kernel$Object$!= (var_n_expr,((val*)NULL)) on <var_n_expr:nullable AExpr> */
8500 var_other
= ((val
*)NULL
);
8502 var23
= ((short int(*)(val
* self
, val
* p0
))(var_n_expr
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_expr
, var_other
); /* == on <var_n_expr:nullable AExpr(AExpr)>*/
8507 RET_LABEL22
:(void)0;
8513 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr(AExpr)> */
8514 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr(AExpr)> */
8515 RET_LABEL25
:(void)0;
8520 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_n_annotations
; /* _n_annotations on <self:AVardeclExpr> */
8521 if (var_n_annotations
== NULL
) {
8522 var26
= 0; /* is null */
8524 var26
= 1; /* arg is null and recv is not */
8527 { /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on <var_n_annotations:nullable AAnnotations> */
8528 var_other
= ((val
*)NULL
);
8530 var29
= ((short int(*)(val
* self
, val
* p0
))(var_n_annotations
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_annotations
, var_other
); /* == on <var_n_annotations:nullable AAnnotations(AAnnotations)>*/
8535 RET_LABEL28
:(void)0;
8541 { /* Inline parser_nodes$ANode$parent= (var_n_annotations,self) on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
8542 var_n_annotations
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
8543 RET_LABEL31
:(void)0;
8550 /* method parser_prod$AVardeclExpr$replace_child for (self: AVardeclExpr, ANode, nullable ANode) */
8551 void nitc__parser_prod___AVardeclExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
8552 val
* var_old_child
/* var old_child: ANode */;
8553 val
* var_new_child
/* var new_child: nullable ANode */;
8554 val
* var
/* : nullable TKwvar */;
8555 short int var1
/* : Bool */;
8556 short int var2
/* : Bool */;
8557 val
* var_other
/* var other: nullable Object */;
8558 short int var4
/* : Bool */;
8559 short int var6
/* : Bool */;
8560 short int var7
/* : Bool */;
8563 const char* var_class_name
;
8564 val
* var8
/* : TId */;
8565 short int var9
/* : Bool */;
8566 short int var11
/* : Bool */;
8567 short int var13
/* : Bool */;
8568 short int var14
/* : Bool */;
8571 const char* var_class_name17
;
8572 val
* var18
/* : nullable AType */;
8573 short int var19
/* : Bool */;
8574 short int var20
/* : Bool */;
8575 short int var22
/* : Bool */;
8576 short int var24
/* : Bool */;
8577 short int var25
/* : Bool */;
8580 const char* var_class_name28
;
8581 val
* var29
/* : nullable TAssign */;
8582 short int var30
/* : Bool */;
8583 short int var31
/* : Bool */;
8584 short int var33
/* : Bool */;
8585 short int var35
/* : Bool */;
8586 short int var36
/* : Bool */;
8589 const char* var_class_name39
;
8590 val
* var40
/* : nullable AExpr */;
8591 short int var41
/* : Bool */;
8592 short int var42
/* : Bool */;
8593 short int var44
/* : Bool */;
8594 short int var46
/* : Bool */;
8595 short int var47
/* : Bool */;
8598 const char* var_class_name50
;
8599 val
* var51
/* : nullable AAnnotations */;
8600 short int var52
/* : Bool */;
8601 short int var53
/* : Bool */;
8602 short int var55
/* : Bool */;
8603 short int var57
/* : Bool */;
8604 short int var58
/* : Bool */;
8607 const char* var_class_name61
;
8610 var
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_kwvar
].val
; /* _n_kwvar on <self:AVardeclExpr> */
8612 var1
= 0; /* <var_old_child:ANode> cannot be null */
8614 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable TKwvar> */
8615 var_other
= var_old_child
;
8617 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable TKwvar(TKwvar)> */
8618 var6
= var
== var_other
;
8631 /* <var_new_child:nullable ANode> isa nullable TKwvar */
8632 cltype
= type_nullable__nitc__TKwvar
.color
;
8633 idtype
= type_nullable__nitc__TKwvar
.id
;
8634 if(var_new_child
== NULL
) {
8637 if(cltype
>= var_new_child
->type
->table_size
) {
8640 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
8643 if (unlikely(!var7
)) {
8644 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8645 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwvar", var_class_name
);
8646 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2631);
8650 nitc__parser_prod___AVardeclExpr___n_kwvar_61d(self
, var_new_child
); /* Direct call parser_prod$AVardeclExpr$n_kwvar= on <self:AVardeclExpr>*/
8655 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_id
].val
; /* _n_id on <self:AVardeclExpr> */
8656 if (unlikely(var8
== NULL
)) {
8657 if(catchStack
.cursor
>= 0){
8658 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8660 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
8661 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2634);
8665 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:TId> */
8666 var_other
= var_old_child
;
8668 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:TId> */
8669 var13
= var8
== var_other
;
8672 RET_LABEL12
:(void)0;
8677 RET_LABEL10
:(void)0;
8681 /* <var_new_child:nullable ANode> isa TId */
8682 cltype15
= type_nitc__TId
.color
;
8683 idtype16
= type_nitc__TId
.id
;
8684 if(var_new_child
== NULL
) {
8687 if(cltype15
>= var_new_child
->type
->table_size
) {
8690 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
8693 if (unlikely(!var14
)) {
8694 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8695 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name17
);
8696 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2635);
8700 nitc__parser_prod___AVardeclExpr___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AVardeclExpr$n_id= on <self:AVardeclExpr>*/
8705 var18
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_type
].val
; /* _n_type on <self:AVardeclExpr> */
8706 if (var18
== NULL
) {
8707 var19
= 0; /* <var_old_child:ANode> cannot be null */
8709 { /* Inline kernel$Object$== (var18,var_old_child) on <var18:nullable AType> */
8710 var_other
= var_old_child
;
8712 { /* Inline kernel$Object$is_same_instance (var18,var_other) on <var18:nullable AType(AType)> */
8713 var24
= var18
== var_other
;
8716 RET_LABEL23
:(void)0;
8721 RET_LABEL21
:(void)0;
8726 /* <var_new_child:nullable ANode> isa nullable AType */
8727 cltype26
= type_nullable__nitc__AType
.color
;
8728 idtype27
= type_nullable__nitc__AType
.id
;
8729 if(var_new_child
== NULL
) {
8732 if(cltype26
>= var_new_child
->type
->table_size
) {
8735 var25
= var_new_child
->type
->type_table
[cltype26
] == idtype27
;
8738 if (unlikely(!var25
)) {
8739 var_class_name28
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8740 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AType", var_class_name28
);
8741 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2639);
8745 nitc__parser_prod___AVardeclExpr___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$AVardeclExpr$n_type= on <self:AVardeclExpr>*/
8750 var29
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_assign
].val
; /* _n_assign on <self:AVardeclExpr> */
8751 if (var29
== NULL
) {
8752 var30
= 0; /* <var_old_child:ANode> cannot be null */
8754 { /* Inline kernel$Object$== (var29,var_old_child) on <var29:nullable TAssign> */
8755 var_other
= var_old_child
;
8757 { /* Inline kernel$Object$is_same_instance (var29,var_other) on <var29:nullable TAssign(TAssign)> */
8758 var35
= var29
== var_other
;
8761 RET_LABEL34
:(void)0;
8766 RET_LABEL32
:(void)0;
8771 /* <var_new_child:nullable ANode> isa nullable TAssign */
8772 cltype37
= type_nullable__nitc__TAssign
.color
;
8773 idtype38
= type_nullable__nitc__TAssign
.id
;
8774 if(var_new_child
== NULL
) {
8777 if(cltype37
>= var_new_child
->type
->table_size
) {
8780 var36
= var_new_child
->type
->type_table
[cltype37
] == idtype38
;
8783 if (unlikely(!var36
)) {
8784 var_class_name39
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8785 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TAssign", var_class_name39
);
8786 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2643);
8790 nitc__parser_prod___AVardeclExpr___n_assign_61d(self
, var_new_child
); /* Direct call parser_prod$AVardeclExpr$n_assign= on <self:AVardeclExpr>*/
8795 var40
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_expr
].val
; /* _n_expr on <self:AVardeclExpr> */
8796 if (var40
== NULL
) {
8797 var41
= 0; /* <var_old_child:ANode> cannot be null */
8799 { /* Inline kernel$Object$== (var40,var_old_child) on <var40:nullable AExpr> */
8800 var_other
= var_old_child
;
8802 { /* Inline kernel$Object$is_same_instance (var40,var_other) on <var40:nullable AExpr(AExpr)> */
8803 var46
= var40
== var_other
;
8806 RET_LABEL45
:(void)0;
8811 RET_LABEL43
:(void)0;
8816 /* <var_new_child:nullable ANode> isa nullable AExpr */
8817 cltype48
= type_nullable__nitc__AExpr
.color
;
8818 idtype49
= type_nullable__nitc__AExpr
.id
;
8819 if(var_new_child
== NULL
) {
8822 if(cltype48
>= var_new_child
->type
->table_size
) {
8825 var47
= var_new_child
->type
->type_table
[cltype48
] == idtype49
;
8828 if (unlikely(!var47
)) {
8829 var_class_name50
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8830 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AExpr", var_class_name50
);
8831 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2647);
8835 nitc__parser_prod___AVardeclExpr___n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AVardeclExpr$n_expr= on <self:AVardeclExpr>*/
8840 var51
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AVardeclExpr> */
8841 if (var51
== NULL
) {
8842 var52
= 0; /* <var_old_child:ANode> cannot be null */
8844 { /* Inline kernel$Object$== (var51,var_old_child) on <var51:nullable AAnnotations> */
8845 var_other
= var_old_child
;
8847 { /* Inline kernel$Object$is_same_instance (var51,var_other) on <var51:nullable AAnnotations(AAnnotations)> */
8848 var57
= var51
== var_other
;
8851 RET_LABEL56
:(void)0;
8856 RET_LABEL54
:(void)0;
8861 /* <var_new_child:nullable ANode> isa nullable AAnnotations */
8862 cltype59
= type_nullable__nitc__AAnnotations
.color
;
8863 idtype60
= type_nullable__nitc__AAnnotations
.id
;
8864 if(var_new_child
== NULL
) {
8867 if(cltype59
>= var_new_child
->type
->table_size
) {
8870 var58
= var_new_child
->type
->type_table
[cltype59
] == idtype60
;
8873 if (unlikely(!var58
)) {
8874 var_class_name61
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8875 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name61
);
8876 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2651);
8880 nitc__parser_prod___AVardeclExpr___nitc__parser_nodes__Prod__n_annotations_61d(self
, var_new_child
); /* Direct call parser_prod$AVardeclExpr$n_annotations= on <self:AVardeclExpr>*/
8887 /* method parser_prod$AVardeclExpr$n_kwvar= for (self: AVardeclExpr, nullable TKwvar) */
8888 void nitc__parser_prod___AVardeclExpr___n_kwvar_61d(val
* self
, val
* p0
) {
8889 val
* var_node
/* var node: nullable TKwvar */;
8890 short int var
/* : Bool */;
8891 short int var1
/* : Bool */;
8892 val
* var_other
/* var other: nullable Object */;
8893 short int var3
/* : Bool */;
8894 short int var4
/* : Bool */;
8896 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_kwvar
].val
= var_node
; /* _n_kwvar on <self:AVardeclExpr> */
8897 if (var_node
== NULL
) {
8898 var
= 0; /* is null */
8900 var
= 1; /* arg is null and recv is not */
8903 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwvar> */
8904 var_other
= ((val
*)NULL
);
8906 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwvar(TKwvar)>*/
8917 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwvar(TKwvar)> */
8918 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwvar(TKwvar)> */
8926 /* method parser_prod$AVardeclExpr$n_id= for (self: AVardeclExpr, TId) */
8927 void nitc__parser_prod___AVardeclExpr___n_id_61d(val
* self
, val
* p0
) {
8928 val
* var_node
/* var node: TId */;
8930 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_id
].val
= var_node
; /* _n_id on <self:AVardeclExpr> */
8932 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TId> */
8933 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TId> */
8939 /* method parser_prod$AVardeclExpr$n_type= for (self: AVardeclExpr, nullable AType) */
8940 void nitc__parser_prod___AVardeclExpr___n_type_61d(val
* self
, val
* p0
) {
8941 val
* var_node
/* var node: nullable AType */;
8942 short int var
/* : Bool */;
8943 short int var1
/* : Bool */;
8944 val
* var_other
/* var other: nullable Object */;
8945 short int var3
/* : Bool */;
8946 short int var4
/* : Bool */;
8948 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_type
].val
= var_node
; /* _n_type on <self:AVardeclExpr> */
8949 if (var_node
== NULL
) {
8950 var
= 0; /* is null */
8952 var
= 1; /* arg is null and recv is not */
8955 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AType> */
8956 var_other
= ((val
*)NULL
);
8958 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AType(AType)>*/
8969 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AType(AType)> */
8970 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AType(AType)> */
8978 /* method parser_prod$AVardeclExpr$n_assign= for (self: AVardeclExpr, nullable TAssign) */
8979 void nitc__parser_prod___AVardeclExpr___n_assign_61d(val
* self
, val
* p0
) {
8980 val
* var_node
/* var node: nullable TAssign */;
8981 short int var
/* : Bool */;
8982 short int var1
/* : Bool */;
8983 val
* var_other
/* var other: nullable Object */;
8984 short int var3
/* : Bool */;
8985 short int var4
/* : Bool */;
8987 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_assign
].val
= var_node
; /* _n_assign on <self:AVardeclExpr> */
8988 if (var_node
== NULL
) {
8989 var
= 0; /* is null */
8991 var
= 1; /* arg is null and recv is not */
8994 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TAssign> */
8995 var_other
= ((val
*)NULL
);
8997 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TAssign(TAssign)>*/
9008 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TAssign(TAssign)> */
9009 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TAssign(TAssign)> */
9017 /* method parser_prod$AVardeclExpr$n_expr= for (self: AVardeclExpr, nullable AExpr) */
9018 void nitc__parser_prod___AVardeclExpr___n_expr_61d(val
* self
, val
* p0
) {
9019 val
* var_node
/* var node: nullable AExpr */;
9020 short int var
/* : Bool */;
9021 short int var1
/* : Bool */;
9022 val
* var_other
/* var other: nullable Object */;
9023 short int var3
/* : Bool */;
9024 short int var4
/* : Bool */;
9026 self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AVardeclExpr> */
9027 if (var_node
== NULL
) {
9028 var
= 0; /* is null */
9030 var
= 1; /* arg is null and recv is not */
9033 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AExpr> */
9034 var_other
= ((val
*)NULL
);
9036 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AExpr(AExpr)>*/
9047 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AExpr(AExpr)> */
9048 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AExpr(AExpr)> */
9056 /* method parser_prod$AVardeclExpr$n_annotations= for (self: AVardeclExpr, nullable AAnnotations) */
9057 void nitc__parser_prod___AVardeclExpr___nitc__parser_nodes__Prod__n_annotations_61d(val
* self
, val
* p0
) {
9058 val
* var_node
/* var node: nullable AAnnotations */;
9059 short int var
/* : Bool */;
9060 short int var1
/* : Bool */;
9061 val
* var_other
/* var other: nullable Object */;
9062 short int var3
/* : Bool */;
9063 short int var4
/* : Bool */;
9065 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_node
; /* _n_annotations on <self:AVardeclExpr> */
9066 if (var_node
== NULL
) {
9067 var
= 0; /* is null */
9069 var
= 1; /* arg is null and recv is not */
9072 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AAnnotations> */
9073 var_other
= ((val
*)NULL
);
9075 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AAnnotations(AAnnotations)>*/
9086 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AAnnotations(AAnnotations)> */
9087 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AAnnotations(AAnnotations)> */
9095 /* method parser_prod$AVardeclExpr$visit_all for (self: AVardeclExpr, Visitor) */
9096 void nitc__parser_prod___AVardeclExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9097 val
* var_v
/* var v: Visitor */;
9098 val
* var
/* : nullable TKwvar */;
9099 val
* var1
/* : TId */;
9100 val
* var2
/* : nullable AType */;
9101 val
* var3
/* : nullable TAssign */;
9102 val
* var4
/* : nullable AExpr */;
9103 val
* var5
/* : nullable AAnnotations */;
9105 var
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_kwvar
].val
; /* _n_kwvar on <self:AVardeclExpr> */
9107 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9109 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_id
].val
; /* _n_id on <self:AVardeclExpr> */
9110 if (unlikely(var1
== NULL
)) {
9111 if(catchStack
.cursor
>= 0){
9112 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9114 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
9115 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2691);
9119 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9121 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_type
].val
; /* _n_type on <self:AVardeclExpr> */
9123 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9125 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_assign
].val
; /* _n_assign on <self:AVardeclExpr> */
9127 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9129 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AVardeclExpr___n_expr
].val
; /* _n_expr on <self:AVardeclExpr> */
9131 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9133 var5
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AVardeclExpr> */
9135 nitc___nitc__Visitor___enter_visit(var_v
, var5
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9139 /* method parser_prod$AReturnExpr$init_areturnexpr for (self: AReturnExpr, nullable TKwreturn, nullable AExpr) */
9140 void nitc__parser_prod___AReturnExpr___init_areturnexpr(val
* self
, val
* p0
, val
* p1
) {
9141 val
* var_n_kwreturn
/* var n_kwreturn: nullable TKwreturn */;
9142 val
* var_n_expr
/* var n_expr: nullable AExpr */;
9143 short int var
/* : Bool */;
9144 short int var2
/* : Bool */;
9145 val
* var_other
/* var other: nullable Object */;
9146 short int var4
/* : Bool */;
9147 short int var5
/* : Bool */;
9148 short int var7
/* : Bool */;
9149 short int var8
/* : Bool */;
9150 short int var10
/* : Bool */;
9151 short int var11
/* : Bool */;
9153 { /* Inline kernel$Object$init (self) on <self:AReturnExpr> */
9157 var_n_kwreturn
= p0
;
9159 self
->attrs
[COLOR_nitc__parser_nodes__AReturnExpr___n_kwreturn
].val
= var_n_kwreturn
; /* _n_kwreturn on <self:AReturnExpr> */
9160 if (var_n_kwreturn
== NULL
) {
9161 var
= 0; /* is null */
9163 var
= 1; /* arg is null and recv is not */
9166 { /* Inline kernel$Object$!= (var_n_kwreturn,((val*)NULL)) on <var_n_kwreturn:nullable TKwreturn> */
9167 var_other
= ((val
*)NULL
);
9169 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwreturn
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwreturn
, var_other
); /* == on <var_n_kwreturn:nullable TKwreturn(TKwreturn)>*/
9180 { /* Inline parser_nodes$ANode$parent= (var_n_kwreturn,self) on <var_n_kwreturn:nullable TKwreturn(TKwreturn)> */
9181 var_n_kwreturn
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwreturn:nullable TKwreturn(TKwreturn)> */
9187 self
->attrs
[COLOR_nitc__parser_nodes__AEscapeExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AReturnExpr> */
9188 if (var_n_expr
== NULL
) {
9189 var7
= 0; /* is null */
9191 var7
= 1; /* arg is null and recv is not */
9194 { /* Inline kernel$Object$!= (var_n_expr,((val*)NULL)) on <var_n_expr:nullable AExpr> */
9195 var_other
= ((val
*)NULL
);
9197 var10
= ((short int(*)(val
* self
, val
* p0
))(var_n_expr
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_expr
, var_other
); /* == on <var_n_expr:nullable AExpr(AExpr)>*/
9208 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr(AExpr)> */
9209 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr(AExpr)> */
9210 RET_LABEL12
:(void)0;
9217 /* method parser_prod$AReturnExpr$replace_child for (self: AReturnExpr, ANode, nullable ANode) */
9218 void nitc__parser_prod___AReturnExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
9219 val
* var_old_child
/* var old_child: ANode */;
9220 val
* var_new_child
/* var new_child: nullable ANode */;
9221 val
* var
/* : nullable TKwreturn */;
9222 short int var1
/* : Bool */;
9223 short int var2
/* : Bool */;
9224 val
* var_other
/* var other: nullable Object */;
9225 short int var4
/* : Bool */;
9226 short int var6
/* : Bool */;
9227 short int var7
/* : Bool */;
9230 const char* var_class_name
;
9231 val
* var8
/* : nullable AExpr */;
9232 short int var9
/* : Bool */;
9233 short int var10
/* : Bool */;
9234 short int var12
/* : Bool */;
9235 short int var14
/* : Bool */;
9236 short int var15
/* : Bool */;
9239 const char* var_class_name18
;
9242 var
= self
->attrs
[COLOR_nitc__parser_nodes__AReturnExpr___n_kwreturn
].val
; /* _n_kwreturn on <self:AReturnExpr> */
9244 var1
= 0; /* <var_old_child:ANode> cannot be null */
9246 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable TKwreturn> */
9247 var_other
= var_old_child
;
9249 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable TKwreturn(TKwreturn)> */
9250 var6
= var
== var_other
;
9263 /* <var_new_child:nullable ANode> isa nullable TKwreturn */
9264 cltype
= type_nullable__nitc__TKwreturn
.color
;
9265 idtype
= type_nullable__nitc__TKwreturn
.id
;
9266 if(var_new_child
== NULL
) {
9269 if(cltype
>= var_new_child
->type
->table_size
) {
9272 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
9275 if (unlikely(!var7
)) {
9276 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9277 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwreturn", var_class_name
);
9278 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2713);
9282 nitc__parser_prod___AReturnExpr___n_kwreturn_61d(self
, var_new_child
); /* Direct call parser_prod$AReturnExpr$n_kwreturn= on <self:AReturnExpr>*/
9287 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AEscapeExpr___n_expr
].val
; /* _n_expr on <self:AReturnExpr> */
9289 var9
= 0; /* <var_old_child:ANode> cannot be null */
9291 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:nullable AExpr> */
9292 var_other
= var_old_child
;
9294 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:nullable AExpr(AExpr)> */
9295 var14
= var8
== var_other
;
9298 RET_LABEL13
:(void)0;
9303 RET_LABEL11
:(void)0;
9308 /* <var_new_child:nullable ANode> isa nullable AExpr */
9309 cltype16
= type_nullable__nitc__AExpr
.color
;
9310 idtype17
= type_nullable__nitc__AExpr
.id
;
9311 if(var_new_child
== NULL
) {
9314 if(cltype16
>= var_new_child
->type
->table_size
) {
9317 var15
= var_new_child
->type
->type_table
[cltype16
] == idtype17
;
9320 if (unlikely(!var15
)) {
9321 var_class_name18
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9322 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AExpr", var_class_name18
);
9323 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2717);
9327 nitc__parser_prod___AReturnExpr___nitc__parser_nodes__AEscapeExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AReturnExpr$n_expr= on <self:AReturnExpr>*/
9334 /* method parser_prod$AReturnExpr$n_kwreturn= for (self: AReturnExpr, nullable TKwreturn) */
9335 void nitc__parser_prod___AReturnExpr___n_kwreturn_61d(val
* self
, val
* p0
) {
9336 val
* var_node
/* var node: nullable TKwreturn */;
9337 short int var
/* : Bool */;
9338 short int var1
/* : Bool */;
9339 val
* var_other
/* var other: nullable Object */;
9340 short int var3
/* : Bool */;
9341 short int var4
/* : Bool */;
9343 self
->attrs
[COLOR_nitc__parser_nodes__AReturnExpr___n_kwreturn
].val
= var_node
; /* _n_kwreturn on <self:AReturnExpr> */
9344 if (var_node
== NULL
) {
9345 var
= 0; /* is null */
9347 var
= 1; /* arg is null and recv is not */
9350 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwreturn> */
9351 var_other
= ((val
*)NULL
);
9353 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwreturn(TKwreturn)>*/
9364 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwreturn(TKwreturn)> */
9365 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwreturn(TKwreturn)> */
9373 /* method parser_prod$AReturnExpr$n_expr= for (self: AReturnExpr, nullable AExpr) */
9374 void nitc__parser_prod___AReturnExpr___nitc__parser_nodes__AEscapeExpr__n_expr_61d(val
* self
, val
* p0
) {
9375 val
* var_node
/* var node: nullable AExpr */;
9376 short int var
/* : Bool */;
9377 short int var1
/* : Bool */;
9378 val
* var_other
/* var other: nullable Object */;
9379 short int var3
/* : Bool */;
9380 short int var4
/* : Bool */;
9382 self
->attrs
[COLOR_nitc__parser_nodes__AEscapeExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AReturnExpr> */
9383 if (var_node
== NULL
) {
9384 var
= 0; /* is null */
9386 var
= 1; /* arg is null and recv is not */
9389 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AExpr> */
9390 var_other
= ((val
*)NULL
);
9392 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AExpr(AExpr)>*/
9403 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AExpr(AExpr)> */
9404 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AExpr(AExpr)> */
9412 /* method parser_prod$AReturnExpr$visit_all for (self: AReturnExpr, Visitor) */
9413 void nitc__parser_prod___AReturnExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9414 val
* var_v
/* var v: Visitor */;
9415 val
* var
/* : nullable TKwreturn */;
9416 val
* var1
/* : nullable AExpr */;
9418 var
= self
->attrs
[COLOR_nitc__parser_nodes__AReturnExpr___n_kwreturn
].val
; /* _n_kwreturn on <self:AReturnExpr> */
9420 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9422 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AEscapeExpr___n_expr
].val
; /* _n_expr on <self:AReturnExpr> */
9424 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9428 /* method parser_prod$AYieldExpr$init_ayieldexpr for (self: AYieldExpr, nullable TKwyield, nullable AExpr) */
9429 void nitc__parser_prod___AYieldExpr___init_ayieldexpr(val
* self
, val
* p0
, val
* p1
) {
9430 val
* var_n_kwyield
/* var n_kwyield: nullable TKwyield */;
9431 val
* var_n_expr
/* var n_expr: nullable AExpr */;
9433 { /* Inline kernel$Object$init (self) on <self:AYieldExpr> */
9439 if (unlikely(var_n_kwyield
== NULL
)) {
9440 if(catchStack
.cursor
>= 0){
9441 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9443 PRINT_ERROR("Runtime error: %s", "Cast failed");
9444 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2746);
9447 self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_kwyield
].val
= var_n_kwyield
; /* _n_kwyield on <self:AYieldExpr> */
9448 if (var_n_kwyield
== NULL
) {
9449 if(catchStack
.cursor
>= 0){
9450 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9452 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9453 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2747);
9456 { /* Inline parser_nodes$ANode$parent= (var_n_kwyield,self) on <var_n_kwyield:nullable TKwyield> */
9457 if (unlikely(var_n_kwyield
== NULL
)) {
9458 if(catchStack
.cursor
>= 0){
9459 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9461 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9462 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9465 var_n_kwyield
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwyield:nullable TKwyield> */
9469 if (unlikely(var_n_expr
== NULL
)) {
9470 if(catchStack
.cursor
>= 0){
9471 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9473 PRINT_ERROR("Runtime error: %s", "Cast failed");
9474 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2748);
9477 self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AYieldExpr> */
9478 if (var_n_expr
== NULL
) {
9479 if(catchStack
.cursor
>= 0){
9480 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9482 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9483 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2749);
9486 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
9487 if (unlikely(var_n_expr
== NULL
)) {
9488 if(catchStack
.cursor
>= 0){
9489 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9491 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9492 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9495 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
9501 /* method parser_prod$AYieldExpr$replace_child for (self: AYieldExpr, ANode, nullable ANode) */
9502 void nitc__parser_prod___AYieldExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
9503 val
* var_old_child
/* var old_child: ANode */;
9504 val
* var_new_child
/* var new_child: nullable ANode */;
9505 val
* var
/* : nullable TKwyield */;
9506 short int var1
/* : Bool */;
9507 short int var2
/* : Bool */;
9508 val
* var_other
/* var other: nullable Object */;
9509 short int var4
/* : Bool */;
9510 short int var6
/* : Bool */;
9511 short int var7
/* : Bool */;
9514 const char* var_class_name
;
9515 val
* var8
/* : nullable AExpr */;
9516 short int var9
/* : Bool */;
9517 short int var10
/* : Bool */;
9518 short int var12
/* : Bool */;
9519 short int var14
/* : Bool */;
9520 short int var15
/* : Bool */;
9523 const char* var_class_name18
;
9526 var
= self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_kwyield
].val
; /* _n_kwyield on <self:AYieldExpr> */
9528 var1
= 0; /* <var_old_child:ANode> cannot be null */
9530 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable TKwyield> */
9531 var_other
= var_old_child
;
9533 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable TKwyield(TKwyield)> */
9534 var6
= var
== var_other
;
9547 /* <var_new_child:nullable ANode> isa TKwyield */
9548 cltype
= type_nitc__TKwyield
.color
;
9549 idtype
= type_nitc__TKwyield
.id
;
9550 if(var_new_child
== NULL
) {
9553 if(cltype
>= var_new_child
->type
->table_size
) {
9556 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
9559 if (unlikely(!var7
)) {
9560 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9561 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwyield", var_class_name
);
9562 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2755);
9566 nitc__parser_prod___AYieldExpr___n_kwyield_61d(self
, var_new_child
); /* Direct call parser_prod$AYieldExpr$n_kwyield= on <self:AYieldExpr>*/
9571 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_expr
].val
; /* _n_expr on <self:AYieldExpr> */
9573 var9
= 0; /* <var_old_child:ANode> cannot be null */
9575 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:nullable AExpr> */
9576 var_other
= var_old_child
;
9578 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:nullable AExpr(AExpr)> */
9579 var14
= var8
== var_other
;
9582 RET_LABEL13
:(void)0;
9587 RET_LABEL11
:(void)0;
9592 /* <var_new_child:nullable ANode> isa AExpr */
9593 cltype16
= type_nitc__AExpr
.color
;
9594 idtype17
= type_nitc__AExpr
.id
;
9595 if(var_new_child
== NULL
) {
9598 if(cltype16
>= var_new_child
->type
->table_size
) {
9601 var15
= var_new_child
->type
->type_table
[cltype16
] == idtype17
;
9604 if (unlikely(!var15
)) {
9605 var_class_name18
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9606 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name18
);
9607 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2759);
9611 nitc__parser_prod___AYieldExpr___n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AYieldExpr$n_expr= on <self:AYieldExpr>*/
9618 /* method parser_prod$AYieldExpr$n_kwyield= for (self: AYieldExpr, nullable TKwyield) */
9619 void nitc__parser_prod___AYieldExpr___n_kwyield_61d(val
* self
, val
* p0
) {
9620 val
* var_node
/* var node: nullable TKwyield */;
9622 self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_kwyield
].val
= var_node
; /* _n_kwyield on <self:AYieldExpr> */
9623 if (var_node
== NULL
) {
9624 if(catchStack
.cursor
>= 0){
9625 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9627 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9628 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2767);
9631 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwyield> */
9632 if (unlikely(var_node
== NULL
)) {
9633 if(catchStack
.cursor
>= 0){
9634 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9636 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9637 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9640 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwyield> */
9646 /* method parser_prod$AYieldExpr$n_expr= for (self: AYieldExpr, nullable AExpr) */
9647 void nitc__parser_prod___AYieldExpr___n_expr_61d(val
* self
, val
* p0
) {
9648 val
* var_node
/* var node: nullable AExpr */;
9650 self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AYieldExpr> */
9651 if (var_node
== NULL
) {
9652 if(catchStack
.cursor
>= 0){
9653 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9655 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9656 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2772);
9659 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AExpr> */
9660 if (unlikely(var_node
== NULL
)) {
9661 if(catchStack
.cursor
>= 0){
9662 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9664 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9665 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9668 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AExpr> */
9674 /* method parser_prod$AYieldExpr$visit_all for (self: AYieldExpr, Visitor) */
9675 void nitc__parser_prod___AYieldExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9676 val
* var_v
/* var v: Visitor */;
9677 val
* var
/* : nullable TKwyield */;
9678 val
* var1
/* : nullable AExpr */;
9680 var
= self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_kwyield
].val
; /* _n_kwyield on <self:AYieldExpr> */
9682 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9684 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AYieldExpr___n_expr
].val
; /* _n_expr on <self:AYieldExpr> */
9686 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9690 /* method parser_prod$ABreakExpr$init_abreakexpr for (self: ABreakExpr, nullable TKwbreak, nullable ALabel) */
9691 void nitc__parser_prod___ABreakExpr___init_abreakexpr(val
* self
, val
* p0
, val
* p1
) {
9692 val
* var_n_kwbreak
/* var n_kwbreak: nullable TKwbreak */;
9693 val
* var_n_label
/* var n_label: nullable ALabel */;
9694 short int var
/* : Bool */;
9695 short int var3
/* : Bool */;
9696 val
* var_other
/* var other: nullable Object */;
9697 short int var5
/* : Bool */;
9698 short int var6
/* : Bool */;
9700 { /* Inline kernel$Object$init (self) on <self:ABreakExpr> */
9706 if (unlikely(var_n_kwbreak
== NULL
)) {
9707 if(catchStack
.cursor
>= 0){
9708 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9710 PRINT_ERROR("Runtime error: %s", "Cast failed");
9711 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2788);
9714 self
->attrs
[COLOR_nitc__parser_nodes__ABreakExpr___n_kwbreak
].val
= var_n_kwbreak
; /* _n_kwbreak on <self:ABreakExpr> */
9715 if (var_n_kwbreak
== NULL
) {
9716 if(catchStack
.cursor
>= 0){
9717 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9719 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9720 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2789);
9723 { /* Inline parser_nodes$ANode$parent= (var_n_kwbreak,self) on <var_n_kwbreak:nullable TKwbreak> */
9724 if (unlikely(var_n_kwbreak
== NULL
)) {
9725 if(catchStack
.cursor
>= 0){
9726 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9728 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9729 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9732 var_n_kwbreak
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwbreak:nullable TKwbreak> */
9736 self
->attrs
[COLOR_nitc__parser_nodes__ALabelable___n_label
].val
= var_n_label
; /* _n_label on <self:ABreakExpr> */
9737 if (var_n_label
== NULL
) {
9738 var
= 0; /* is null */
9740 var
= 1; /* arg is null and recv is not */
9743 { /* Inline kernel$Object$!= (var_n_label,((val*)NULL)) on <var_n_label:nullable ALabel> */
9744 var_other
= ((val
*)NULL
);
9746 var5
= ((short int(*)(val
* self
, val
* p0
))(var_n_label
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_label
, var_other
); /* == on <var_n_label:nullable ALabel(ALabel)>*/
9757 { /* Inline parser_nodes$ANode$parent= (var_n_label,self) on <var_n_label:nullable ALabel(ALabel)> */
9758 var_n_label
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_label:nullable ALabel(ALabel)> */
9766 /* method parser_prod$ABreakExpr$replace_child for (self: ABreakExpr, ANode, nullable ANode) */
9767 void nitc__parser_prod___ABreakExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
9768 val
* var_old_child
/* var old_child: ANode */;
9769 val
* var_new_child
/* var new_child: nullable ANode */;
9770 val
* var
/* : TKwbreak */;
9771 short int var1
/* : Bool */;
9772 val
* var_other
/* var other: nullable Object */;
9773 short int var3
/* : Bool */;
9774 short int var5
/* : Bool */;
9775 short int var6
/* : Bool */;
9778 const char* var_class_name
;
9779 val
* var7
/* : nullable ALabel */;
9780 short int var8
/* : Bool */;
9781 short int var9
/* : Bool */;
9782 short int var11
/* : Bool */;
9783 short int var13
/* : Bool */;
9784 short int var14
/* : Bool */;
9787 const char* var_class_name17
;
9790 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABreakExpr___n_kwbreak
].val
; /* _n_kwbreak on <self:ABreakExpr> */
9791 if (unlikely(var
== NULL
)) {
9792 if(catchStack
.cursor
>= 0){
9793 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9795 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwbreak");
9796 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2796);
9800 { /* Inline kernel$Object$== (var,var_old_child) on <var:TKwbreak> */
9801 var_other
= var_old_child
;
9803 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TKwbreak> */
9804 var5
= var
== var_other
;
9816 /* <var_new_child:nullable ANode> isa TKwbreak */
9817 cltype
= type_nitc__TKwbreak
.color
;
9818 idtype
= type_nitc__TKwbreak
.id
;
9819 if(var_new_child
== NULL
) {
9822 if(cltype
>= var_new_child
->type
->table_size
) {
9825 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
9828 if (unlikely(!var6
)) {
9829 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9830 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwbreak", var_class_name
);
9831 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2797);
9835 nitc__parser_prod___ABreakExpr___n_kwbreak_61d(self
, var_new_child
); /* Direct call parser_prod$ABreakExpr$n_kwbreak= on <self:ABreakExpr>*/
9840 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ALabelable___n_label
].val
; /* _n_label on <self:ABreakExpr> */
9842 var8
= 0; /* <var_old_child:ANode> cannot be null */
9844 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:nullable ALabel> */
9845 var_other
= var_old_child
;
9847 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:nullable ALabel(ALabel)> */
9848 var13
= var7
== var_other
;
9851 RET_LABEL12
:(void)0;
9856 RET_LABEL10
:(void)0;
9861 /* <var_new_child:nullable ANode> isa nullable ALabel */
9862 cltype15
= type_nullable__nitc__ALabel
.color
;
9863 idtype16
= type_nullable__nitc__ALabel
.id
;
9864 if(var_new_child
== NULL
) {
9867 if(cltype15
>= var_new_child
->type
->table_size
) {
9870 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
9873 if (unlikely(!var14
)) {
9874 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9875 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable ALabel", var_class_name17
);
9876 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2801);
9880 nitc__parser_prod___ABreakExpr___nitc__parser_nodes__ALabelable__n_label_61d(self
, var_new_child
); /* Direct call parser_prod$ABreakExpr$n_label= on <self:ABreakExpr>*/
9887 /* method parser_prod$ABreakExpr$n_kwbreak= for (self: ABreakExpr, TKwbreak) */
9888 void nitc__parser_prod___ABreakExpr___n_kwbreak_61d(val
* self
, val
* p0
) {
9889 val
* var_node
/* var node: TKwbreak */;
9891 self
->attrs
[COLOR_nitc__parser_nodes__ABreakExpr___n_kwbreak
].val
= var_node
; /* _n_kwbreak on <self:ABreakExpr> */
9893 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwbreak> */
9894 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwbreak> */
9900 /* method parser_prod$ABreakExpr$n_label= for (self: ABreakExpr, nullable ALabel) */
9901 void nitc__parser_prod___ABreakExpr___nitc__parser_nodes__ALabelable__n_label_61d(val
* self
, val
* p0
) {
9902 val
* var_node
/* var node: nullable ALabel */;
9903 short int var
/* : Bool */;
9904 short int var1
/* : Bool */;
9905 val
* var_other
/* var other: nullable Object */;
9906 short int var3
/* : Bool */;
9907 short int var4
/* : Bool */;
9909 self
->attrs
[COLOR_nitc__parser_nodes__ALabelable___n_label
].val
= var_node
; /* _n_label on <self:ABreakExpr> */
9910 if (var_node
== NULL
) {
9911 var
= 0; /* is null */
9913 var
= 1; /* arg is null and recv is not */
9916 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable ALabel> */
9917 var_other
= ((val
*)NULL
);
9919 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable ALabel(ALabel)>*/
9930 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable ALabel(ALabel)> */
9931 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable ALabel(ALabel)> */
9939 /* method parser_prod$ABreakExpr$visit_all for (self: ABreakExpr, Visitor) */
9940 void nitc__parser_prod___ABreakExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9941 val
* var_v
/* var v: Visitor */;
9942 val
* var
/* : TKwbreak */;
9943 val
* var1
/* : nullable ALabel */;
9945 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABreakExpr___n_kwbreak
].val
; /* _n_kwbreak on <self:ABreakExpr> */
9946 if (unlikely(var
== NULL
)) {
9947 if(catchStack
.cursor
>= 0){
9948 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9950 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwbreak");
9951 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 2820);
9955 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9957 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ALabelable___n_label
].val
; /* _n_label on <self:ABreakExpr> */
9959 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/