1 #include "nitc__parser_prod.sep.0.h"
2 /* method parser_prod$AGeExpr$replace_child for (self: AGeExpr, ANode, nullable ANode) */
3 void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4 val
* var_old_child
/* var old_child: ANode */;
5 val
* var_new_child
/* var new_child: nullable ANode */;
6 val
* var
/* : AExpr */;
7 short int var1
/* : Bool */;
8 val
* var_other
/* var other: nullable Object */;
9 short int var3
/* : Bool */;
10 short int var5
/* : Bool */;
11 short int var6
/* : Bool */;
14 const char* var_class_name
;
15 val
* var7
/* : Token */;
16 short int var8
/* : Bool */;
17 short int var10
/* : Bool */;
18 short int var12
/* : Bool */;
19 short int var13
/* : Bool */;
22 const char* var_class_name16
;
23 val
* var17
/* : AExpr */;
24 short int var18
/* : Bool */;
25 short int var20
/* : Bool */;
26 short int var22
/* : Bool */;
27 short int var23
/* : Bool */;
30 const char* var_class_name26
;
33 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AGeExpr> */
34 if (unlikely(var
== NULL
)) {
35 if(catchStack
.cursor
>= 0){
36 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
38 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
39 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4269);
43 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
44 var_other
= var_old_child
;
46 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
47 var5
= var
== var_other
;
59 /* <var_new_child:nullable ANode> isa AExpr */
60 cltype
= type_nitc__AExpr
.color
;
61 idtype
= type_nitc__AExpr
.id
;
62 if(var_new_child
== NULL
) {
65 if(cltype
>= var_new_child
->type
->table_size
) {
68 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
71 if (unlikely(!var6
)) {
72 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
73 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
74 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4270);
78 nitc__parser_prod___AGeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AGeExpr$n_expr= on <self:AGeExpr>*/
83 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AGeExpr> */
84 if (unlikely(var7
== NULL
)) {
85 if(catchStack
.cursor
>= 0){
86 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
88 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
89 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4273);
93 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
94 var_other
= var_old_child
;
96 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
97 var12
= var7
== var_other
;
109 /* <var_new_child:nullable ANode> isa TGe */
110 cltype14
= type_nitc__TGe
.color
;
111 idtype15
= type_nitc__TGe
.id
;
112 if(var_new_child
== NULL
) {
115 if(cltype14
>= var_new_child
->type
->table_size
) {
118 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
121 if (unlikely(!var13
)) {
122 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
123 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGe", var_class_name16
);
124 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4274);
128 nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AGeExpr$n_op= on <self:AGeExpr>*/
133 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AGeExpr> */
134 if (unlikely(var17
== NULL
)) {
135 if(catchStack
.cursor
>= 0){
136 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
138 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
139 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4277);
143 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
144 var_other
= var_old_child
;
146 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
147 var22
= var17
== var_other
;
159 /* <var_new_child:nullable ANode> isa AExpr */
160 cltype24
= type_nitc__AExpr
.color
;
161 idtype25
= type_nitc__AExpr
.id
;
162 if(var_new_child
== NULL
) {
165 if(cltype24
>= var_new_child
->type
->table_size
) {
168 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
171 if (unlikely(!var23
)) {
172 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
173 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
174 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4278);
178 nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$AGeExpr$n_expr2= on <self:AGeExpr>*/
185 /* method parser_prod$AGeExpr$n_expr= for (self: AGeExpr, AExpr) */
186 void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
187 val
* var_node
/* var node: AExpr */;
189 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AGeExpr> */
191 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
192 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
198 /* method parser_prod$AGeExpr$n_op= for (self: AGeExpr, Token) */
199 void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
200 val
* var_node
/* var node: Token */;
202 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:AGeExpr> */
204 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
205 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
211 /* method parser_prod$AGeExpr$n_expr2= for (self: AGeExpr, AExpr) */
212 void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
213 val
* var_node
/* var node: AExpr */;
215 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:AGeExpr> */
217 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
218 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
224 /* method parser_prod$AGeExpr$visit_all for (self: AGeExpr, Visitor) */
225 void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
226 val
* var_v
/* var v: Visitor */;
227 val
* var
/* : AExpr */;
228 val
* var1
/* : Token */;
229 val
* var2
/* : AExpr */;
231 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AGeExpr> */
232 if (unlikely(var
== NULL
)) {
233 if(catchStack
.cursor
>= 0){
234 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
236 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
237 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4302);
241 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
243 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AGeExpr> */
244 if (unlikely(var1
== NULL
)) {
245 if(catchStack
.cursor
>= 0){
246 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
248 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
249 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4303);
253 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
255 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AGeExpr> */
256 if (unlikely(var2
== NULL
)) {
257 if(catchStack
.cursor
>= 0){
258 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
260 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
261 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4304);
265 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
269 /* method parser_prod$AGgExpr$init_aggexpr for (self: AGgExpr, nullable AExpr, nullable TGg, nullable AExpr) */
270 void nitc__parser_prod___AGgExpr___init_aggexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
271 val
* var_n_expr
/* var n_expr: nullable AExpr */;
272 val
* var_n_op
/* var n_op: nullable TGg */;
273 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
275 { /* Inline kernel$Object$init (self) on <self:AGgExpr> */
282 if (unlikely(var_n_expr
== NULL
)) {
283 if(catchStack
.cursor
>= 0){
284 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
286 PRINT_ERROR("Runtime error: %s", "Cast failed");
287 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4314);
290 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AGgExpr> */
291 if (var_n_expr
== NULL
) {
292 if(catchStack
.cursor
>= 0){
293 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
295 PRINT_ERROR("Runtime error: %s", "Receiver is null");
296 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4315);
299 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
300 if (unlikely(var_n_expr
== NULL
)) {
301 if(catchStack
.cursor
>= 0){
302 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
304 PRINT_ERROR("Runtime error: %s", "Receiver is null");
305 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
308 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
312 if (unlikely(var_n_op
== NULL
)) {
313 if(catchStack
.cursor
>= 0){
314 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
316 PRINT_ERROR("Runtime error: %s", "Cast failed");
317 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4316);
320 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AGgExpr> */
321 if (var_n_op
== NULL
) {
322 if(catchStack
.cursor
>= 0){
323 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
325 PRINT_ERROR("Runtime error: %s", "Receiver is null");
326 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4317);
329 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TGg> */
330 if (unlikely(var_n_op
== NULL
)) {
331 if(catchStack
.cursor
>= 0){
332 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
334 PRINT_ERROR("Runtime error: %s", "Receiver is null");
335 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
338 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TGg> */
342 if (unlikely(var_n_expr2
== NULL
)) {
343 if(catchStack
.cursor
>= 0){
344 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
346 PRINT_ERROR("Runtime error: %s", "Cast failed");
347 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4318);
350 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:AGgExpr> */
351 if (var_n_expr2
== NULL
) {
352 if(catchStack
.cursor
>= 0){
353 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
355 PRINT_ERROR("Runtime error: %s", "Receiver is null");
356 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4319);
359 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
360 if (unlikely(var_n_expr2
== NULL
)) {
361 if(catchStack
.cursor
>= 0){
362 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
364 PRINT_ERROR("Runtime error: %s", "Receiver is null");
365 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
368 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
374 /* method parser_prod$AGgExpr$replace_child for (self: AGgExpr, ANode, nullable ANode) */
375 void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
376 val
* var_old_child
/* var old_child: ANode */;
377 val
* var_new_child
/* var new_child: nullable ANode */;
378 val
* var
/* : AExpr */;
379 short int var1
/* : Bool */;
380 val
* var_other
/* var other: nullable Object */;
381 short int var3
/* : Bool */;
382 short int var5
/* : Bool */;
383 short int var6
/* : Bool */;
386 const char* var_class_name
;
387 val
* var7
/* : Token */;
388 short int var8
/* : Bool */;
389 short int var10
/* : Bool */;
390 short int var12
/* : Bool */;
391 short int var13
/* : Bool */;
394 const char* var_class_name16
;
395 val
* var17
/* : AExpr */;
396 short int var18
/* : Bool */;
397 short int var20
/* : Bool */;
398 short int var22
/* : Bool */;
399 short int var23
/* : Bool */;
402 const char* var_class_name26
;
405 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AGgExpr> */
406 if (unlikely(var
== NULL
)) {
407 if(catchStack
.cursor
>= 0){
408 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
410 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
411 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4324);
415 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
416 var_other
= var_old_child
;
418 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
419 var5
= var
== var_other
;
431 /* <var_new_child:nullable ANode> isa AExpr */
432 cltype
= type_nitc__AExpr
.color
;
433 idtype
= type_nitc__AExpr
.id
;
434 if(var_new_child
== NULL
) {
437 if(cltype
>= var_new_child
->type
->table_size
) {
440 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
443 if (unlikely(!var6
)) {
444 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
445 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
446 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4325);
450 nitc__parser_prod___AGgExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AGgExpr$n_expr= on <self:AGgExpr>*/
455 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AGgExpr> */
456 if (unlikely(var7
== NULL
)) {
457 if(catchStack
.cursor
>= 0){
458 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
460 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
461 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4328);
465 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
466 var_other
= var_old_child
;
468 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
469 var12
= var7
== var_other
;
481 /* <var_new_child:nullable ANode> isa TGg */
482 cltype14
= type_nitc__TGg
.color
;
483 idtype15
= type_nitc__TGg
.id
;
484 if(var_new_child
== NULL
) {
487 if(cltype14
>= var_new_child
->type
->table_size
) {
490 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
493 if (unlikely(!var13
)) {
494 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
495 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGg", var_class_name16
);
496 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4329);
500 nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AGgExpr$n_op= on <self:AGgExpr>*/
505 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AGgExpr> */
506 if (unlikely(var17
== NULL
)) {
507 if(catchStack
.cursor
>= 0){
508 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
510 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
511 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4332);
515 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
516 var_other
= var_old_child
;
518 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
519 var22
= var17
== var_other
;
531 /* <var_new_child:nullable ANode> isa AExpr */
532 cltype24
= type_nitc__AExpr
.color
;
533 idtype25
= type_nitc__AExpr
.id
;
534 if(var_new_child
== NULL
) {
537 if(cltype24
>= var_new_child
->type
->table_size
) {
540 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
543 if (unlikely(!var23
)) {
544 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
545 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
546 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4333);
550 nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$AGgExpr$n_expr2= on <self:AGgExpr>*/
557 /* method parser_prod$AGgExpr$n_expr= for (self: AGgExpr, AExpr) */
558 void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
559 val
* var_node
/* var node: AExpr */;
561 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AGgExpr> */
563 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
564 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
570 /* method parser_prod$AGgExpr$n_op= for (self: AGgExpr, Token) */
571 void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
572 val
* var_node
/* var node: Token */;
574 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:AGgExpr> */
576 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
577 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
583 /* method parser_prod$AGgExpr$n_expr2= for (self: AGgExpr, AExpr) */
584 void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
585 val
* var_node
/* var node: AExpr */;
587 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:AGgExpr> */
589 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
590 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
596 /* method parser_prod$AGgExpr$visit_all for (self: AGgExpr, Visitor) */
597 void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
598 val
* var_v
/* var v: Visitor */;
599 val
* var
/* : AExpr */;
600 val
* var1
/* : Token */;
601 val
* var2
/* : AExpr */;
603 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AGgExpr> */
604 if (unlikely(var
== NULL
)) {
605 if(catchStack
.cursor
>= 0){
606 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
608 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
609 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4357);
613 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
615 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AGgExpr> */
616 if (unlikely(var1
== NULL
)) {
617 if(catchStack
.cursor
>= 0){
618 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
620 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
621 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4358);
625 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
627 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AGgExpr> */
628 if (unlikely(var2
== NULL
)) {
629 if(catchStack
.cursor
>= 0){
630 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
632 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
633 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4359);
637 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
641 /* method parser_prod$AIsaExpr$init_aisaexpr for (self: AIsaExpr, nullable AExpr, nullable TKwisa, nullable AType) */
642 void nitc__parser_prod___AIsaExpr___init_aisaexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
643 val
* var_n_expr
/* var n_expr: nullable AExpr */;
644 val
* var_n_kwisa
/* var n_kwisa: nullable TKwisa */;
645 val
* var_n_type
/* var n_type: nullable AType */;
647 { /* Inline kernel$Object$init (self) on <self:AIsaExpr> */
654 if (unlikely(var_n_expr
== NULL
)) {
655 if(catchStack
.cursor
>= 0){
656 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
658 PRINT_ERROR("Runtime error: %s", "Cast failed");
659 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4369);
662 self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AIsaExpr> */
663 if (var_n_expr
== NULL
) {
664 if(catchStack
.cursor
>= 0){
665 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
667 PRINT_ERROR("Runtime error: %s", "Receiver is null");
668 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4370);
671 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
672 if (unlikely(var_n_expr
== NULL
)) {
673 if(catchStack
.cursor
>= 0){
674 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
676 PRINT_ERROR("Runtime error: %s", "Receiver is null");
677 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
680 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
684 if (unlikely(var_n_kwisa
== NULL
)) {
685 if(catchStack
.cursor
>= 0){
686 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
688 PRINT_ERROR("Runtime error: %s", "Cast failed");
689 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4371);
692 self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa
].val
= var_n_kwisa
; /* _n_kwisa on <self:AIsaExpr> */
693 if (var_n_kwisa
== NULL
) {
694 if(catchStack
.cursor
>= 0){
695 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
697 PRINT_ERROR("Runtime error: %s", "Receiver is null");
698 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4372);
701 { /* Inline parser_nodes$ANode$parent= (var_n_kwisa,self) on <var_n_kwisa:nullable TKwisa> */
702 if (unlikely(var_n_kwisa
== NULL
)) {
703 if(catchStack
.cursor
>= 0){
704 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
706 PRINT_ERROR("Runtime error: %s", "Receiver is null");
707 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
710 var_n_kwisa
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwisa:nullable TKwisa> */
714 if (unlikely(var_n_type
== NULL
)) {
715 if(catchStack
.cursor
>= 0){
716 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
718 PRINT_ERROR("Runtime error: %s", "Cast failed");
719 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4373);
722 self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_type
].val
= var_n_type
; /* _n_type on <self:AIsaExpr> */
723 if (var_n_type
== NULL
) {
724 if(catchStack
.cursor
>= 0){
725 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
727 PRINT_ERROR("Runtime error: %s", "Receiver is null");
728 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4374);
731 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
732 if (unlikely(var_n_type
== NULL
)) {
733 if(catchStack
.cursor
>= 0){
734 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
736 PRINT_ERROR("Runtime error: %s", "Receiver is null");
737 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
740 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
746 /* method parser_prod$AIsaExpr$replace_child for (self: AIsaExpr, ANode, nullable ANode) */
747 void nitc__parser_prod___AIsaExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
748 val
* var_old_child
/* var old_child: ANode */;
749 val
* var_new_child
/* var new_child: nullable ANode */;
750 val
* var
/* : AExpr */;
751 short int var1
/* : Bool */;
752 val
* var_other
/* var other: nullable Object */;
753 short int var3
/* : Bool */;
754 short int var5
/* : Bool */;
755 short int var6
/* : Bool */;
758 const char* var_class_name
;
759 val
* var7
/* : TKwisa */;
760 short int var8
/* : Bool */;
761 short int var10
/* : Bool */;
762 short int var12
/* : Bool */;
763 short int var13
/* : Bool */;
766 const char* var_class_name16
;
767 val
* var17
/* : AType */;
768 short int var18
/* : Bool */;
769 short int var20
/* : Bool */;
770 short int var22
/* : Bool */;
771 short int var23
/* : Bool */;
774 const char* var_class_name26
;
777 var
= self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_expr
].val
; /* _n_expr on <self:AIsaExpr> */
778 if (unlikely(var
== NULL
)) {
779 if(catchStack
.cursor
>= 0){
780 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
782 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
783 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4379);
787 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
788 var_other
= var_old_child
;
790 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
791 var5
= var
== var_other
;
803 /* <var_new_child:nullable ANode> isa AExpr */
804 cltype
= type_nitc__AExpr
.color
;
805 idtype
= type_nitc__AExpr
.id
;
806 if(var_new_child
== NULL
) {
809 if(cltype
>= var_new_child
->type
->table_size
) {
812 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
815 if (unlikely(!var6
)) {
816 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
817 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
818 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4380);
822 nitc__parser_prod___AIsaExpr___n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AIsaExpr$n_expr= on <self:AIsaExpr>*/
827 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa
].val
; /* _n_kwisa on <self:AIsaExpr> */
828 if (unlikely(var7
== NULL
)) {
829 if(catchStack
.cursor
>= 0){
830 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
832 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisa");
833 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4383);
837 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TKwisa> */
838 var_other
= var_old_child
;
840 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TKwisa> */
841 var12
= var7
== var_other
;
853 /* <var_new_child:nullable ANode> isa TKwisa */
854 cltype14
= type_nitc__TKwisa
.color
;
855 idtype15
= type_nitc__TKwisa
.id
;
856 if(var_new_child
== NULL
) {
859 if(cltype14
>= var_new_child
->type
->table_size
) {
862 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
865 if (unlikely(!var13
)) {
866 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
867 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwisa", var_class_name16
);
868 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4384);
872 nitc__parser_prod___AIsaExpr___n_kwisa_61d(self
, var_new_child
); /* Direct call parser_prod$AIsaExpr$n_kwisa= on <self:AIsaExpr>*/
877 var17
= self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_type
].val
; /* _n_type on <self:AIsaExpr> */
878 if (unlikely(var17
== NULL
)) {
879 if(catchStack
.cursor
>= 0){
880 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
882 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
883 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4387);
887 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AType> */
888 var_other
= var_old_child
;
890 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AType> */
891 var22
= var17
== var_other
;
903 /* <var_new_child:nullable ANode> isa AType */
904 cltype24
= type_nitc__AType
.color
;
905 idtype25
= type_nitc__AType
.id
;
906 if(var_new_child
== NULL
) {
909 if(cltype24
>= var_new_child
->type
->table_size
) {
912 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
915 if (unlikely(!var23
)) {
916 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
917 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name26
);
918 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4388);
922 nitc__parser_prod___AIsaExpr___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$AIsaExpr$n_type= on <self:AIsaExpr>*/
929 /* method parser_prod$AIsaExpr$n_expr= for (self: AIsaExpr, AExpr) */
930 void nitc__parser_prod___AIsaExpr___n_expr_61d(val
* self
, val
* p0
) {
931 val
* var_node
/* var node: AExpr */;
933 self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AIsaExpr> */
935 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
936 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
942 /* method parser_prod$AIsaExpr$n_kwisa= for (self: AIsaExpr, TKwisa) */
943 void nitc__parser_prod___AIsaExpr___n_kwisa_61d(val
* self
, val
* p0
) {
944 val
* var_node
/* var node: TKwisa */;
946 self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa
].val
= var_node
; /* _n_kwisa on <self:AIsaExpr> */
948 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwisa> */
949 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwisa> */
955 /* method parser_prod$AIsaExpr$n_type= for (self: AIsaExpr, AType) */
956 void nitc__parser_prod___AIsaExpr___n_type_61d(val
* self
, val
* p0
) {
957 val
* var_node
/* var node: AType */;
959 self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_type
].val
= var_node
; /* _n_type on <self:AIsaExpr> */
961 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
962 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
968 /* method parser_prod$AIsaExpr$visit_all for (self: AIsaExpr, Visitor) */
969 void nitc__parser_prod___AIsaExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
970 val
* var_v
/* var v: Visitor */;
971 val
* var
/* : AExpr */;
972 val
* var1
/* : TKwisa */;
973 val
* var2
/* : AType */;
975 var
= self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_expr
].val
; /* _n_expr on <self:AIsaExpr> */
976 if (unlikely(var
== NULL
)) {
977 if(catchStack
.cursor
>= 0){
978 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
980 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
981 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4412);
985 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
987 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa
].val
; /* _n_kwisa on <self:AIsaExpr> */
988 if (unlikely(var1
== NULL
)) {
989 if(catchStack
.cursor
>= 0){
990 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
992 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisa");
993 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4413);
997 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
999 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AIsaExpr___n_type
].val
; /* _n_type on <self:AIsaExpr> */
1000 if (unlikely(var2
== NULL
)) {
1001 if(catchStack
.cursor
>= 0){
1002 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1004 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
1005 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4414);
1009 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1013 /* method parser_prod$APlusExpr$init_aplusexpr for (self: APlusExpr, nullable AExpr, nullable TPlus, nullable AExpr) */
1014 void nitc__parser_prod___APlusExpr___init_aplusexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
1015 val
* var_n_expr
/* var n_expr: nullable AExpr */;
1016 val
* var_n_op
/* var n_op: nullable TPlus */;
1017 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
1019 { /* Inline kernel$Object$init (self) on <self:APlusExpr> */
1026 if (unlikely(var_n_expr
== NULL
)) {
1027 if(catchStack
.cursor
>= 0){
1028 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1030 PRINT_ERROR("Runtime error: %s", "Cast failed");
1031 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4424);
1034 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:APlusExpr> */
1035 if (var_n_expr
== NULL
) {
1036 if(catchStack
.cursor
>= 0){
1037 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1039 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1040 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4425);
1043 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
1044 if (unlikely(var_n_expr
== NULL
)) {
1045 if(catchStack
.cursor
>= 0){
1046 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1048 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1049 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1052 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
1056 if (unlikely(var_n_op
== NULL
)) {
1057 if(catchStack
.cursor
>= 0){
1058 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1060 PRINT_ERROR("Runtime error: %s", "Cast failed");
1061 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4426);
1064 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:APlusExpr> */
1065 if (var_n_op
== NULL
) {
1066 if(catchStack
.cursor
>= 0){
1067 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1069 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1070 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4427);
1073 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPlus> */
1074 if (unlikely(var_n_op
== NULL
)) {
1075 if(catchStack
.cursor
>= 0){
1076 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1078 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1079 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1082 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPlus> */
1086 if (unlikely(var_n_expr2
== NULL
)) {
1087 if(catchStack
.cursor
>= 0){
1088 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1090 PRINT_ERROR("Runtime error: %s", "Cast failed");
1091 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4428);
1094 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:APlusExpr> */
1095 if (var_n_expr2
== NULL
) {
1096 if(catchStack
.cursor
>= 0){
1097 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1099 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1100 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4429);
1103 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
1104 if (unlikely(var_n_expr2
== NULL
)) {
1105 if(catchStack
.cursor
>= 0){
1106 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1108 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1109 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1112 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
1118 /* method parser_prod$APlusExpr$replace_child for (self: APlusExpr, ANode, nullable ANode) */
1119 void nitc__parser_prod___APlusExpr___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
/* : AExpr */;
1123 short int var1
/* : Bool */;
1124 val
* var_other
/* var other: nullable Object */;
1125 short int var3
/* : Bool */;
1126 short int var5
/* : Bool */;
1127 short int var6
/* : Bool */;
1130 const char* var_class_name
;
1131 val
* var7
/* : Token */;
1132 short int var8
/* : Bool */;
1133 short int var10
/* : Bool */;
1134 short int var12
/* : Bool */;
1135 short int var13
/* : Bool */;
1138 const char* var_class_name16
;
1139 val
* var17
/* : AExpr */;
1140 short int var18
/* : Bool */;
1141 short int var20
/* : Bool */;
1142 short int var22
/* : Bool */;
1143 short int var23
/* : Bool */;
1146 const char* var_class_name26
;
1149 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:APlusExpr> */
1150 if (unlikely(var
== NULL
)) {
1151 if(catchStack
.cursor
>= 0){
1152 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1154 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
1155 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4434);
1159 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
1160 var_other
= var_old_child
;
1162 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
1163 var5
= var
== var_other
;
1175 /* <var_new_child:nullable ANode> isa AExpr */
1176 cltype
= type_nitc__AExpr
.color
;
1177 idtype
= type_nitc__AExpr
.id
;
1178 if(var_new_child
== NULL
) {
1181 if(cltype
>= var_new_child
->type
->table_size
) {
1184 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1187 if (unlikely(!var6
)) {
1188 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1189 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
1190 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4435);
1194 nitc__parser_prod___APlusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$APlusExpr$n_expr= on <self:APlusExpr>*/
1199 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:APlusExpr> */
1200 if (unlikely(var7
== NULL
)) {
1201 if(catchStack
.cursor
>= 0){
1202 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1204 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1205 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4438);
1209 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
1210 var_other
= var_old_child
;
1212 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
1213 var12
= var7
== var_other
;
1216 RET_LABEL11
:(void)0;
1225 /* <var_new_child:nullable ANode> isa TPlus */
1226 cltype14
= type_nitc__TPlus
.color
;
1227 idtype15
= type_nitc__TPlus
.id
;
1228 if(var_new_child
== NULL
) {
1231 if(cltype14
>= var_new_child
->type
->table_size
) {
1234 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
1237 if (unlikely(!var13
)) {
1238 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1239 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPlus", var_class_name16
);
1240 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4439);
1244 nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APlusExpr$n_op= on <self:APlusExpr>*/
1249 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:APlusExpr> */
1250 if (unlikely(var17
== NULL
)) {
1251 if(catchStack
.cursor
>= 0){
1252 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1254 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
1255 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4442);
1259 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
1260 var_other
= var_old_child
;
1262 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
1263 var22
= var17
== var_other
;
1266 RET_LABEL21
:(void)0;
1271 RET_LABEL19
:(void)0;
1275 /* <var_new_child:nullable ANode> isa AExpr */
1276 cltype24
= type_nitc__AExpr
.color
;
1277 idtype25
= type_nitc__AExpr
.id
;
1278 if(var_new_child
== NULL
) {
1281 if(cltype24
>= var_new_child
->type
->table_size
) {
1284 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
1287 if (unlikely(!var23
)) {
1288 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1289 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
1290 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4443);
1294 nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$APlusExpr$n_expr2= on <self:APlusExpr>*/
1301 /* method parser_prod$APlusExpr$n_expr= for (self: APlusExpr, AExpr) */
1302 void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
1303 val
* var_node
/* var node: AExpr */;
1305 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:APlusExpr> */
1307 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
1308 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
1314 /* method parser_prod$APlusExpr$n_op= for (self: APlusExpr, Token) */
1315 void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
1316 val
* var_node
/* var node: Token */;
1318 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:APlusExpr> */
1320 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
1321 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
1327 /* method parser_prod$APlusExpr$n_expr2= for (self: APlusExpr, AExpr) */
1328 void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
1329 val
* var_node
/* var node: AExpr */;
1331 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:APlusExpr> */
1333 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
1334 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
1340 /* method parser_prod$APlusExpr$visit_all for (self: APlusExpr, Visitor) */
1341 void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1342 val
* var_v
/* var v: Visitor */;
1343 val
* var
/* : AExpr */;
1344 val
* var1
/* : Token */;
1345 val
* var2
/* : AExpr */;
1347 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:APlusExpr> */
1348 if (unlikely(var
== NULL
)) {
1349 if(catchStack
.cursor
>= 0){
1350 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1352 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
1353 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4467);
1357 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1359 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:APlusExpr> */
1360 if (unlikely(var1
== NULL
)) {
1361 if(catchStack
.cursor
>= 0){
1362 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1364 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1365 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4468);
1369 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1371 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:APlusExpr> */
1372 if (unlikely(var2
== NULL
)) {
1373 if(catchStack
.cursor
>= 0){
1374 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1376 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
1377 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4469);
1381 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1385 /* method parser_prod$AMinusExpr$init_aminusexpr for (self: AMinusExpr, nullable AExpr, nullable TMinus, nullable AExpr) */
1386 void nitc__parser_prod___AMinusExpr___init_aminusexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
1387 val
* var_n_expr
/* var n_expr: nullable AExpr */;
1388 val
* var_n_op
/* var n_op: nullable TMinus */;
1389 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
1391 { /* Inline kernel$Object$init (self) on <self:AMinusExpr> */
1398 if (unlikely(var_n_expr
== NULL
)) {
1399 if(catchStack
.cursor
>= 0){
1400 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1402 PRINT_ERROR("Runtime error: %s", "Cast failed");
1403 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4479);
1406 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AMinusExpr> */
1407 if (var_n_expr
== NULL
) {
1408 if(catchStack
.cursor
>= 0){
1409 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1411 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1412 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4480);
1415 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
1416 if (unlikely(var_n_expr
== NULL
)) {
1417 if(catchStack
.cursor
>= 0){
1418 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1420 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1421 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1424 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
1428 if (unlikely(var_n_op
== NULL
)) {
1429 if(catchStack
.cursor
>= 0){
1430 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1432 PRINT_ERROR("Runtime error: %s", "Cast failed");
1433 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4481);
1436 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AMinusExpr> */
1437 if (var_n_op
== NULL
) {
1438 if(catchStack
.cursor
>= 0){
1439 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1441 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1442 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4482);
1445 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TMinus> */
1446 if (unlikely(var_n_op
== NULL
)) {
1447 if(catchStack
.cursor
>= 0){
1448 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1450 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1451 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1454 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TMinus> */
1458 if (unlikely(var_n_expr2
== NULL
)) {
1459 if(catchStack
.cursor
>= 0){
1460 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1462 PRINT_ERROR("Runtime error: %s", "Cast failed");
1463 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4483);
1466 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:AMinusExpr> */
1467 if (var_n_expr2
== NULL
) {
1468 if(catchStack
.cursor
>= 0){
1469 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1471 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1472 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4484);
1475 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
1476 if (unlikely(var_n_expr2
== NULL
)) {
1477 if(catchStack
.cursor
>= 0){
1478 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1480 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1481 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1484 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
1490 /* method parser_prod$AMinusExpr$replace_child for (self: AMinusExpr, ANode, nullable ANode) */
1491 void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1492 val
* var_old_child
/* var old_child: ANode */;
1493 val
* var_new_child
/* var new_child: nullable ANode */;
1494 val
* var
/* : AExpr */;
1495 short int var1
/* : Bool */;
1496 val
* var_other
/* var other: nullable Object */;
1497 short int var3
/* : Bool */;
1498 short int var5
/* : Bool */;
1499 short int var6
/* : Bool */;
1502 const char* var_class_name
;
1503 val
* var7
/* : Token */;
1504 short int var8
/* : Bool */;
1505 short int var10
/* : Bool */;
1506 short int var12
/* : Bool */;
1507 short int var13
/* : Bool */;
1510 const char* var_class_name16
;
1511 val
* var17
/* : AExpr */;
1512 short int var18
/* : Bool */;
1513 short int var20
/* : Bool */;
1514 short int var22
/* : Bool */;
1515 short int var23
/* : Bool */;
1518 const char* var_class_name26
;
1521 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AMinusExpr> */
1522 if (unlikely(var
== NULL
)) {
1523 if(catchStack
.cursor
>= 0){
1524 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1526 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
1527 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4489);
1531 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
1532 var_other
= var_old_child
;
1534 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
1535 var5
= var
== var_other
;
1547 /* <var_new_child:nullable ANode> isa AExpr */
1548 cltype
= type_nitc__AExpr
.color
;
1549 idtype
= type_nitc__AExpr
.id
;
1550 if(var_new_child
== NULL
) {
1553 if(cltype
>= var_new_child
->type
->table_size
) {
1556 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1559 if (unlikely(!var6
)) {
1560 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1561 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
1562 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4490);
1566 nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AMinusExpr$n_expr= on <self:AMinusExpr>*/
1571 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AMinusExpr> */
1572 if (unlikely(var7
== NULL
)) {
1573 if(catchStack
.cursor
>= 0){
1574 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1576 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1577 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4493);
1581 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
1582 var_other
= var_old_child
;
1584 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
1585 var12
= var7
== var_other
;
1588 RET_LABEL11
:(void)0;
1597 /* <var_new_child:nullable ANode> isa TMinus */
1598 cltype14
= type_nitc__TMinus
.color
;
1599 idtype15
= type_nitc__TMinus
.id
;
1600 if(var_new_child
== NULL
) {
1603 if(cltype14
>= var_new_child
->type
->table_size
) {
1606 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
1609 if (unlikely(!var13
)) {
1610 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1611 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TMinus", var_class_name16
);
1612 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4494);
1616 nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AMinusExpr$n_op= on <self:AMinusExpr>*/
1621 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AMinusExpr> */
1622 if (unlikely(var17
== NULL
)) {
1623 if(catchStack
.cursor
>= 0){
1624 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1626 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
1627 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4497);
1631 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
1632 var_other
= var_old_child
;
1634 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
1635 var22
= var17
== var_other
;
1638 RET_LABEL21
:(void)0;
1643 RET_LABEL19
:(void)0;
1647 /* <var_new_child:nullable ANode> isa AExpr */
1648 cltype24
= type_nitc__AExpr
.color
;
1649 idtype25
= type_nitc__AExpr
.id
;
1650 if(var_new_child
== NULL
) {
1653 if(cltype24
>= var_new_child
->type
->table_size
) {
1656 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
1659 if (unlikely(!var23
)) {
1660 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1661 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
1662 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4498);
1666 nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$AMinusExpr$n_expr2= on <self:AMinusExpr>*/
1673 /* method parser_prod$AMinusExpr$n_expr= for (self: AMinusExpr, AExpr) */
1674 void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
1675 val
* var_node
/* var node: AExpr */;
1677 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AMinusExpr> */
1679 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
1680 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
1686 /* method parser_prod$AMinusExpr$n_op= for (self: AMinusExpr, Token) */
1687 void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
1688 val
* var_node
/* var node: Token */;
1690 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:AMinusExpr> */
1692 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
1693 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
1699 /* method parser_prod$AMinusExpr$n_expr2= for (self: AMinusExpr, AExpr) */
1700 void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
1701 val
* var_node
/* var node: AExpr */;
1703 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:AMinusExpr> */
1705 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
1706 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
1712 /* method parser_prod$AMinusExpr$visit_all for (self: AMinusExpr, Visitor) */
1713 void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1714 val
* var_v
/* var v: Visitor */;
1715 val
* var
/* : AExpr */;
1716 val
* var1
/* : Token */;
1717 val
* var2
/* : AExpr */;
1719 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AMinusExpr> */
1720 if (unlikely(var
== NULL
)) {
1721 if(catchStack
.cursor
>= 0){
1722 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1724 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
1725 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4522);
1729 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1731 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AMinusExpr> */
1732 if (unlikely(var1
== NULL
)) {
1733 if(catchStack
.cursor
>= 0){
1734 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1736 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1737 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4523);
1741 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1743 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AMinusExpr> */
1744 if (unlikely(var2
== NULL
)) {
1745 if(catchStack
.cursor
>= 0){
1746 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1748 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
1749 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4524);
1753 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1757 /* method parser_prod$AStarshipExpr$init_astarshipexpr for (self: AStarshipExpr, nullable AExpr, nullable TStarship, nullable AExpr) */
1758 void nitc__parser_prod___AStarshipExpr___init_astarshipexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
1759 val
* var_n_expr
/* var n_expr: nullable AExpr */;
1760 val
* var_n_op
/* var n_op: nullable TStarship */;
1761 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
1763 { /* Inline kernel$Object$init (self) on <self:AStarshipExpr> */
1770 if (unlikely(var_n_expr
== NULL
)) {
1771 if(catchStack
.cursor
>= 0){
1772 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1774 PRINT_ERROR("Runtime error: %s", "Cast failed");
1775 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4534);
1778 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AStarshipExpr> */
1779 if (var_n_expr
== NULL
) {
1780 if(catchStack
.cursor
>= 0){
1781 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1783 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1784 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4535);
1787 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
1788 if (unlikely(var_n_expr
== NULL
)) {
1789 if(catchStack
.cursor
>= 0){
1790 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1792 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1793 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1796 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
1800 if (unlikely(var_n_op
== NULL
)) {
1801 if(catchStack
.cursor
>= 0){
1802 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1804 PRINT_ERROR("Runtime error: %s", "Cast failed");
1805 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4536);
1808 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AStarshipExpr> */
1809 if (var_n_op
== NULL
) {
1810 if(catchStack
.cursor
>= 0){
1811 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1813 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1814 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4537);
1817 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStarship> */
1818 if (unlikely(var_n_op
== NULL
)) {
1819 if(catchStack
.cursor
>= 0){
1820 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1822 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1823 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1826 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStarship> */
1830 if (unlikely(var_n_expr2
== NULL
)) {
1831 if(catchStack
.cursor
>= 0){
1832 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1834 PRINT_ERROR("Runtime error: %s", "Cast failed");
1835 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4538);
1838 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:AStarshipExpr> */
1839 if (var_n_expr2
== NULL
) {
1840 if(catchStack
.cursor
>= 0){
1841 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1843 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1844 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4539);
1847 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
1848 if (unlikely(var_n_expr2
== NULL
)) {
1849 if(catchStack
.cursor
>= 0){
1850 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1852 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1853 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1856 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
1862 /* method parser_prod$AStarshipExpr$replace_child for (self: AStarshipExpr, ANode, nullable ANode) */
1863 void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1864 val
* var_old_child
/* var old_child: ANode */;
1865 val
* var_new_child
/* var new_child: nullable ANode */;
1866 val
* var
/* : AExpr */;
1867 short int var1
/* : Bool */;
1868 val
* var_other
/* var other: nullable Object */;
1869 short int var3
/* : Bool */;
1870 short int var5
/* : Bool */;
1871 short int var6
/* : Bool */;
1874 const char* var_class_name
;
1875 val
* var7
/* : Token */;
1876 short int var8
/* : Bool */;
1877 short int var10
/* : Bool */;
1878 short int var12
/* : Bool */;
1879 short int var13
/* : Bool */;
1882 const char* var_class_name16
;
1883 val
* var17
/* : AExpr */;
1884 short int var18
/* : Bool */;
1885 short int var20
/* : Bool */;
1886 short int var22
/* : Bool */;
1887 short int var23
/* : Bool */;
1890 const char* var_class_name26
;
1893 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AStarshipExpr> */
1894 if (unlikely(var
== NULL
)) {
1895 if(catchStack
.cursor
>= 0){
1896 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1898 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
1899 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4544);
1903 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
1904 var_other
= var_old_child
;
1906 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
1907 var5
= var
== var_other
;
1919 /* <var_new_child:nullable ANode> isa AExpr */
1920 cltype
= type_nitc__AExpr
.color
;
1921 idtype
= type_nitc__AExpr
.id
;
1922 if(var_new_child
== NULL
) {
1925 if(cltype
>= var_new_child
->type
->table_size
) {
1928 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1931 if (unlikely(!var6
)) {
1932 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1933 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
1934 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4545);
1938 nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AStarshipExpr$n_expr= on <self:AStarshipExpr>*/
1943 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AStarshipExpr> */
1944 if (unlikely(var7
== NULL
)) {
1945 if(catchStack
.cursor
>= 0){
1946 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1948 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1949 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4548);
1953 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
1954 var_other
= var_old_child
;
1956 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
1957 var12
= var7
== var_other
;
1960 RET_LABEL11
:(void)0;
1969 /* <var_new_child:nullable ANode> isa TStarship */
1970 cltype14
= type_nitc__TStarship
.color
;
1971 idtype15
= type_nitc__TStarship
.id
;
1972 if(var_new_child
== NULL
) {
1975 if(cltype14
>= var_new_child
->type
->table_size
) {
1978 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
1981 if (unlikely(!var13
)) {
1982 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1983 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStarship", var_class_name16
);
1984 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4549);
1988 nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarshipExpr$n_op= on <self:AStarshipExpr>*/
1993 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AStarshipExpr> */
1994 if (unlikely(var17
== NULL
)) {
1995 if(catchStack
.cursor
>= 0){
1996 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1998 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
1999 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4552);
2003 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
2004 var_other
= var_old_child
;
2006 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
2007 var22
= var17
== var_other
;
2010 RET_LABEL21
:(void)0;
2015 RET_LABEL19
:(void)0;
2019 /* <var_new_child:nullable ANode> isa AExpr */
2020 cltype24
= type_nitc__AExpr
.color
;
2021 idtype25
= type_nitc__AExpr
.id
;
2022 if(var_new_child
== NULL
) {
2025 if(cltype24
>= var_new_child
->type
->table_size
) {
2028 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
2031 if (unlikely(!var23
)) {
2032 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2033 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
2034 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4553);
2038 nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$AStarshipExpr$n_expr2= on <self:AStarshipExpr>*/
2045 /* method parser_prod$AStarshipExpr$n_expr= for (self: AStarshipExpr, AExpr) */
2046 void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
2047 val
* var_node
/* var node: AExpr */;
2049 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AStarshipExpr> */
2051 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
2052 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
2058 /* method parser_prod$AStarshipExpr$n_op= for (self: AStarshipExpr, Token) */
2059 void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
2060 val
* var_node
/* var node: Token */;
2062 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:AStarshipExpr> */
2064 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2065 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2071 /* method parser_prod$AStarshipExpr$n_expr2= for (self: AStarshipExpr, AExpr) */
2072 void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
2073 val
* var_node
/* var node: AExpr */;
2075 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:AStarshipExpr> */
2077 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
2078 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
2084 /* method parser_prod$AStarshipExpr$visit_all for (self: AStarshipExpr, Visitor) */
2085 void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2086 val
* var_v
/* var v: Visitor */;
2087 val
* var
/* : AExpr */;
2088 val
* var1
/* : Token */;
2089 val
* var2
/* : AExpr */;
2091 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AStarshipExpr> */
2092 if (unlikely(var
== NULL
)) {
2093 if(catchStack
.cursor
>= 0){
2094 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2096 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
2097 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4577);
2101 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2103 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AStarshipExpr> */
2104 if (unlikely(var1
== NULL
)) {
2105 if(catchStack
.cursor
>= 0){
2106 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2108 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2109 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4578);
2113 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2115 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AStarshipExpr> */
2116 if (unlikely(var2
== NULL
)) {
2117 if(catchStack
.cursor
>= 0){
2118 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2120 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
2121 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4579);
2125 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2129 /* method parser_prod$AStarExpr$init_astarexpr for (self: AStarExpr, nullable AExpr, nullable TStar, nullable AExpr) */
2130 void nitc__parser_prod___AStarExpr___init_astarexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
2131 val
* var_n_expr
/* var n_expr: nullable AExpr */;
2132 val
* var_n_op
/* var n_op: nullable TStar */;
2133 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
2135 { /* Inline kernel$Object$init (self) on <self:AStarExpr> */
2142 if (unlikely(var_n_expr
== NULL
)) {
2143 if(catchStack
.cursor
>= 0){
2144 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2146 PRINT_ERROR("Runtime error: %s", "Cast failed");
2147 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4589);
2150 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AStarExpr> */
2151 if (var_n_expr
== NULL
) {
2152 if(catchStack
.cursor
>= 0){
2153 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2155 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2156 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4590);
2159 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
2160 if (unlikely(var_n_expr
== NULL
)) {
2161 if(catchStack
.cursor
>= 0){
2162 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2164 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2165 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2168 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
2172 if (unlikely(var_n_op
== NULL
)) {
2173 if(catchStack
.cursor
>= 0){
2174 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2176 PRINT_ERROR("Runtime error: %s", "Cast failed");
2177 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4591);
2180 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AStarExpr> */
2181 if (var_n_op
== NULL
) {
2182 if(catchStack
.cursor
>= 0){
2183 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2185 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2186 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4592);
2189 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStar> */
2190 if (unlikely(var_n_op
== NULL
)) {
2191 if(catchStack
.cursor
>= 0){
2192 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2194 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2195 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2198 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStar> */
2202 if (unlikely(var_n_expr2
== NULL
)) {
2203 if(catchStack
.cursor
>= 0){
2204 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2206 PRINT_ERROR("Runtime error: %s", "Cast failed");
2207 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4593);
2210 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:AStarExpr> */
2211 if (var_n_expr2
== NULL
) {
2212 if(catchStack
.cursor
>= 0){
2213 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2215 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2216 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4594);
2219 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
2220 if (unlikely(var_n_expr2
== NULL
)) {
2221 if(catchStack
.cursor
>= 0){
2222 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2224 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2225 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2228 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
2234 /* method parser_prod$AStarExpr$replace_child for (self: AStarExpr, ANode, nullable ANode) */
2235 void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2236 val
* var_old_child
/* var old_child: ANode */;
2237 val
* var_new_child
/* var new_child: nullable ANode */;
2238 val
* var
/* : AExpr */;
2239 short int var1
/* : Bool */;
2240 val
* var_other
/* var other: nullable Object */;
2241 short int var3
/* : Bool */;
2242 short int var5
/* : Bool */;
2243 short int var6
/* : Bool */;
2246 const char* var_class_name
;
2247 val
* var7
/* : Token */;
2248 short int var8
/* : Bool */;
2249 short int var10
/* : Bool */;
2250 short int var12
/* : Bool */;
2251 short int var13
/* : Bool */;
2254 const char* var_class_name16
;
2255 val
* var17
/* : AExpr */;
2256 short int var18
/* : Bool */;
2257 short int var20
/* : Bool */;
2258 short int var22
/* : Bool */;
2259 short int var23
/* : Bool */;
2262 const char* var_class_name26
;
2265 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AStarExpr> */
2266 if (unlikely(var
== NULL
)) {
2267 if(catchStack
.cursor
>= 0){
2268 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2270 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
2271 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4599);
2275 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
2276 var_other
= var_old_child
;
2278 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
2279 var5
= var
== var_other
;
2291 /* <var_new_child:nullable ANode> isa AExpr */
2292 cltype
= type_nitc__AExpr
.color
;
2293 idtype
= type_nitc__AExpr
.id
;
2294 if(var_new_child
== NULL
) {
2297 if(cltype
>= var_new_child
->type
->table_size
) {
2300 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2303 if (unlikely(!var6
)) {
2304 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2305 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
2306 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4600);
2310 nitc__parser_prod___AStarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AStarExpr$n_expr= on <self:AStarExpr>*/
2315 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AStarExpr> */
2316 if (unlikely(var7
== NULL
)) {
2317 if(catchStack
.cursor
>= 0){
2318 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2320 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2321 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4603);
2325 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
2326 var_other
= var_old_child
;
2328 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
2329 var12
= var7
== var_other
;
2332 RET_LABEL11
:(void)0;
2341 /* <var_new_child:nullable ANode> isa TStar */
2342 cltype14
= type_nitc__TStar
.color
;
2343 idtype15
= type_nitc__TStar
.id
;
2344 if(var_new_child
== NULL
) {
2347 if(cltype14
>= var_new_child
->type
->table_size
) {
2350 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
2353 if (unlikely(!var13
)) {
2354 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2355 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStar", var_class_name16
);
2356 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4604);
2360 nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarExpr$n_op= on <self:AStarExpr>*/
2365 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AStarExpr> */
2366 if (unlikely(var17
== NULL
)) {
2367 if(catchStack
.cursor
>= 0){
2368 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2370 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
2371 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4607);
2375 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
2376 var_other
= var_old_child
;
2378 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
2379 var22
= var17
== var_other
;
2382 RET_LABEL21
:(void)0;
2387 RET_LABEL19
:(void)0;
2391 /* <var_new_child:nullable ANode> isa AExpr */
2392 cltype24
= type_nitc__AExpr
.color
;
2393 idtype25
= type_nitc__AExpr
.id
;
2394 if(var_new_child
== NULL
) {
2397 if(cltype24
>= var_new_child
->type
->table_size
) {
2400 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
2403 if (unlikely(!var23
)) {
2404 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2405 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
2406 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4608);
2410 nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$AStarExpr$n_expr2= on <self:AStarExpr>*/
2417 /* method parser_prod$AStarExpr$n_expr= for (self: AStarExpr, AExpr) */
2418 void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
2419 val
* var_node
/* var node: AExpr */;
2421 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AStarExpr> */
2423 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
2424 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
2430 /* method parser_prod$AStarExpr$n_op= for (self: AStarExpr, Token) */
2431 void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
2432 val
* var_node
/* var node: Token */;
2434 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:AStarExpr> */
2436 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2437 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2443 /* method parser_prod$AStarExpr$n_expr2= for (self: AStarExpr, AExpr) */
2444 void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
2445 val
* var_node
/* var node: AExpr */;
2447 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:AStarExpr> */
2449 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
2450 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
2456 /* method parser_prod$AStarExpr$visit_all for (self: AStarExpr, Visitor) */
2457 void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2458 val
* var_v
/* var v: Visitor */;
2459 val
* var
/* : AExpr */;
2460 val
* var1
/* : Token */;
2461 val
* var2
/* : AExpr */;
2463 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AStarExpr> */
2464 if (unlikely(var
== NULL
)) {
2465 if(catchStack
.cursor
>= 0){
2466 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2468 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
2469 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4632);
2473 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2475 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AStarExpr> */
2476 if (unlikely(var1
== NULL
)) {
2477 if(catchStack
.cursor
>= 0){
2478 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2480 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2481 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4633);
2485 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2487 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AStarExpr> */
2488 if (unlikely(var2
== NULL
)) {
2489 if(catchStack
.cursor
>= 0){
2490 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2492 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
2493 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4634);
2497 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2501 /* method parser_prod$AStarstarExpr$init_astarstarexpr for (self: AStarstarExpr, nullable AExpr, nullable TStarstar, nullable AExpr) */
2502 void nitc__parser_prod___AStarstarExpr___init_astarstarexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
2503 val
* var_n_expr
/* var n_expr: nullable AExpr */;
2504 val
* var_n_op
/* var n_op: nullable TStarstar */;
2505 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
2507 { /* Inline kernel$Object$init (self) on <self:AStarstarExpr> */
2514 if (unlikely(var_n_expr
== NULL
)) {
2515 if(catchStack
.cursor
>= 0){
2516 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2518 PRINT_ERROR("Runtime error: %s", "Cast failed");
2519 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4644);
2522 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AStarstarExpr> */
2523 if (var_n_expr
== NULL
) {
2524 if(catchStack
.cursor
>= 0){
2525 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2527 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2528 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4645);
2531 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
2532 if (unlikely(var_n_expr
== NULL
)) {
2533 if(catchStack
.cursor
>= 0){
2534 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2536 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2537 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2540 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
2544 if (unlikely(var_n_op
== NULL
)) {
2545 if(catchStack
.cursor
>= 0){
2546 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2548 PRINT_ERROR("Runtime error: %s", "Cast failed");
2549 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4646);
2552 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AStarstarExpr> */
2553 if (var_n_op
== NULL
) {
2554 if(catchStack
.cursor
>= 0){
2555 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2557 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2558 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4647);
2561 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStarstar> */
2562 if (unlikely(var_n_op
== NULL
)) {
2563 if(catchStack
.cursor
>= 0){
2564 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2566 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2567 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2570 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStarstar> */
2574 if (unlikely(var_n_expr2
== NULL
)) {
2575 if(catchStack
.cursor
>= 0){
2576 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2578 PRINT_ERROR("Runtime error: %s", "Cast failed");
2579 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4648);
2582 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:AStarstarExpr> */
2583 if (var_n_expr2
== NULL
) {
2584 if(catchStack
.cursor
>= 0){
2585 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2587 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2588 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4649);
2591 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
2592 if (unlikely(var_n_expr2
== NULL
)) {
2593 if(catchStack
.cursor
>= 0){
2594 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2596 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2597 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2600 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
2606 /* method parser_prod$AStarstarExpr$replace_child for (self: AStarstarExpr, ANode, nullable ANode) */
2607 void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2608 val
* var_old_child
/* var old_child: ANode */;
2609 val
* var_new_child
/* var new_child: nullable ANode */;
2610 val
* var
/* : AExpr */;
2611 short int var1
/* : Bool */;
2612 val
* var_other
/* var other: nullable Object */;
2613 short int var3
/* : Bool */;
2614 short int var5
/* : Bool */;
2615 short int var6
/* : Bool */;
2618 const char* var_class_name
;
2619 val
* var7
/* : Token */;
2620 short int var8
/* : Bool */;
2621 short int var10
/* : Bool */;
2622 short int var12
/* : Bool */;
2623 short int var13
/* : Bool */;
2626 const char* var_class_name16
;
2627 val
* var17
/* : AExpr */;
2628 short int var18
/* : Bool */;
2629 short int var20
/* : Bool */;
2630 short int var22
/* : Bool */;
2631 short int var23
/* : Bool */;
2634 const char* var_class_name26
;
2637 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AStarstarExpr> */
2638 if (unlikely(var
== NULL
)) {
2639 if(catchStack
.cursor
>= 0){
2640 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2642 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
2643 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4654);
2647 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
2648 var_other
= var_old_child
;
2650 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
2651 var5
= var
== var_other
;
2663 /* <var_new_child:nullable ANode> isa AExpr */
2664 cltype
= type_nitc__AExpr
.color
;
2665 idtype
= type_nitc__AExpr
.id
;
2666 if(var_new_child
== NULL
) {
2669 if(cltype
>= var_new_child
->type
->table_size
) {
2672 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2675 if (unlikely(!var6
)) {
2676 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2677 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
2678 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4655);
2682 nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AStarstarExpr$n_expr= on <self:AStarstarExpr>*/
2687 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AStarstarExpr> */
2688 if (unlikely(var7
== NULL
)) {
2689 if(catchStack
.cursor
>= 0){
2690 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2692 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2693 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4658);
2697 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
2698 var_other
= var_old_child
;
2700 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
2701 var12
= var7
== var_other
;
2704 RET_LABEL11
:(void)0;
2713 /* <var_new_child:nullable ANode> isa TStarstar */
2714 cltype14
= type_nitc__TStarstar
.color
;
2715 idtype15
= type_nitc__TStarstar
.id
;
2716 if(var_new_child
== NULL
) {
2719 if(cltype14
>= var_new_child
->type
->table_size
) {
2722 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
2725 if (unlikely(!var13
)) {
2726 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2727 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStarstar", var_class_name16
);
2728 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4659);
2732 nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarstarExpr$n_op= on <self:AStarstarExpr>*/
2737 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AStarstarExpr> */
2738 if (unlikely(var17
== NULL
)) {
2739 if(catchStack
.cursor
>= 0){
2740 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2742 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
2743 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4662);
2747 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
2748 var_other
= var_old_child
;
2750 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
2751 var22
= var17
== var_other
;
2754 RET_LABEL21
:(void)0;
2759 RET_LABEL19
:(void)0;
2763 /* <var_new_child:nullable ANode> isa AExpr */
2764 cltype24
= type_nitc__AExpr
.color
;
2765 idtype25
= type_nitc__AExpr
.id
;
2766 if(var_new_child
== NULL
) {
2769 if(cltype24
>= var_new_child
->type
->table_size
) {
2772 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
2775 if (unlikely(!var23
)) {
2776 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2777 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
2778 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4663);
2782 nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$AStarstarExpr$n_expr2= on <self:AStarstarExpr>*/
2789 /* method parser_prod$AStarstarExpr$n_expr= for (self: AStarstarExpr, AExpr) */
2790 void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
2791 val
* var_node
/* var node: AExpr */;
2793 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AStarstarExpr> */
2795 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
2796 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
2802 /* method parser_prod$AStarstarExpr$n_op= for (self: AStarstarExpr, Token) */
2803 void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
2804 val
* var_node
/* var node: Token */;
2806 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:AStarstarExpr> */
2808 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2809 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2815 /* method parser_prod$AStarstarExpr$n_expr2= for (self: AStarstarExpr, AExpr) */
2816 void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
2817 val
* var_node
/* var node: AExpr */;
2819 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:AStarstarExpr> */
2821 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
2822 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
2828 /* method parser_prod$AStarstarExpr$visit_all for (self: AStarstarExpr, Visitor) */
2829 void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2830 val
* var_v
/* var v: Visitor */;
2831 val
* var
/* : AExpr */;
2832 val
* var1
/* : Token */;
2833 val
* var2
/* : AExpr */;
2835 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AStarstarExpr> */
2836 if (unlikely(var
== NULL
)) {
2837 if(catchStack
.cursor
>= 0){
2838 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2840 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
2841 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4687);
2845 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2847 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AStarstarExpr> */
2848 if (unlikely(var1
== NULL
)) {
2849 if(catchStack
.cursor
>= 0){
2850 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2852 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2853 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4688);
2857 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2859 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AStarstarExpr> */
2860 if (unlikely(var2
== NULL
)) {
2861 if(catchStack
.cursor
>= 0){
2862 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2864 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
2865 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4689);
2869 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2873 /* method parser_prod$ASlashExpr$init_aslashexpr for (self: ASlashExpr, nullable AExpr, nullable TSlash, nullable AExpr) */
2874 void nitc__parser_prod___ASlashExpr___init_aslashexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
2875 val
* var_n_expr
/* var n_expr: nullable AExpr */;
2876 val
* var_n_op
/* var n_op: nullable TSlash */;
2877 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
2879 { /* Inline kernel$Object$init (self) on <self:ASlashExpr> */
2886 if (unlikely(var_n_expr
== NULL
)) {
2887 if(catchStack
.cursor
>= 0){
2888 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2890 PRINT_ERROR("Runtime error: %s", "Cast failed");
2891 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4699);
2894 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:ASlashExpr> */
2895 if (var_n_expr
== NULL
) {
2896 if(catchStack
.cursor
>= 0){
2897 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2899 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2900 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4700);
2903 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
2904 if (unlikely(var_n_expr
== NULL
)) {
2905 if(catchStack
.cursor
>= 0){
2906 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2908 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2909 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2912 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
2916 if (unlikely(var_n_op
== NULL
)) {
2917 if(catchStack
.cursor
>= 0){
2918 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2920 PRINT_ERROR("Runtime error: %s", "Cast failed");
2921 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4701);
2924 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:ASlashExpr> */
2925 if (var_n_op
== NULL
) {
2926 if(catchStack
.cursor
>= 0){
2927 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2929 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2930 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4702);
2933 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TSlash> */
2934 if (unlikely(var_n_op
== NULL
)) {
2935 if(catchStack
.cursor
>= 0){
2936 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2938 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2939 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2942 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TSlash> */
2946 if (unlikely(var_n_expr2
== NULL
)) {
2947 if(catchStack
.cursor
>= 0){
2948 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2950 PRINT_ERROR("Runtime error: %s", "Cast failed");
2951 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4703);
2954 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:ASlashExpr> */
2955 if (var_n_expr2
== NULL
) {
2956 if(catchStack
.cursor
>= 0){
2957 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2959 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2960 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4704);
2963 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
2964 if (unlikely(var_n_expr2
== NULL
)) {
2965 if(catchStack
.cursor
>= 0){
2966 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2968 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2969 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2972 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
2978 /* method parser_prod$ASlashExpr$replace_child for (self: ASlashExpr, ANode, nullable ANode) */
2979 void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2980 val
* var_old_child
/* var old_child: ANode */;
2981 val
* var_new_child
/* var new_child: nullable ANode */;
2982 val
* var
/* : AExpr */;
2983 short int var1
/* : Bool */;
2984 val
* var_other
/* var other: nullable Object */;
2985 short int var3
/* : Bool */;
2986 short int var5
/* : Bool */;
2987 short int var6
/* : Bool */;
2990 const char* var_class_name
;
2991 val
* var7
/* : Token */;
2992 short int var8
/* : Bool */;
2993 short int var10
/* : Bool */;
2994 short int var12
/* : Bool */;
2995 short int var13
/* : Bool */;
2998 const char* var_class_name16
;
2999 val
* var17
/* : AExpr */;
3000 short int var18
/* : Bool */;
3001 short int var20
/* : Bool */;
3002 short int var22
/* : Bool */;
3003 short int var23
/* : Bool */;
3006 const char* var_class_name26
;
3009 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ASlashExpr> */
3010 if (unlikely(var
== NULL
)) {
3011 if(catchStack
.cursor
>= 0){
3012 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3014 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3015 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4709);
3019 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
3020 var_other
= var_old_child
;
3022 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
3023 var5
= var
== var_other
;
3035 /* <var_new_child:nullable ANode> isa AExpr */
3036 cltype
= type_nitc__AExpr
.color
;
3037 idtype
= type_nitc__AExpr
.id
;
3038 if(var_new_child
== NULL
) {
3041 if(cltype
>= var_new_child
->type
->table_size
) {
3044 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3047 if (unlikely(!var6
)) {
3048 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3049 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
3050 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4710);
3054 nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$ASlashExpr$n_expr= on <self:ASlashExpr>*/
3059 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:ASlashExpr> */
3060 if (unlikely(var7
== NULL
)) {
3061 if(catchStack
.cursor
>= 0){
3062 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3064 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3065 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4713);
3069 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
3070 var_other
= var_old_child
;
3072 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
3073 var12
= var7
== var_other
;
3076 RET_LABEL11
:(void)0;
3085 /* <var_new_child:nullable ANode> isa TSlash */
3086 cltype14
= type_nitc__TSlash
.color
;
3087 idtype15
= type_nitc__TSlash
.id
;
3088 if(var_new_child
== NULL
) {
3091 if(cltype14
>= var_new_child
->type
->table_size
) {
3094 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
3097 if (unlikely(!var13
)) {
3098 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3099 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TSlash", var_class_name16
);
3100 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4714);
3104 nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ASlashExpr$n_op= on <self:ASlashExpr>*/
3109 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:ASlashExpr> */
3110 if (unlikely(var17
== NULL
)) {
3111 if(catchStack
.cursor
>= 0){
3112 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3114 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
3115 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4717);
3119 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
3120 var_other
= var_old_child
;
3122 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
3123 var22
= var17
== var_other
;
3126 RET_LABEL21
:(void)0;
3131 RET_LABEL19
:(void)0;
3135 /* <var_new_child:nullable ANode> isa AExpr */
3136 cltype24
= type_nitc__AExpr
.color
;
3137 idtype25
= type_nitc__AExpr
.id
;
3138 if(var_new_child
== NULL
) {
3141 if(cltype24
>= var_new_child
->type
->table_size
) {
3144 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
3147 if (unlikely(!var23
)) {
3148 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3149 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
3150 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4718);
3154 nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$ASlashExpr$n_expr2= on <self:ASlashExpr>*/
3161 /* method parser_prod$ASlashExpr$n_expr= for (self: ASlashExpr, AExpr) */
3162 void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
3163 val
* var_node
/* var node: AExpr */;
3165 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:ASlashExpr> */
3167 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
3168 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
3174 /* method parser_prod$ASlashExpr$n_op= for (self: ASlashExpr, Token) */
3175 void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
3176 val
* var_node
/* var node: Token */;
3178 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:ASlashExpr> */
3180 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3181 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3187 /* method parser_prod$ASlashExpr$n_expr2= for (self: ASlashExpr, AExpr) */
3188 void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
3189 val
* var_node
/* var node: AExpr */;
3191 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:ASlashExpr> */
3193 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
3194 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
3200 /* method parser_prod$ASlashExpr$visit_all for (self: ASlashExpr, Visitor) */
3201 void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3202 val
* var_v
/* var v: Visitor */;
3203 val
* var
/* : AExpr */;
3204 val
* var1
/* : Token */;
3205 val
* var2
/* : AExpr */;
3207 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ASlashExpr> */
3208 if (unlikely(var
== NULL
)) {
3209 if(catchStack
.cursor
>= 0){
3210 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3212 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3213 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4742);
3217 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3219 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:ASlashExpr> */
3220 if (unlikely(var1
== NULL
)) {
3221 if(catchStack
.cursor
>= 0){
3222 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3224 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3225 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4743);
3229 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3231 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:ASlashExpr> */
3232 if (unlikely(var2
== NULL
)) {
3233 if(catchStack
.cursor
>= 0){
3234 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3236 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
3237 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4744);
3241 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3245 /* method parser_prod$APercentExpr$init_apercentexpr for (self: APercentExpr, nullable AExpr, nullable TPercent, nullable AExpr) */
3246 void nitc__parser_prod___APercentExpr___init_apercentexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
3247 val
* var_n_expr
/* var n_expr: nullable AExpr */;
3248 val
* var_n_op
/* var n_op: nullable TPercent */;
3249 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
3251 { /* Inline kernel$Object$init (self) on <self:APercentExpr> */
3258 if (unlikely(var_n_expr
== NULL
)) {
3259 if(catchStack
.cursor
>= 0){
3260 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3262 PRINT_ERROR("Runtime error: %s", "Cast failed");
3263 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4754);
3266 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:APercentExpr> */
3267 if (var_n_expr
== NULL
) {
3268 if(catchStack
.cursor
>= 0){
3269 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3271 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3272 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4755);
3275 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
3276 if (unlikely(var_n_expr
== NULL
)) {
3277 if(catchStack
.cursor
>= 0){
3278 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3280 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3281 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3284 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
3288 if (unlikely(var_n_op
== NULL
)) {
3289 if(catchStack
.cursor
>= 0){
3290 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3292 PRINT_ERROR("Runtime error: %s", "Cast failed");
3293 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4756);
3296 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:APercentExpr> */
3297 if (var_n_op
== NULL
) {
3298 if(catchStack
.cursor
>= 0){
3299 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3301 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3302 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4757);
3305 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPercent> */
3306 if (unlikely(var_n_op
== NULL
)) {
3307 if(catchStack
.cursor
>= 0){
3308 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3310 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3311 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3314 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPercent> */
3318 if (unlikely(var_n_expr2
== NULL
)) {
3319 if(catchStack
.cursor
>= 0){
3320 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3322 PRINT_ERROR("Runtime error: %s", "Cast failed");
3323 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4758);
3326 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:APercentExpr> */
3327 if (var_n_expr2
== NULL
) {
3328 if(catchStack
.cursor
>= 0){
3329 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3331 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3332 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4759);
3335 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
3336 if (unlikely(var_n_expr2
== NULL
)) {
3337 if(catchStack
.cursor
>= 0){
3338 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3340 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3341 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3344 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
3350 /* method parser_prod$APercentExpr$replace_child for (self: APercentExpr, ANode, nullable ANode) */
3351 void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3352 val
* var_old_child
/* var old_child: ANode */;
3353 val
* var_new_child
/* var new_child: nullable ANode */;
3354 val
* var
/* : AExpr */;
3355 short int var1
/* : Bool */;
3356 val
* var_other
/* var other: nullable Object */;
3357 short int var3
/* : Bool */;
3358 short int var5
/* : Bool */;
3359 short int var6
/* : Bool */;
3362 const char* var_class_name
;
3363 val
* var7
/* : Token */;
3364 short int var8
/* : Bool */;
3365 short int var10
/* : Bool */;
3366 short int var12
/* : Bool */;
3367 short int var13
/* : Bool */;
3370 const char* var_class_name16
;
3371 val
* var17
/* : AExpr */;
3372 short int var18
/* : Bool */;
3373 short int var20
/* : Bool */;
3374 short int var22
/* : Bool */;
3375 short int var23
/* : Bool */;
3378 const char* var_class_name26
;
3381 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:APercentExpr> */
3382 if (unlikely(var
== NULL
)) {
3383 if(catchStack
.cursor
>= 0){
3384 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3386 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3387 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4764);
3391 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
3392 var_other
= var_old_child
;
3394 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
3395 var5
= var
== var_other
;
3407 /* <var_new_child:nullable ANode> isa AExpr */
3408 cltype
= type_nitc__AExpr
.color
;
3409 idtype
= type_nitc__AExpr
.id
;
3410 if(var_new_child
== NULL
) {
3413 if(cltype
>= var_new_child
->type
->table_size
) {
3416 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3419 if (unlikely(!var6
)) {
3420 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3421 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
3422 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4765);
3426 nitc__parser_prod___APercentExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$APercentExpr$n_expr= on <self:APercentExpr>*/
3431 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:APercentExpr> */
3432 if (unlikely(var7
== NULL
)) {
3433 if(catchStack
.cursor
>= 0){
3434 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3436 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3437 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4768);
3441 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
3442 var_other
= var_old_child
;
3444 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
3445 var12
= var7
== var_other
;
3448 RET_LABEL11
:(void)0;
3457 /* <var_new_child:nullable ANode> isa TPercent */
3458 cltype14
= type_nitc__TPercent
.color
;
3459 idtype15
= type_nitc__TPercent
.id
;
3460 if(var_new_child
== NULL
) {
3463 if(cltype14
>= var_new_child
->type
->table_size
) {
3466 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
3469 if (unlikely(!var13
)) {
3470 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3471 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPercent", var_class_name16
);
3472 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4769);
3476 nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APercentExpr$n_op= on <self:APercentExpr>*/
3481 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:APercentExpr> */
3482 if (unlikely(var17
== NULL
)) {
3483 if(catchStack
.cursor
>= 0){
3484 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3486 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
3487 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4772);
3491 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
3492 var_other
= var_old_child
;
3494 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
3495 var22
= var17
== var_other
;
3498 RET_LABEL21
:(void)0;
3503 RET_LABEL19
:(void)0;
3507 /* <var_new_child:nullable ANode> isa AExpr */
3508 cltype24
= type_nitc__AExpr
.color
;
3509 idtype25
= type_nitc__AExpr
.id
;
3510 if(var_new_child
== NULL
) {
3513 if(cltype24
>= var_new_child
->type
->table_size
) {
3516 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
3519 if (unlikely(!var23
)) {
3520 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3521 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
3522 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4773);
3526 nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$APercentExpr$n_expr2= on <self:APercentExpr>*/
3533 /* method parser_prod$APercentExpr$n_expr= for (self: APercentExpr, AExpr) */
3534 void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
3535 val
* var_node
/* var node: AExpr */;
3537 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:APercentExpr> */
3539 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
3540 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
3546 /* method parser_prod$APercentExpr$n_op= for (self: APercentExpr, Token) */
3547 void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
3548 val
* var_node
/* var node: Token */;
3550 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:APercentExpr> */
3552 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
3553 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
3559 /* method parser_prod$APercentExpr$n_expr2= for (self: APercentExpr, AExpr) */
3560 void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
3561 val
* var_node
/* var node: AExpr */;
3563 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:APercentExpr> */
3565 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
3566 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
3572 /* method parser_prod$APercentExpr$visit_all for (self: APercentExpr, Visitor) */
3573 void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3574 val
* var_v
/* var v: Visitor */;
3575 val
* var
/* : AExpr */;
3576 val
* var1
/* : Token */;
3577 val
* var2
/* : AExpr */;
3579 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:APercentExpr> */
3580 if (unlikely(var
== NULL
)) {
3581 if(catchStack
.cursor
>= 0){
3582 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3584 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3585 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4797);
3589 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3591 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:APercentExpr> */
3592 if (unlikely(var1
== NULL
)) {
3593 if(catchStack
.cursor
>= 0){
3594 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3596 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3597 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4798);
3601 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3603 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:APercentExpr> */
3604 if (unlikely(var2
== NULL
)) {
3605 if(catchStack
.cursor
>= 0){
3606 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3608 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
3609 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4799);
3613 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3617 /* method parser_prod$APipeExpr$init_apipeexpr for (self: APipeExpr, nullable AExpr, nullable TPipe, nullable AExpr) */
3618 void nitc__parser_prod___APipeExpr___init_apipeexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
3619 val
* var_n_expr
/* var n_expr: nullable AExpr */;
3620 val
* var_n_op
/* var n_op: nullable TPipe */;
3621 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
3623 { /* Inline kernel$Object$init (self) on <self:APipeExpr> */
3630 if (unlikely(var_n_expr
== NULL
)) {
3631 if(catchStack
.cursor
>= 0){
3632 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3634 PRINT_ERROR("Runtime error: %s", "Cast failed");
3635 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4809);
3638 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:APipeExpr> */
3639 if (var_n_expr
== NULL
) {
3640 if(catchStack
.cursor
>= 0){
3641 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3643 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3644 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4810);
3647 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
3648 if (unlikely(var_n_expr
== NULL
)) {
3649 if(catchStack
.cursor
>= 0){
3650 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3652 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3653 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3656 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
3660 if (unlikely(var_n_op
== NULL
)) {
3661 if(catchStack
.cursor
>= 0){
3662 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3664 PRINT_ERROR("Runtime error: %s", "Cast failed");
3665 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4811);
3668 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:APipeExpr> */
3669 if (var_n_op
== NULL
) {
3670 if(catchStack
.cursor
>= 0){
3671 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3673 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3674 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4812);
3677 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPipe> */
3678 if (unlikely(var_n_op
== NULL
)) {
3679 if(catchStack
.cursor
>= 0){
3680 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3682 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3683 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3686 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPipe> */
3690 if (unlikely(var_n_expr2
== NULL
)) {
3691 if(catchStack
.cursor
>= 0){
3692 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3694 PRINT_ERROR("Runtime error: %s", "Cast failed");
3695 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4813);
3698 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:APipeExpr> */
3699 if (var_n_expr2
== NULL
) {
3700 if(catchStack
.cursor
>= 0){
3701 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3703 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3704 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4814);
3707 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
3708 if (unlikely(var_n_expr2
== NULL
)) {
3709 if(catchStack
.cursor
>= 0){
3710 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3712 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3713 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3716 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
3722 /* method parser_prod$APipeExpr$replace_child for (self: APipeExpr, ANode, nullable ANode) */
3723 void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3724 val
* var_old_child
/* var old_child: ANode */;
3725 val
* var_new_child
/* var new_child: nullable ANode */;
3726 val
* var
/* : AExpr */;
3727 short int var1
/* : Bool */;
3728 val
* var_other
/* var other: nullable Object */;
3729 short int var3
/* : Bool */;
3730 short int var5
/* : Bool */;
3731 short int var6
/* : Bool */;
3734 const char* var_class_name
;
3735 val
* var7
/* : Token */;
3736 short int var8
/* : Bool */;
3737 short int var10
/* : Bool */;
3738 short int var12
/* : Bool */;
3739 short int var13
/* : Bool */;
3742 const char* var_class_name16
;
3743 val
* var17
/* : AExpr */;
3744 short int var18
/* : Bool */;
3745 short int var20
/* : Bool */;
3746 short int var22
/* : Bool */;
3747 short int var23
/* : Bool */;
3750 const char* var_class_name26
;
3753 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:APipeExpr> */
3754 if (unlikely(var
== NULL
)) {
3755 if(catchStack
.cursor
>= 0){
3756 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3758 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3759 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4819);
3763 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
3764 var_other
= var_old_child
;
3766 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
3767 var5
= var
== var_other
;
3779 /* <var_new_child:nullable ANode> isa AExpr */
3780 cltype
= type_nitc__AExpr
.color
;
3781 idtype
= type_nitc__AExpr
.id
;
3782 if(var_new_child
== NULL
) {
3785 if(cltype
>= var_new_child
->type
->table_size
) {
3788 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3791 if (unlikely(!var6
)) {
3792 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3793 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
3794 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4820);
3798 nitc__parser_prod___APipeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$APipeExpr$n_expr= on <self:APipeExpr>*/
3803 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:APipeExpr> */
3804 if (unlikely(var7
== NULL
)) {
3805 if(catchStack
.cursor
>= 0){
3806 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3808 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3809 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4823);
3813 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
3814 var_other
= var_old_child
;
3816 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
3817 var12
= var7
== var_other
;
3820 RET_LABEL11
:(void)0;
3829 /* <var_new_child:nullable ANode> isa TPipe */
3830 cltype14
= type_nitc__TPipe
.color
;
3831 idtype15
= type_nitc__TPipe
.id
;
3832 if(var_new_child
== NULL
) {
3835 if(cltype14
>= var_new_child
->type
->table_size
) {
3838 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
3841 if (unlikely(!var13
)) {
3842 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3843 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPipe", var_class_name16
);
3844 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4824);
3848 nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APipeExpr$n_op= on <self:APipeExpr>*/
3853 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:APipeExpr> */
3854 if (unlikely(var17
== NULL
)) {
3855 if(catchStack
.cursor
>= 0){
3856 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3858 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
3859 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4827);
3863 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
3864 var_other
= var_old_child
;
3866 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
3867 var22
= var17
== var_other
;
3870 RET_LABEL21
:(void)0;
3875 RET_LABEL19
:(void)0;
3879 /* <var_new_child:nullable ANode> isa AExpr */
3880 cltype24
= type_nitc__AExpr
.color
;
3881 idtype25
= type_nitc__AExpr
.id
;
3882 if(var_new_child
== NULL
) {
3885 if(cltype24
>= var_new_child
->type
->table_size
) {
3888 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
3891 if (unlikely(!var23
)) {
3892 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3893 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
3894 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4828);
3898 nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$APipeExpr$n_expr2= on <self:APipeExpr>*/
3905 /* method parser_prod$APipeExpr$n_expr= for (self: APipeExpr, AExpr) */
3906 void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
3907 val
* var_node
/* var node: AExpr */;
3909 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:APipeExpr> */
3911 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
3912 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
3918 /* method parser_prod$APipeExpr$n_op= for (self: APipeExpr, Token) */
3919 void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
3920 val
* var_node
/* var node: Token */;
3922 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:APipeExpr> */
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$APipeExpr$n_expr2= for (self: APipeExpr, AExpr) */
3932 void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
3933 val
* var_node
/* var node: AExpr */;
3935 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:APipeExpr> */
3937 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
3938 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
3944 /* method parser_prod$APipeExpr$visit_all for (self: APipeExpr, Visitor) */
3945 void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3946 val
* var_v
/* var v: Visitor */;
3947 val
* var
/* : AExpr */;
3948 val
* var1
/* : Token */;
3949 val
* var2
/* : AExpr */;
3951 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:APipeExpr> */
3952 if (unlikely(var
== NULL
)) {
3953 if(catchStack
.cursor
>= 0){
3954 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3956 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3957 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4852);
3961 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3963 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:APipeExpr> */
3964 if (unlikely(var1
== NULL
)) {
3965 if(catchStack
.cursor
>= 0){
3966 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3968 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
3969 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4853);
3973 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3975 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:APipeExpr> */
3976 if (unlikely(var2
== NULL
)) {
3977 if(catchStack
.cursor
>= 0){
3978 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3980 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
3981 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4854);
3985 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3989 /* method parser_prod$ACaretExpr$init_acaretexpr for (self: ACaretExpr, nullable AExpr, nullable TCaret, nullable AExpr) */
3990 void nitc__parser_prod___ACaretExpr___init_acaretexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
3991 val
* var_n_expr
/* var n_expr: nullable AExpr */;
3992 val
* var_n_op
/* var n_op: nullable TCaret */;
3993 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
3995 { /* Inline kernel$Object$init (self) on <self:ACaretExpr> */
4002 if (unlikely(var_n_expr
== NULL
)) {
4003 if(catchStack
.cursor
>= 0){
4004 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4006 PRINT_ERROR("Runtime error: %s", "Cast failed");
4007 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4864);
4010 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:ACaretExpr> */
4011 if (var_n_expr
== NULL
) {
4012 if(catchStack
.cursor
>= 0){
4013 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4015 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4016 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4865);
4019 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
4020 if (unlikely(var_n_expr
== NULL
)) {
4021 if(catchStack
.cursor
>= 0){
4022 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4024 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4025 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4028 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
4032 if (unlikely(var_n_op
== NULL
)) {
4033 if(catchStack
.cursor
>= 0){
4034 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4036 PRINT_ERROR("Runtime error: %s", "Cast failed");
4037 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4866);
4040 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:ACaretExpr> */
4041 if (var_n_op
== NULL
) {
4042 if(catchStack
.cursor
>= 0){
4043 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4045 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4046 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4867);
4049 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TCaret> */
4050 if (unlikely(var_n_op
== NULL
)) {
4051 if(catchStack
.cursor
>= 0){
4052 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4054 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4055 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4058 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TCaret> */
4062 if (unlikely(var_n_expr2
== NULL
)) {
4063 if(catchStack
.cursor
>= 0){
4064 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4066 PRINT_ERROR("Runtime error: %s", "Cast failed");
4067 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4868);
4070 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:ACaretExpr> */
4071 if (var_n_expr2
== NULL
) {
4072 if(catchStack
.cursor
>= 0){
4073 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4075 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4076 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4869);
4079 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
4080 if (unlikely(var_n_expr2
== NULL
)) {
4081 if(catchStack
.cursor
>= 0){
4082 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4084 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4085 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4088 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
4094 /* method parser_prod$ACaretExpr$replace_child for (self: ACaretExpr, ANode, nullable ANode) */
4095 void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4096 val
* var_old_child
/* var old_child: ANode */;
4097 val
* var_new_child
/* var new_child: nullable ANode */;
4098 val
* var
/* : AExpr */;
4099 short int var1
/* : Bool */;
4100 val
* var_other
/* var other: nullable Object */;
4101 short int var3
/* : Bool */;
4102 short int var5
/* : Bool */;
4103 short int var6
/* : Bool */;
4106 const char* var_class_name
;
4107 val
* var7
/* : Token */;
4108 short int var8
/* : Bool */;
4109 short int var10
/* : Bool */;
4110 short int var12
/* : Bool */;
4111 short int var13
/* : Bool */;
4114 const char* var_class_name16
;
4115 val
* var17
/* : AExpr */;
4116 short int var18
/* : Bool */;
4117 short int var20
/* : Bool */;
4118 short int var22
/* : Bool */;
4119 short int var23
/* : Bool */;
4122 const char* var_class_name26
;
4125 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACaretExpr> */
4126 if (unlikely(var
== NULL
)) {
4127 if(catchStack
.cursor
>= 0){
4128 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4130 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
4131 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4874);
4135 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
4136 var_other
= var_old_child
;
4138 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
4139 var5
= var
== var_other
;
4151 /* <var_new_child:nullable ANode> isa AExpr */
4152 cltype
= type_nitc__AExpr
.color
;
4153 idtype
= type_nitc__AExpr
.id
;
4154 if(var_new_child
== NULL
) {
4157 if(cltype
>= var_new_child
->type
->table_size
) {
4160 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4163 if (unlikely(!var6
)) {
4164 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4165 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
4166 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4875);
4170 nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$ACaretExpr$n_expr= on <self:ACaretExpr>*/
4175 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:ACaretExpr> */
4176 if (unlikely(var7
== NULL
)) {
4177 if(catchStack
.cursor
>= 0){
4178 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4180 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4181 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4878);
4185 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
4186 var_other
= var_old_child
;
4188 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
4189 var12
= var7
== var_other
;
4192 RET_LABEL11
:(void)0;
4201 /* <var_new_child:nullable ANode> isa TCaret */
4202 cltype14
= type_nitc__TCaret
.color
;
4203 idtype15
= type_nitc__TCaret
.id
;
4204 if(var_new_child
== NULL
) {
4207 if(cltype14
>= var_new_child
->type
->table_size
) {
4210 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
4213 if (unlikely(!var13
)) {
4214 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4215 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCaret", var_class_name16
);
4216 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4879);
4220 nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ACaretExpr$n_op= on <self:ACaretExpr>*/
4225 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:ACaretExpr> */
4226 if (unlikely(var17
== NULL
)) {
4227 if(catchStack
.cursor
>= 0){
4228 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4230 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
4231 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4882);
4235 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
4236 var_other
= var_old_child
;
4238 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
4239 var22
= var17
== var_other
;
4242 RET_LABEL21
:(void)0;
4247 RET_LABEL19
:(void)0;
4251 /* <var_new_child:nullable ANode> isa AExpr */
4252 cltype24
= type_nitc__AExpr
.color
;
4253 idtype25
= type_nitc__AExpr
.id
;
4254 if(var_new_child
== NULL
) {
4257 if(cltype24
>= var_new_child
->type
->table_size
) {
4260 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
4263 if (unlikely(!var23
)) {
4264 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4265 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
4266 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4883);
4270 nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$ACaretExpr$n_expr2= on <self:ACaretExpr>*/
4277 /* method parser_prod$ACaretExpr$n_expr= for (self: ACaretExpr, AExpr) */
4278 void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
4279 val
* var_node
/* var node: AExpr */;
4281 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:ACaretExpr> */
4283 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
4284 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
4290 /* method parser_prod$ACaretExpr$n_op= for (self: ACaretExpr, Token) */
4291 void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
4292 val
* var_node
/* var node: Token */;
4294 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:ACaretExpr> */
4296 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4297 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4303 /* method parser_prod$ACaretExpr$n_expr2= for (self: ACaretExpr, AExpr) */
4304 void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
4305 val
* var_node
/* var node: AExpr */;
4307 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:ACaretExpr> */
4309 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
4310 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
4316 /* method parser_prod$ACaretExpr$visit_all for (self: ACaretExpr, Visitor) */
4317 void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4318 val
* var_v
/* var v: Visitor */;
4319 val
* var
/* : AExpr */;
4320 val
* var1
/* : Token */;
4321 val
* var2
/* : AExpr */;
4323 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACaretExpr> */
4324 if (unlikely(var
== NULL
)) {
4325 if(catchStack
.cursor
>= 0){
4326 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4328 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
4329 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4907);
4333 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4335 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:ACaretExpr> */
4336 if (unlikely(var1
== NULL
)) {
4337 if(catchStack
.cursor
>= 0){
4338 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4340 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4341 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4908);
4345 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4347 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:ACaretExpr> */
4348 if (unlikely(var2
== NULL
)) {
4349 if(catchStack
.cursor
>= 0){
4350 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4352 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
4353 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4909);
4357 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4361 /* method parser_prod$AAmpExpr$init_aampexpr for (self: AAmpExpr, nullable AExpr, nullable TAmp, nullable AExpr) */
4362 void nitc__parser_prod___AAmpExpr___init_aampexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
4363 val
* var_n_expr
/* var n_expr: nullable AExpr */;
4364 val
* var_n_op
/* var n_op: nullable TAmp */;
4365 val
* var_n_expr2
/* var n_expr2: nullable AExpr */;
4367 { /* Inline kernel$Object$init (self) on <self:AAmpExpr> */
4374 if (unlikely(var_n_expr
== NULL
)) {
4375 if(catchStack
.cursor
>= 0){
4376 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4378 PRINT_ERROR("Runtime error: %s", "Cast failed");
4379 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4919);
4382 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AAmpExpr> */
4383 if (var_n_expr
== NULL
) {
4384 if(catchStack
.cursor
>= 0){
4385 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4387 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4388 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4920);
4391 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
4392 if (unlikely(var_n_expr
== NULL
)) {
4393 if(catchStack
.cursor
>= 0){
4394 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4396 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4397 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4400 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
4404 if (unlikely(var_n_op
== NULL
)) {
4405 if(catchStack
.cursor
>= 0){
4406 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4408 PRINT_ERROR("Runtime error: %s", "Cast failed");
4409 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4921);
4412 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AAmpExpr> */
4413 if (var_n_op
== NULL
) {
4414 if(catchStack
.cursor
>= 0){
4415 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4417 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4418 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4922);
4421 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TAmp> */
4422 if (unlikely(var_n_op
== NULL
)) {
4423 if(catchStack
.cursor
>= 0){
4424 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4426 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4427 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4430 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TAmp> */
4434 if (unlikely(var_n_expr2
== NULL
)) {
4435 if(catchStack
.cursor
>= 0){
4436 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4438 PRINT_ERROR("Runtime error: %s", "Cast failed");
4439 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4923);
4442 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_n_expr2
; /* _n_expr2 on <self:AAmpExpr> */
4443 if (var_n_expr2
== NULL
) {
4444 if(catchStack
.cursor
>= 0){
4445 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4447 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4448 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4924);
4451 { /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on <var_n_expr2:nullable AExpr> */
4452 if (unlikely(var_n_expr2
== NULL
)) {
4453 if(catchStack
.cursor
>= 0){
4454 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4456 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4457 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4460 var_n_expr2
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr2:nullable AExpr> */
4466 /* method parser_prod$AAmpExpr$replace_child for (self: AAmpExpr, ANode, nullable ANode) */
4467 void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4468 val
* var_old_child
/* var old_child: ANode */;
4469 val
* var_new_child
/* var new_child: nullable ANode */;
4470 val
* var
/* : AExpr */;
4471 short int var1
/* : Bool */;
4472 val
* var_other
/* var other: nullable Object */;
4473 short int var3
/* : Bool */;
4474 short int var5
/* : Bool */;
4475 short int var6
/* : Bool */;
4478 const char* var_class_name
;
4479 val
* var7
/* : Token */;
4480 short int var8
/* : Bool */;
4481 short int var10
/* : Bool */;
4482 short int var12
/* : Bool */;
4483 short int var13
/* : Bool */;
4486 const char* var_class_name16
;
4487 val
* var17
/* : AExpr */;
4488 short int var18
/* : Bool */;
4489 short int var20
/* : Bool */;
4490 short int var22
/* : Bool */;
4491 short int var23
/* : Bool */;
4494 const char* var_class_name26
;
4497 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AAmpExpr> */
4498 if (unlikely(var
== NULL
)) {
4499 if(catchStack
.cursor
>= 0){
4500 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4502 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
4503 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4929);
4507 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
4508 var_other
= var_old_child
;
4510 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
4511 var5
= var
== var_other
;
4523 /* <var_new_child:nullable ANode> isa AExpr */
4524 cltype
= type_nitc__AExpr
.color
;
4525 idtype
= type_nitc__AExpr
.id
;
4526 if(var_new_child
== NULL
) {
4529 if(cltype
>= var_new_child
->type
->table_size
) {
4532 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4535 if (unlikely(!var6
)) {
4536 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4537 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
4538 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4930);
4542 nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AAmpExpr$n_expr= on <self:AAmpExpr>*/
4547 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AAmpExpr> */
4548 if (unlikely(var7
== NULL
)) {
4549 if(catchStack
.cursor
>= 0){
4550 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4552 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4553 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4933);
4557 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:Token> */
4558 var_other
= var_old_child
;
4560 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:Token> */
4561 var12
= var7
== var_other
;
4564 RET_LABEL11
:(void)0;
4573 /* <var_new_child:nullable ANode> isa TAmp */
4574 cltype14
= type_nitc__TAmp
.color
;
4575 idtype15
= type_nitc__TAmp
.id
;
4576 if(var_new_child
== NULL
) {
4579 if(cltype14
>= var_new_child
->type
->table_size
) {
4582 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
4585 if (unlikely(!var13
)) {
4586 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4587 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAmp", var_class_name16
);
4588 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4934);
4592 nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AAmpExpr$n_op= on <self:AAmpExpr>*/
4597 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AAmpExpr> */
4598 if (unlikely(var17
== NULL
)) {
4599 if(catchStack
.cursor
>= 0){
4600 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4602 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
4603 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4937);
4607 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExpr> */
4608 var_other
= var_old_child
;
4610 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExpr> */
4611 var22
= var17
== var_other
;
4614 RET_LABEL21
:(void)0;
4619 RET_LABEL19
:(void)0;
4623 /* <var_new_child:nullable ANode> isa AExpr */
4624 cltype24
= type_nitc__AExpr
.color
;
4625 idtype25
= type_nitc__AExpr
.id
;
4626 if(var_new_child
== NULL
) {
4629 if(cltype24
>= var_new_child
->type
->table_size
) {
4632 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
4635 if (unlikely(!var23
)) {
4636 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4637 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26
);
4638 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4938);
4642 nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self
, var_new_child
); /* Direct call parser_prod$AAmpExpr$n_expr2= on <self:AAmpExpr>*/
4649 /* method parser_prod$AAmpExpr$n_expr= for (self: AAmpExpr, AExpr) */
4650 void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
4651 val
* var_node
/* var node: AExpr */;
4653 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AAmpExpr> */
4655 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
4656 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
4662 /* method parser_prod$AAmpExpr$n_op= for (self: AAmpExpr, Token) */
4663 void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val
* self
, val
* p0
) {
4664 val
* var_node
/* var node: Token */;
4666 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
= var_node
; /* _n_op on <self:AAmpExpr> */
4668 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4669 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4675 /* method parser_prod$AAmpExpr$n_expr2= for (self: AAmpExpr, AExpr) */
4676 void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val
* self
, val
* p0
) {
4677 val
* var_node
/* var node: AExpr */;
4679 self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
= var_node
; /* _n_expr2 on <self:AAmpExpr> */
4681 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
4682 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
4688 /* method parser_prod$AAmpExpr$visit_all for (self: AAmpExpr, Visitor) */
4689 void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4690 val
* var_v
/* var v: Visitor */;
4691 val
* var
/* : AExpr */;
4692 val
* var1
/* : Token */;
4693 val
* var2
/* : AExpr */;
4695 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AAmpExpr> */
4696 if (unlikely(var
== NULL
)) {
4697 if(catchStack
.cursor
>= 0){
4698 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4700 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
4701 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4962);
4705 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4707 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_op
].val
; /* _n_op on <self:AAmpExpr> */
4708 if (unlikely(var1
== NULL
)) {
4709 if(catchStack
.cursor
>= 0){
4710 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4712 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4713 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4963);
4717 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4719 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2
].val
; /* _n_expr2 on <self:AAmpExpr> */
4720 if (unlikely(var2
== NULL
)) {
4721 if(catchStack
.cursor
>= 0){
4722 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4724 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2");
4725 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4964);
4729 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4733 /* method parser_prod$AUminusExpr$init_auminusexpr for (self: AUminusExpr, nullable TMinus, nullable AExpr) */
4734 void nitc__parser_prod___AUminusExpr___init_auminusexpr(val
* self
, val
* p0
, val
* p1
) {
4735 val
* var_n_op
/* var n_op: nullable TMinus */;
4736 val
* var_n_expr
/* var n_expr: nullable AExpr */;
4738 { /* Inline kernel$Object$init (self) on <self:AUminusExpr> */
4744 if (unlikely(var_n_op
== NULL
)) {
4745 if(catchStack
.cursor
>= 0){
4746 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4748 PRINT_ERROR("Runtime error: %s", "Cast failed");
4749 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4973);
4752 self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AUminusExpr> */
4753 if (var_n_op
== NULL
) {
4754 if(catchStack
.cursor
>= 0){
4755 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4757 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4758 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4974);
4761 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TMinus> */
4762 if (unlikely(var_n_op
== NULL
)) {
4763 if(catchStack
.cursor
>= 0){
4764 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4766 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4767 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4770 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TMinus> */
4774 if (unlikely(var_n_expr
== NULL
)) {
4775 if(catchStack
.cursor
>= 0){
4776 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4778 PRINT_ERROR("Runtime error: %s", "Cast failed");
4779 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4975);
4782 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AUminusExpr> */
4783 if (var_n_expr
== NULL
) {
4784 if(catchStack
.cursor
>= 0){
4785 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4787 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4788 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4976);
4791 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
4792 if (unlikely(var_n_expr
== NULL
)) {
4793 if(catchStack
.cursor
>= 0){
4794 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4796 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4797 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4800 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
4806 /* method parser_prod$AUminusExpr$replace_child for (self: AUminusExpr, ANode, nullable ANode) */
4807 void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4808 val
* var_old_child
/* var old_child: ANode */;
4809 val
* var_new_child
/* var new_child: nullable ANode */;
4810 val
* var
/* : Token */;
4811 short int var1
/* : Bool */;
4812 val
* var_other
/* var other: nullable Object */;
4813 short int var3
/* : Bool */;
4814 short int var5
/* : Bool */;
4815 short int var6
/* : Bool */;
4818 const char* var_class_name
;
4819 val
* var7
/* : AExpr */;
4820 short int var8
/* : Bool */;
4821 short int var10
/* : Bool */;
4822 short int var12
/* : Bool */;
4823 short int var13
/* : Bool */;
4826 const char* var_class_name16
;
4829 var
= self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
; /* _n_op on <self:AUminusExpr> */
4830 if (unlikely(var
== NULL
)) {
4831 if(catchStack
.cursor
>= 0){
4832 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4834 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4835 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4981);
4839 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
4840 var_other
= var_old_child
;
4842 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
4843 var5
= var
== var_other
;
4855 /* <var_new_child:nullable ANode> isa TMinus */
4856 cltype
= type_nitc__TMinus
.color
;
4857 idtype
= type_nitc__TMinus
.id
;
4858 if(var_new_child
== NULL
) {
4861 if(cltype
>= var_new_child
->type
->table_size
) {
4864 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4867 if (unlikely(!var6
)) {
4868 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4869 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TMinus", var_class_name
);
4870 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4982);
4874 nitc__parser_prod___AUminusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AUminusExpr$n_op= on <self:AUminusExpr>*/
4879 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AUminusExpr> */
4880 if (unlikely(var7
== NULL
)) {
4881 if(catchStack
.cursor
>= 0){
4882 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4884 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
4885 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4985);
4889 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AExpr> */
4890 var_other
= var_old_child
;
4892 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AExpr> */
4893 var12
= var7
== var_other
;
4896 RET_LABEL11
:(void)0;
4905 /* <var_new_child:nullable ANode> isa AExpr */
4906 cltype14
= type_nitc__AExpr
.color
;
4907 idtype15
= type_nitc__AExpr
.id
;
4908 if(var_new_child
== NULL
) {
4911 if(cltype14
>= var_new_child
->type
->table_size
) {
4914 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
4917 if (unlikely(!var13
)) {
4918 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4919 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16
);
4920 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 4986);
4924 nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AUminusExpr$n_expr= on <self:AUminusExpr>*/
4931 /* method parser_prod$AUminusExpr$n_op= for (self: AUminusExpr, Token) */
4932 void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val
* self
, val
* p0
) {
4933 val
* var_node
/* var node: Token */;
4935 self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
= var_node
; /* _n_op on <self:AUminusExpr> */
4937 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
4938 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
4944 /* method parser_prod$AUminusExpr$n_expr= for (self: AUminusExpr, AExpr) */
4945 void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
4946 val
* var_node
/* var node: AExpr */;
4948 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AUminusExpr> */
4950 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
4951 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
4957 /* method parser_prod$AUminusExpr$visit_all for (self: AUminusExpr, Visitor) */
4958 void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4959 val
* var_v
/* var v: Visitor */;
4960 val
* var
/* : Token */;
4961 val
* var1
/* : AExpr */;
4963 var
= self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
; /* _n_op on <self:AUminusExpr> */
4964 if (unlikely(var
== NULL
)) {
4965 if(catchStack
.cursor
>= 0){
4966 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4968 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
4969 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5005);
4973 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4975 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AUminusExpr> */
4976 if (unlikely(var1
== NULL
)) {
4977 if(catchStack
.cursor
>= 0){
4978 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4980 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
4981 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5006);
4985 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4989 /* method parser_prod$AUplusExpr$init_auplusexpr for (self: AUplusExpr, nullable TPlus, nullable AExpr) */
4990 void nitc__parser_prod___AUplusExpr___init_auplusexpr(val
* self
, val
* p0
, val
* p1
) {
4991 val
* var_n_op
/* var n_op: nullable TPlus */;
4992 val
* var_n_expr
/* var n_expr: nullable AExpr */;
4994 { /* Inline kernel$Object$init (self) on <self:AUplusExpr> */
5000 if (unlikely(var_n_op
== NULL
)) {
5001 if(catchStack
.cursor
>= 0){
5002 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5004 PRINT_ERROR("Runtime error: %s", "Cast failed");
5005 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5015);
5008 self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AUplusExpr> */
5009 if (var_n_op
== NULL
) {
5010 if(catchStack
.cursor
>= 0){
5011 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5013 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5014 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5016);
5017 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPlus> */
5018 if (unlikely(var_n_op
== NULL
)) {
5019 if(catchStack
.cursor
>= 0){
5020 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5022 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5023 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5026 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPlus> */
5030 if (unlikely(var_n_expr
== NULL
)) {
5031 if(catchStack
.cursor
>= 0){
5032 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5034 PRINT_ERROR("Runtime error: %s", "Cast failed");
5035 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5017);
5038 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AUplusExpr> */
5039 if (var_n_expr
== NULL
) {
5040 if(catchStack
.cursor
>= 0){
5041 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5043 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5044 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5018);
5047 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
5048 if (unlikely(var_n_expr
== NULL
)) {
5049 if(catchStack
.cursor
>= 0){
5050 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5052 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5053 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5056 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
5062 /* method parser_prod$AUplusExpr$replace_child for (self: AUplusExpr, ANode, nullable ANode) */
5063 void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5064 val
* var_old_child
/* var old_child: ANode */;
5065 val
* var_new_child
/* var new_child: nullable ANode */;
5066 val
* var
/* : Token */;
5067 short int var1
/* : Bool */;
5068 val
* var_other
/* var other: nullable Object */;
5069 short int var3
/* : Bool */;
5070 short int var5
/* : Bool */;
5071 short int var6
/* : Bool */;
5074 const char* var_class_name
;
5075 val
* var7
/* : AExpr */;
5076 short int var8
/* : Bool */;
5077 short int var10
/* : Bool */;
5078 short int var12
/* : Bool */;
5079 short int var13
/* : Bool */;
5082 const char* var_class_name16
;
5085 var
= self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
; /* _n_op on <self:AUplusExpr> */
5086 if (unlikely(var
== NULL
)) {
5087 if(catchStack
.cursor
>= 0){
5088 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5090 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
5091 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5023);
5095 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
5096 var_other
= var_old_child
;
5098 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
5099 var5
= var
== var_other
;
5111 /* <var_new_child:nullable ANode> isa TPlus */
5112 cltype
= type_nitc__TPlus
.color
;
5113 idtype
= type_nitc__TPlus
.id
;
5114 if(var_new_child
== NULL
) {
5117 if(cltype
>= var_new_child
->type
->table_size
) {
5120 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5123 if (unlikely(!var6
)) {
5124 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5125 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPlus", var_class_name
);
5126 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5024);
5130 nitc__parser_prod___AUplusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AUplusExpr$n_op= on <self:AUplusExpr>*/
5135 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AUplusExpr> */
5136 if (unlikely(var7
== NULL
)) {
5137 if(catchStack
.cursor
>= 0){
5138 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5140 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
5141 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5027);
5145 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AExpr> */
5146 var_other
= var_old_child
;
5148 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AExpr> */
5149 var12
= var7
== var_other
;
5152 RET_LABEL11
:(void)0;
5161 /* <var_new_child:nullable ANode> isa AExpr */
5162 cltype14
= type_nitc__AExpr
.color
;
5163 idtype15
= type_nitc__AExpr
.id
;
5164 if(var_new_child
== NULL
) {
5167 if(cltype14
>= var_new_child
->type
->table_size
) {
5170 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
5173 if (unlikely(!var13
)) {
5174 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5175 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16
);
5176 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5028);
5180 nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AUplusExpr$n_expr= on <self:AUplusExpr>*/
5187 /* method parser_prod$AUplusExpr$n_op= for (self: AUplusExpr, Token) */
5188 void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val
* self
, val
* p0
) {
5189 val
* var_node
/* var node: Token */;
5191 self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
= var_node
; /* _n_op on <self:AUplusExpr> */
5193 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
5194 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
5200 /* method parser_prod$AUplusExpr$n_expr= for (self: AUplusExpr, AExpr) */
5201 void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
5202 val
* var_node
/* var node: AExpr */;
5204 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AUplusExpr> */
5206 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
5207 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
5213 /* method parser_prod$AUplusExpr$visit_all for (self: AUplusExpr, Visitor) */
5214 void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5215 val
* var_v
/* var v: Visitor */;
5216 val
* var
/* : Token */;
5217 val
* var1
/* : AExpr */;
5219 var
= self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
; /* _n_op on <self:AUplusExpr> */
5220 if (unlikely(var
== NULL
)) {
5221 if(catchStack
.cursor
>= 0){
5222 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5224 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
5225 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5047);
5229 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5231 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AUplusExpr> */
5232 if (unlikely(var1
== NULL
)) {
5233 if(catchStack
.cursor
>= 0){
5234 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5236 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
5237 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5048);
5241 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5245 /* method parser_prod$AUtildeExpr$init_autildeexpr for (self: AUtildeExpr, nullable TTilde, nullable AExpr) */
5246 void nitc__parser_prod___AUtildeExpr___init_autildeexpr(val
* self
, val
* p0
, val
* p1
) {
5247 val
* var_n_op
/* var n_op: nullable TTilde */;
5248 val
* var_n_expr
/* var n_expr: nullable AExpr */;
5250 { /* Inline kernel$Object$init (self) on <self:AUtildeExpr> */
5256 if (unlikely(var_n_op
== NULL
)) {
5257 if(catchStack
.cursor
>= 0){
5258 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5260 PRINT_ERROR("Runtime error: %s", "Cast failed");
5261 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5057);
5264 self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
= var_n_op
; /* _n_op on <self:AUtildeExpr> */
5265 if (var_n_op
== NULL
) {
5266 if(catchStack
.cursor
>= 0){
5267 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5269 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5270 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5058);
5273 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TTilde> */
5274 if (unlikely(var_n_op
== NULL
)) {
5275 if(catchStack
.cursor
>= 0){
5276 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5278 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5279 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5282 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TTilde> */
5286 if (unlikely(var_n_expr
== NULL
)) {
5287 if(catchStack
.cursor
>= 0){
5288 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5290 PRINT_ERROR("Runtime error: %s", "Cast failed");
5291 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5059);
5294 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AUtildeExpr> */
5295 if (var_n_expr
== NULL
) {
5296 if(catchStack
.cursor
>= 0){
5297 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5299 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5300 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5060);
5303 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
5304 if (unlikely(var_n_expr
== NULL
)) {
5305 if(catchStack
.cursor
>= 0){
5306 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5308 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5309 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5312 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
5318 /* method parser_prod$AUtildeExpr$replace_child for (self: AUtildeExpr, ANode, nullable ANode) */
5319 void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5320 val
* var_old_child
/* var old_child: ANode */;
5321 val
* var_new_child
/* var new_child: nullable ANode */;
5322 val
* var
/* : Token */;
5323 short int var1
/* : Bool */;
5324 val
* var_other
/* var other: nullable Object */;
5325 short int var3
/* : Bool */;
5326 short int var5
/* : Bool */;
5327 short int var6
/* : Bool */;
5330 const char* var_class_name
;
5331 val
* var7
/* : AExpr */;
5332 short int var8
/* : Bool */;
5333 short int var10
/* : Bool */;
5334 short int var12
/* : Bool */;
5335 short int var13
/* : Bool */;
5338 const char* var_class_name16
;
5341 var
= self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
; /* _n_op on <self:AUtildeExpr> */
5342 if (unlikely(var
== NULL
)) {
5343 if(catchStack
.cursor
>= 0){
5344 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5346 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
5347 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5065);
5351 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
5352 var_other
= var_old_child
;
5354 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
5355 var5
= var
== var_other
;
5367 /* <var_new_child:nullable ANode> isa TTilde */
5368 cltype
= type_nitc__TTilde
.color
;
5369 idtype
= type_nitc__TTilde
.id
;
5370 if(var_new_child
== NULL
) {
5373 if(cltype
>= var_new_child
->type
->table_size
) {
5376 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5379 if (unlikely(!var6
)) {
5380 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5381 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TTilde", var_class_name
);
5382 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5066);
5386 nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AUtildeExpr$n_op= on <self:AUtildeExpr>*/
5391 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AUtildeExpr> */
5392 if (unlikely(var7
== NULL
)) {
5393 if(catchStack
.cursor
>= 0){
5394 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5396 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
5397 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5069);
5401 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AExpr> */
5402 var_other
= var_old_child
;
5404 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AExpr> */
5405 var12
= var7
== var_other
;
5408 RET_LABEL11
:(void)0;
5417 /* <var_new_child:nullable ANode> isa AExpr */
5418 cltype14
= type_nitc__AExpr
.color
;
5419 idtype15
= type_nitc__AExpr
.id
;
5420 if(var_new_child
== NULL
) {
5423 if(cltype14
>= var_new_child
->type
->table_size
) {
5426 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
5429 if (unlikely(!var13
)) {
5430 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5431 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16
);
5432 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5070);
5436 nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AUtildeExpr$n_expr= on <self:AUtildeExpr>*/
5443 /* method parser_prod$AUtildeExpr$n_op= for (self: AUtildeExpr, Token) */
5444 void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val
* self
, val
* p0
) {
5445 val
* var_node
/* var node: Token */;
5447 self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
= var_node
; /* _n_op on <self:AUtildeExpr> */
5449 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
5450 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
5456 /* method parser_prod$AUtildeExpr$n_expr= for (self: AUtildeExpr, AExpr) */
5457 void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
5458 val
* var_node
/* var node: AExpr */;
5460 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AUtildeExpr> */
5462 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
5463 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
5469 /* method parser_prod$AUtildeExpr$visit_all for (self: AUtildeExpr, Visitor) */
5470 void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5471 val
* var_v
/* var v: Visitor */;
5472 val
* var
/* : Token */;
5473 val
* var1
/* : AExpr */;
5475 var
= self
->attrs
[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op
].val
; /* _n_op on <self:AUtildeExpr> */
5476 if (unlikely(var
== NULL
)) {
5477 if(catchStack
.cursor
>= 0){
5478 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5480 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
5481 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5089);
5485 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5487 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AUtildeExpr> */
5488 if (unlikely(var1
== NULL
)) {
5489 if(catchStack
.cursor
>= 0){
5490 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5492 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
5493 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5090);
5497 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5501 /* method parser_prod$ANewExpr$init_anewexpr for (self: ANewExpr, nullable TKwnew, nullable AType, nullable AQid, nullable AExprs) */
5502 void nitc__parser_prod___ANewExpr___init_anewexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
5503 val
* var_n_kwnew
/* var n_kwnew: nullable TKwnew */;
5504 val
* var_n_type
/* var n_type: nullable AType */;
5505 val
* var_n_qid
/* var n_qid: nullable AQid */;
5506 val
* var_n_args
/* var n_args: nullable AExprs */;
5507 short int var
/* : Bool */;
5508 short int var4
/* : Bool */;
5509 val
* var_other
/* var other: nullable Object */;
5510 short int var6
/* : Bool */;
5511 short int var7
/* : Bool */;
5513 { /* Inline kernel$Object$init (self) on <self:ANewExpr> */
5521 if (unlikely(var_n_kwnew
== NULL
)) {
5522 if(catchStack
.cursor
>= 0){
5523 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5525 PRINT_ERROR("Runtime error: %s", "Cast failed");
5526 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5101);
5529 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew
].val
= var_n_kwnew
; /* _n_kwnew on <self:ANewExpr> */
5530 if (var_n_kwnew
== NULL
) {
5531 if(catchStack
.cursor
>= 0){
5532 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5534 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5535 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5102);
5538 { /* Inline parser_nodes$ANode$parent= (var_n_kwnew,self) on <var_n_kwnew:nullable TKwnew> */
5539 if (unlikely(var_n_kwnew
== NULL
)) {
5540 if(catchStack
.cursor
>= 0){
5541 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5543 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5544 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5547 var_n_kwnew
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwnew:nullable TKwnew> */
5551 if (unlikely(var_n_type
== NULL
)) {
5552 if(catchStack
.cursor
>= 0){
5553 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5555 PRINT_ERROR("Runtime error: %s", "Cast failed");
5556 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5103);
5559 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_type
].val
= var_n_type
; /* _n_type on <self:ANewExpr> */
5560 if (var_n_type
== NULL
) {
5561 if(catchStack
.cursor
>= 0){
5562 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5564 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5565 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5104);
5568 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
5569 if (unlikely(var_n_type
== NULL
)) {
5570 if(catchStack
.cursor
>= 0){
5571 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5573 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5574 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5577 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
5581 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_qid
].val
= var_n_qid
; /* _n_qid on <self:ANewExpr> */
5582 if (var_n_qid
== NULL
) {
5583 var
= 0; /* is null */
5585 var
= 1; /* arg is null and recv is not */
5588 { /* Inline kernel$Object$!= (var_n_qid,((val*)NULL)) on <var_n_qid:nullable AQid> */
5589 var_other
= ((val
*)NULL
);
5591 var6
= ((short int(*)(val
* self
, val
* p0
))(var_n_qid
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_qid
, var_other
); /* == on <var_n_qid:nullable AQid(AQid)>*/
5602 { /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on <var_n_qid:nullable AQid(AQid)> */
5603 var_n_qid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qid:nullable AQid(AQid)> */
5609 if (unlikely(var_n_args
== NULL
)) {
5610 if(catchStack
.cursor
>= 0){
5611 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5613 PRINT_ERROR("Runtime error: %s", "Cast failed");
5614 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5107);
5617 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_args
].val
= var_n_args
; /* _n_args on <self:ANewExpr> */
5618 if (var_n_args
== NULL
) {
5619 if(catchStack
.cursor
>= 0){
5620 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5622 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5623 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5108);
5626 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
5627 if (unlikely(var_n_args
== NULL
)) {
5628 if(catchStack
.cursor
>= 0){
5629 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5631 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5632 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5635 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
5641 /* method parser_prod$ANewExpr$replace_child for (self: ANewExpr, ANode, nullable ANode) */
5642 void nitc__parser_prod___ANewExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5643 val
* var_old_child
/* var old_child: ANode */;
5644 val
* var_new_child
/* var new_child: nullable ANode */;
5645 val
* var
/* : TKwnew */;
5646 short int var1
/* : Bool */;
5647 val
* var_other
/* var other: nullable Object */;
5648 short int var3
/* : Bool */;
5649 short int var5
/* : Bool */;
5650 short int var6
/* : Bool */;
5653 const char* var_class_name
;
5654 val
* var7
/* : AType */;
5655 short int var8
/* : Bool */;
5656 short int var10
/* : Bool */;
5657 short int var12
/* : Bool */;
5658 short int var13
/* : Bool */;
5661 const char* var_class_name16
;
5662 val
* var17
/* : nullable AQid */;
5663 short int var18
/* : Bool */;
5664 short int var19
/* : Bool */;
5665 short int var21
/* : Bool */;
5666 short int var23
/* : Bool */;
5667 short int var24
/* : Bool */;
5670 const char* var_class_name27
;
5671 val
* var28
/* : AExprs */;
5672 short int var29
/* : Bool */;
5673 short int var31
/* : Bool */;
5674 short int var33
/* : Bool */;
5675 short int var34
/* : Bool */;
5678 const char* var_class_name37
;
5681 var
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew
].val
; /* _n_kwnew on <self:ANewExpr> */
5682 if (unlikely(var
== NULL
)) {
5683 if(catchStack
.cursor
>= 0){
5684 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5686 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnew");
5687 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5113);
5691 { /* Inline kernel$Object$== (var,var_old_child) on <var:TKwnew> */
5692 var_other
= var_old_child
;
5694 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TKwnew> */
5695 var5
= var
== var_other
;
5707 /* <var_new_child:nullable ANode> isa TKwnew */
5708 cltype
= type_nitc__TKwnew
.color
;
5709 idtype
= type_nitc__TKwnew
.id
;
5710 if(var_new_child
== NULL
) {
5713 if(cltype
>= var_new_child
->type
->table_size
) {
5716 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5719 if (unlikely(!var6
)) {
5720 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5721 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnew", var_class_name
);
5722 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5114);
5726 nitc__parser_prod___ANewExpr___n_kwnew_61d(self
, var_new_child
); /* Direct call parser_prod$ANewExpr$n_kwnew= on <self:ANewExpr>*/
5731 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_type
].val
; /* _n_type on <self:ANewExpr> */
5732 if (unlikely(var7
== NULL
)) {
5733 if(catchStack
.cursor
>= 0){
5734 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5736 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
5737 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5117);
5741 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AType> */
5742 var_other
= var_old_child
;
5744 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AType> */
5745 var12
= var7
== var_other
;
5748 RET_LABEL11
:(void)0;
5757 /* <var_new_child:nullable ANode> isa AType */
5758 cltype14
= type_nitc__AType
.color
;
5759 idtype15
= type_nitc__AType
.id
;
5760 if(var_new_child
== NULL
) {
5763 if(cltype14
>= var_new_child
->type
->table_size
) {
5766 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
5769 if (unlikely(!var13
)) {
5770 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5771 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name16
);
5772 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5118);
5776 nitc__parser_prod___ANewExpr___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$ANewExpr$n_type= on <self:ANewExpr>*/
5781 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_qid
].val
; /* _n_qid on <self:ANewExpr> */
5782 if (var17
== NULL
) {
5783 var18
= 0; /* <var_old_child:ANode> cannot be null */
5785 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:nullable AQid> */
5786 var_other
= var_old_child
;
5788 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:nullable AQid(AQid)> */
5789 var23
= var17
== var_other
;
5792 RET_LABEL22
:(void)0;
5797 RET_LABEL20
:(void)0;
5802 /* <var_new_child:nullable ANode> isa nullable AQid */
5803 cltype25
= type_nullable__nitc__AQid
.color
;
5804 idtype26
= type_nullable__nitc__AQid
.id
;
5805 if(var_new_child
== NULL
) {
5808 if(cltype25
>= var_new_child
->type
->table_size
) {
5811 var24
= var_new_child
->type
->type_table
[cltype25
] == idtype26
;
5814 if (unlikely(!var24
)) {
5815 var_class_name27
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5816 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQid", var_class_name27
);
5817 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5122);
5821 nitc__parser_prod___ANewExpr___n_qid_61d(self
, var_new_child
); /* Direct call parser_prod$ANewExpr$n_qid= on <self:ANewExpr>*/
5826 var28
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_args
].val
; /* _n_args on <self:ANewExpr> */
5827 if (unlikely(var28
== NULL
)) {
5828 if(catchStack
.cursor
>= 0){
5829 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5831 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
5832 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5125);
5836 { /* Inline kernel$Object$== (var28,var_old_child) on <var28:AExprs> */
5837 var_other
= var_old_child
;
5839 { /* Inline kernel$Object$is_same_instance (var28,var_other) on <var28:AExprs> */
5840 var33
= var28
== var_other
;
5843 RET_LABEL32
:(void)0;
5848 RET_LABEL30
:(void)0;
5852 /* <var_new_child:nullable ANode> isa AExprs */
5853 cltype35
= type_nitc__AExprs
.color
;
5854 idtype36
= type_nitc__AExprs
.id
;
5855 if(var_new_child
== NULL
) {
5858 if(cltype35
>= var_new_child
->type
->table_size
) {
5861 var34
= var_new_child
->type
->type_table
[cltype35
] == idtype36
;
5864 if (unlikely(!var34
)) {
5865 var_class_name37
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5866 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name37
);
5867 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5126);
5871 nitc__parser_prod___ANewExpr___n_args_61d(self
, var_new_child
); /* Direct call parser_prod$ANewExpr$n_args= on <self:ANewExpr>*/
5878 /* method parser_prod$ANewExpr$n_kwnew= for (self: ANewExpr, TKwnew) */
5879 void nitc__parser_prod___ANewExpr___n_kwnew_61d(val
* self
, val
* p0
) {
5880 val
* var_node
/* var node: TKwnew */;
5882 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew
].val
= var_node
; /* _n_kwnew on <self:ANewExpr> */
5884 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwnew> */
5885 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwnew> */
5891 /* method parser_prod$ANewExpr$n_type= for (self: ANewExpr, AType) */
5892 void nitc__parser_prod___ANewExpr___n_type_61d(val
* self
, val
* p0
) {
5893 val
* var_node
/* var node: AType */;
5895 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_type
].val
= var_node
; /* _n_type on <self:ANewExpr> */
5897 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
5898 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
5904 /* method parser_prod$ANewExpr$n_qid= for (self: ANewExpr, nullable AQid) */
5905 void nitc__parser_prod___ANewExpr___n_qid_61d(val
* self
, val
* p0
) {
5906 val
* var_node
/* var node: nullable AQid */;
5907 short int var
/* : Bool */;
5908 short int var1
/* : Bool */;
5909 val
* var_other
/* var other: nullable Object */;
5910 short int var3
/* : Bool */;
5911 short int var4
/* : Bool */;
5913 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_qid
].val
= var_node
; /* _n_qid on <self:ANewExpr> */
5914 if (var_node
== NULL
) {
5915 var
= 0; /* is null */
5917 var
= 1; /* arg is null and recv is not */
5920 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AQid> */
5921 var_other
= ((val
*)NULL
);
5923 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 AQid(AQid)>*/
5934 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AQid(AQid)> */
5935 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AQid(AQid)> */
5943 /* method parser_prod$ANewExpr$n_args= for (self: ANewExpr, AExprs) */
5944 void nitc__parser_prod___ANewExpr___n_args_61d(val
* self
, val
* p0
) {
5945 val
* var_node
/* var node: AExprs */;
5947 self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_args
].val
= var_node
; /* _n_args on <self:ANewExpr> */
5949 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExprs> */
5950 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExprs> */
5956 /* method parser_prod$ANewExpr$visit_all for (self: ANewExpr, Visitor) */
5957 void nitc__parser_prod___ANewExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5958 val
* var_v
/* var v: Visitor */;
5959 val
* var
/* : TKwnew */;
5960 val
* var1
/* : AType */;
5961 val
* var2
/* : nullable AQid */;
5962 val
* var3
/* : AExprs */;
5964 var
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew
].val
; /* _n_kwnew on <self:ANewExpr> */
5965 if (unlikely(var
== NULL
)) {
5966 if(catchStack
.cursor
>= 0){
5967 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5969 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnew");
5970 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5155);
5974 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5976 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_type
].val
; /* _n_type on <self:ANewExpr> */
5977 if (unlikely(var1
== NULL
)) {
5978 if(catchStack
.cursor
>= 0){
5979 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5981 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
5982 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5156);
5986 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5988 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_qid
].val
; /* _n_qid on <self:ANewExpr> */
5990 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5992 var3
= self
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_args
].val
; /* _n_args on <self:ANewExpr> */
5993 if (unlikely(var3
== NULL
)) {
5994 if(catchStack
.cursor
>= 0){
5995 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5997 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
5998 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5158);
6002 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6006 /* method parser_prod$AAttrExpr$init_aattrexpr for (self: AAttrExpr, nullable AExpr, nullable TAttrid) */
6007 void nitc__parser_prod___AAttrExpr___init_aattrexpr(val
* self
, val
* p0
, val
* p1
) {
6008 val
* var_n_expr
/* var n_expr: nullable AExpr */;
6009 val
* var_n_id
/* var n_id: nullable TAttrid */;
6011 { /* Inline kernel$Object$init (self) on <self:AAttrExpr> */
6017 if (unlikely(var_n_expr
== NULL
)) {
6018 if(catchStack
.cursor
>= 0){
6019 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6021 PRINT_ERROR("Runtime error: %s", "Cast failed");
6022 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5167);
6025 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AAttrExpr> */
6026 if (var_n_expr
== NULL
) {
6027 if(catchStack
.cursor
>= 0){
6028 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6030 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6031 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5168);
6034 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
6035 if (unlikely(var_n_expr
== NULL
)) {
6036 if(catchStack
.cursor
>= 0){
6037 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6039 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6040 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6043 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
6047 if (unlikely(var_n_id
== NULL
)) {
6048 if(catchStack
.cursor
>= 0){
6049 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6051 PRINT_ERROR("Runtime error: %s", "Cast failed");
6052 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5169);
6055 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
= var_n_id
; /* _n_id on <self:AAttrExpr> */
6056 if (var_n_id
== NULL
) {
6057 if(catchStack
.cursor
>= 0){
6058 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6060 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6061 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5170);
6064 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TAttrid> */
6065 if (unlikely(var_n_id
== NULL
)) {
6066 if(catchStack
.cursor
>= 0){
6067 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6069 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6070 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6073 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TAttrid> */
6079 /* method parser_prod$AAttrExpr$replace_child for (self: AAttrExpr, ANode, nullable ANode) */
6080 void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6081 val
* var_old_child
/* var old_child: ANode */;
6082 val
* var_new_child
/* var new_child: nullable ANode */;
6083 val
* var
/* : AExpr */;
6084 short int var1
/* : Bool */;
6085 val
* var_other
/* var other: nullable Object */;
6086 short int var3
/* : Bool */;
6087 short int var5
/* : Bool */;
6088 short int var6
/* : Bool */;
6091 const char* var_class_name
;
6092 val
* var7
/* : TAttrid */;
6093 short int var8
/* : Bool */;
6094 short int var10
/* : Bool */;
6095 short int var12
/* : Bool */;
6096 short int var13
/* : Bool */;
6099 const char* var_class_name16
;
6102 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
; /* _n_expr on <self:AAttrExpr> */
6103 if (unlikely(var
== NULL
)) {
6104 if(catchStack
.cursor
>= 0){
6105 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6107 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
6108 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5175);
6112 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
6113 var_other
= var_old_child
;
6115 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
6116 var5
= var
== var_other
;
6128 /* <var_new_child:nullable ANode> isa AExpr */
6129 cltype
= type_nitc__AExpr
.color
;
6130 idtype
= type_nitc__AExpr
.id
;
6131 if(var_new_child
== NULL
) {
6134 if(cltype
>= var_new_child
->type
->table_size
) {
6137 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6140 if (unlikely(!var6
)) {
6141 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6142 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
6143 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5176);
6147 nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrExpr$n_expr= on <self:AAttrExpr>*/
6152 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
; /* _n_id on <self:AAttrExpr> */
6153 if (unlikely(var7
== NULL
)) {
6154 if(catchStack
.cursor
>= 0){
6155 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6157 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6158 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5179);
6162 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TAttrid> */
6163 var_other
= var_old_child
;
6165 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TAttrid> */
6166 var12
= var7
== var_other
;
6169 RET_LABEL11
:(void)0;
6178 /* <var_new_child:nullable ANode> isa TAttrid */
6179 cltype14
= type_nitc__TAttrid
.color
;
6180 idtype15
= type_nitc__TAttrid
.id
;
6181 if(var_new_child
== NULL
) {
6184 if(cltype14
>= var_new_child
->type
->table_size
) {
6187 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
6190 if (unlikely(!var13
)) {
6191 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6192 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16
);
6193 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5180);
6197 nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrExpr$n_id= on <self:AAttrExpr>*/
6204 /* method parser_prod$AAttrExpr$n_expr= for (self: AAttrExpr, AExpr) */
6205 void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val
* self
, val
* p0
) {
6206 val
* var_node
/* var node: AExpr */;
6208 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AAttrExpr> */
6210 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
6211 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
6217 /* method parser_prod$AAttrExpr$n_id= for (self: AAttrExpr, TAttrid) */
6218 void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val
* self
, val
* p0
) {
6219 val
* var_node
/* var node: TAttrid */;
6221 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
= var_node
; /* _n_id on <self:AAttrExpr> */
6223 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TAttrid> */
6224 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TAttrid> */
6230 /* method parser_prod$AAttrExpr$visit_all for (self: AAttrExpr, Visitor) */
6231 void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6232 val
* var_v
/* var v: Visitor */;
6233 val
* var
/* : AExpr */;
6234 val
* var1
/* : TAttrid */;
6236 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
; /* _n_expr on <self:AAttrExpr> */
6237 if (unlikely(var
== NULL
)) {
6238 if(catchStack
.cursor
>= 0){
6239 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6241 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
6242 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5199);
6246 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6248 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
; /* _n_id on <self:AAttrExpr> */
6249 if (unlikely(var1
== NULL
)) {
6250 if(catchStack
.cursor
>= 0){
6251 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6253 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6254 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5200);
6258 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6262 /* method parser_prod$AAttrAssignExpr$init_aattrassignexpr for (self: AAttrAssignExpr, nullable AExpr, nullable TAttrid, nullable TAssign, nullable AExpr) */
6263 void nitc__parser_prod___AAttrAssignExpr___init_aattrassignexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
6264 val
* var_n_expr
/* var n_expr: nullable AExpr */;
6265 val
* var_n_id
/* var n_id: nullable TAttrid */;
6266 val
* var_n_assign
/* var n_assign: nullable TAssign */;
6267 val
* var_n_value
/* var n_value: nullable AExpr */;
6269 { /* Inline kernel$Object$init (self) on <self:AAttrAssignExpr> */
6277 if (unlikely(var_n_expr
== NULL
)) {
6278 if(catchStack
.cursor
>= 0){
6279 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6281 PRINT_ERROR("Runtime error: %s", "Cast failed");
6282 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5211);
6285 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AAttrAssignExpr> */
6286 if (var_n_expr
== NULL
) {
6287 if(catchStack
.cursor
>= 0){
6288 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6290 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6291 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5212);
6294 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
6295 if (unlikely(var_n_expr
== NULL
)) {
6296 if(catchStack
.cursor
>= 0){
6297 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6299 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6300 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6303 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
6307 if (unlikely(var_n_id
== NULL
)) {
6308 if(catchStack
.cursor
>= 0){
6309 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6311 PRINT_ERROR("Runtime error: %s", "Cast failed");
6312 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5213);
6315 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
= var_n_id
; /* _n_id on <self:AAttrAssignExpr> */
6316 if (var_n_id
== NULL
) {
6317 if(catchStack
.cursor
>= 0){
6318 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6320 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6321 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5214);
6324 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TAttrid> */
6325 if (unlikely(var_n_id
== NULL
)) {
6326 if(catchStack
.cursor
>= 0){
6327 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6329 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6330 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6333 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TAttrid> */
6337 if (unlikely(var_n_assign
== NULL
)) {
6338 if(catchStack
.cursor
>= 0){
6339 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6341 PRINT_ERROR("Runtime error: %s", "Cast failed");
6342 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5215);
6345 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
= var_n_assign
; /* _n_assign on <self:AAttrAssignExpr> */
6346 if (var_n_assign
== NULL
) {
6347 if(catchStack
.cursor
>= 0){
6348 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6350 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6351 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5216);
6354 { /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on <var_n_assign:nullable TAssign> */
6355 if (unlikely(var_n_assign
== NULL
)) {
6356 if(catchStack
.cursor
>= 0){
6357 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6359 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6360 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6363 var_n_assign
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign:nullable TAssign> */
6367 if (unlikely(var_n_value
== NULL
)) {
6368 if(catchStack
.cursor
>= 0){
6369 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6371 PRINT_ERROR("Runtime error: %s", "Cast failed");
6372 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5217);
6375 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
= var_n_value
; /* _n_value on <self:AAttrAssignExpr> */
6376 if (var_n_value
== NULL
) {
6377 if(catchStack
.cursor
>= 0){
6378 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6380 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6381 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5218);
6384 { /* Inline parser_nodes$ANode$parent= (var_n_value,self) on <var_n_value:nullable AExpr> */
6385 if (unlikely(var_n_value
== NULL
)) {
6386 if(catchStack
.cursor
>= 0){
6387 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6389 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6390 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6393 var_n_value
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_value:nullable AExpr> */
6399 /* method parser_prod$AAttrAssignExpr$replace_child for (self: AAttrAssignExpr, ANode, nullable ANode) */
6400 void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6401 val
* var_old_child
/* var old_child: ANode */;
6402 val
* var_new_child
/* var new_child: nullable ANode */;
6403 val
* var
/* : AExpr */;
6404 short int var1
/* : Bool */;
6405 val
* var_other
/* var other: nullable Object */;
6406 short int var3
/* : Bool */;
6407 short int var5
/* : Bool */;
6408 short int var6
/* : Bool */;
6411 const char* var_class_name
;
6412 val
* var7
/* : TAttrid */;
6413 short int var8
/* : Bool */;
6414 short int var10
/* : Bool */;
6415 short int var12
/* : Bool */;
6416 short int var13
/* : Bool */;
6419 const char* var_class_name16
;
6420 val
* var17
/* : TAssign */;
6421 short int var18
/* : Bool */;
6422 short int var20
/* : Bool */;
6423 short int var22
/* : Bool */;
6424 short int var23
/* : Bool */;
6427 const char* var_class_name26
;
6428 val
* var27
/* : AExpr */;
6429 short int var28
/* : Bool */;
6430 short int var30
/* : Bool */;
6431 short int var32
/* : Bool */;
6432 short int var33
/* : Bool */;
6435 const char* var_class_name36
;
6438 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
; /* _n_expr on <self:AAttrAssignExpr> */
6439 if (unlikely(var
== NULL
)) {
6440 if(catchStack
.cursor
>= 0){
6441 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6443 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
6444 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5223);
6448 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
6449 var_other
= var_old_child
;
6451 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
6452 var5
= var
== var_other
;
6464 /* <var_new_child:nullable ANode> isa AExpr */
6465 cltype
= type_nitc__AExpr
.color
;
6466 idtype
= type_nitc__AExpr
.id
;
6467 if(var_new_child
== NULL
) {
6470 if(cltype
>= var_new_child
->type
->table_size
) {
6473 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6476 if (unlikely(!var6
)) {
6477 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6478 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
6479 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5224);
6483 nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrAssignExpr$n_expr= on <self:AAttrAssignExpr>*/
6488 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
; /* _n_id on <self:AAttrAssignExpr> */
6489 if (unlikely(var7
== NULL
)) {
6490 if(catchStack
.cursor
>= 0){
6491 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6493 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6494 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5227);
6498 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TAttrid> */
6499 var_other
= var_old_child
;
6501 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TAttrid> */
6502 var12
= var7
== var_other
;
6505 RET_LABEL11
:(void)0;
6514 /* <var_new_child:nullable ANode> isa TAttrid */
6515 cltype14
= type_nitc__TAttrid
.color
;
6516 idtype15
= type_nitc__TAttrid
.id
;
6517 if(var_new_child
== NULL
) {
6520 if(cltype14
>= var_new_child
->type
->table_size
) {
6523 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
6526 if (unlikely(!var13
)) {
6527 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6528 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16
);
6529 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5228);
6533 nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrAssignExpr$n_id= on <self:AAttrAssignExpr>*/
6538 var17
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
; /* _n_assign on <self:AAttrAssignExpr> */
6539 if (unlikely(var17
== NULL
)) {
6540 if(catchStack
.cursor
>= 0){
6541 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6543 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
6544 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5231);
6548 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:TAssign> */
6549 var_other
= var_old_child
;
6551 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:TAssign> */
6552 var22
= var17
== var_other
;
6555 RET_LABEL21
:(void)0;
6560 RET_LABEL19
:(void)0;
6564 /* <var_new_child:nullable ANode> isa TAssign */
6565 cltype24
= type_nitc__TAssign
.color
;
6566 idtype25
= type_nitc__TAssign
.id
;
6567 if(var_new_child
== NULL
) {
6570 if(cltype24
>= var_new_child
->type
->table_size
) {
6573 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
6576 if (unlikely(!var23
)) {
6577 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6578 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name26
);
6579 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5232);
6583 nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrAssignExpr$n_assign= on <self:AAttrAssignExpr>*/
6588 var27
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
; /* _n_value on <self:AAttrAssignExpr> */
6589 if (unlikely(var27
== NULL
)) {
6590 if(catchStack
.cursor
>= 0){
6591 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6593 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
6594 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5235);
6598 { /* Inline kernel$Object$== (var27,var_old_child) on <var27:AExpr> */
6599 var_other
= var_old_child
;
6601 { /* Inline kernel$Object$is_same_instance (var27,var_other) on <var27:AExpr> */
6602 var32
= var27
== var_other
;
6605 RET_LABEL31
:(void)0;
6610 RET_LABEL29
:(void)0;
6614 /* <var_new_child:nullable ANode> isa AExpr */
6615 cltype34
= type_nitc__AExpr
.color
;
6616 idtype35
= type_nitc__AExpr
.id
;
6617 if(var_new_child
== NULL
) {
6620 if(cltype34
>= var_new_child
->type
->table_size
) {
6623 var33
= var_new_child
->type
->type_table
[cltype34
] == idtype35
;
6626 if (unlikely(!var33
)) {
6627 var_class_name36
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6628 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36
);
6629 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5236);
6633 nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrAssignExpr$n_value= on <self:AAttrAssignExpr>*/
6640 /* method parser_prod$AAttrAssignExpr$n_expr= for (self: AAttrAssignExpr, AExpr) */
6641 void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val
* self
, val
* p0
) {
6642 val
* var_node
/* var node: AExpr */;
6644 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AAttrAssignExpr> */
6646 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
6647 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
6653 /* method parser_prod$AAttrAssignExpr$n_id= for (self: AAttrAssignExpr, TAttrid) */
6654 void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val
* self
, val
* p0
) {
6655 val
* var_node
/* var node: TAttrid */;
6657 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
= var_node
; /* _n_id on <self:AAttrAssignExpr> */
6659 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TAttrid> */
6660 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TAttrid> */
6666 /* method parser_prod$AAttrAssignExpr$n_assign= for (self: AAttrAssignExpr, TAssign) */
6667 void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val
* self
, val
* p0
) {
6668 val
* var_node
/* var node: TAssign */;
6670 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
= var_node
; /* _n_assign on <self:AAttrAssignExpr> */
6672 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TAssign> */
6673 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TAssign> */
6679 /* method parser_prod$AAttrAssignExpr$n_value= for (self: AAttrAssignExpr, AExpr) */
6680 void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val
* self
, val
* p0
) {
6681 val
* var_node
/* var node: AExpr */;
6683 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
= var_node
; /* _n_value on <self:AAttrAssignExpr> */
6685 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
6686 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
6692 /* method parser_prod$AAttrAssignExpr$visit_all for (self: AAttrAssignExpr, Visitor) */
6693 void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6694 val
* var_v
/* var v: Visitor */;
6695 val
* var
/* : AExpr */;
6696 val
* var1
/* : TAttrid */;
6697 val
* var2
/* : TAssign */;
6698 val
* var3
/* : AExpr */;
6700 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
; /* _n_expr on <self:AAttrAssignExpr> */
6701 if (unlikely(var
== NULL
)) {
6702 if(catchStack
.cursor
>= 0){
6703 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6705 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
6706 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5265);
6710 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6712 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
; /* _n_id on <self:AAttrAssignExpr> */
6713 if (unlikely(var1
== NULL
)) {
6714 if(catchStack
.cursor
>= 0){
6715 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6717 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6718 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5266);
6722 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6724 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
; /* _n_assign on <self:AAttrAssignExpr> */
6725 if (unlikely(var2
== NULL
)) {
6726 if(catchStack
.cursor
>= 0){
6727 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6729 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
6730 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5267);
6734 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6736 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
; /* _n_value on <self:AAttrAssignExpr> */
6737 if (unlikely(var3
== NULL
)) {
6738 if(catchStack
.cursor
>= 0){
6739 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6741 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
6742 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5268);
6746 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6750 /* method parser_prod$AAttrReassignExpr$init_aattrreassignexpr for (self: AAttrReassignExpr, nullable AExpr, nullable TAttrid, nullable AAssignOp, nullable AExpr) */
6751 void nitc__parser_prod___AAttrReassignExpr___init_aattrreassignexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
6752 val
* var_n_expr
/* var n_expr: nullable AExpr */;
6753 val
* var_n_id
/* var n_id: nullable TAttrid */;
6754 val
* var_n_assign_op
/* var n_assign_op: nullable AAssignOp */;
6755 val
* var_n_value
/* var n_value: nullable AExpr */;
6757 { /* Inline kernel$Object$init (self) on <self:AAttrReassignExpr> */
6763 var_n_assign_op
= p2
;
6765 if (unlikely(var_n_expr
== NULL
)) {
6766 if(catchStack
.cursor
>= 0){
6767 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6769 PRINT_ERROR("Runtime error: %s", "Cast failed");
6770 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5279);
6773 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AAttrReassignExpr> */
6774 if (var_n_expr
== NULL
) {
6775 if(catchStack
.cursor
>= 0){
6776 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6778 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6779 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5280);
6782 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
6783 if (unlikely(var_n_expr
== NULL
)) {
6784 if(catchStack
.cursor
>= 0){
6785 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6787 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6788 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6791 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
6795 if (unlikely(var_n_id
== NULL
)) {
6796 if(catchStack
.cursor
>= 0){
6797 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6799 PRINT_ERROR("Runtime error: %s", "Cast failed");
6800 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5281);
6803 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
= var_n_id
; /* _n_id on <self:AAttrReassignExpr> */
6804 if (var_n_id
== NULL
) {
6805 if(catchStack
.cursor
>= 0){
6806 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6808 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6809 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5282);
6812 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TAttrid> */
6813 if (unlikely(var_n_id
== NULL
)) {
6814 if(catchStack
.cursor
>= 0){
6815 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6817 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6818 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6821 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TAttrid> */
6825 if (unlikely(var_n_assign_op
== NULL
)) {
6826 if(catchStack
.cursor
>= 0){
6827 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6829 PRINT_ERROR("Runtime error: %s", "Cast failed");
6830 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5283);
6833 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
= var_n_assign_op
; /* _n_assign_op on <self:AAttrReassignExpr> */
6834 if (var_n_assign_op
== NULL
) {
6835 if(catchStack
.cursor
>= 0){
6836 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6838 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6839 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5284);
6842 { /* Inline parser_nodes$ANode$parent= (var_n_assign_op,self) on <var_n_assign_op:nullable AAssignOp> */
6843 if (unlikely(var_n_assign_op
== NULL
)) {
6844 if(catchStack
.cursor
>= 0){
6845 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6847 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6848 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6851 var_n_assign_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign_op:nullable AAssignOp> */
6855 if (unlikely(var_n_value
== NULL
)) {
6856 if(catchStack
.cursor
>= 0){
6857 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6859 PRINT_ERROR("Runtime error: %s", "Cast failed");
6860 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5285);
6863 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
= var_n_value
; /* _n_value on <self:AAttrReassignExpr> */
6864 if (var_n_value
== NULL
) {
6865 if(catchStack
.cursor
>= 0){
6866 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6868 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6869 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5286);
6872 { /* Inline parser_nodes$ANode$parent= (var_n_value,self) on <var_n_value:nullable AExpr> */
6873 if (unlikely(var_n_value
== NULL
)) {
6874 if(catchStack
.cursor
>= 0){
6875 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6877 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6878 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6881 var_n_value
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_value:nullable AExpr> */
6887 /* method parser_prod$AAttrReassignExpr$replace_child for (self: AAttrReassignExpr, ANode, nullable ANode) */
6888 void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6889 val
* var_old_child
/* var old_child: ANode */;
6890 val
* var_new_child
/* var new_child: nullable ANode */;
6891 val
* var
/* : AExpr */;
6892 short int var1
/* : Bool */;
6893 val
* var_other
/* var other: nullable Object */;
6894 short int var3
/* : Bool */;
6895 short int var5
/* : Bool */;
6896 short int var6
/* : Bool */;
6899 const char* var_class_name
;
6900 val
* var7
/* : TAttrid */;
6901 short int var8
/* : Bool */;
6902 short int var10
/* : Bool */;
6903 short int var12
/* : Bool */;
6904 short int var13
/* : Bool */;
6907 const char* var_class_name16
;
6908 val
* var17
/* : AAssignOp */;
6909 short int var18
/* : Bool */;
6910 short int var20
/* : Bool */;
6911 short int var22
/* : Bool */;
6912 short int var23
/* : Bool */;
6915 const char* var_class_name26
;
6916 val
* var27
/* : AExpr */;
6917 short int var28
/* : Bool */;
6918 short int var30
/* : Bool */;
6919 short int var32
/* : Bool */;
6920 short int var33
/* : Bool */;
6923 const char* var_class_name36
;
6926 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
; /* _n_expr on <self:AAttrReassignExpr> */
6927 if (unlikely(var
== NULL
)) {
6928 if(catchStack
.cursor
>= 0){
6929 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6931 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
6932 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5291);
6936 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
6937 var_other
= var_old_child
;
6939 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
6940 var5
= var
== var_other
;
6952 /* <var_new_child:nullable ANode> isa AExpr */
6953 cltype
= type_nitc__AExpr
.color
;
6954 idtype
= type_nitc__AExpr
.id
;
6955 if(var_new_child
== NULL
) {
6958 if(cltype
>= var_new_child
->type
->table_size
) {
6961 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6964 if (unlikely(!var6
)) {
6965 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6966 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
6967 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5292);
6971 nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrReassignExpr$n_expr= on <self:AAttrReassignExpr>*/
6976 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
; /* _n_id on <self:AAttrReassignExpr> */
6977 if (unlikely(var7
== NULL
)) {
6978 if(catchStack
.cursor
>= 0){
6979 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6981 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6982 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5295);
6986 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TAttrid> */
6987 var_other
= var_old_child
;
6989 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TAttrid> */
6990 var12
= var7
== var_other
;
6993 RET_LABEL11
:(void)0;
7002 /* <var_new_child:nullable ANode> isa TAttrid */
7003 cltype14
= type_nitc__TAttrid
.color
;
7004 idtype15
= type_nitc__TAttrid
.id
;
7005 if(var_new_child
== NULL
) {
7008 if(cltype14
>= var_new_child
->type
->table_size
) {
7011 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
7014 if (unlikely(!var13
)) {
7015 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7016 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16
);
7017 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5296);
7021 nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrReassignExpr$n_id= on <self:AAttrReassignExpr>*/
7026 var17
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
; /* _n_assign_op on <self:AAttrReassignExpr> */
7027 if (unlikely(var17
== NULL
)) {
7028 if(catchStack
.cursor
>= 0){
7029 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7031 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op");
7032 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5299);
7036 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AAssignOp> */
7037 var_other
= var_old_child
;
7039 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AAssignOp> */
7040 var22
= var17
== var_other
;
7043 RET_LABEL21
:(void)0;
7048 RET_LABEL19
:(void)0;
7052 /* <var_new_child:nullable ANode> isa AAssignOp */
7053 cltype24
= type_nitc__AAssignOp
.color
;
7054 idtype25
= type_nitc__AAssignOp
.id
;
7055 if(var_new_child
== NULL
) {
7058 if(cltype24
>= var_new_child
->type
->table_size
) {
7061 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
7064 if (unlikely(!var23
)) {
7065 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7066 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name26
);
7067 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5300);
7071 nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrReassignExpr$n_assign_op= on <self:AAttrReassignExpr>*/
7076 var27
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
; /* _n_value on <self:AAttrReassignExpr> */
7077 if (unlikely(var27
== NULL
)) {
7078 if(catchStack
.cursor
>= 0){
7079 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7081 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
7082 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5303);
7086 { /* Inline kernel$Object$== (var27,var_old_child) on <var27:AExpr> */
7087 var_other
= var_old_child
;
7089 { /* Inline kernel$Object$is_same_instance (var27,var_other) on <var27:AExpr> */
7090 var32
= var27
== var_other
;
7093 RET_LABEL31
:(void)0;
7098 RET_LABEL29
:(void)0;
7102 /* <var_new_child:nullable ANode> isa AExpr */
7103 cltype34
= type_nitc__AExpr
.color
;
7104 idtype35
= type_nitc__AExpr
.id
;
7105 if(var_new_child
== NULL
) {
7108 if(cltype34
>= var_new_child
->type
->table_size
) {
7111 var33
= var_new_child
->type
->type_table
[cltype34
] == idtype35
;
7114 if (unlikely(!var33
)) {
7115 var_class_name36
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7116 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36
);
7117 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5304);
7121 nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self
, var_new_child
); /* Direct call parser_prod$AAttrReassignExpr$n_value= on <self:AAttrReassignExpr>*/
7128 /* method parser_prod$AAttrReassignExpr$n_expr= for (self: AAttrReassignExpr, AExpr) */
7129 void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val
* self
, val
* p0
) {
7130 val
* var_node
/* var node: AExpr */;
7132 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AAttrReassignExpr> */
7134 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
7135 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
7141 /* method parser_prod$AAttrReassignExpr$n_id= for (self: AAttrReassignExpr, TAttrid) */
7142 void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val
* self
, val
* p0
) {
7143 val
* var_node
/* var node: TAttrid */;
7145 self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
= var_node
; /* _n_id on <self:AAttrReassignExpr> */
7147 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TAttrid> */
7148 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TAttrid> */
7154 /* method parser_prod$AAttrReassignExpr$n_assign_op= for (self: AAttrReassignExpr, AAssignOp) */
7155 void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val
* self
, val
* p0
) {
7156 val
* var_node
/* var node: AAssignOp */;
7158 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
= var_node
; /* _n_assign_op on <self:AAttrReassignExpr> */
7160 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AAssignOp> */
7161 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AAssignOp> */
7167 /* method parser_prod$AAttrReassignExpr$n_value= for (self: AAttrReassignExpr, AExpr) */
7168 void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val
* self
, val
* p0
) {
7169 val
* var_node
/* var node: AExpr */;
7171 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
= var_node
; /* _n_value on <self:AAttrReassignExpr> */
7173 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
7174 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
7180 /* method parser_prod$AAttrReassignExpr$visit_all for (self: AAttrReassignExpr, Visitor) */
7181 void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
7182 val
* var_v
/* var v: Visitor */;
7183 val
* var
/* : AExpr */;
7184 val
* var1
/* : TAttrid */;
7185 val
* var2
/* : AAssignOp */;
7186 val
* var3
/* : AExpr */;
7188 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr
].val
; /* _n_expr on <self:AAttrReassignExpr> */
7189 if (unlikely(var
== NULL
)) {
7190 if(catchStack
.cursor
>= 0){
7191 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7193 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
7194 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5333);
7198 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7200 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id
].val
; /* _n_id on <self:AAttrReassignExpr> */
7201 if (unlikely(var1
== NULL
)) {
7202 if(catchStack
.cursor
>= 0){
7203 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7205 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
7206 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5334);
7210 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7212 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
; /* _n_assign_op on <self:AAttrReassignExpr> */
7213 if (unlikely(var2
== NULL
)) {
7214 if(catchStack
.cursor
>= 0){
7215 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7217 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op");
7218 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5335);
7222 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7224 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
; /* _n_value on <self:AAttrReassignExpr> */
7225 if (unlikely(var3
== NULL
)) {
7226 if(catchStack
.cursor
>= 0){
7227 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7229 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
7230 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5336);
7234 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7238 /* method parser_prod$ACallExpr$init_acallexpr for (self: ACallExpr, nullable AExpr, nullable AQid, nullable AExprs) */
7239 void nitc__parser_prod___ACallExpr___init_acallexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
7240 val
* var_n_expr
/* var n_expr: nullable AExpr */;
7241 val
* var_n_qid
/* var n_qid: nullable AQid */;
7242 val
* var_n_args
/* var n_args: nullable AExprs */;
7244 { /* Inline kernel$Object$init (self) on <self:ACallExpr> */
7251 if (unlikely(var_n_expr
== NULL
)) {
7252 if(catchStack
.cursor
>= 0){
7253 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7255 PRINT_ERROR("Runtime error: %s", "Cast failed");
7256 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5346);
7259 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:ACallExpr> */
7260 if (var_n_expr
== NULL
) {
7261 if(catchStack
.cursor
>= 0){
7262 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7264 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7265 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5347);
7268 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
7269 if (unlikely(var_n_expr
== NULL
)) {
7270 if(catchStack
.cursor
>= 0){
7271 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7273 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7274 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7277 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
7281 if (unlikely(var_n_qid
== NULL
)) {
7282 if(catchStack
.cursor
>= 0){
7283 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7285 PRINT_ERROR("Runtime error: %s", "Cast failed");
7286 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5348);
7289 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
= var_n_qid
; /* _n_qid on <self:ACallExpr> */
7290 if (var_n_qid
== NULL
) {
7291 if(catchStack
.cursor
>= 0){
7292 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7294 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7295 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5349);
7298 { /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on <var_n_qid:nullable AQid> */
7299 if (unlikely(var_n_qid
== NULL
)) {
7300 if(catchStack
.cursor
>= 0){
7301 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7303 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7304 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7307 var_n_qid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qid:nullable AQid> */
7311 if (unlikely(var_n_args
== NULL
)) {
7312 if(catchStack
.cursor
>= 0){
7313 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7315 PRINT_ERROR("Runtime error: %s", "Cast failed");
7316 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5350);
7319 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
= var_n_args
; /* _n_args on <self:ACallExpr> */
7320 if (var_n_args
== NULL
) {
7321 if(catchStack
.cursor
>= 0){
7322 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7324 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7325 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5351);
7328 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
7329 if (unlikely(var_n_args
== NULL
)) {
7330 if(catchStack
.cursor
>= 0){
7331 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7333 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7334 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7337 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
7343 /* method parser_prod$ACallExpr$replace_child for (self: ACallExpr, ANode, nullable ANode) */
7344 void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
7345 val
* var_old_child
/* var old_child: ANode */;
7346 val
* var_new_child
/* var new_child: nullable ANode */;
7347 val
* var
/* : AExpr */;
7348 short int var1
/* : Bool */;
7349 val
* var_other
/* var other: nullable Object */;
7350 short int var3
/* : Bool */;
7351 short int var5
/* : Bool */;
7352 short int var6
/* : Bool */;
7355 const char* var_class_name
;
7356 val
* var7
/* : AQid */;
7357 short int var8
/* : Bool */;
7358 short int var10
/* : Bool */;
7359 short int var12
/* : Bool */;
7360 short int var13
/* : Bool */;
7363 const char* var_class_name16
;
7364 val
* var17
/* : AExprs */;
7365 short int var18
/* : Bool */;
7366 short int var20
/* : Bool */;
7367 short int var22
/* : Bool */;
7368 short int var23
/* : Bool */;
7371 const char* var_class_name26
;
7374 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACallExpr> */
7375 if (unlikely(var
== NULL
)) {
7376 if(catchStack
.cursor
>= 0){
7377 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7379 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
7380 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5356);
7384 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
7385 var_other
= var_old_child
;
7387 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
7388 var5
= var
== var_other
;
7400 /* <var_new_child:nullable ANode> isa AExpr */
7401 cltype
= type_nitc__AExpr
.color
;
7402 idtype
= type_nitc__AExpr
.id
;
7403 if(var_new_child
== NULL
) {
7406 if(cltype
>= var_new_child
->type
->table_size
) {
7409 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
7412 if (unlikely(!var6
)) {
7413 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7414 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
7415 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5357);
7419 nitc__parser_prod___ACallExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$ACallExpr$n_expr= on <self:ACallExpr>*/
7424 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
; /* _n_qid on <self:ACallExpr> */
7425 if (unlikely(var7
== NULL
)) {
7426 if(catchStack
.cursor
>= 0){
7427 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7429 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7430 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5360);
7434 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AQid> */
7435 var_other
= var_old_child
;
7437 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AQid> */
7438 var12
= var7
== var_other
;
7441 RET_LABEL11
:(void)0;
7450 /* <var_new_child:nullable ANode> isa AQid */
7451 cltype14
= type_nitc__AQid
.color
;
7452 idtype15
= type_nitc__AQid
.id
;
7453 if(var_new_child
== NULL
) {
7456 if(cltype14
>= var_new_child
->type
->table_size
) {
7459 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
7462 if (unlikely(!var13
)) {
7463 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7464 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16
);
7465 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5361);
7469 nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self
, var_new_child
); /* Direct call parser_prod$ACallExpr$n_qid= on <self:ACallExpr>*/
7474 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
; /* _n_args on <self:ACallExpr> */
7475 if (unlikely(var17
== NULL
)) {
7476 if(catchStack
.cursor
>= 0){
7477 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7479 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
7480 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5364);
7484 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExprs> */
7485 var_other
= var_old_child
;
7487 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExprs> */
7488 var22
= var17
== var_other
;
7491 RET_LABEL21
:(void)0;
7496 RET_LABEL19
:(void)0;
7500 /* <var_new_child:nullable ANode> isa AExprs */
7501 cltype24
= type_nitc__AExprs
.color
;
7502 idtype25
= type_nitc__AExprs
.id
;
7503 if(var_new_child
== NULL
) {
7506 if(cltype24
>= var_new_child
->type
->table_size
) {
7509 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
7512 if (unlikely(!var23
)) {
7513 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7514 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26
);
7515 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5365);
7519 nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self
, var_new_child
); /* Direct call parser_prod$ACallExpr$n_args= on <self:ACallExpr>*/
7526 /* method parser_prod$ACallExpr$n_expr= for (self: ACallExpr, AExpr) */
7527 void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
7528 val
* var_node
/* var node: AExpr */;
7530 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:ACallExpr> */
7532 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
7533 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
7539 /* method parser_prod$ACallExpr$n_qid= for (self: ACallExpr, AQid) */
7540 void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val
* self
, val
* p0
) {
7541 val
* var_node
/* var node: AQid */;
7543 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
= var_node
; /* _n_qid on <self:ACallExpr> */
7545 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AQid> */
7546 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AQid> */
7552 /* method parser_prod$ACallExpr$n_args= for (self: ACallExpr, AExprs) */
7553 void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val
* self
, val
* p0
) {
7554 val
* var_node
/* var node: AExprs */;
7556 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
= var_node
; /* _n_args on <self:ACallExpr> */
7558 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExprs> */
7559 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExprs> */
7565 /* method parser_prod$ACallExpr$visit_all for (self: ACallExpr, Visitor) */
7566 void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
7567 val
* var_v
/* var v: Visitor */;
7568 val
* var
/* : AExpr */;
7569 val
* var1
/* : AQid */;
7570 val
* var2
/* : AExprs */;
7572 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACallExpr> */
7573 if (unlikely(var
== NULL
)) {
7574 if(catchStack
.cursor
>= 0){
7575 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7577 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
7578 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5389);
7582 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7584 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
; /* _n_qid on <self:ACallExpr> */
7585 if (unlikely(var1
== NULL
)) {
7586 if(catchStack
.cursor
>= 0){
7587 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7589 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7590 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5390);
7594 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7596 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
; /* _n_args on <self:ACallExpr> */
7597 if (unlikely(var2
== NULL
)) {
7598 if(catchStack
.cursor
>= 0){
7599 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7601 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
7602 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5391);
7606 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7610 /* method parser_prod$ACallAssignExpr$init_acallassignexpr for (self: ACallAssignExpr, nullable AExpr, nullable AQid, nullable AExprs, nullable TAssign, nullable AExpr) */
7611 void nitc__parser_prod___ACallAssignExpr___init_acallassignexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
) {
7612 val
* var_n_expr
/* var n_expr: nullable AExpr */;
7613 val
* var_n_qid
/* var n_qid: nullable AQid */;
7614 val
* var_n_args
/* var n_args: nullable AExprs */;
7615 val
* var_n_assign
/* var n_assign: nullable TAssign */;
7616 val
* var_n_value
/* var n_value: nullable AExpr */;
7618 { /* Inline kernel$Object$init (self) on <self:ACallAssignExpr> */
7627 if (unlikely(var_n_expr
== NULL
)) {
7628 if(catchStack
.cursor
>= 0){
7629 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7631 PRINT_ERROR("Runtime error: %s", "Cast failed");
7632 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5403);
7635 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:ACallAssignExpr> */
7636 if (var_n_expr
== NULL
) {
7637 if(catchStack
.cursor
>= 0){
7638 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7640 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7641 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5404);
7644 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
7645 if (unlikely(var_n_expr
== NULL
)) {
7646 if(catchStack
.cursor
>= 0){
7647 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7649 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7650 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7653 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
7657 if (unlikely(var_n_qid
== NULL
)) {
7658 if(catchStack
.cursor
>= 0){
7659 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7661 PRINT_ERROR("Runtime error: %s", "Cast failed");
7662 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5405);
7665 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
= var_n_qid
; /* _n_qid on <self:ACallAssignExpr> */
7666 if (var_n_qid
== NULL
) {
7667 if(catchStack
.cursor
>= 0){
7668 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7670 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7671 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5406);
7674 { /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on <var_n_qid:nullable AQid> */
7675 if (unlikely(var_n_qid
== NULL
)) {
7676 if(catchStack
.cursor
>= 0){
7677 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7679 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7680 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7683 var_n_qid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qid:nullable AQid> */
7687 if (unlikely(var_n_args
== NULL
)) {
7688 if(catchStack
.cursor
>= 0){
7689 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7691 PRINT_ERROR("Runtime error: %s", "Cast failed");
7692 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5407);
7695 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
= var_n_args
; /* _n_args on <self:ACallAssignExpr> */
7696 if (var_n_args
== NULL
) {
7697 if(catchStack
.cursor
>= 0){
7698 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7700 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7701 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5408);
7704 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
7705 if (unlikely(var_n_args
== NULL
)) {
7706 if(catchStack
.cursor
>= 0){
7707 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7709 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7710 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7713 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
7717 if (unlikely(var_n_assign
== NULL
)) {
7718 if(catchStack
.cursor
>= 0){
7719 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7721 PRINT_ERROR("Runtime error: %s", "Cast failed");
7722 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5409);
7725 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
= var_n_assign
; /* _n_assign on <self:ACallAssignExpr> */
7726 if (var_n_assign
== NULL
) {
7727 if(catchStack
.cursor
>= 0){
7728 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7730 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7731 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5410);
7734 { /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on <var_n_assign:nullable TAssign> */
7735 if (unlikely(var_n_assign
== NULL
)) {
7736 if(catchStack
.cursor
>= 0){
7737 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7739 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7740 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7743 var_n_assign
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign:nullable TAssign> */
7747 if (unlikely(var_n_value
== NULL
)) {
7748 if(catchStack
.cursor
>= 0){
7749 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7751 PRINT_ERROR("Runtime error: %s", "Cast failed");
7752 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5411);
7755 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
= var_n_value
; /* _n_value on <self:ACallAssignExpr> */
7756 if (var_n_value
== NULL
) {
7757 if(catchStack
.cursor
>= 0){
7758 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7760 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7761 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5412);
7764 { /* Inline parser_nodes$ANode$parent= (var_n_value,self) on <var_n_value:nullable AExpr> */
7765 if (unlikely(var_n_value
== NULL
)) {
7766 if(catchStack
.cursor
>= 0){
7767 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7769 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7770 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7773 var_n_value
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_value:nullable AExpr> */
7779 /* method parser_prod$ACallAssignExpr$replace_child for (self: ACallAssignExpr, ANode, nullable ANode) */
7780 void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
7781 val
* var_old_child
/* var old_child: ANode */;
7782 val
* var_new_child
/* var new_child: nullable ANode */;
7783 val
* var
/* : AExpr */;
7784 short int var1
/* : Bool */;
7785 val
* var_other
/* var other: nullable Object */;
7786 short int var3
/* : Bool */;
7787 short int var5
/* : Bool */;
7788 short int var6
/* : Bool */;
7791 const char* var_class_name
;
7792 val
* var7
/* : AQid */;
7793 short int var8
/* : Bool */;
7794 short int var10
/* : Bool */;
7795 short int var12
/* : Bool */;
7796 short int var13
/* : Bool */;
7799 const char* var_class_name16
;
7800 val
* var17
/* : AExprs */;
7801 short int var18
/* : Bool */;
7802 short int var20
/* : Bool */;
7803 short int var22
/* : Bool */;
7804 short int var23
/* : Bool */;
7807 const char* var_class_name26
;
7808 val
* var27
/* : TAssign */;
7809 short int var28
/* : Bool */;
7810 short int var30
/* : Bool */;
7811 short int var32
/* : Bool */;
7812 short int var33
/* : Bool */;
7815 const char* var_class_name36
;
7816 val
* var37
/* : AExpr */;
7817 short int var38
/* : Bool */;
7818 short int var40
/* : Bool */;
7819 short int var42
/* : Bool */;
7820 short int var43
/* : Bool */;
7823 const char* var_class_name46
;
7826 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACallAssignExpr> */
7827 if (unlikely(var
== NULL
)) {
7828 if(catchStack
.cursor
>= 0){
7829 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7831 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
7832 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5417);
7836 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
7837 var_other
= var_old_child
;
7839 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
7840 var5
= var
== var_other
;
7852 /* <var_new_child:nullable ANode> isa AExpr */
7853 cltype
= type_nitc__AExpr
.color
;
7854 idtype
= type_nitc__AExpr
.id
;
7855 if(var_new_child
== NULL
) {
7858 if(cltype
>= var_new_child
->type
->table_size
) {
7861 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
7864 if (unlikely(!var6
)) {
7865 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7866 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
7867 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5418);
7871 nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$ACallAssignExpr$n_expr= on <self:ACallAssignExpr>*/
7876 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
; /* _n_qid on <self:ACallAssignExpr> */
7877 if (unlikely(var7
== NULL
)) {
7878 if(catchStack
.cursor
>= 0){
7879 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7881 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7882 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5421);
7886 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AQid> */
7887 var_other
= var_old_child
;
7889 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AQid> */
7890 var12
= var7
== var_other
;
7893 RET_LABEL11
:(void)0;
7902 /* <var_new_child:nullable ANode> isa AQid */
7903 cltype14
= type_nitc__AQid
.color
;
7904 idtype15
= type_nitc__AQid
.id
;
7905 if(var_new_child
== NULL
) {
7908 if(cltype14
>= var_new_child
->type
->table_size
) {
7911 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
7914 if (unlikely(!var13
)) {
7915 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7916 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16
);
7917 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5422);
7921 nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self
, var_new_child
); /* Direct call parser_prod$ACallAssignExpr$n_qid= on <self:ACallAssignExpr>*/
7926 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
; /* _n_args on <self:ACallAssignExpr> */
7927 if (unlikely(var17
== NULL
)) {
7928 if(catchStack
.cursor
>= 0){
7929 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7931 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
7932 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5425);
7936 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExprs> */
7937 var_other
= var_old_child
;
7939 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExprs> */
7940 var22
= var17
== var_other
;
7943 RET_LABEL21
:(void)0;
7948 RET_LABEL19
:(void)0;
7952 /* <var_new_child:nullable ANode> isa AExprs */
7953 cltype24
= type_nitc__AExprs
.color
;
7954 idtype25
= type_nitc__AExprs
.id
;
7955 if(var_new_child
== NULL
) {
7958 if(cltype24
>= var_new_child
->type
->table_size
) {
7961 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
7964 if (unlikely(!var23
)) {
7965 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7966 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26
);
7967 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5426);
7971 nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self
, var_new_child
); /* Direct call parser_prod$ACallAssignExpr$n_args= on <self:ACallAssignExpr>*/
7976 var27
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
; /* _n_assign on <self:ACallAssignExpr> */
7977 if (unlikely(var27
== NULL
)) {
7978 if(catchStack
.cursor
>= 0){
7979 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7981 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
7982 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5429);
7986 { /* Inline kernel$Object$== (var27,var_old_child) on <var27:TAssign> */
7987 var_other
= var_old_child
;
7989 { /* Inline kernel$Object$is_same_instance (var27,var_other) on <var27:TAssign> */
7990 var32
= var27
== var_other
;
7993 RET_LABEL31
:(void)0;
7998 RET_LABEL29
:(void)0;
8002 /* <var_new_child:nullable ANode> isa TAssign */
8003 cltype34
= type_nitc__TAssign
.color
;
8004 idtype35
= type_nitc__TAssign
.id
;
8005 if(var_new_child
== NULL
) {
8008 if(cltype34
>= var_new_child
->type
->table_size
) {
8011 var33
= var_new_child
->type
->type_table
[cltype34
] == idtype35
;
8014 if (unlikely(!var33
)) {
8015 var_class_name36
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8016 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name36
);
8017 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5430);
8021 nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self
, var_new_child
); /* Direct call parser_prod$ACallAssignExpr$n_assign= on <self:ACallAssignExpr>*/
8026 var37
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
; /* _n_value on <self:ACallAssignExpr> */
8027 if (unlikely(var37
== NULL
)) {
8028 if(catchStack
.cursor
>= 0){
8029 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8031 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
8032 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5433);
8036 { /* Inline kernel$Object$== (var37,var_old_child) on <var37:AExpr> */
8037 var_other
= var_old_child
;
8039 { /* Inline kernel$Object$is_same_instance (var37,var_other) on <var37:AExpr> */
8040 var42
= var37
== var_other
;
8043 RET_LABEL41
:(void)0;
8048 RET_LABEL39
:(void)0;
8052 /* <var_new_child:nullable ANode> isa AExpr */
8053 cltype44
= type_nitc__AExpr
.color
;
8054 idtype45
= type_nitc__AExpr
.id
;
8055 if(var_new_child
== NULL
) {
8058 if(cltype44
>= var_new_child
->type
->table_size
) {
8061 var43
= var_new_child
->type
->type_table
[cltype44
] == idtype45
;
8064 if (unlikely(!var43
)) {
8065 var_class_name46
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8066 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name46
);
8067 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5434);
8071 nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self
, var_new_child
); /* Direct call parser_prod$ACallAssignExpr$n_value= on <self:ACallAssignExpr>*/
8078 /* method parser_prod$ACallAssignExpr$n_expr= for (self: ACallAssignExpr, AExpr) */
8079 void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
8080 val
* var_node
/* var node: AExpr */;
8082 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:ACallAssignExpr> */
8084 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
8085 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
8091 /* method parser_prod$ACallAssignExpr$n_qid= for (self: ACallAssignExpr, AQid) */
8092 void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val
* self
, val
* p0
) {
8093 val
* var_node
/* var node: AQid */;
8095 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
= var_node
; /* _n_qid on <self:ACallAssignExpr> */
8097 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AQid> */
8098 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AQid> */
8104 /* method parser_prod$ACallAssignExpr$n_args= for (self: ACallAssignExpr, AExprs) */
8105 void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val
* self
, val
* p0
) {
8106 val
* var_node
/* var node: AExprs */;
8108 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
= var_node
; /* _n_args on <self:ACallAssignExpr> */
8110 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExprs> */
8111 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExprs> */
8117 /* method parser_prod$ACallAssignExpr$n_assign= for (self: ACallAssignExpr, TAssign) */
8118 void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val
* self
, val
* p0
) {
8119 val
* var_node
/* var node: TAssign */;
8121 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
= var_node
; /* _n_assign on <self:ACallAssignExpr> */
8123 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TAssign> */
8124 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TAssign> */
8130 /* method parser_prod$ACallAssignExpr$n_value= for (self: ACallAssignExpr, AExpr) */
8131 void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val
* self
, val
* p0
) {
8132 val
* var_node
/* var node: AExpr */;
8134 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
= var_node
; /* _n_value on <self:ACallAssignExpr> */
8136 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
8137 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
8143 /* method parser_prod$ACallAssignExpr$visit_all for (self: ACallAssignExpr, Visitor) */
8144 void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8145 val
* var_v
/* var v: Visitor */;
8146 val
* var
/* : AExpr */;
8147 val
* var1
/* : AQid */;
8148 val
* var2
/* : AExprs */;
8149 val
* var3
/* : TAssign */;
8150 val
* var4
/* : AExpr */;
8152 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACallAssignExpr> */
8153 if (unlikely(var
== NULL
)) {
8154 if(catchStack
.cursor
>= 0){
8155 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8157 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
8158 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5468);
8162 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8164 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
; /* _n_qid on <self:ACallAssignExpr> */
8165 if (unlikely(var1
== NULL
)) {
8166 if(catchStack
.cursor
>= 0){
8167 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8169 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
8170 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5469);
8174 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8176 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
; /* _n_args on <self:ACallAssignExpr> */
8177 if (unlikely(var2
== NULL
)) {
8178 if(catchStack
.cursor
>= 0){
8179 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8181 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
8182 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5470);
8186 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8188 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
; /* _n_assign on <self:ACallAssignExpr> */
8189 if (unlikely(var3
== NULL
)) {
8190 if(catchStack
.cursor
>= 0){
8191 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8193 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
8194 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5471);
8198 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8200 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
; /* _n_value on <self:ACallAssignExpr> */
8201 if (unlikely(var4
== NULL
)) {
8202 if(catchStack
.cursor
>= 0){
8203 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8205 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
8206 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5472);
8210 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8214 /* method parser_prod$ACallReassignExpr$init_acallreassignexpr for (self: ACallReassignExpr, nullable AExpr, nullable AQid, nullable AExprs, nullable AAssignOp, nullable AExpr) */
8215 void nitc__parser_prod___ACallReassignExpr___init_acallreassignexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
) {
8216 val
* var_n_expr
/* var n_expr: nullable AExpr */;
8217 val
* var_n_qid
/* var n_qid: nullable AQid */;
8218 val
* var_n_args
/* var n_args: nullable AExprs */;
8219 val
* var_n_assign_op
/* var n_assign_op: nullable AAssignOp */;
8220 val
* var_n_value
/* var n_value: nullable AExpr */;
8222 { /* Inline kernel$Object$init (self) on <self:ACallReassignExpr> */
8229 var_n_assign_op
= p3
;
8231 if (unlikely(var_n_expr
== NULL
)) {
8232 if(catchStack
.cursor
>= 0){
8233 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8235 PRINT_ERROR("Runtime error: %s", "Cast failed");
8236 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5484);
8239 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:ACallReassignExpr> */
8240 if (var_n_expr
== NULL
) {
8241 if(catchStack
.cursor
>= 0){
8242 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8244 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8245 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5485);
8248 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
8249 if (unlikely(var_n_expr
== NULL
)) {
8250 if(catchStack
.cursor
>= 0){
8251 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8253 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8254 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8257 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
8261 if (unlikely(var_n_qid
== NULL
)) {
8262 if(catchStack
.cursor
>= 0){
8263 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8265 PRINT_ERROR("Runtime error: %s", "Cast failed");
8266 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5486);
8269 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
= var_n_qid
; /* _n_qid on <self:ACallReassignExpr> */
8270 if (var_n_qid
== NULL
) {
8271 if(catchStack
.cursor
>= 0){
8272 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8274 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8275 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5487);
8278 { /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on <var_n_qid:nullable AQid> */
8279 if (unlikely(var_n_qid
== NULL
)) {
8280 if(catchStack
.cursor
>= 0){
8281 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8283 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8284 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8287 var_n_qid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qid:nullable AQid> */
8291 if (unlikely(var_n_args
== NULL
)) {
8292 if(catchStack
.cursor
>= 0){
8293 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8295 PRINT_ERROR("Runtime error: %s", "Cast failed");
8296 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5488);
8299 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
= var_n_args
; /* _n_args on <self:ACallReassignExpr> */
8300 if (var_n_args
== NULL
) {
8301 if(catchStack
.cursor
>= 0){
8302 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8304 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8305 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5489);
8308 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
8309 if (unlikely(var_n_args
== NULL
)) {
8310 if(catchStack
.cursor
>= 0){
8311 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8313 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8314 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8317 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
8321 if (unlikely(var_n_assign_op
== NULL
)) {
8322 if(catchStack
.cursor
>= 0){
8323 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8325 PRINT_ERROR("Runtime error: %s", "Cast failed");
8326 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5490);
8329 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
= var_n_assign_op
; /* _n_assign_op on <self:ACallReassignExpr> */
8330 if (var_n_assign_op
== NULL
) {
8331 if(catchStack
.cursor
>= 0){
8332 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8334 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8335 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5491);
8338 { /* Inline parser_nodes$ANode$parent= (var_n_assign_op,self) on <var_n_assign_op:nullable AAssignOp> */
8339 if (unlikely(var_n_assign_op
== NULL
)) {
8340 if(catchStack
.cursor
>= 0){
8341 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8343 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8344 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8347 var_n_assign_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign_op:nullable AAssignOp> */
8351 if (unlikely(var_n_value
== NULL
)) {
8352 if(catchStack
.cursor
>= 0){
8353 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8355 PRINT_ERROR("Runtime error: %s", "Cast failed");
8356 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5492);
8359 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
= var_n_value
; /* _n_value on <self:ACallReassignExpr> */
8360 if (var_n_value
== NULL
) {
8361 if(catchStack
.cursor
>= 0){
8362 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8364 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8365 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5493);
8368 { /* Inline parser_nodes$ANode$parent= (var_n_value,self) on <var_n_value:nullable AExpr> */
8369 if (unlikely(var_n_value
== NULL
)) {
8370 if(catchStack
.cursor
>= 0){
8371 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8373 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8374 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8377 var_n_value
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_value:nullable AExpr> */
8383 /* method parser_prod$ACallReassignExpr$replace_child for (self: ACallReassignExpr, ANode, nullable ANode) */
8384 void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
8385 val
* var_old_child
/* var old_child: ANode */;
8386 val
* var_new_child
/* var new_child: nullable ANode */;
8387 val
* var
/* : AExpr */;
8388 short int var1
/* : Bool */;
8389 val
* var_other
/* var other: nullable Object */;
8390 short int var3
/* : Bool */;
8391 short int var5
/* : Bool */;
8392 short int var6
/* : Bool */;
8395 const char* var_class_name
;
8396 val
* var7
/* : AQid */;
8397 short int var8
/* : Bool */;
8398 short int var10
/* : Bool */;
8399 short int var12
/* : Bool */;
8400 short int var13
/* : Bool */;
8403 const char* var_class_name16
;
8404 val
* var17
/* : AExprs */;
8405 short int var18
/* : Bool */;
8406 short int var20
/* : Bool */;
8407 short int var22
/* : Bool */;
8408 short int var23
/* : Bool */;
8411 const char* var_class_name26
;
8412 val
* var27
/* : AAssignOp */;
8413 short int var28
/* : Bool */;
8414 short int var30
/* : Bool */;
8415 short int var32
/* : Bool */;
8416 short int var33
/* : Bool */;
8419 const char* var_class_name36
;
8420 val
* var37
/* : AExpr */;
8421 short int var38
/* : Bool */;
8422 short int var40
/* : Bool */;
8423 short int var42
/* : Bool */;
8424 short int var43
/* : Bool */;
8427 const char* var_class_name46
;
8430 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACallReassignExpr> */
8431 if (unlikely(var
== NULL
)) {
8432 if(catchStack
.cursor
>= 0){
8433 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8435 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
8436 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5498);
8440 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
8441 var_other
= var_old_child
;
8443 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
8444 var5
= var
== var_other
;
8456 /* <var_new_child:nullable ANode> isa AExpr */
8457 cltype
= type_nitc__AExpr
.color
;
8458 idtype
= type_nitc__AExpr
.id
;
8459 if(var_new_child
== NULL
) {
8462 if(cltype
>= var_new_child
->type
->table_size
) {
8465 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
8468 if (unlikely(!var6
)) {
8469 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8470 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
8471 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5499);
8475 nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$ACallReassignExpr$n_expr= on <self:ACallReassignExpr>*/
8480 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
; /* _n_qid on <self:ACallReassignExpr> */
8481 if (unlikely(var7
== NULL
)) {
8482 if(catchStack
.cursor
>= 0){
8483 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8485 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
8486 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5502);
8490 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AQid> */
8491 var_other
= var_old_child
;
8493 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AQid> */
8494 var12
= var7
== var_other
;
8497 RET_LABEL11
:(void)0;
8506 /* <var_new_child:nullable ANode> isa AQid */
8507 cltype14
= type_nitc__AQid
.color
;
8508 idtype15
= type_nitc__AQid
.id
;
8509 if(var_new_child
== NULL
) {
8512 if(cltype14
>= var_new_child
->type
->table_size
) {
8515 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
8518 if (unlikely(!var13
)) {
8519 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8520 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16
);
8521 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5503);
8525 nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self
, var_new_child
); /* Direct call parser_prod$ACallReassignExpr$n_qid= on <self:ACallReassignExpr>*/
8530 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
; /* _n_args on <self:ACallReassignExpr> */
8531 if (unlikely(var17
== NULL
)) {
8532 if(catchStack
.cursor
>= 0){
8533 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8535 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
8536 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5506);
8540 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExprs> */
8541 var_other
= var_old_child
;
8543 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExprs> */
8544 var22
= var17
== var_other
;
8547 RET_LABEL21
:(void)0;
8552 RET_LABEL19
:(void)0;
8556 /* <var_new_child:nullable ANode> isa AExprs */
8557 cltype24
= type_nitc__AExprs
.color
;
8558 idtype25
= type_nitc__AExprs
.id
;
8559 if(var_new_child
== NULL
) {
8562 if(cltype24
>= var_new_child
->type
->table_size
) {
8565 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
8568 if (unlikely(!var23
)) {
8569 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8570 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26
);
8571 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5507);
8575 nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self
, var_new_child
); /* Direct call parser_prod$ACallReassignExpr$n_args= on <self:ACallReassignExpr>*/
8580 var27
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
; /* _n_assign_op on <self:ACallReassignExpr> */
8581 if (unlikely(var27
== NULL
)) {
8582 if(catchStack
.cursor
>= 0){
8583 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8585 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op");
8586 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5510);
8590 { /* Inline kernel$Object$== (var27,var_old_child) on <var27:AAssignOp> */
8591 var_other
= var_old_child
;
8593 { /* Inline kernel$Object$is_same_instance (var27,var_other) on <var27:AAssignOp> */
8594 var32
= var27
== var_other
;
8597 RET_LABEL31
:(void)0;
8602 RET_LABEL29
:(void)0;
8606 /* <var_new_child:nullable ANode> isa AAssignOp */
8607 cltype34
= type_nitc__AAssignOp
.color
;
8608 idtype35
= type_nitc__AAssignOp
.id
;
8609 if(var_new_child
== NULL
) {
8612 if(cltype34
>= var_new_child
->type
->table_size
) {
8615 var33
= var_new_child
->type
->type_table
[cltype34
] == idtype35
;
8618 if (unlikely(!var33
)) {
8619 var_class_name36
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8620 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name36
);
8621 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5511);
8625 nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self
, var_new_child
); /* Direct call parser_prod$ACallReassignExpr$n_assign_op= on <self:ACallReassignExpr>*/
8630 var37
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
; /* _n_value on <self:ACallReassignExpr> */
8631 if (unlikely(var37
== NULL
)) {
8632 if(catchStack
.cursor
>= 0){
8633 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8635 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
8636 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5514);
8640 { /* Inline kernel$Object$== (var37,var_old_child) on <var37:AExpr> */
8641 var_other
= var_old_child
;
8643 { /* Inline kernel$Object$is_same_instance (var37,var_other) on <var37:AExpr> */
8644 var42
= var37
== var_other
;
8647 RET_LABEL41
:(void)0;
8652 RET_LABEL39
:(void)0;
8656 /* <var_new_child:nullable ANode> isa AExpr */
8657 cltype44
= type_nitc__AExpr
.color
;
8658 idtype45
= type_nitc__AExpr
.id
;
8659 if(var_new_child
== NULL
) {
8662 if(cltype44
>= var_new_child
->type
->table_size
) {
8665 var43
= var_new_child
->type
->type_table
[cltype44
] == idtype45
;
8668 if (unlikely(!var43
)) {
8669 var_class_name46
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8670 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name46
);
8671 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5515);
8675 nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self
, var_new_child
); /* Direct call parser_prod$ACallReassignExpr$n_value= on <self:ACallReassignExpr>*/
8682 /* method parser_prod$ACallReassignExpr$n_expr= for (self: ACallReassignExpr, AExpr) */
8683 void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
8684 val
* var_node
/* var node: AExpr */;
8686 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:ACallReassignExpr> */
8688 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
8689 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
8695 /* method parser_prod$ACallReassignExpr$n_qid= for (self: ACallReassignExpr, AQid) */
8696 void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val
* self
, val
* p0
) {
8697 val
* var_node
/* var node: AQid */;
8699 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
= var_node
; /* _n_qid on <self:ACallReassignExpr> */
8701 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AQid> */
8702 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AQid> */
8708 /* method parser_prod$ACallReassignExpr$n_args= for (self: ACallReassignExpr, AExprs) */
8709 void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val
* self
, val
* p0
) {
8710 val
* var_node
/* var node: AExprs */;
8712 self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
= var_node
; /* _n_args on <self:ACallReassignExpr> */
8714 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExprs> */
8715 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExprs> */
8721 /* method parser_prod$ACallReassignExpr$n_assign_op= for (self: ACallReassignExpr, AAssignOp) */
8722 void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val
* self
, val
* p0
) {
8723 val
* var_node
/* var node: AAssignOp */;
8725 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
= var_node
; /* _n_assign_op on <self:ACallReassignExpr> */
8727 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AAssignOp> */
8728 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AAssignOp> */
8734 /* method parser_prod$ACallReassignExpr$n_value= for (self: ACallReassignExpr, AExpr) */
8735 void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val
* self
, val
* p0
) {
8736 val
* var_node
/* var node: AExpr */;
8738 self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
= var_node
; /* _n_value on <self:ACallReassignExpr> */
8740 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
8741 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
8747 /* method parser_prod$ACallReassignExpr$visit_all for (self: ACallReassignExpr, Visitor) */
8748 void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8749 val
* var_v
/* var v: Visitor */;
8750 val
* var
/* : AExpr */;
8751 val
* var1
/* : AQid */;
8752 val
* var2
/* : AExprs */;
8753 val
* var3
/* : AAssignOp */;
8754 val
* var4
/* : AExpr */;
8756 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ACallReassignExpr> */
8757 if (unlikely(var
== NULL
)) {
8758 if(catchStack
.cursor
>= 0){
8759 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8761 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
8762 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5549);
8766 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8768 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid
].val
; /* _n_qid on <self:ACallReassignExpr> */
8769 if (unlikely(var1
== NULL
)) {
8770 if(catchStack
.cursor
>= 0){
8771 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8773 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
8774 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5550);
8778 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8780 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ACallFormExpr___n_args
].val
; /* _n_args on <self:ACallReassignExpr> */
8781 if (unlikely(var2
== NULL
)) {
8782 if(catchStack
.cursor
>= 0){
8783 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8785 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
8786 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5551);
8790 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8792 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op
].val
; /* _n_assign_op on <self:ACallReassignExpr> */
8793 if (unlikely(var3
== NULL
)) {
8794 if(catchStack
.cursor
>= 0){
8795 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8797 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op");
8798 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5552);
8802 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8804 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value
].val
; /* _n_value on <self:ACallReassignExpr> */
8805 if (unlikely(var4
== NULL
)) {
8806 if(catchStack
.cursor
>= 0){
8807 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8809 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value");
8810 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5553);
8814 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8818 /* method parser_prod$ASuperExpr$init_asuperexpr for (self: ASuperExpr, nullable AQualified, nullable TKwsuper, nullable AExprs) */
8819 void nitc__parser_prod___ASuperExpr___init_asuperexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
8820 val
* var_n_qualified
/* var n_qualified: nullable AQualified */;
8821 val
* var_n_kwsuper
/* var n_kwsuper: nullable TKwsuper */;
8822 val
* var_n_args
/* var n_args: nullable AExprs */;
8823 short int var
/* : Bool */;
8824 short int var2
/* : Bool */;
8825 val
* var_other
/* var other: nullable Object */;
8826 short int var4
/* : Bool */;
8827 short int var5
/* : Bool */;
8829 { /* Inline kernel$Object$init (self) on <self:ASuperExpr> */
8833 var_n_qualified
= p0
;
8836 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified
].val
= var_n_qualified
; /* _n_qualified on <self:ASuperExpr> */
8837 if (var_n_qualified
== NULL
) {
8838 var
= 0; /* is null */
8840 var
= 1; /* arg is null and recv is not */
8843 { /* Inline kernel$Object$!= (var_n_qualified,((val*)NULL)) on <var_n_qualified:nullable AQualified> */
8844 var_other
= ((val
*)NULL
);
8846 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)>*/
8857 { /* Inline parser_nodes$ANode$parent= (var_n_qualified,self) on <var_n_qualified:nullable AQualified(AQualified)> */
8858 var_n_qualified
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_qualified:nullable AQualified(AQualified)> */
8864 if (unlikely(var_n_kwsuper
== NULL
)) {
8865 if(catchStack
.cursor
>= 0){
8866 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8868 PRINT_ERROR("Runtime error: %s", "Cast failed");
8869 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5565);
8872 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper
].val
= var_n_kwsuper
; /* _n_kwsuper on <self:ASuperExpr> */
8873 if (var_n_kwsuper
== NULL
) {
8874 if(catchStack
.cursor
>= 0){
8875 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8877 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8878 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5566);
8881 { /* Inline parser_nodes$ANode$parent= (var_n_kwsuper,self) on <var_n_kwsuper:nullable TKwsuper> */
8882 if (unlikely(var_n_kwsuper
== NULL
)) {
8883 if(catchStack
.cursor
>= 0){
8884 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8886 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8887 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8890 var_n_kwsuper
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwsuper:nullable TKwsuper> */
8894 if (unlikely(var_n_args
== NULL
)) {
8895 if(catchStack
.cursor
>= 0){
8896 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8898 PRINT_ERROR("Runtime error: %s", "Cast failed");
8899 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5567);
8902 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_args
].val
= var_n_args
; /* _n_args on <self:ASuperExpr> */
8903 if (var_n_args
== NULL
) {
8904 if(catchStack
.cursor
>= 0){
8905 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8907 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8908 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5568);
8911 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
8912 if (unlikely(var_n_args
== NULL
)) {
8913 if(catchStack
.cursor
>= 0){
8914 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8916 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8917 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8920 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
8926 /* method parser_prod$ASuperExpr$replace_child for (self: ASuperExpr, ANode, nullable ANode) */
8927 void nitc__parser_prod___ASuperExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
8928 val
* var_old_child
/* var old_child: ANode */;
8929 val
* var_new_child
/* var new_child: nullable ANode */;
8930 val
* var
/* : nullable AQualified */;
8931 short int var1
/* : Bool */;
8932 short int var2
/* : Bool */;
8933 val
* var_other
/* var other: nullable Object */;
8934 short int var4
/* : Bool */;
8935 short int var6
/* : Bool */;
8936 short int var7
/* : Bool */;
8939 const char* var_class_name
;
8940 val
* var8
/* : TKwsuper */;
8941 short int var9
/* : Bool */;
8942 short int var11
/* : Bool */;
8943 short int var13
/* : Bool */;
8944 short int var14
/* : Bool */;
8947 const char* var_class_name17
;
8948 val
* var18
/* : AExprs */;
8949 short int var19
/* : Bool */;
8950 short int var21
/* : Bool */;
8951 short int var23
/* : Bool */;
8952 short int var24
/* : Bool */;
8955 const char* var_class_name27
;
8958 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified
].val
; /* _n_qualified on <self:ASuperExpr> */
8960 var1
= 0; /* <var_old_child:ANode> cannot be null */
8962 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable AQualified> */
8963 var_other
= var_old_child
;
8965 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable AQualified(AQualified)> */
8966 var6
= var
== var_other
;
8979 /* <var_new_child:nullable ANode> isa nullable AQualified */
8980 cltype
= type_nullable__nitc__AQualified
.color
;
8981 idtype
= type_nullable__nitc__AQualified
.id
;
8982 if(var_new_child
== NULL
) {
8985 if(cltype
>= var_new_child
->type
->table_size
) {
8988 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
8991 if (unlikely(!var7
)) {
8992 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8993 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQualified", var_class_name
);
8994 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5574);
8998 nitc__parser_prod___ASuperExpr___n_qualified_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperExpr$n_qualified= on <self:ASuperExpr>*/
9003 var8
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper
].val
; /* _n_kwsuper on <self:ASuperExpr> */
9004 if (unlikely(var8
== NULL
)) {
9005 if(catchStack
.cursor
>= 0){
9006 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9008 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper");
9009 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5577);
9013 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:TKwsuper> */
9014 var_other
= var_old_child
;
9016 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:TKwsuper> */
9017 var13
= var8
== var_other
;
9020 RET_LABEL12
:(void)0;
9025 RET_LABEL10
:(void)0;
9029 /* <var_new_child:nullable ANode> isa TKwsuper */
9030 cltype15
= type_nitc__TKwsuper
.color
;
9031 idtype16
= type_nitc__TKwsuper
.id
;
9032 if(var_new_child
== NULL
) {
9035 if(cltype15
>= var_new_child
->type
->table_size
) {
9038 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
9041 if (unlikely(!var14
)) {
9042 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9043 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwsuper", var_class_name17
);
9044 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5578);
9048 nitc__parser_prod___ASuperExpr___n_kwsuper_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperExpr$n_kwsuper= on <self:ASuperExpr>*/
9053 var18
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_args
].val
; /* _n_args on <self:ASuperExpr> */
9054 if (unlikely(var18
== NULL
)) {
9055 if(catchStack
.cursor
>= 0){
9056 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9058 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
9059 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5581);
9063 { /* Inline kernel$Object$== (var18,var_old_child) on <var18:AExprs> */
9064 var_other
= var_old_child
;
9066 { /* Inline kernel$Object$is_same_instance (var18,var_other) on <var18:AExprs> */
9067 var23
= var18
== var_other
;
9070 RET_LABEL22
:(void)0;
9075 RET_LABEL20
:(void)0;
9079 /* <var_new_child:nullable ANode> isa AExprs */
9080 cltype25
= type_nitc__AExprs
.color
;
9081 idtype26
= type_nitc__AExprs
.id
;
9082 if(var_new_child
== NULL
) {
9085 if(cltype25
>= var_new_child
->type
->table_size
) {
9088 var24
= var_new_child
->type
->type_table
[cltype25
] == idtype26
;
9091 if (unlikely(!var24
)) {
9092 var_class_name27
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9093 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name27
);
9094 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5582);
9098 nitc__parser_prod___ASuperExpr___n_args_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperExpr$n_args= on <self:ASuperExpr>*/
9105 /* method parser_prod$ASuperExpr$n_qualified= for (self: ASuperExpr, nullable AQualified) */
9106 void nitc__parser_prod___ASuperExpr___n_qualified_61d(val
* self
, val
* p0
) {
9107 val
* var_node
/* var node: nullable AQualified */;
9108 short int var
/* : Bool */;
9109 short int var1
/* : Bool */;
9110 val
* var_other
/* var other: nullable Object */;
9111 short int var3
/* : Bool */;
9112 short int var4
/* : Bool */;
9114 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified
].val
= var_node
; /* _n_qualified on <self:ASuperExpr> */
9115 if (var_node
== NULL
) {
9116 var
= 0; /* is null */
9118 var
= 1; /* arg is null and recv is not */
9121 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AQualified> */
9122 var_other
= ((val
*)NULL
);
9124 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)>*/
9135 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AQualified(AQualified)> */
9136 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AQualified(AQualified)> */
9144 /* method parser_prod$ASuperExpr$n_kwsuper= for (self: ASuperExpr, TKwsuper) */
9145 void nitc__parser_prod___ASuperExpr___n_kwsuper_61d(val
* self
, val
* p0
) {
9146 val
* var_node
/* var node: TKwsuper */;
9148 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper
].val
= var_node
; /* _n_kwsuper on <self:ASuperExpr> */
9150 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwsuper> */
9151 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwsuper> */
9157 /* method parser_prod$ASuperExpr$n_args= for (self: ASuperExpr, AExprs) */
9158 void nitc__parser_prod___ASuperExpr___n_args_61d(val
* self
, val
* p0
) {
9159 val
* var_node
/* var node: AExprs */;
9161 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_args
].val
= var_node
; /* _n_args on <self:ASuperExpr> */
9163 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExprs> */
9164 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExprs> */
9170 /* method parser_prod$ASuperExpr$visit_all for (self: ASuperExpr, Visitor) */
9171 void nitc__parser_prod___ASuperExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9172 val
* var_v
/* var v: Visitor */;
9173 val
* var
/* : nullable AQualified */;
9174 val
* var1
/* : TKwsuper */;
9175 val
* var2
/* : AExprs */;
9177 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified
].val
; /* _n_qualified on <self:ASuperExpr> */
9179 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9181 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper
].val
; /* _n_kwsuper on <self:ASuperExpr> */
9182 if (unlikely(var1
== NULL
)) {
9183 if(catchStack
.cursor
>= 0){
9184 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9186 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper");
9187 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5607);
9191 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9193 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExpr___n_args
].val
; /* _n_args on <self:ASuperExpr> */
9194 if (unlikely(var2
== NULL
)) {
9195 if(catchStack
.cursor
>= 0){
9196 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9198 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
9199 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5608);
9203 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9207 /* method parser_prod$AInitExpr$init_ainitexpr for (self: AInitExpr, nullable AExpr, nullable TKwinit, nullable AExprs) */
9208 void nitc__parser_prod___AInitExpr___init_ainitexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
9209 val
* var_n_expr
/* var n_expr: nullable AExpr */;
9210 val
* var_n_kwinit
/* var n_kwinit: nullable TKwinit */;
9211 val
* var_n_args
/* var n_args: nullable AExprs */;
9213 { /* Inline kernel$Object$init (self) on <self:AInitExpr> */
9220 if (unlikely(var_n_expr
== NULL
)) {
9221 if(catchStack
.cursor
>= 0){
9222 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9224 PRINT_ERROR("Runtime error: %s", "Cast failed");
9225 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5618);
9228 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AInitExpr> */
9229 if (var_n_expr
== NULL
) {
9230 if(catchStack
.cursor
>= 0){
9231 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9233 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9234 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5619);
9237 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
9238 if (unlikely(var_n_expr
== NULL
)) {
9239 if(catchStack
.cursor
>= 0){
9240 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9242 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9243 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9246 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
9250 if (unlikely(var_n_kwinit
== NULL
)) {
9251 if(catchStack
.cursor
>= 0){
9252 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9254 PRINT_ERROR("Runtime error: %s", "Cast failed");
9255 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5620);
9258 self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit
].val
= var_n_kwinit
; /* _n_kwinit on <self:AInitExpr> */
9259 if (var_n_kwinit
== NULL
) {
9260 if(catchStack
.cursor
>= 0){
9261 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9263 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9264 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5621);
9267 { /* Inline parser_nodes$ANode$parent= (var_n_kwinit,self) on <var_n_kwinit:nullable TKwinit> */
9268 if (unlikely(var_n_kwinit
== NULL
)) {
9269 if(catchStack
.cursor
>= 0){
9270 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9272 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9273 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9276 var_n_kwinit
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwinit:nullable TKwinit> */
9280 if (unlikely(var_n_args
== NULL
)) {
9281 if(catchStack
.cursor
>= 0){
9282 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9284 PRINT_ERROR("Runtime error: %s", "Cast failed");
9285 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5622);
9288 self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_args
].val
= var_n_args
; /* _n_args on <self:AInitExpr> */
9289 if (var_n_args
== NULL
) {
9290 if(catchStack
.cursor
>= 0){
9291 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9293 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9294 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5623);
9297 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
9298 if (unlikely(var_n_args
== NULL
)) {
9299 if(catchStack
.cursor
>= 0){
9300 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9302 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9303 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9306 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
9312 /* method parser_prod$AInitExpr$replace_child for (self: AInitExpr, ANode, nullable ANode) */
9313 void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
9314 val
* var_old_child
/* var old_child: ANode */;
9315 val
* var_new_child
/* var new_child: nullable ANode */;
9316 val
* var
/* : AExpr */;
9317 short int var1
/* : Bool */;
9318 val
* var_other
/* var other: nullable Object */;
9319 short int var3
/* : Bool */;
9320 short int var5
/* : Bool */;
9321 short int var6
/* : Bool */;
9324 const char* var_class_name
;
9325 val
* var7
/* : TKwinit */;
9326 short int var8
/* : Bool */;
9327 short int var10
/* : Bool */;
9328 short int var12
/* : Bool */;
9329 short int var13
/* : Bool */;
9332 const char* var_class_name16
;
9333 val
* var17
/* : AExprs */;
9334 short int var18
/* : Bool */;
9335 short int var20
/* : Bool */;
9336 short int var22
/* : Bool */;
9337 short int var23
/* : Bool */;
9340 const char* var_class_name26
;
9343 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AInitExpr> */
9344 if (unlikely(var
== NULL
)) {
9345 if(catchStack
.cursor
>= 0){
9346 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9348 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
9349 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5628);
9353 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
9354 var_other
= var_old_child
;
9356 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
9357 var5
= var
== var_other
;
9369 /* <var_new_child:nullable ANode> isa AExpr */
9370 cltype
= type_nitc__AExpr
.color
;
9371 idtype
= type_nitc__AExpr
.id
;
9372 if(var_new_child
== NULL
) {
9375 if(cltype
>= var_new_child
->type
->table_size
) {
9378 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
9381 if (unlikely(!var6
)) {
9382 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9383 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
9384 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5629);
9388 nitc__parser_prod___AInitExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AInitExpr$n_expr= on <self:AInitExpr>*/
9393 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit
].val
; /* _n_kwinit on <self:AInitExpr> */
9394 if (unlikely(var7
== NULL
)) {
9395 if(catchStack
.cursor
>= 0){
9396 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9398 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinit");
9399 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5632);
9403 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TKwinit> */
9404 var_other
= var_old_child
;
9406 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TKwinit> */
9407 var12
= var7
== var_other
;
9410 RET_LABEL11
:(void)0;
9419 /* <var_new_child:nullable ANode> isa TKwinit */
9420 cltype14
= type_nitc__TKwinit
.color
;
9421 idtype15
= type_nitc__TKwinit
.id
;
9422 if(var_new_child
== NULL
) {
9425 if(cltype14
>= var_new_child
->type
->table_size
) {
9428 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
9431 if (unlikely(!var13
)) {
9432 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9433 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwinit", var_class_name16
);
9434 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5633);
9438 nitc__parser_prod___AInitExpr___n_kwinit_61d(self
, var_new_child
); /* Direct call parser_prod$AInitExpr$n_kwinit= on <self:AInitExpr>*/
9443 var17
= self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_args
].val
; /* _n_args on <self:AInitExpr> */
9444 if (unlikely(var17
== NULL
)) {
9445 if(catchStack
.cursor
>= 0){
9446 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9448 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
9449 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5636);
9453 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:AExprs> */
9454 var_other
= var_old_child
;
9456 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:AExprs> */
9457 var22
= var17
== var_other
;
9460 RET_LABEL21
:(void)0;
9465 RET_LABEL19
:(void)0;
9469 /* <var_new_child:nullable ANode> isa AExprs */
9470 cltype24
= type_nitc__AExprs
.color
;
9471 idtype25
= type_nitc__AExprs
.id
;
9472 if(var_new_child
== NULL
) {
9475 if(cltype24
>= var_new_child
->type
->table_size
) {
9478 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
9481 if (unlikely(!var23
)) {
9482 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9483 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26
);
9484 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5637);
9488 nitc__parser_prod___AInitExpr___n_args_61d(self
, var_new_child
); /* Direct call parser_prod$AInitExpr$n_args= on <self:AInitExpr>*/
9495 /* method parser_prod$AInitExpr$n_expr= for (self: AInitExpr, AExpr) */
9496 void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
9497 val
* var_node
/* var node: AExpr */;
9499 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AInitExpr> */
9501 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
9502 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
9508 /* method parser_prod$AInitExpr$n_kwinit= for (self: AInitExpr, TKwinit) */
9509 void nitc__parser_prod___AInitExpr___n_kwinit_61d(val
* self
, val
* p0
) {
9510 val
* var_node
/* var node: TKwinit */;
9512 self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit
].val
= var_node
; /* _n_kwinit on <self:AInitExpr> */
9514 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwinit> */
9515 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwinit> */
9521 /* method parser_prod$AInitExpr$n_args= for (self: AInitExpr, AExprs) */
9522 void nitc__parser_prod___AInitExpr___n_args_61d(val
* self
, val
* p0
) {
9523 val
* var_node
/* var node: AExprs */;
9525 self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_args
].val
= var_node
; /* _n_args on <self:AInitExpr> */
9527 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExprs> */
9528 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExprs> */
9534 /* method parser_prod$AInitExpr$visit_all for (self: AInitExpr, Visitor) */
9535 void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9536 val
* var_v
/* var v: Visitor */;
9537 val
* var
/* : AExpr */;
9538 val
* var1
/* : TKwinit */;
9539 val
* var2
/* : AExprs */;
9541 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:AInitExpr> */
9542 if (unlikely(var
== NULL
)) {
9543 if(catchStack
.cursor
>= 0){
9544 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9546 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
9547 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5661);
9551 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9553 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit
].val
; /* _n_kwinit on <self:AInitExpr> */
9554 if (unlikely(var1
== NULL
)) {
9555 if(catchStack
.cursor
>= 0){
9556 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9558 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinit");
9559 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5662);
9563 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9565 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AInitExpr___n_args
].val
; /* _n_args on <self:AInitExpr> */
9566 if (unlikely(var2
== NULL
)) {
9567 if(catchStack
.cursor
>= 0){
9568 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9570 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
9571 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5663);
9575 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9579 /* method parser_prod$ABraExpr$init_abraexpr for (self: ABraExpr, nullable AExpr, nullable AExprs) */
9580 void nitc__parser_prod___ABraExpr___init_abraexpr(val
* self
, val
* p0
, val
* p1
) {
9581 val
* var_n_expr
/* var n_expr: nullable AExpr */;
9582 val
* var_n_args
/* var n_args: nullable AExprs */;
9584 { /* Inline kernel$Object$init (self) on <self:ABraExpr> */
9590 if (unlikely(var_n_expr
== NULL
)) {
9591 if(catchStack
.cursor
>= 0){
9592 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9594 PRINT_ERROR("Runtime error: %s", "Cast failed");
9595 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5672);
9598 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:ABraExpr> */
9599 if (var_n_expr
== NULL
) {
9600 if(catchStack
.cursor
>= 0){
9601 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9603 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9604 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5673);
9607 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
9608 if (unlikely(var_n_expr
== NULL
)) {
9609 if(catchStack
.cursor
>= 0){
9610 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9612 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9613 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9616 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
9620 if (unlikely(var_n_args
== NULL
)) {
9621 if(catchStack
.cursor
>= 0){
9622 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9624 PRINT_ERROR("Runtime error: %s", "Cast failed");
9625 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5674);
9628 self
->attrs
[COLOR_nitc__parser_nodes__ABraFormExpr___n_args
].val
= var_n_args
; /* _n_args on <self:ABraExpr> */
9629 if (var_n_args
== NULL
) {
9630 if(catchStack
.cursor
>= 0){
9631 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9633 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9634 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5675);
9637 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
9638 if (unlikely(var_n_args
== NULL
)) {
9639 if(catchStack
.cursor
>= 0){
9640 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9642 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9643 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9646 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
9652 /* method parser_prod$ABraExpr$replace_child for (self: ABraExpr, ANode, nullable ANode) */
9653 void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
9654 val
* var_old_child
/* var old_child: ANode */;
9655 val
* var_new_child
/* var new_child: nullable ANode */;
9656 val
* var
/* : AExpr */;
9657 short int var1
/* : Bool */;
9658 val
* var_other
/* var other: nullable Object */;
9659 short int var3
/* : Bool */;
9660 short int var5
/* : Bool */;
9661 short int var6
/* : Bool */;
9664 const char* var_class_name
;
9665 val
* var7
/* : AExprs */;
9666 short int var8
/* : Bool */;
9667 short int var10
/* : Bool */;
9668 short int var12
/* : Bool */;
9669 short int var13
/* : Bool */;
9672 const char* var_class_name16
;
9675 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ABraExpr> */
9676 if (unlikely(var
== NULL
)) {
9677 if(catchStack
.cursor
>= 0){
9678 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9680 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
9681 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5680);
9685 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
9686 var_other
= var_old_child
;
9688 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
9689 var5
= var
== var_other
;
9701 /* <var_new_child:nullable ANode> isa AExpr */
9702 cltype
= type_nitc__AExpr
.color
;
9703 idtype
= type_nitc__AExpr
.id
;
9704 if(var_new_child
== NULL
) {
9707 if(cltype
>= var_new_child
->type
->table_size
) {
9710 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
9713 if (unlikely(!var6
)) {
9714 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9715 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
9716 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5681);
9720 nitc__parser_prod___ABraExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$ABraExpr$n_expr= on <self:ABraExpr>*/
9725 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ABraFormExpr___n_args
].val
; /* _n_args on <self:ABraExpr> */
9726 if (unlikely(var7
== NULL
)) {
9727 if(catchStack
.cursor
>= 0){
9728 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9730 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
9731 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5684);
9735 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AExprs> */
9736 var_other
= var_old_child
;
9738 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AExprs> */
9739 var12
= var7
== var_other
;
9742 RET_LABEL11
:(void)0;
9751 /* <var_new_child:nullable ANode> isa AExprs */
9752 cltype14
= type_nitc__AExprs
.color
;
9753 idtype15
= type_nitc__AExprs
.id
;
9754 if(var_new_child
== NULL
) {
9757 if(cltype14
>= var_new_child
->type
->table_size
) {
9760 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
9763 if (unlikely(!var13
)) {
9764 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
9765 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name16
);
9766 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5685);
9770 nitc__parser_prod___ABraExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(self
, var_new_child
); /* Direct call parser_prod$ABraExpr$n_args= on <self:ABraExpr>*/
9777 /* method parser_prod$ABraExpr$n_expr= for (self: ABraExpr, AExpr) */
9778 void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val
* self
, val
* p0
) {
9779 val
* var_node
/* var node: AExpr */;
9781 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_node
; /* _n_expr on <self:ABraExpr> */
9783 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
9784 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
9790 /* method parser_prod$ABraExpr$n_args= for (self: ABraExpr, AExprs) */
9791 void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(val
* self
, val
* p0
) {
9792 val
* var_node
/* var node: AExprs */;
9794 self
->attrs
[COLOR_nitc__parser_nodes__ABraFormExpr___n_args
].val
= var_node
; /* _n_args on <self:ABraExpr> */
9796 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExprs> */
9797 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExprs> */
9803 /* method parser_prod$ABraExpr$visit_all for (self: ABraExpr, Visitor) */
9804 void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9805 val
* var_v
/* var v: Visitor */;
9806 val
* var
/* : AExpr */;
9807 val
* var1
/* : AExprs */;
9809 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
; /* _n_expr on <self:ABraExpr> */
9810 if (unlikely(var
== NULL
)) {
9811 if(catchStack
.cursor
>= 0){
9812 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9814 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
9815 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5704);
9819 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9821 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ABraFormExpr___n_args
].val
; /* _n_args on <self:ABraExpr> */
9822 if (unlikely(var1
== NULL
)) {
9823 if(catchStack
.cursor
>= 0){
9824 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9826 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
9827 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5705);
9831 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9835 /* method parser_prod$ABraAssignExpr$init_abraassignexpr for (self: ABraAssignExpr, nullable AExpr, nullable AExprs, nullable TAssign, nullable AExpr) */
9836 void nitc__parser_prod___ABraAssignExpr___init_abraassignexpr(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
9837 val
* var_n_expr
/* var n_expr: nullable AExpr */;
9838 val
* var_n_args
/* var n_args: nullable AExprs */;
9839 val
* var_n_assign
/* var n_assign: nullable TAssign */;
9840 val
* var_n_value
/* var n_value: nullable AExpr */;
9842 { /* Inline kernel$Object$init (self) on <self:ABraAssignExpr> */
9850 if (unlikely(var_n_expr
== NULL
)) {
9851 if(catchStack
.cursor
>= 0){
9852 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9854 PRINT_ERROR("Runtime error: %s", "Cast failed");
9855 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5716);
9858 self
->attrs
[COLOR_nitc__parser_nodes__ASendExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:ABraAssignExpr> */
9859 if (var_n_expr
== NULL
) {
9860 if(catchStack
.cursor
>= 0){
9861 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9863 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9864 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5717);
9867 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
9868 if (unlikely(var_n_expr
== NULL
)) {
9869 if(catchStack
.cursor
>= 0){
9870 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9872 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9873 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9876 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
9880 if (unlikely(var_n_args
== NULL
)) {
9881 if(catchStack
.cursor
>= 0){
9882 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9884 PRINT_ERROR("Runtime error: %s", "Cast failed");
9885 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5718);
9888 self
->attrs
[COLOR_nitc__parser_nodes__ABraFormExpr___n_args
].val
= var_n_args
; /* _n_args on <self:ABraAssignExpr> */
9889 if (var_n_args
== NULL
) {
9890 if(catchStack
.cursor
>= 0){
9891 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9893 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9894 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5719);
9897 { /* Inline parser_nodes$ANode$parent= (var_n_args,self) on <var_n_args:nullable AExprs> */
9898 if (unlikely(var_n_args
== NULL
)) {
9899 if(catchStack
.cursor
>= 0){
9900 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9902 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9903 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9906 var_n_args
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_args:nullable AExprs> */
9910 if (unlikely(var_n_assign
== NULL
)) {
9911 if(catchStack
.cursor
>= 0){
9912 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9914 PRINT_ERROR("Runtime error: %s", "Cast failed");
9915 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5720);
9918 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign
].val
= var_n_assign
; /* _n_assign on <self:ABraAssignExpr> */
9919 if (var_n_assign
== NULL
) {
9920 if(catchStack
.cursor
>= 0){
9921 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9923 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9924 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5721);
9927 { /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on <var_n_assign:nullable TAssign> */
9928 if (unlikely(var_n_assign
== NULL
)) {
9929 if(catchStack
.cursor
>= 0){
9930 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9932 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9933 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9936 var_n_assign
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_assign:nullable TAssign> */
9940 if (unlikely(var_n_value
== NULL
)) {
9941 if(catchStack
.cursor
>= 0){
9942 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9944 PRINT_ERROR("Runtime error: %s", "Cast failed");
9945 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5722);
9948 self
->attrs
[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value
].val
= var_n_value
; /* _n_value on <self:ABraAssignExpr> */
9949 if (var_n_value
== NULL
) {
9950 if(catchStack
.cursor
>= 0){
9951 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9953 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9954 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 5723);
9957 { /* Inline parser_nodes$ANode$parent= (var_n_value,self) on <var_n_value:nullable AExpr> */
9958 if (unlikely(var_n_value
== NULL
)) {
9959 if(catchStack
.cursor
>= 0){
9960 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9962 PRINT_ERROR("Runtime error: %s", "Receiver is null");
9963 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
9966 var_n_value
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_value:nullable AExpr> */