1 #include "nitc__parser_prod.sep.0.h"
2 /* method parser_prod$ANamedargExpr$visit_all for (self: ANamedargExpr, Visitor) */
3 void nitc__parser_prod___ANamedargExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4 val
* var_v
/* var v: Visitor */;
6 val
* var1
/* : TAssign */;
7 val
* var2
/* : AExpr */;
9 var
= self
->attrs
[COLOR_nitc__parser_nodes__ANamedargExpr___n_id
].val
; /* _n_id on <self:ANamedargExpr> */
10 if (unlikely(var
== NULL
)) {
11 if(catchStack
.cursor
>= 0){
12 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
14 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
15 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7227);
19 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
21 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ANamedargExpr___n_assign
].val
; /* _n_assign on <self:ANamedargExpr> */
22 if (unlikely(var1
== NULL
)) {
23 if(catchStack
.cursor
>= 0){
24 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
26 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign");
27 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7228);
31 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
33 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ANamedargExpr___n_expr
].val
; /* _n_expr on <self:ANamedargExpr> */
34 if (unlikely(var2
== 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
, 7229);
43 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
47 /* method parser_prod$ATypeExpr$init_atypeexpr for (self: ATypeExpr, nullable AType) */
48 void nitc__parser_prod___ATypeExpr___init_atypeexpr(val
* self
, val
* p0
) {
49 val
* var_n_type
/* var n_type: nullable AType */;
51 { /* Inline kernel$Object$init (self) on <self:ATypeExpr> */
56 if (unlikely(var_n_type
== NULL
)) {
57 if(catchStack
.cursor
>= 0){
58 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
60 PRINT_ERROR("Runtime error: %s", "Cast failed");
61 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7237);
64 self
->attrs
[COLOR_nitc__parser_nodes__ATypeExpr___n_type
].val
= var_n_type
; /* _n_type on <self:ATypeExpr> */
65 if (var_n_type
== NULL
) {
66 if(catchStack
.cursor
>= 0){
67 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
69 PRINT_ERROR("Runtime error: %s", "Receiver is null");
70 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7238);
73 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
74 if (unlikely(var_n_type
== NULL
)) {
75 if(catchStack
.cursor
>= 0){
76 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
78 PRINT_ERROR("Runtime error: %s", "Receiver is null");
79 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
82 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
88 /* method parser_prod$ATypeExpr$replace_child for (self: ATypeExpr, ANode, nullable ANode) */
89 void nitc__parser_prod___ATypeExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
90 val
* var_old_child
/* var old_child: ANode */;
91 val
* var_new_child
/* var new_child: nullable ANode */;
92 val
* var
/* : AType */;
93 short int var1
/* : Bool */;
94 val
* var_other
/* var other: nullable Object */;
95 short int var3
/* : Bool */;
96 short int var5
/* : Bool */;
97 short int var6
/* : Bool */;
100 const char* var_class_name
;
103 var
= self
->attrs
[COLOR_nitc__parser_nodes__ATypeExpr___n_type
].val
; /* _n_type on <self:ATypeExpr> */
104 if (unlikely(var
== NULL
)) {
105 if(catchStack
.cursor
>= 0){
106 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
108 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
109 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7243);
113 { /* Inline kernel$Object$== (var,var_old_child) on <var:AType> */
114 var_other
= var_old_child
;
116 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AType> */
117 var5
= var
== var_other
;
129 /* <var_new_child:nullable ANode> isa AType */
130 cltype
= type_nitc__AType
.color
;
131 idtype
= type_nitc__AType
.id
;
132 if(var_new_child
== NULL
) {
135 if(cltype
>= var_new_child
->type
->table_size
) {
138 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
141 if (unlikely(!var6
)) {
142 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
143 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name
);
144 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7244);
148 nitc__parser_prod___ATypeExpr___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$ATypeExpr$n_type= on <self:ATypeExpr>*/
155 /* method parser_prod$ATypeExpr$n_type= for (self: ATypeExpr, AType) */
156 void nitc__parser_prod___ATypeExpr___n_type_61d(val
* self
, val
* p0
) {
157 val
* var_node
/* var node: AType */;
159 self
->attrs
[COLOR_nitc__parser_nodes__ATypeExpr___n_type
].val
= var_node
; /* _n_type on <self:ATypeExpr> */
161 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
162 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
168 /* method parser_prod$ATypeExpr$visit_all for (self: ATypeExpr, Visitor) */
169 void nitc__parser_prod___ATypeExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
170 val
* var_v
/* var v: Visitor */;
171 val
* var
/* : AType */;
173 var
= self
->attrs
[COLOR_nitc__parser_nodes__ATypeExpr___n_type
].val
; /* _n_type on <self:ATypeExpr> */
174 if (unlikely(var
== NULL
)) {
175 if(catchStack
.cursor
>= 0){
176 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
178 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
179 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7258);
183 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
187 /* method parser_prod$AMethidExpr$init_amethidexpr for (self: AMethidExpr, nullable AExpr, nullable AMethid) */
188 void nitc__parser_prod___AMethidExpr___init_amethidexpr(val
* self
, val
* p0
, val
* p1
) {
189 val
* var_n_expr
/* var n_expr: nullable AExpr */;
190 val
* var_n_id
/* var n_id: nullable AMethid */;
192 { /* Inline kernel$Object$init (self) on <self:AMethidExpr> */
198 if (unlikely(var_n_expr
== NULL
)) {
199 if(catchStack
.cursor
>= 0){
200 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
202 PRINT_ERROR("Runtime error: %s", "Cast failed");
203 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7267);
206 self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AMethidExpr> */
207 if (var_n_expr
== NULL
) {
208 if(catchStack
.cursor
>= 0){
209 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
211 PRINT_ERROR("Runtime error: %s", "Receiver is null");
212 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7268);
215 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
216 if (unlikely(var_n_expr
== NULL
)) {
217 if(catchStack
.cursor
>= 0){
218 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
220 PRINT_ERROR("Runtime error: %s", "Receiver is null");
221 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
224 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
228 if (unlikely(var_n_id
== NULL
)) {
229 if(catchStack
.cursor
>= 0){
230 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
232 PRINT_ERROR("Runtime error: %s", "Cast failed");
233 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7269);
236 self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_id
].val
= var_n_id
; /* _n_id on <self:AMethidExpr> */
237 if (var_n_id
== NULL
) {
238 if(catchStack
.cursor
>= 0){
239 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
241 PRINT_ERROR("Runtime error: %s", "Receiver is null");
242 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7270);
245 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable AMethid> */
246 if (unlikely(var_n_id
== NULL
)) {
247 if(catchStack
.cursor
>= 0){
248 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
250 PRINT_ERROR("Runtime error: %s", "Receiver is null");
251 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
254 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable AMethid> */
260 /* method parser_prod$AMethidExpr$replace_child for (self: AMethidExpr, ANode, nullable ANode) */
261 void nitc__parser_prod___AMethidExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
262 val
* var_old_child
/* var old_child: ANode */;
263 val
* var_new_child
/* var new_child: nullable ANode */;
264 val
* var
/* : AExpr */;
265 short int var1
/* : Bool */;
266 val
* var_other
/* var other: nullable Object */;
267 short int var3
/* : Bool */;
268 short int var5
/* : Bool */;
269 short int var6
/* : Bool */;
272 const char* var_class_name
;
273 val
* var7
/* : AMethid */;
274 short int var8
/* : Bool */;
275 short int var10
/* : Bool */;
276 short int var12
/* : Bool */;
277 short int var13
/* : Bool */;
280 const char* var_class_name16
;
283 var
= self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_expr
].val
; /* _n_expr on <self:AMethidExpr> */
284 if (unlikely(var
== NULL
)) {
285 if(catchStack
.cursor
>= 0){
286 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
288 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
289 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7275);
293 { /* Inline kernel$Object$== (var,var_old_child) on <var:AExpr> */
294 var_other
= var_old_child
;
296 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AExpr> */
297 var5
= var
== var_other
;
309 /* <var_new_child:nullable ANode> isa AExpr */
310 cltype
= type_nitc__AExpr
.color
;
311 idtype
= type_nitc__AExpr
.id
;
312 if(var_new_child
== NULL
) {
315 if(cltype
>= var_new_child
->type
->table_size
) {
318 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
321 if (unlikely(!var6
)) {
322 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
323 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name
);
324 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7276);
328 nitc__parser_prod___AMethidExpr___n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AMethidExpr$n_expr= on <self:AMethidExpr>*/
333 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_id
].val
; /* _n_id on <self:AMethidExpr> */
334 if (unlikely(var7
== NULL
)) {
335 if(catchStack
.cursor
>= 0){
336 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
338 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
339 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7279);
343 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:AMethid> */
344 var_other
= var_old_child
;
346 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:AMethid> */
347 var12
= var7
== var_other
;
359 /* <var_new_child:nullable ANode> isa AMethid */
360 cltype14
= type_nitc__AMethid
.color
;
361 idtype15
= type_nitc__AMethid
.id
;
362 if(var_new_child
== NULL
) {
365 if(cltype14
>= var_new_child
->type
->table_size
) {
368 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
371 if (unlikely(!var13
)) {
372 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
373 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AMethid", var_class_name16
);
374 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7280);
378 nitc__parser_prod___AMethidExpr___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AMethidExpr$n_id= on <self:AMethidExpr>*/
385 /* method parser_prod$AMethidExpr$n_expr= for (self: AMethidExpr, AExpr) */
386 void nitc__parser_prod___AMethidExpr___n_expr_61d(val
* self
, val
* p0
) {
387 val
* var_node
/* var node: AExpr */;
389 self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_expr
].val
= var_node
; /* _n_expr on <self:AMethidExpr> */
391 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
392 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
398 /* method parser_prod$AMethidExpr$n_id= for (self: AMethidExpr, AMethid) */
399 void nitc__parser_prod___AMethidExpr___n_id_61d(val
* self
, val
* p0
) {
400 val
* var_node
/* var node: AMethid */;
402 self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_id
].val
= var_node
; /* _n_id on <self:AMethidExpr> */
404 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AMethid> */
405 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AMethid> */
411 /* method parser_prod$AMethidExpr$visit_all for (self: AMethidExpr, Visitor) */
412 void nitc__parser_prod___AMethidExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
413 val
* var_v
/* var v: Visitor */;
414 val
* var
/* : AExpr */;
415 val
* var1
/* : AMethid */;
417 var
= self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_expr
].val
; /* _n_expr on <self:AMethidExpr> */
418 if (unlikely(var
== NULL
)) {
419 if(catchStack
.cursor
>= 0){
420 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
422 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
423 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7299);
427 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
429 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AMethidExpr___n_id
].val
; /* _n_id on <self:AMethidExpr> */
430 if (unlikely(var1
== NULL
)) {
431 if(catchStack
.cursor
>= 0){
432 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
434 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
435 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7300);
439 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
443 /* method parser_prod$AAtExpr$init_aatexpr for (self: AAtExpr, nullable AAnnotations) */
444 void nitc__parser_prod___AAtExpr___init_aatexpr(val
* self
, val
* p0
) {
445 val
* var_n_annotations
/* var n_annotations: nullable AAnnotations */;
447 { /* Inline kernel$Object$init (self) on <self:AAtExpr> */
451 var_n_annotations
= p0
;
452 if (unlikely(var_n_annotations
== NULL
)) {
453 if(catchStack
.cursor
>= 0){
454 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
456 PRINT_ERROR("Runtime error: %s", "Cast failed");
457 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7308);
460 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_n_annotations
; /* _n_annotations on <self:AAtExpr> */
461 if (var_n_annotations
== NULL
) {
462 if(catchStack
.cursor
>= 0){
463 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
465 PRINT_ERROR("Runtime error: %s", "Receiver is null");
466 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7309);
469 { /* Inline parser_nodes$ANode$parent= (var_n_annotations,self) on <var_n_annotations:nullable AAnnotations> */
470 if (unlikely(var_n_annotations
== NULL
)) {
471 if(catchStack
.cursor
>= 0){
472 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
474 PRINT_ERROR("Runtime error: %s", "Receiver is null");
475 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
478 var_n_annotations
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_annotations:nullable AAnnotations> */
484 /* method parser_prod$AAtExpr$replace_child for (self: AAtExpr, ANode, nullable ANode) */
485 void nitc__parser_prod___AAtExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
486 val
* var_old_child
/* var old_child: ANode */;
487 val
* var_new_child
/* var new_child: nullable ANode */;
488 val
* var
/* : nullable AAnnotations */;
489 short int var1
/* : Bool */;
490 short int var2
/* : Bool */;
491 val
* var_other
/* var other: nullable Object */;
492 short int var4
/* : Bool */;
493 short int var6
/* : Bool */;
494 short int var7
/* : Bool */;
497 const char* var_class_name
;
500 var
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AAtExpr> */
502 var1
= 0; /* <var_old_child:ANode> cannot be null */
504 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable AAnnotations> */
505 var_other
= var_old_child
;
507 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable AAnnotations(AAnnotations)> */
508 var6
= var
== var_other
;
521 /* <var_new_child:nullable ANode> isa AAnnotations */
522 cltype
= type_nitc__AAnnotations
.color
;
523 idtype
= type_nitc__AAnnotations
.id
;
524 if(var_new_child
== NULL
) {
527 if(cltype
>= var_new_child
->type
->table_size
) {
530 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
533 if (unlikely(!var7
)) {
534 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
535 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAnnotations", var_class_name
);
536 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7315);
540 nitc__parser_prod___AAtExpr___nitc__parser_nodes__Prod__n_annotations_61d(self
, var_new_child
); /* Direct call parser_prod$AAtExpr$n_annotations= on <self:AAtExpr>*/
547 /* method parser_prod$AAtExpr$n_annotations= for (self: AAtExpr, nullable AAnnotations) */
548 void nitc__parser_prod___AAtExpr___nitc__parser_nodes__Prod__n_annotations_61d(val
* self
, val
* p0
) {
549 val
* var_node
/* var node: nullable AAnnotations */;
551 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_node
; /* _n_annotations on <self:AAtExpr> */
552 if (var_node
== NULL
) {
553 if(catchStack
.cursor
>= 0){
554 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
556 PRINT_ERROR("Runtime error: %s", "Receiver is null");
557 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7323);
560 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AAnnotations> */
561 if (unlikely(var_node
== NULL
)) {
562 if(catchStack
.cursor
>= 0){
563 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
565 PRINT_ERROR("Runtime error: %s", "Receiver is null");
566 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
569 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AAnnotations> */
575 /* method parser_prod$AAtExpr$visit_all for (self: AAtExpr, Visitor) */
576 void nitc__parser_prod___AAtExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
577 val
* var_v
/* var v: Visitor */;
578 val
* var
/* : nullable AAnnotations */;
580 var
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AAtExpr> */
582 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
586 /* method parser_prod$AManyExpr$init_amanyexpr for (self: AManyExpr, Collection[Object]) */
587 void nitc__parser_prod___AManyExpr___init_amanyexpr(val
* self
, val
* p0
) {
588 val
* var_n_exprs
/* var n_exprs: Collection[Object] */;
589 val
* var
/* : ANodes[AExpr] */;
590 val
* var3
/* : ANodes[AExpr] */;
592 { /* Inline kernel$Object$init (self) on <self:AManyExpr> */
598 { /* Inline parser_nodes$AManyExpr$n_exprs (self) on <self:AManyExpr> */
599 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AManyExpr___n_exprs
].val
; /* _n_exprs on <self:AManyExpr> */
600 if (unlikely(var3
== NULL
)) {
601 if(catchStack
.cursor
>= 0){
602 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
604 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
605 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2736);
613 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_exprs
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[AExpr]>*/
617 /* method parser_prod$AManyExpr$replace_child for (self: AManyExpr, ANode, nullable ANode) */
618 void nitc__parser_prod___AManyExpr___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
619 val
* var_old_child
/* var old_child: ANode */;
620 val
* var_new_child
/* var new_child: nullable ANode */;
621 val
* var
/* : ANodes[AExpr] */;
622 val
* var2
/* : ANodes[AExpr] */;
623 short int var3
/* : Bool */;
627 { /* Inline parser_nodes$AManyExpr$n_exprs (self) on <self:AManyExpr> */
628 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AManyExpr___n_exprs
].val
; /* _n_exprs on <self:AManyExpr> */
629 if (unlikely(var2
== NULL
)) {
630 if(catchStack
.cursor
>= 0){
631 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
633 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
634 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2736);
642 var3
= nitc___nitc__ANodes___replace_child(var
, var_old_child
, var_new_child
);
650 /* method parser_prod$AManyExpr$visit_all for (self: AManyExpr, Visitor) */
651 void nitc__parser_prod___AManyExpr___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
652 val
* var_v
/* var v: Visitor */;
653 val
* var
/* : ANodes[AExpr] */;
654 val
* var2
/* : ANodes[AExpr] */;
657 { /* Inline parser_nodes$AManyExpr$n_exprs (self) on <self:AManyExpr> */
658 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AManyExpr___n_exprs
].val
; /* _n_exprs on <self:AManyExpr> */
659 if (unlikely(var2
== NULL
)) {
660 if(catchStack
.cursor
>= 0){
661 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
663 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
664 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2736);
672 nitc___nitc__ANodes___visit_all(var
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var:ANodes[AExpr]>*/
676 /* method parser_prod$AListExprs$init_alistexprs for (self: AListExprs, Collection[Object]) */
677 void nitc__parser_prod___AListExprs___init_alistexprs(val
* self
, val
* p0
) {
678 val
* var_n_exprs
/* var n_exprs: Collection[Object] */;
679 val
* var
/* : ANodes[AExpr] */;
680 val
* var3
/* : ANodes[AExpr] */;
682 { /* Inline kernel$Object$init (self) on <self:AListExprs> */
688 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:AListExprs> */
689 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:AListExprs> */
690 if (unlikely(var3
== NULL
)) {
691 if(catchStack
.cursor
>= 0){
692 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
694 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
695 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
703 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_exprs
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[AExpr]>*/
707 /* method parser_prod$AListExprs$replace_child for (self: AListExprs, ANode, nullable ANode) */
708 void nitc__parser_prod___AListExprs___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
709 val
* var_old_child
/* var old_child: ANode */;
710 val
* var_new_child
/* var new_child: nullable ANode */;
711 val
* var
/* : ANodes[AExpr] */;
712 val
* var2
/* : ANodes[AExpr] */;
713 short int var3
/* : Bool */;
717 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:AListExprs> */
718 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:AListExprs> */
719 if (unlikely(var2
== NULL
)) {
720 if(catchStack
.cursor
>= 0){
721 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
723 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
724 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
732 var3
= nitc___nitc__ANodes___replace_child(var
, var_old_child
, var_new_child
);
740 /* method parser_prod$AListExprs$visit_all for (self: AListExprs, Visitor) */
741 void nitc__parser_prod___AListExprs___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
742 val
* var_v
/* var v: Visitor */;
743 val
* var
/* : ANodes[AExpr] */;
744 val
* var2
/* : ANodes[AExpr] */;
747 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:AListExprs> */
748 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:AListExprs> */
749 if (unlikely(var2
== NULL
)) {
750 if(catchStack
.cursor
>= 0){
751 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
753 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
754 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
762 nitc___nitc__ANodes___visit_all(var
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var:ANodes[AExpr]>*/
766 /* method parser_prod$AParExprs$init_aparexprs for (self: AParExprs, nullable TOpar, Collection[Object], nullable TCpar) */
767 void nitc__parser_prod___AParExprs___init_aparexprs(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
768 val
* var_n_opar
/* var n_opar: nullable TOpar */;
769 val
* var_n_exprs
/* var n_exprs: Collection[Object] */;
770 val
* var_n_cpar
/* var n_cpar: nullable TCpar */;
771 val
* var
/* : ANodes[AExpr] */;
772 val
* var4
/* : ANodes[AExpr] */;
774 { /* Inline kernel$Object$init (self) on <self:AParExprs> */
781 if (unlikely(var_n_opar
== NULL
)) {
782 if(catchStack
.cursor
>= 0){
783 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
785 PRINT_ERROR("Runtime error: %s", "Cast failed");
786 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7379);
789 self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_opar
].val
= var_n_opar
; /* _n_opar on <self:AParExprs> */
790 if (var_n_opar
== NULL
) {
791 if(catchStack
.cursor
>= 0){
792 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
794 PRINT_ERROR("Runtime error: %s", "Receiver is null");
795 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7380);
798 { /* Inline parser_nodes$ANode$parent= (var_n_opar,self) on <var_n_opar:nullable TOpar> */
799 if (unlikely(var_n_opar
== NULL
)) {
800 if(catchStack
.cursor
>= 0){
801 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
803 PRINT_ERROR("Runtime error: %s", "Receiver is null");
804 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
807 var_n_opar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_opar:nullable TOpar> */
812 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:AParExprs> */
813 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:AParExprs> */
814 if (unlikely(var4
== NULL
)) {
815 if(catchStack
.cursor
>= 0){
816 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
818 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
819 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
827 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_exprs
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[AExpr]>*/
829 if (unlikely(var_n_cpar
== NULL
)) {
830 if(catchStack
.cursor
>= 0){
831 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
833 PRINT_ERROR("Runtime error: %s", "Cast failed");
834 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7382);
837 self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_cpar
].val
= var_n_cpar
; /* _n_cpar on <self:AParExprs> */
838 if (var_n_cpar
== NULL
) {
839 if(catchStack
.cursor
>= 0){
840 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
842 PRINT_ERROR("Runtime error: %s", "Receiver is null");
843 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7383);
846 { /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on <var_n_cpar:nullable TCpar> */
847 if (unlikely(var_n_cpar
== NULL
)) {
848 if(catchStack
.cursor
>= 0){
849 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
851 PRINT_ERROR("Runtime error: %s", "Receiver is null");
852 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
855 var_n_cpar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cpar:nullable TCpar> */
861 /* method parser_prod$AParExprs$replace_child for (self: AParExprs, ANode, nullable ANode) */
862 void nitc__parser_prod___AParExprs___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
863 val
* var_old_child
/* var old_child: ANode */;
864 val
* var_new_child
/* var new_child: nullable ANode */;
865 val
* var
/* : TOpar */;
866 short int var1
/* : Bool */;
867 val
* var_other
/* var other: nullable Object */;
868 short int var3
/* : Bool */;
869 short int var5
/* : Bool */;
870 short int var6
/* : Bool */;
873 const char* var_class_name
;
874 val
* var7
/* : ANodes[AExpr] */;
875 val
* var9
/* : ANodes[AExpr] */;
876 short int var10
/* : Bool */;
877 val
* var11
/* : TCpar */;
878 short int var12
/* : Bool */;
879 short int var14
/* : Bool */;
880 short int var16
/* : Bool */;
881 short int var17
/* : Bool */;
884 const char* var_class_name20
;
887 var
= self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_opar
].val
; /* _n_opar on <self:AParExprs> */
888 if (unlikely(var
== NULL
)) {
889 if(catchStack
.cursor
>= 0){
890 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
892 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar");
893 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7388);
897 { /* Inline kernel$Object$== (var,var_old_child) on <var:TOpar> */
898 var_other
= var_old_child
;
900 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TOpar> */
901 var5
= var
== var_other
;
913 /* <var_new_child:nullable ANode> isa TOpar */
914 cltype
= type_nitc__TOpar
.color
;
915 idtype
= type_nitc__TOpar
.id
;
916 if(var_new_child
== NULL
) {
919 if(cltype
>= var_new_child
->type
->table_size
) {
922 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
925 if (unlikely(!var6
)) {
926 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
927 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TOpar", var_class_name
);
928 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7389);
932 nitc__parser_prod___AParExprs___n_opar_61d(self
, var_new_child
); /* Direct call parser_prod$AParExprs$n_opar= on <self:AParExprs>*/
938 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:AParExprs> */
939 var9
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:AParExprs> */
940 if (unlikely(var9
== NULL
)) {
941 if(catchStack
.cursor
>= 0){
942 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
944 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
945 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
953 var10
= nitc___nitc__ANodes___replace_child(var7
, var_old_child
, var_new_child
);
959 var11
= self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_cpar
].val
; /* _n_cpar on <self:AParExprs> */
960 if (unlikely(var11
== NULL
)) {
961 if(catchStack
.cursor
>= 0){
962 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
964 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar");
965 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7393);
969 { /* Inline kernel$Object$== (var11,var_old_child) on <var11:TCpar> */
970 var_other
= var_old_child
;
972 { /* Inline kernel$Object$is_same_instance (var11,var_other) on <var11:TCpar> */
973 var16
= var11
== var_other
;
985 /* <var_new_child:nullable ANode> isa TCpar */
986 cltype18
= type_nitc__TCpar
.color
;
987 idtype19
= type_nitc__TCpar
.id
;
988 if(var_new_child
== NULL
) {
991 if(cltype18
>= var_new_child
->type
->table_size
) {
994 var17
= var_new_child
->type
->type_table
[cltype18
] == idtype19
;
997 if (unlikely(!var17
)) {
998 var_class_name20
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
999 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCpar", var_class_name20
);
1000 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7394);
1004 nitc__parser_prod___AParExprs___n_cpar_61d(self
, var_new_child
); /* Direct call parser_prod$AParExprs$n_cpar= on <self:AParExprs>*/
1011 /* method parser_prod$AParExprs$n_opar= for (self: AParExprs, TOpar) */
1012 void nitc__parser_prod___AParExprs___n_opar_61d(val
* self
, val
* p0
) {
1013 val
* var_node
/* var node: TOpar */;
1015 self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_opar
].val
= var_node
; /* _n_opar on <self:AParExprs> */
1017 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TOpar> */
1018 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TOpar> */
1024 /* method parser_prod$AParExprs$n_cpar= for (self: AParExprs, TCpar) */
1025 void nitc__parser_prod___AParExprs___n_cpar_61d(val
* self
, val
* p0
) {
1026 val
* var_node
/* var node: TCpar */;
1028 self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_cpar
].val
= var_node
; /* _n_cpar on <self:AParExprs> */
1030 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TCpar> */
1031 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TCpar> */
1037 /* method parser_prod$AParExprs$visit_all for (self: AParExprs, Visitor) */
1038 void nitc__parser_prod___AParExprs___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1039 val
* var_v
/* var v: Visitor */;
1040 val
* var
/* : TOpar */;
1041 val
* var1
/* : ANodes[AExpr] */;
1042 val
* var3
/* : ANodes[AExpr] */;
1043 val
* var4
/* : TCpar */;
1045 var
= self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_opar
].val
; /* _n_opar on <self:AParExprs> */
1046 if (unlikely(var
== NULL
)) {
1047 if(catchStack
.cursor
>= 0){
1048 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1050 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar");
1051 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7413);
1055 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1058 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:AParExprs> */
1059 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:AParExprs> */
1060 if (unlikely(var3
== NULL
)) {
1061 if(catchStack
.cursor
>= 0){
1062 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1064 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
1065 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
1073 nitc___nitc__ANodes___visit_all(var1
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var1:ANodes[AExpr]>*/
1075 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AParExprs___n_cpar
].val
; /* _n_cpar on <self:AParExprs> */
1076 if (unlikely(var4
== NULL
)) {
1077 if(catchStack
.cursor
>= 0){
1078 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1080 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar");
1081 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7415);
1085 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1089 /* method parser_prod$ABraExprs$init_abraexprs for (self: ABraExprs, nullable TObra, Collection[Object], nullable TCbra) */
1090 void nitc__parser_prod___ABraExprs___init_abraexprs(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
1091 val
* var_n_obra
/* var n_obra: nullable TObra */;
1092 val
* var_n_exprs
/* var n_exprs: Collection[Object] */;
1093 val
* var_n_cbra
/* var n_cbra: nullable TCbra */;
1094 val
* var
/* : ANodes[AExpr] */;
1095 val
* var4
/* : ANodes[AExpr] */;
1097 { /* Inline kernel$Object$init (self) on <self:ABraExprs> */
1104 if (unlikely(var_n_obra
== NULL
)) {
1105 if(catchStack
.cursor
>= 0){
1106 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1108 PRINT_ERROR("Runtime error: %s", "Cast failed");
1109 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7425);
1112 self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_obra
].val
= var_n_obra
; /* _n_obra on <self:ABraExprs> */
1113 if (var_n_obra
== NULL
) {
1114 if(catchStack
.cursor
>= 0){
1115 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1117 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1118 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7426);
1121 { /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on <var_n_obra:nullable TObra> */
1122 if (unlikely(var_n_obra
== NULL
)) {
1123 if(catchStack
.cursor
>= 0){
1124 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1126 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1127 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1130 var_n_obra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_obra:nullable TObra> */
1135 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:ABraExprs> */
1136 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:ABraExprs> */
1137 if (unlikely(var4
== NULL
)) {
1138 if(catchStack
.cursor
>= 0){
1139 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1141 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
1142 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
1150 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_exprs
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[AExpr]>*/
1152 if (unlikely(var_n_cbra
== NULL
)) {
1153 if(catchStack
.cursor
>= 0){
1154 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1156 PRINT_ERROR("Runtime error: %s", "Cast failed");
1157 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7428);
1160 self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_cbra
].val
= var_n_cbra
; /* _n_cbra on <self:ABraExprs> */
1161 if (var_n_cbra
== NULL
) {
1162 if(catchStack
.cursor
>= 0){
1163 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1165 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1166 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7429);
1169 { /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on <var_n_cbra:nullable TCbra> */
1170 if (unlikely(var_n_cbra
== NULL
)) {
1171 if(catchStack
.cursor
>= 0){
1172 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1174 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1175 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1178 var_n_cbra
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cbra:nullable TCbra> */
1184 /* method parser_prod$ABraExprs$replace_child for (self: ABraExprs, ANode, nullable ANode) */
1185 void nitc__parser_prod___ABraExprs___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1186 val
* var_old_child
/* var old_child: ANode */;
1187 val
* var_new_child
/* var new_child: nullable ANode */;
1188 val
* var
/* : TObra */;
1189 short int var1
/* : Bool */;
1190 val
* var_other
/* var other: nullable Object */;
1191 short int var3
/* : Bool */;
1192 short int var5
/* : Bool */;
1193 short int var6
/* : Bool */;
1196 const char* var_class_name
;
1197 val
* var7
/* : ANodes[AExpr] */;
1198 val
* var9
/* : ANodes[AExpr] */;
1199 short int var10
/* : Bool */;
1200 val
* var11
/* : TCbra */;
1201 short int var12
/* : Bool */;
1202 short int var14
/* : Bool */;
1203 short int var16
/* : Bool */;
1204 short int var17
/* : Bool */;
1207 const char* var_class_name20
;
1210 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_obra
].val
; /* _n_obra on <self:ABraExprs> */
1211 if (unlikely(var
== NULL
)) {
1212 if(catchStack
.cursor
>= 0){
1213 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1215 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra");
1216 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7434);
1220 { /* Inline kernel$Object$== (var,var_old_child) on <var:TObra> */
1221 var_other
= var_old_child
;
1223 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TObra> */
1224 var5
= var
== var_other
;
1236 /* <var_new_child:nullable ANode> isa TObra */
1237 cltype
= type_nitc__TObra
.color
;
1238 idtype
= type_nitc__TObra
.id
;
1239 if(var_new_child
== NULL
) {
1242 if(cltype
>= var_new_child
->type
->table_size
) {
1245 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1248 if (unlikely(!var6
)) {
1249 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1250 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name
);
1251 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7435);
1255 nitc__parser_prod___ABraExprs___n_obra_61d(self
, var_new_child
); /* Direct call parser_prod$ABraExprs$n_obra= on <self:ABraExprs>*/
1261 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:ABraExprs> */
1262 var9
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:ABraExprs> */
1263 if (unlikely(var9
== NULL
)) {
1264 if(catchStack
.cursor
>= 0){
1265 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1267 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
1268 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
1276 var10
= nitc___nitc__ANodes___replace_child(var7
, var_old_child
, var_new_child
);
1282 var11
= self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_cbra
].val
; /* _n_cbra on <self:ABraExprs> */
1283 if (unlikely(var11
== NULL
)) {
1284 if(catchStack
.cursor
>= 0){
1285 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1287 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra");
1288 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7439);
1292 { /* Inline kernel$Object$== (var11,var_old_child) on <var11:TCbra> */
1293 var_other
= var_old_child
;
1295 { /* Inline kernel$Object$is_same_instance (var11,var_other) on <var11:TCbra> */
1296 var16
= var11
== var_other
;
1299 RET_LABEL15
:(void)0;
1304 RET_LABEL13
:(void)0;
1308 /* <var_new_child:nullable ANode> isa TCbra */
1309 cltype18
= type_nitc__TCbra
.color
;
1310 idtype19
= type_nitc__TCbra
.id
;
1311 if(var_new_child
== NULL
) {
1314 if(cltype18
>= var_new_child
->type
->table_size
) {
1317 var17
= var_new_child
->type
->type_table
[cltype18
] == idtype19
;
1320 if (unlikely(!var17
)) {
1321 var_class_name20
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1322 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCbra", var_class_name20
);
1323 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7440);
1327 nitc__parser_prod___ABraExprs___n_cbra_61d(self
, var_new_child
); /* Direct call parser_prod$ABraExprs$n_cbra= on <self:ABraExprs>*/
1334 /* method parser_prod$ABraExprs$n_obra= for (self: ABraExprs, TObra) */
1335 void nitc__parser_prod___ABraExprs___n_obra_61d(val
* self
, val
* p0
) {
1336 val
* var_node
/* var node: TObra */;
1338 self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_obra
].val
= var_node
; /* _n_obra on <self:ABraExprs> */
1340 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TObra> */
1341 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TObra> */
1347 /* method parser_prod$ABraExprs$n_cbra= for (self: ABraExprs, TCbra) */
1348 void nitc__parser_prod___ABraExprs___n_cbra_61d(val
* self
, val
* p0
) {
1349 val
* var_node
/* var node: TCbra */;
1351 self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_cbra
].val
= var_node
; /* _n_cbra on <self:ABraExprs> */
1353 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TCbra> */
1354 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TCbra> */
1360 /* method parser_prod$ABraExprs$visit_all for (self: ABraExprs, Visitor) */
1361 void nitc__parser_prod___ABraExprs___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1362 val
* var_v
/* var v: Visitor */;
1363 val
* var
/* : TObra */;
1364 val
* var1
/* : ANodes[AExpr] */;
1365 val
* var3
/* : ANodes[AExpr] */;
1366 val
* var4
/* : TCbra */;
1368 var
= self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_obra
].val
; /* _n_obra on <self:ABraExprs> */
1369 if (unlikely(var
== NULL
)) {
1370 if(catchStack
.cursor
>= 0){
1371 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1373 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra");
1374 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7459);
1378 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1381 { /* Inline parser_nodes$AExprs$n_exprs (self) on <self:ABraExprs> */
1382 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AExprs___n_exprs
].val
; /* _n_exprs on <self:ABraExprs> */
1383 if (unlikely(var3
== NULL
)) {
1384 if(catchStack
.cursor
>= 0){
1385 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1387 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs");
1388 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2790);
1396 nitc___nitc__ANodes___visit_all(var1
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var1:ANodes[AExpr]>*/
1398 var4
= self
->attrs
[COLOR_nitc__parser_nodes__ABraExprs___n_cbra
].val
; /* _n_cbra on <self:ABraExprs> */
1399 if (unlikely(var4
== NULL
)) {
1400 if(catchStack
.cursor
>= 0){
1401 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1403 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra");
1404 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7461);
1408 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1412 /* method parser_prod$APlusAssignOp$init_aplusassignop for (self: APlusAssignOp, nullable TPluseq) */
1413 void nitc__parser_prod___APlusAssignOp___init_aplusassignop(val
* self
, val
* p0
) {
1414 val
* var_n_op
/* var n_op: nullable TPluseq */;
1416 { /* Inline kernel$Object$init (self) on <self:APlusAssignOp> */
1421 if (unlikely(var_n_op
== NULL
)) {
1422 if(catchStack
.cursor
>= 0){
1423 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1425 PRINT_ERROR("Runtime error: %s", "Cast failed");
1426 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7469);
1429 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:APlusAssignOp> */
1430 if (var_n_op
== NULL
) {
1431 if(catchStack
.cursor
>= 0){
1432 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1434 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1435 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7470);
1438 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPluseq> */
1439 if (unlikely(var_n_op
== NULL
)) {
1440 if(catchStack
.cursor
>= 0){
1441 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1443 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1444 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1447 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPluseq> */
1453 /* method parser_prod$APlusAssignOp$replace_child for (self: APlusAssignOp, ANode, nullable ANode) */
1454 void nitc__parser_prod___APlusAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1455 val
* var_old_child
/* var old_child: ANode */;
1456 val
* var_new_child
/* var new_child: nullable ANode */;
1457 val
* var
/* : Token */;
1458 short int var1
/* : Bool */;
1459 val
* var_other
/* var other: nullable Object */;
1460 short int var3
/* : Bool */;
1461 short int var5
/* : Bool */;
1462 short int var6
/* : Bool */;
1465 const char* var_class_name
;
1468 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:APlusAssignOp> */
1469 if (unlikely(var
== NULL
)) {
1470 if(catchStack
.cursor
>= 0){
1471 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1473 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1474 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7475);
1478 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
1479 var_other
= var_old_child
;
1481 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
1482 var5
= var
== var_other
;
1494 /* <var_new_child:nullable ANode> isa TPluseq */
1495 cltype
= type_nitc__TPluseq
.color
;
1496 idtype
= type_nitc__TPluseq
.id
;
1497 if(var_new_child
== NULL
) {
1500 if(cltype
>= var_new_child
->type
->table_size
) {
1503 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1506 if (unlikely(!var6
)) {
1507 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1508 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPluseq", var_class_name
);
1509 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7476);
1513 nitc__parser_prod___APlusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APlusAssignOp$n_op= on <self:APlusAssignOp>*/
1520 /* method parser_prod$APlusAssignOp$n_op= for (self: APlusAssignOp, Token) */
1521 void nitc__parser_prod___APlusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
1522 val
* var_node
/* var node: Token */;
1524 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:APlusAssignOp> */
1526 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
1527 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
1533 /* method parser_prod$APlusAssignOp$visit_all for (self: APlusAssignOp, Visitor) */
1534 void nitc__parser_prod___APlusAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1535 val
* var_v
/* var v: Visitor */;
1536 val
* var
/* : Token */;
1538 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:APlusAssignOp> */
1539 if (unlikely(var
== NULL
)) {
1540 if(catchStack
.cursor
>= 0){
1541 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1543 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1544 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7490);
1548 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1552 /* method parser_prod$AMinusAssignOp$init_aminusassignop for (self: AMinusAssignOp, nullable TMinuseq) */
1553 void nitc__parser_prod___AMinusAssignOp___init_aminusassignop(val
* self
, val
* p0
) {
1554 val
* var_n_op
/* var n_op: nullable TMinuseq */;
1556 { /* Inline kernel$Object$init (self) on <self:AMinusAssignOp> */
1561 if (unlikely(var_n_op
== NULL
)) {
1562 if(catchStack
.cursor
>= 0){
1563 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1565 PRINT_ERROR("Runtime error: %s", "Cast failed");
1566 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7498);
1569 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:AMinusAssignOp> */
1570 if (var_n_op
== NULL
) {
1571 if(catchStack
.cursor
>= 0){
1572 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1574 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1575 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7499);
1578 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TMinuseq> */
1579 if (unlikely(var_n_op
== NULL
)) {
1580 if(catchStack
.cursor
>= 0){
1581 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1583 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1584 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1587 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TMinuseq> */
1593 /* method parser_prod$AMinusAssignOp$replace_child for (self: AMinusAssignOp, ANode, nullable ANode) */
1594 void nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1595 val
* var_old_child
/* var old_child: ANode */;
1596 val
* var_new_child
/* var new_child: nullable ANode */;
1597 val
* var
/* : Token */;
1598 short int var1
/* : Bool */;
1599 val
* var_other
/* var other: nullable Object */;
1600 short int var3
/* : Bool */;
1601 short int var5
/* : Bool */;
1602 short int var6
/* : Bool */;
1605 const char* var_class_name
;
1608 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AMinusAssignOp> */
1609 if (unlikely(var
== NULL
)) {
1610 if(catchStack
.cursor
>= 0){
1611 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1613 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1614 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7504);
1618 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
1619 var_other
= var_old_child
;
1621 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
1622 var5
= var
== var_other
;
1634 /* <var_new_child:nullable ANode> isa TMinuseq */
1635 cltype
= type_nitc__TMinuseq
.color
;
1636 idtype
= type_nitc__TMinuseq
.id
;
1637 if(var_new_child
== NULL
) {
1640 if(cltype
>= var_new_child
->type
->table_size
) {
1643 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1646 if (unlikely(!var6
)) {
1647 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1648 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TMinuseq", var_class_name
);
1649 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7505);
1653 nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AMinusAssignOp$n_op= on <self:AMinusAssignOp>*/
1660 /* method parser_prod$AMinusAssignOp$n_op= for (self: AMinusAssignOp, Token) */
1661 void nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
1662 val
* var_node
/* var node: Token */;
1664 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:AMinusAssignOp> */
1666 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
1667 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
1673 /* method parser_prod$AMinusAssignOp$visit_all for (self: AMinusAssignOp, Visitor) */
1674 void nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1675 val
* var_v
/* var v: Visitor */;
1676 val
* var
/* : Token */;
1678 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AMinusAssignOp> */
1679 if (unlikely(var
== NULL
)) {
1680 if(catchStack
.cursor
>= 0){
1681 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1683 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1684 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7519);
1688 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1692 /* method parser_prod$AStarAssignOp$init_astarassignop for (self: AStarAssignOp, nullable TStareq) */
1693 void nitc__parser_prod___AStarAssignOp___init_astarassignop(val
* self
, val
* p0
) {
1694 val
* var_n_op
/* var n_op: nullable TStareq */;
1696 { /* Inline kernel$Object$init (self) on <self:AStarAssignOp> */
1701 if (unlikely(var_n_op
== NULL
)) {
1702 if(catchStack
.cursor
>= 0){
1703 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1705 PRINT_ERROR("Runtime error: %s", "Cast failed");
1706 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7527);
1709 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:AStarAssignOp> */
1710 if (var_n_op
== NULL
) {
1711 if(catchStack
.cursor
>= 0){
1712 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1714 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1715 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7528);
1718 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStareq> */
1719 if (unlikely(var_n_op
== NULL
)) {
1720 if(catchStack
.cursor
>= 0){
1721 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1723 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1724 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1727 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStareq> */
1733 /* method parser_prod$AStarAssignOp$replace_child for (self: AStarAssignOp, ANode, nullable ANode) */
1734 void nitc__parser_prod___AStarAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1735 val
* var_old_child
/* var old_child: ANode */;
1736 val
* var_new_child
/* var new_child: nullable ANode */;
1737 val
* var
/* : Token */;
1738 short int var1
/* : Bool */;
1739 val
* var_other
/* var other: nullable Object */;
1740 short int var3
/* : Bool */;
1741 short int var5
/* : Bool */;
1742 short int var6
/* : Bool */;
1745 const char* var_class_name
;
1748 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AStarAssignOp> */
1749 if (unlikely(var
== NULL
)) {
1750 if(catchStack
.cursor
>= 0){
1751 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1753 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1754 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7533);
1758 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
1759 var_other
= var_old_child
;
1761 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
1762 var5
= var
== var_other
;
1774 /* <var_new_child:nullable ANode> isa TStareq */
1775 cltype
= type_nitc__TStareq
.color
;
1776 idtype
= type_nitc__TStareq
.id
;
1777 if(var_new_child
== NULL
) {
1780 if(cltype
>= var_new_child
->type
->table_size
) {
1783 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1786 if (unlikely(!var6
)) {
1787 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1788 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStareq", var_class_name
);
1789 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7534);
1793 nitc__parser_prod___AStarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarAssignOp$n_op= on <self:AStarAssignOp>*/
1800 /* method parser_prod$AStarAssignOp$n_op= for (self: AStarAssignOp, Token) */
1801 void nitc__parser_prod___AStarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
1802 val
* var_node
/* var node: Token */;
1804 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:AStarAssignOp> */
1806 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
1807 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
1813 /* method parser_prod$AStarAssignOp$visit_all for (self: AStarAssignOp, Visitor) */
1814 void nitc__parser_prod___AStarAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1815 val
* var_v
/* var v: Visitor */;
1816 val
* var
/* : Token */;
1818 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AStarAssignOp> */
1819 if (unlikely(var
== NULL
)) {
1820 if(catchStack
.cursor
>= 0){
1821 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1823 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1824 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7548);
1828 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1832 /* method parser_prod$ASlashAssignOp$init_aslashassignop for (self: ASlashAssignOp, nullable TSlasheq) */
1833 void nitc__parser_prod___ASlashAssignOp___init_aslashassignop(val
* self
, val
* p0
) {
1834 val
* var_n_op
/* var n_op: nullable TSlasheq */;
1836 { /* Inline kernel$Object$init (self) on <self:ASlashAssignOp> */
1841 if (unlikely(var_n_op
== NULL
)) {
1842 if(catchStack
.cursor
>= 0){
1843 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1845 PRINT_ERROR("Runtime error: %s", "Cast failed");
1846 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7556);
1849 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:ASlashAssignOp> */
1850 if (var_n_op
== NULL
) {
1851 if(catchStack
.cursor
>= 0){
1852 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1854 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1855 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7557);
1858 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TSlasheq> */
1859 if (unlikely(var_n_op
== NULL
)) {
1860 if(catchStack
.cursor
>= 0){
1861 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1863 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1864 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
1867 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TSlasheq> */
1873 /* method parser_prod$ASlashAssignOp$replace_child for (self: ASlashAssignOp, ANode, nullable ANode) */
1874 void nitc__parser_prod___ASlashAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
1875 val
* var_old_child
/* var old_child: ANode */;
1876 val
* var_new_child
/* var new_child: nullable ANode */;
1877 val
* var
/* : Token */;
1878 short int var1
/* : Bool */;
1879 val
* var_other
/* var other: nullable Object */;
1880 short int var3
/* : Bool */;
1881 short int var5
/* : Bool */;
1882 short int var6
/* : Bool */;
1885 const char* var_class_name
;
1888 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:ASlashAssignOp> */
1889 if (unlikely(var
== NULL
)) {
1890 if(catchStack
.cursor
>= 0){
1891 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1893 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1894 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7562);
1898 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
1899 var_other
= var_old_child
;
1901 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
1902 var5
= var
== var_other
;
1914 /* <var_new_child:nullable ANode> isa TSlasheq */
1915 cltype
= type_nitc__TSlasheq
.color
;
1916 idtype
= type_nitc__TSlasheq
.id
;
1917 if(var_new_child
== NULL
) {
1920 if(cltype
>= var_new_child
->type
->table_size
) {
1923 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
1926 if (unlikely(!var6
)) {
1927 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
1928 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TSlasheq", var_class_name
);
1929 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7563);
1933 nitc__parser_prod___ASlashAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ASlashAssignOp$n_op= on <self:ASlashAssignOp>*/
1940 /* method parser_prod$ASlashAssignOp$n_op= for (self: ASlashAssignOp, Token) */
1941 void nitc__parser_prod___ASlashAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
1942 val
* var_node
/* var node: Token */;
1944 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:ASlashAssignOp> */
1946 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
1947 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
1953 /* method parser_prod$ASlashAssignOp$visit_all for (self: ASlashAssignOp, Visitor) */
1954 void nitc__parser_prod___ASlashAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
1955 val
* var_v
/* var v: Visitor */;
1956 val
* var
/* : Token */;
1958 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:ASlashAssignOp> */
1959 if (unlikely(var
== NULL
)) {
1960 if(catchStack
.cursor
>= 0){
1961 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1963 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
1964 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7577);
1968 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
1972 /* method parser_prod$APercentAssignOp$init_apercentassignop for (self: APercentAssignOp, nullable TPercenteq) */
1973 void nitc__parser_prod___APercentAssignOp___init_apercentassignop(val
* self
, val
* p0
) {
1974 val
* var_n_op
/* var n_op: nullable TPercenteq */;
1976 { /* Inline kernel$Object$init (self) on <self:APercentAssignOp> */
1981 if (unlikely(var_n_op
== NULL
)) {
1982 if(catchStack
.cursor
>= 0){
1983 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1985 PRINT_ERROR("Runtime error: %s", "Cast failed");
1986 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7585);
1989 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:APercentAssignOp> */
1990 if (var_n_op
== NULL
) {
1991 if(catchStack
.cursor
>= 0){
1992 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1994 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1995 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7586);
1998 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPercenteq> */
1999 if (unlikely(var_n_op
== NULL
)) {
2000 if(catchStack
.cursor
>= 0){
2001 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2003 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2004 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2007 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPercenteq> */
2013 /* method parser_prod$APercentAssignOp$replace_child for (self: APercentAssignOp, ANode, nullable ANode) */
2014 void nitc__parser_prod___APercentAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2015 val
* var_old_child
/* var old_child: ANode */;
2016 val
* var_new_child
/* var new_child: nullable ANode */;
2017 val
* var
/* : Token */;
2018 short int var1
/* : Bool */;
2019 val
* var_other
/* var other: nullable Object */;
2020 short int var3
/* : Bool */;
2021 short int var5
/* : Bool */;
2022 short int var6
/* : Bool */;
2025 const char* var_class_name
;
2028 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:APercentAssignOp> */
2029 if (unlikely(var
== NULL
)) {
2030 if(catchStack
.cursor
>= 0){
2031 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2033 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2034 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7591);
2038 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2039 var_other
= var_old_child
;
2041 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2042 var5
= var
== var_other
;
2054 /* <var_new_child:nullable ANode> isa TPercenteq */
2055 cltype
= type_nitc__TPercenteq
.color
;
2056 idtype
= type_nitc__TPercenteq
.id
;
2057 if(var_new_child
== NULL
) {
2060 if(cltype
>= var_new_child
->type
->table_size
) {
2063 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2066 if (unlikely(!var6
)) {
2067 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2068 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPercenteq", var_class_name
);
2069 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7592);
2073 nitc__parser_prod___APercentAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APercentAssignOp$n_op= on <self:APercentAssignOp>*/
2080 /* method parser_prod$APercentAssignOp$n_op= for (self: APercentAssignOp, Token) */
2081 void nitc__parser_prod___APercentAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
2082 val
* var_node
/* var node: Token */;
2084 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:APercentAssignOp> */
2086 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2087 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2093 /* method parser_prod$APercentAssignOp$visit_all for (self: APercentAssignOp, Visitor) */
2094 void nitc__parser_prod___APercentAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2095 val
* var_v
/* var v: Visitor */;
2096 val
* var
/* : Token */;
2098 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:APercentAssignOp> */
2099 if (unlikely(var
== NULL
)) {
2100 if(catchStack
.cursor
>= 0){
2101 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2103 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2104 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7606);
2108 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2112 /* method parser_prod$AStarstarAssignOp$init_astarstarassignop for (self: AStarstarAssignOp, nullable TStarstareq) */
2113 void nitc__parser_prod___AStarstarAssignOp___init_astarstarassignop(val
* self
, val
* p0
) {
2114 val
* var_n_op
/* var n_op: nullable TStarstareq */;
2116 { /* Inline kernel$Object$init (self) on <self:AStarstarAssignOp> */
2121 if (unlikely(var_n_op
== NULL
)) {
2122 if(catchStack
.cursor
>= 0){
2123 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2125 PRINT_ERROR("Runtime error: %s", "Cast failed");
2126 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7614);
2129 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:AStarstarAssignOp> */
2130 if (var_n_op
== NULL
) {
2131 if(catchStack
.cursor
>= 0){
2132 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2134 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2135 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7615);
2138 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TStarstareq> */
2139 if (unlikely(var_n_op
== NULL
)) {
2140 if(catchStack
.cursor
>= 0){
2141 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2143 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2144 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2147 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TStarstareq> */
2153 /* method parser_prod$AStarstarAssignOp$replace_child for (self: AStarstarAssignOp, ANode, nullable ANode) */
2154 void nitc__parser_prod___AStarstarAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2155 val
* var_old_child
/* var old_child: ANode */;
2156 val
* var_new_child
/* var new_child: nullable ANode */;
2157 val
* var
/* : Token */;
2158 short int var1
/* : Bool */;
2159 val
* var_other
/* var other: nullable Object */;
2160 short int var3
/* : Bool */;
2161 short int var5
/* : Bool */;
2162 short int var6
/* : Bool */;
2165 const char* var_class_name
;
2168 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AStarstarAssignOp> */
2169 if (unlikely(var
== NULL
)) {
2170 if(catchStack
.cursor
>= 0){
2171 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2173 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2174 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7620);
2178 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2179 var_other
= var_old_child
;
2181 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2182 var5
= var
== var_other
;
2194 /* <var_new_child:nullable ANode> isa TStarstareq */
2195 cltype
= type_nitc__TStarstareq
.color
;
2196 idtype
= type_nitc__TStarstareq
.id
;
2197 if(var_new_child
== NULL
) {
2200 if(cltype
>= var_new_child
->type
->table_size
) {
2203 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2206 if (unlikely(!var6
)) {
2207 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2208 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStarstareq", var_class_name
);
2209 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7621);
2213 nitc__parser_prod___AStarstarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AStarstarAssignOp$n_op= on <self:AStarstarAssignOp>*/
2220 /* method parser_prod$AStarstarAssignOp$n_op= for (self: AStarstarAssignOp, Token) */
2221 void nitc__parser_prod___AStarstarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
2222 val
* var_node
/* var node: Token */;
2224 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:AStarstarAssignOp> */
2226 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2227 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2233 /* method parser_prod$AStarstarAssignOp$visit_all for (self: AStarstarAssignOp, Visitor) */
2234 void nitc__parser_prod___AStarstarAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2235 val
* var_v
/* var v: Visitor */;
2236 val
* var
/* : Token */;
2238 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AStarstarAssignOp> */
2239 if (unlikely(var
== NULL
)) {
2240 if(catchStack
.cursor
>= 0){
2241 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2243 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2244 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7635);
2248 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2252 /* method parser_prod$APipeAssignOp$init_apipeassignop for (self: APipeAssignOp, nullable TPipeeq) */
2253 void nitc__parser_prod___APipeAssignOp___init_apipeassignop(val
* self
, val
* p0
) {
2254 val
* var_n_op
/* var n_op: nullable TPipeeq */;
2256 { /* Inline kernel$Object$init (self) on <self:APipeAssignOp> */
2261 if (unlikely(var_n_op
== NULL
)) {
2262 if(catchStack
.cursor
>= 0){
2263 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2265 PRINT_ERROR("Runtime error: %s", "Cast failed");
2266 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7643);
2269 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:APipeAssignOp> */
2270 if (var_n_op
== NULL
) {
2271 if(catchStack
.cursor
>= 0){
2272 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2274 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2275 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7644);
2278 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TPipeeq> */
2279 if (unlikely(var_n_op
== NULL
)) {
2280 if(catchStack
.cursor
>= 0){
2281 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2283 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2284 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2287 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TPipeeq> */
2293 /* method parser_prod$APipeAssignOp$replace_child for (self: APipeAssignOp, ANode, nullable ANode) */
2294 void nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2295 val
* var_old_child
/* var old_child: ANode */;
2296 val
* var_new_child
/* var new_child: nullable ANode */;
2297 val
* var
/* : Token */;
2298 short int var1
/* : Bool */;
2299 val
* var_other
/* var other: nullable Object */;
2300 short int var3
/* : Bool */;
2301 short int var5
/* : Bool */;
2302 short int var6
/* : Bool */;
2305 const char* var_class_name
;
2308 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:APipeAssignOp> */
2309 if (unlikely(var
== NULL
)) {
2310 if(catchStack
.cursor
>= 0){
2311 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2313 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2314 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7649);
2318 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2319 var_other
= var_old_child
;
2321 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2322 var5
= var
== var_other
;
2334 /* <var_new_child:nullable ANode> isa TPipeeq */
2335 cltype
= type_nitc__TPipeeq
.color
;
2336 idtype
= type_nitc__TPipeeq
.id
;
2337 if(var_new_child
== NULL
) {
2340 if(cltype
>= var_new_child
->type
->table_size
) {
2343 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2346 if (unlikely(!var6
)) {
2347 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2348 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPipeeq", var_class_name
);
2349 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7650);
2353 nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$APipeAssignOp$n_op= on <self:APipeAssignOp>*/
2360 /* method parser_prod$APipeAssignOp$n_op= for (self: APipeAssignOp, Token) */
2361 void nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
2362 val
* var_node
/* var node: Token */;
2364 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:APipeAssignOp> */
2366 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2367 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2373 /* method parser_prod$APipeAssignOp$visit_all for (self: APipeAssignOp, Visitor) */
2374 void nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2375 val
* var_v
/* var v: Visitor */;
2376 val
* var
/* : Token */;
2378 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:APipeAssignOp> */
2379 if (unlikely(var
== NULL
)) {
2380 if(catchStack
.cursor
>= 0){
2381 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2383 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2384 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7664);
2388 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2392 /* method parser_prod$ACaretAssignOp$init_acaretassignop for (self: ACaretAssignOp, nullable TCareteq) */
2393 void nitc__parser_prod___ACaretAssignOp___init_acaretassignop(val
* self
, val
* p0
) {
2394 val
* var_n_op
/* var n_op: nullable TCareteq */;
2396 { /* Inline kernel$Object$init (self) on <self:ACaretAssignOp> */
2401 if (unlikely(var_n_op
== NULL
)) {
2402 if(catchStack
.cursor
>= 0){
2403 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2405 PRINT_ERROR("Runtime error: %s", "Cast failed");
2406 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7672);
2409 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:ACaretAssignOp> */
2410 if (var_n_op
== NULL
) {
2411 if(catchStack
.cursor
>= 0){
2412 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2414 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2415 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7673);
2418 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TCareteq> */
2419 if (unlikely(var_n_op
== NULL
)) {
2420 if(catchStack
.cursor
>= 0){
2421 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2423 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2424 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2427 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TCareteq> */
2433 /* method parser_prod$ACaretAssignOp$replace_child for (self: ACaretAssignOp, ANode, nullable ANode) */
2434 void nitc__parser_prod___ACaretAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2435 val
* var_old_child
/* var old_child: ANode */;
2436 val
* var_new_child
/* var new_child: nullable ANode */;
2437 val
* var
/* : Token */;
2438 short int var1
/* : Bool */;
2439 val
* var_other
/* var other: nullable Object */;
2440 short int var3
/* : Bool */;
2441 short int var5
/* : Bool */;
2442 short int var6
/* : Bool */;
2445 const char* var_class_name
;
2448 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:ACaretAssignOp> */
2449 if (unlikely(var
== NULL
)) {
2450 if(catchStack
.cursor
>= 0){
2451 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2453 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2454 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7678);
2458 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2459 var_other
= var_old_child
;
2461 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2462 var5
= var
== var_other
;
2474 /* <var_new_child:nullable ANode> isa TCareteq */
2475 cltype
= type_nitc__TCareteq
.color
;
2476 idtype
= type_nitc__TCareteq
.id
;
2477 if(var_new_child
== NULL
) {
2480 if(cltype
>= var_new_child
->type
->table_size
) {
2483 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2486 if (unlikely(!var6
)) {
2487 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2488 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCareteq", var_class_name
);
2489 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7679);
2493 nitc__parser_prod___ACaretAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ACaretAssignOp$n_op= on <self:ACaretAssignOp>*/
2500 /* method parser_prod$ACaretAssignOp$n_op= for (self: ACaretAssignOp, Token) */
2501 void nitc__parser_prod___ACaretAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
2502 val
* var_node
/* var node: Token */;
2504 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:ACaretAssignOp> */
2506 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2507 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2513 /* method parser_prod$ACaretAssignOp$visit_all for (self: ACaretAssignOp, Visitor) */
2514 void nitc__parser_prod___ACaretAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2515 val
* var_v
/* var v: Visitor */;
2516 val
* var
/* : Token */;
2518 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:ACaretAssignOp> */
2519 if (unlikely(var
== NULL
)) {
2520 if(catchStack
.cursor
>= 0){
2521 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2523 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2524 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7693);
2528 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2532 /* method parser_prod$AAmpAssignOp$init_aampassignop for (self: AAmpAssignOp, nullable TAmpeq) */
2533 void nitc__parser_prod___AAmpAssignOp___init_aampassignop(val
* self
, val
* p0
) {
2534 val
* var_n_op
/* var n_op: nullable TAmpeq */;
2536 { /* Inline kernel$Object$init (self) on <self:AAmpAssignOp> */
2541 if (unlikely(var_n_op
== NULL
)) {
2542 if(catchStack
.cursor
>= 0){
2543 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2545 PRINT_ERROR("Runtime error: %s", "Cast failed");
2546 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7701);
2549 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:AAmpAssignOp> */
2550 if (var_n_op
== NULL
) {
2551 if(catchStack
.cursor
>= 0){
2552 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2554 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2555 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7702);
2558 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TAmpeq> */
2559 if (unlikely(var_n_op
== NULL
)) {
2560 if(catchStack
.cursor
>= 0){
2561 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2563 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2564 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2567 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TAmpeq> */
2573 /* method parser_prod$AAmpAssignOp$replace_child for (self: AAmpAssignOp, ANode, nullable ANode) */
2574 void nitc__parser_prod___AAmpAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2575 val
* var_old_child
/* var old_child: ANode */;
2576 val
* var_new_child
/* var new_child: nullable ANode */;
2577 val
* var
/* : Token */;
2578 short int var1
/* : Bool */;
2579 val
* var_other
/* var other: nullable Object */;
2580 short int var3
/* : Bool */;
2581 short int var5
/* : Bool */;
2582 short int var6
/* : Bool */;
2585 const char* var_class_name
;
2588 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AAmpAssignOp> */
2589 if (unlikely(var
== NULL
)) {
2590 if(catchStack
.cursor
>= 0){
2591 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2593 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2594 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7707);
2598 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2599 var_other
= var_old_child
;
2601 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2602 var5
= var
== var_other
;
2614 /* <var_new_child:nullable ANode> isa TAmpeq */
2615 cltype
= type_nitc__TAmpeq
.color
;
2616 idtype
= type_nitc__TAmpeq
.id
;
2617 if(var_new_child
== NULL
) {
2620 if(cltype
>= var_new_child
->type
->table_size
) {
2623 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2626 if (unlikely(!var6
)) {
2627 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2628 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAmpeq", var_class_name
);
2629 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7708);
2633 nitc__parser_prod___AAmpAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AAmpAssignOp$n_op= on <self:AAmpAssignOp>*/
2640 /* method parser_prod$AAmpAssignOp$n_op= for (self: AAmpAssignOp, Token) */
2641 void nitc__parser_prod___AAmpAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
2642 val
* var_node
/* var node: Token */;
2644 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:AAmpAssignOp> */
2646 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2647 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2653 /* method parser_prod$AAmpAssignOp$visit_all for (self: AAmpAssignOp, Visitor) */
2654 void nitc__parser_prod___AAmpAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2655 val
* var_v
/* var v: Visitor */;
2656 val
* var
/* : Token */;
2658 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AAmpAssignOp> */
2659 if (unlikely(var
== NULL
)) {
2660 if(catchStack
.cursor
>= 0){
2661 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2663 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2664 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7722);
2668 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2672 /* method parser_prod$ALlAssignOp$init_allassignop for (self: ALlAssignOp, nullable TLleq) */
2673 void nitc__parser_prod___ALlAssignOp___init_allassignop(val
* self
, val
* p0
) {
2674 val
* var_n_op
/* var n_op: nullable TLleq */;
2676 { /* Inline kernel$Object$init (self) on <self:ALlAssignOp> */
2681 if (unlikely(var_n_op
== NULL
)) {
2682 if(catchStack
.cursor
>= 0){
2683 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2685 PRINT_ERROR("Runtime error: %s", "Cast failed");
2686 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7730);
2689 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:ALlAssignOp> */
2690 if (var_n_op
== NULL
) {
2691 if(catchStack
.cursor
>= 0){
2692 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2694 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2695 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7731);
2698 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TLleq> */
2699 if (unlikely(var_n_op
== NULL
)) {
2700 if(catchStack
.cursor
>= 0){
2701 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2703 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2704 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2707 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TLleq> */
2713 /* method parser_prod$ALlAssignOp$replace_child for (self: ALlAssignOp, ANode, nullable ANode) */
2714 void nitc__parser_prod___ALlAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2715 val
* var_old_child
/* var old_child: ANode */;
2716 val
* var_new_child
/* var new_child: nullable ANode */;
2717 val
* var
/* : Token */;
2718 short int var1
/* : Bool */;
2719 val
* var_other
/* var other: nullable Object */;
2720 short int var3
/* : Bool */;
2721 short int var5
/* : Bool */;
2722 short int var6
/* : Bool */;
2725 const char* var_class_name
;
2728 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:ALlAssignOp> */
2729 if (unlikely(var
== NULL
)) {
2730 if(catchStack
.cursor
>= 0){
2731 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2733 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2734 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7736);
2738 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2739 var_other
= var_old_child
;
2741 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2742 var5
= var
== var_other
;
2754 /* <var_new_child:nullable ANode> isa TLleq */
2755 cltype
= type_nitc__TLleq
.color
;
2756 idtype
= type_nitc__TLleq
.id
;
2757 if(var_new_child
== NULL
) {
2760 if(cltype
>= var_new_child
->type
->table_size
) {
2763 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2766 if (unlikely(!var6
)) {
2767 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2768 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TLleq", var_class_name
);
2769 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7737);
2773 nitc__parser_prod___ALlAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$ALlAssignOp$n_op= on <self:ALlAssignOp>*/
2780 /* method parser_prod$ALlAssignOp$n_op= for (self: ALlAssignOp, Token) */
2781 void nitc__parser_prod___ALlAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
2782 val
* var_node
/* var node: Token */;
2784 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:ALlAssignOp> */
2786 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2787 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2793 /* method parser_prod$ALlAssignOp$visit_all for (self: ALlAssignOp, Visitor) */
2794 void nitc__parser_prod___ALlAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2795 val
* var_v
/* var v: Visitor */;
2796 val
* var
/* : Token */;
2798 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:ALlAssignOp> */
2799 if (unlikely(var
== NULL
)) {
2800 if(catchStack
.cursor
>= 0){
2801 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2803 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2804 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7751);
2808 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2812 /* method parser_prod$AGgAssignOp$init_aggassignop for (self: AGgAssignOp, nullable TGgeq) */
2813 void nitc__parser_prod___AGgAssignOp___init_aggassignop(val
* self
, val
* p0
) {
2814 val
* var_n_op
/* var n_op: nullable TGgeq */;
2816 { /* Inline kernel$Object$init (self) on <self:AGgAssignOp> */
2821 if (unlikely(var_n_op
== NULL
)) {
2822 if(catchStack
.cursor
>= 0){
2823 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2825 PRINT_ERROR("Runtime error: %s", "Cast failed");
2826 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7759);
2829 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_n_op
; /* _n_op on <self:AGgAssignOp> */
2830 if (var_n_op
== NULL
) {
2831 if(catchStack
.cursor
>= 0){
2832 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2834 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2835 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7760);
2838 { /* Inline parser_nodes$ANode$parent= (var_n_op,self) on <var_n_op:nullable TGgeq> */
2839 if (unlikely(var_n_op
== NULL
)) {
2840 if(catchStack
.cursor
>= 0){
2841 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2843 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2844 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
2847 var_n_op
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_op:nullable TGgeq> */
2853 /* method parser_prod$AGgAssignOp$replace_child for (self: AGgAssignOp, ANode, nullable ANode) */
2854 void nitc__parser_prod___AGgAssignOp___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
2855 val
* var_old_child
/* var old_child: ANode */;
2856 val
* var_new_child
/* var new_child: nullable ANode */;
2857 val
* var
/* : Token */;
2858 short int var1
/* : Bool */;
2859 val
* var_other
/* var other: nullable Object */;
2860 short int var3
/* : Bool */;
2861 short int var5
/* : Bool */;
2862 short int var6
/* : Bool */;
2865 const char* var_class_name
;
2868 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AGgAssignOp> */
2869 if (unlikely(var
== NULL
)) {
2870 if(catchStack
.cursor
>= 0){
2871 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2873 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2874 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7765);
2878 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
2879 var_other
= var_old_child
;
2881 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
2882 var5
= var
== var_other
;
2894 /* <var_new_child:nullable ANode> isa TGgeq */
2895 cltype
= type_nitc__TGgeq
.color
;
2896 idtype
= type_nitc__TGgeq
.id
;
2897 if(var_new_child
== NULL
) {
2900 if(cltype
>= var_new_child
->type
->table_size
) {
2903 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
2906 if (unlikely(!var6
)) {
2907 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
2908 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGgeq", var_class_name
);
2909 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7766);
2913 nitc__parser_prod___AGgAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self
, var_new_child
); /* Direct call parser_prod$AGgAssignOp$n_op= on <self:AGgAssignOp>*/
2920 /* method parser_prod$AGgAssignOp$n_op= for (self: AGgAssignOp, Token) */
2921 void nitc__parser_prod___AGgAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val
* self
, val
* p0
) {
2922 val
* var_node
/* var node: Token */;
2924 self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
= var_node
; /* _n_op on <self:AGgAssignOp> */
2926 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
2927 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
2933 /* method parser_prod$AGgAssignOp$visit_all for (self: AGgAssignOp, Visitor) */
2934 void nitc__parser_prod___AGgAssignOp___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
2935 val
* var_v
/* var v: Visitor */;
2936 val
* var
/* : Token */;
2938 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAssignOp___n_op
].val
; /* _n_op on <self:AGgAssignOp> */
2939 if (unlikely(var
== NULL
)) {
2940 if(catchStack
.cursor
>= 0){
2941 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2943 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op");
2944 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7780);
2948 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
2952 /* method parser_prod$AForGroup$init_aforgroup for (self: AForGroup, Collection[Object], nullable TKwin, nullable AExpr) */
2953 void nitc__parser_prod___AForGroup___init_aforgroup(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
2954 val
* var_n_ids
/* var n_ids: Collection[Object] */;
2955 val
* var_n_kwin
/* var n_kwin: nullable TKwin */;
2956 val
* var_n_expr
/* var n_expr: nullable AExpr */;
2957 val
* var
/* : ANodes[TId] */;
2958 val
* var3
/* : ANodes[TId] */;
2960 { /* Inline kernel$Object$init (self) on <self:AForGroup> */
2968 { /* Inline parser_nodes$AForGroup$n_ids (self) on <self:AForGroup> */
2969 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_ids
].val
; /* _n_ids on <self:AForGroup> */
2970 if (unlikely(var3
== NULL
)) {
2971 if(catchStack
.cursor
>= 0){
2972 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2974 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_ids");
2975 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2018);
2983 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_ids
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[TId]>*/
2985 if (unlikely(var_n_kwin
== NULL
)) {
2986 if(catchStack
.cursor
>= 0){
2987 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2989 PRINT_ERROR("Runtime error: %s", "Cast failed");
2990 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7791);
2993 self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_kwin
].val
= var_n_kwin
; /* _n_kwin on <self:AForGroup> */
2994 if (var_n_kwin
== NULL
) {
2995 if(catchStack
.cursor
>= 0){
2996 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2998 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2999 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7792);
3002 { /* Inline parser_nodes$ANode$parent= (var_n_kwin,self) on <var_n_kwin:nullable TKwin> */
3003 if (unlikely(var_n_kwin
== NULL
)) {
3004 if(catchStack
.cursor
>= 0){
3005 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3007 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3008 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3011 var_n_kwin
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwin:nullable TKwin> */
3015 if (unlikely(var_n_expr
== NULL
)) {
3016 if(catchStack
.cursor
>= 0){
3017 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3019 PRINT_ERROR("Runtime error: %s", "Cast failed");
3020 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7793);
3023 self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_expr
].val
= var_n_expr
; /* _n_expr on <self:AForGroup> */
3024 if (var_n_expr
== NULL
) {
3025 if(catchStack
.cursor
>= 0){
3026 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3028 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3029 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7794);
3032 { /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on <var_n_expr:nullable AExpr> */
3033 if (unlikely(var_n_expr
== NULL
)) {
3034 if(catchStack
.cursor
>= 0){
3035 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3037 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3038 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3041 var_n_expr
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_expr:nullable AExpr> */
3047 /* method parser_prod$AForGroup$replace_child for (self: AForGroup, ANode, nullable ANode) */
3048 void nitc__parser_prod___AForGroup___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3049 val
* var_old_child
/* var old_child: ANode */;
3050 val
* var_new_child
/* var new_child: nullable ANode */;
3051 val
* var
/* : ANodes[TId] */;
3052 val
* var2
/* : ANodes[TId] */;
3053 short int var3
/* : Bool */;
3054 val
* var4
/* : TKwin */;
3055 short int var5
/* : Bool */;
3056 val
* var_other
/* var other: nullable Object */;
3057 short int var7
/* : Bool */;
3058 short int var9
/* : Bool */;
3059 short int var10
/* : Bool */;
3062 const char* var_class_name
;
3063 val
* var11
/* : AExpr */;
3064 short int var12
/* : Bool */;
3065 short int var14
/* : Bool */;
3066 short int var16
/* : Bool */;
3067 short int var17
/* : Bool */;
3070 const char* var_class_name20
;
3074 { /* Inline parser_nodes$AForGroup$n_ids (self) on <self:AForGroup> */
3075 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_ids
].val
; /* _n_ids on <self:AForGroup> */
3076 if (unlikely(var2
== NULL
)) {
3077 if(catchStack
.cursor
>= 0){
3078 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3080 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_ids");
3081 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2018);
3089 var3
= nitc___nitc__ANodes___replace_child(var
, var_old_child
, var_new_child
);
3095 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_kwin
].val
; /* _n_kwin on <self:AForGroup> */
3096 if (unlikely(var4
== NULL
)) {
3097 if(catchStack
.cursor
>= 0){
3098 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3100 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwin");
3101 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7800);
3105 { /* Inline kernel$Object$== (var4,var_old_child) on <var4:TKwin> */
3106 var_other
= var_old_child
;
3108 { /* Inline kernel$Object$is_same_instance (var4,var_other) on <var4:TKwin> */
3109 var9
= var4
== var_other
;
3121 /* <var_new_child:nullable ANode> isa TKwin */
3122 cltype
= type_nitc__TKwin
.color
;
3123 idtype
= type_nitc__TKwin
.id
;
3124 if(var_new_child
== NULL
) {
3127 if(cltype
>= var_new_child
->type
->table_size
) {
3130 var10
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3133 if (unlikely(!var10
)) {
3134 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3135 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwin", var_class_name
);
3136 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7801);
3140 nitc__parser_prod___AForGroup___n_kwin_61d(self
, var_new_child
); /* Direct call parser_prod$AForGroup$n_kwin= on <self:AForGroup>*/
3145 var11
= self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_expr
].val
; /* _n_expr on <self:AForGroup> */
3146 if (unlikely(var11
== NULL
)) {
3147 if(catchStack
.cursor
>= 0){
3148 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3150 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3151 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7804);
3155 { /* Inline kernel$Object$== (var11,var_old_child) on <var11:AExpr> */
3156 var_other
= var_old_child
;
3158 { /* Inline kernel$Object$is_same_instance (var11,var_other) on <var11:AExpr> */
3159 var16
= var11
== var_other
;
3162 RET_LABEL15
:(void)0;
3167 RET_LABEL13
:(void)0;
3171 /* <var_new_child:nullable ANode> isa AExpr */
3172 cltype18
= type_nitc__AExpr
.color
;
3173 idtype19
= type_nitc__AExpr
.id
;
3174 if(var_new_child
== NULL
) {
3177 if(cltype18
>= var_new_child
->type
->table_size
) {
3180 var17
= var_new_child
->type
->type_table
[cltype18
] == idtype19
;
3183 if (unlikely(!var17
)) {
3184 var_class_name20
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3185 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name20
);
3186 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7805);
3190 nitc__parser_prod___AForGroup___n_expr_61d(self
, var_new_child
); /* Direct call parser_prod$AForGroup$n_expr= on <self:AForGroup>*/
3197 /* method parser_prod$AForGroup$n_kwin= for (self: AForGroup, TKwin) */
3198 void nitc__parser_prod___AForGroup___n_kwin_61d(val
* self
, val
* p0
) {
3199 val
* var_node
/* var node: TKwin */;
3201 self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_kwin
].val
= var_node
; /* _n_kwin on <self:AForGroup> */
3203 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwin> */
3204 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwin> */
3210 /* method parser_prod$AForGroup$n_expr= for (self: AForGroup, AExpr) */
3211 void nitc__parser_prod___AForGroup___n_expr_61d(val
* self
, val
* p0
) {
3212 val
* var_node
/* var node: AExpr */;
3214 self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_expr
].val
= var_node
; /* _n_expr on <self:AForGroup> */
3216 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AExpr> */
3217 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AExpr> */
3223 /* method parser_prod$AForGroup$visit_all for (self: AForGroup, Visitor) */
3224 void nitc__parser_prod___AForGroup___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3225 val
* var_v
/* var v: Visitor */;
3226 val
* var
/* : ANodes[TId] */;
3227 val
* var2
/* : ANodes[TId] */;
3228 val
* var3
/* : TKwin */;
3229 val
* var4
/* : AExpr */;
3232 { /* Inline parser_nodes$AForGroup$n_ids (self) on <self:AForGroup> */
3233 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_ids
].val
; /* _n_ids on <self:AForGroup> */
3234 if (unlikely(var2
== NULL
)) {
3235 if(catchStack
.cursor
>= 0){
3236 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3238 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_ids");
3239 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2018);
3247 nitc___nitc__ANodes___visit_all(var
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var:ANodes[TId]>*/
3249 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_kwin
].val
; /* _n_kwin on <self:AForGroup> */
3250 if (unlikely(var3
== NULL
)) {
3251 if(catchStack
.cursor
>= 0){
3252 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3254 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwin");
3255 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7825);
3259 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3261 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AForGroup___n_expr
].val
; /* _n_expr on <self:AForGroup> */
3262 if (unlikely(var4
== NULL
)) {
3263 if(catchStack
.cursor
>= 0){
3264 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3266 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr");
3267 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7826);
3271 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3275 /* method parser_prod$AModuleName$init_amodulename for (self: AModuleName, nullable TQuad, Collection[Object], nullable TId) */
3276 void nitc__parser_prod___AModuleName___init_amodulename(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
3277 val
* var_n_quad
/* var n_quad: nullable TQuad */;
3278 val
* var_n_path
/* var n_path: Collection[Object] */;
3279 val
* var_n_id
/* var n_id: nullable TId */;
3280 short int var
/* : Bool */;
3281 short int var2
/* : Bool */;
3282 val
* var_other
/* var other: nullable Object */;
3283 short int var4
/* : Bool */;
3284 short int var5
/* : Bool */;
3285 val
* var7
/* : ANodes[TId] */;
3286 val
* var9
/* : ANodes[TId] */;
3288 { /* Inline kernel$Object$init (self) on <self:AModuleName> */
3295 self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_quad
].val
= var_n_quad
; /* _n_quad on <self:AModuleName> */
3296 if (var_n_quad
== NULL
) {
3297 var
= 0; /* is null */
3299 var
= 1; /* arg is null and recv is not */
3302 { /* Inline kernel$Object$!= (var_n_quad,((val*)NULL)) on <var_n_quad:nullable TQuad> */
3303 var_other
= ((val
*)NULL
);
3305 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_quad
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_quad
, var_other
); /* == on <var_n_quad:nullable TQuad(TQuad)>*/
3316 { /* Inline parser_nodes$ANode$parent= (var_n_quad,self) on <var_n_quad:nullable TQuad(TQuad)> */
3317 var_n_quad
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_quad:nullable TQuad(TQuad)> */
3324 { /* Inline parser_nodes$AModuleName$n_path (self) on <self:AModuleName> */
3325 var9
= self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_path
].val
; /* _n_path on <self:AModuleName> */
3326 if (unlikely(var9
== NULL
)) {
3327 if(catchStack
.cursor
>= 0){
3328 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3330 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_path");
3331 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2916);
3339 nitc___nitc__ANodes___unsafe_add_all(var7
, var_n_path
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var7:ANodes[TId]>*/
3341 if (unlikely(var_n_id
== NULL
)) {
3342 if(catchStack
.cursor
>= 0){
3343 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3345 PRINT_ERROR("Runtime error: %s", "Cast failed");
3346 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7839);
3349 self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_id
].val
= var_n_id
; /* _n_id on <self:AModuleName> */
3350 if (var_n_id
== NULL
) {
3351 if(catchStack
.cursor
>= 0){
3352 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3354 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3355 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7840);
3358 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId> */
3359 if (unlikely(var_n_id
== NULL
)) {
3360 if(catchStack
.cursor
>= 0){
3361 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3363 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3364 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3367 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId> */
3368 RET_LABEL10
:(void)0;
3373 /* method parser_prod$AModuleName$replace_child for (self: AModuleName, ANode, nullable ANode) */
3374 void nitc__parser_prod___AModuleName___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3375 val
* var_old_child
/* var old_child: ANode */;
3376 val
* var_new_child
/* var new_child: nullable ANode */;
3377 val
* var
/* : nullable TQuad */;
3378 short int var1
/* : Bool */;
3379 short int var2
/* : Bool */;
3380 val
* var_other
/* var other: nullable Object */;
3381 short int var4
/* : Bool */;
3382 short int var6
/* : Bool */;
3383 short int var7
/* : Bool */;
3386 const char* var_class_name
;
3387 val
* var8
/* : ANodes[TId] */;
3388 val
* var10
/* : ANodes[TId] */;
3389 short int var11
/* : Bool */;
3390 val
* var12
/* : TId */;
3391 short int var13
/* : Bool */;
3392 short int var15
/* : Bool */;
3393 short int var17
/* : Bool */;
3394 short int var18
/* : Bool */;
3397 const char* var_class_name21
;
3400 var
= self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_quad
].val
; /* _n_quad on <self:AModuleName> */
3402 var1
= 0; /* <var_old_child:ANode> cannot be null */
3404 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable TQuad> */
3405 var_other
= var_old_child
;
3407 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable TQuad(TQuad)> */
3408 var6
= var
== var_other
;
3421 /* <var_new_child:nullable ANode> isa nullable TQuad */
3422 cltype
= type_nullable__nitc__TQuad
.color
;
3423 idtype
= type_nullable__nitc__TQuad
.id
;
3424 if(var_new_child
== NULL
) {
3427 if(cltype
>= var_new_child
->type
->table_size
) {
3430 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3433 if (unlikely(!var7
)) {
3434 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3435 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TQuad", var_class_name
);
3436 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7846);
3440 nitc__parser_prod___AModuleName___n_quad_61d(self
, var_new_child
); /* Direct call parser_prod$AModuleName$n_quad= on <self:AModuleName>*/
3446 { /* Inline parser_nodes$AModuleName$n_path (self) on <self:AModuleName> */
3447 var10
= self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_path
].val
; /* _n_path on <self:AModuleName> */
3448 if (unlikely(var10
== NULL
)) {
3449 if(catchStack
.cursor
>= 0){
3450 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3452 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_path");
3453 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2916);
3461 var11
= nitc___nitc__ANodes___replace_child(var8
, var_old_child
, var_new_child
);
3467 var12
= self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_id
].val
; /* _n_id on <self:AModuleName> */
3468 if (unlikely(var12
== NULL
)) {
3469 if(catchStack
.cursor
>= 0){
3470 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3472 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
3473 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7850);
3477 { /* Inline kernel$Object$== (var12,var_old_child) on <var12:TId> */
3478 var_other
= var_old_child
;
3480 { /* Inline kernel$Object$is_same_instance (var12,var_other) on <var12:TId> */
3481 var17
= var12
== var_other
;
3484 RET_LABEL16
:(void)0;
3489 RET_LABEL14
:(void)0;
3493 /* <var_new_child:nullable ANode> isa TId */
3494 cltype19
= type_nitc__TId
.color
;
3495 idtype20
= type_nitc__TId
.id
;
3496 if(var_new_child
== NULL
) {
3499 if(cltype19
>= var_new_child
->type
->table_size
) {
3502 var18
= var_new_child
->type
->type_table
[cltype19
] == idtype20
;
3505 if (unlikely(!var18
)) {
3506 var_class_name21
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3507 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name21
);
3508 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7851);
3512 nitc__parser_prod___AModuleName___n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AModuleName$n_id= on <self:AModuleName>*/
3519 /* method parser_prod$AModuleName$n_quad= for (self: AModuleName, nullable TQuad) */
3520 void nitc__parser_prod___AModuleName___n_quad_61d(val
* self
, val
* p0
) {
3521 val
* var_node
/* var node: nullable TQuad */;
3522 short int var
/* : Bool */;
3523 short int var1
/* : Bool */;
3524 val
* var_other
/* var other: nullable Object */;
3525 short int var3
/* : Bool */;
3526 short int var4
/* : Bool */;
3528 self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_quad
].val
= var_node
; /* _n_quad on <self:AModuleName> */
3529 if (var_node
== NULL
) {
3530 var
= 0; /* is null */
3532 var
= 1; /* arg is null and recv is not */
3535 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TQuad> */
3536 var_other
= ((val
*)NULL
);
3538 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 TQuad(TQuad)>*/
3549 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TQuad(TQuad)> */
3550 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TQuad(TQuad)> */
3558 /* method parser_prod$AModuleName$n_id= for (self: AModuleName, TId) */
3559 void nitc__parser_prod___AModuleName___n_id_61d(val
* self
, val
* p0
) {
3560 val
* var_node
/* var node: TId */;
3562 self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_id
].val
= var_node
; /* _n_id on <self:AModuleName> */
3564 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TId> */
3565 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TId> */
3571 /* method parser_prod$AModuleName$visit_all for (self: AModuleName, Visitor) */
3572 void nitc__parser_prod___AModuleName___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3573 val
* var_v
/* var v: Visitor */;
3574 val
* var
/* : nullable TQuad */;
3575 val
* var1
/* : ANodes[TId] */;
3576 val
* var3
/* : ANodes[TId] */;
3577 val
* var4
/* : TId */;
3579 var
= self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_quad
].val
; /* _n_quad on <self:AModuleName> */
3581 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3584 { /* Inline parser_nodes$AModuleName$n_path (self) on <self:AModuleName> */
3585 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_path
].val
; /* _n_path on <self:AModuleName> */
3586 if (unlikely(var3
== NULL
)) {
3587 if(catchStack
.cursor
>= 0){
3588 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3590 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_path");
3591 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2916);
3599 nitc___nitc__ANodes___visit_all(var1
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var1:ANodes[TId]>*/
3601 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AModuleName___n_id
].val
; /* _n_id on <self:AModuleName> */
3602 if (unlikely(var4
== NULL
)) {
3603 if(catchStack
.cursor
>= 0){
3604 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3606 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
3607 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7872);
3611 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3615 /* method parser_prod$AExternCalls$init_aexterncalls for (self: AExternCalls, nullable TKwimport, Collection[Object]) */
3616 void nitc__parser_prod___AExternCalls___init_aexterncalls(val
* self
, val
* p0
, val
* p1
) {
3617 val
* var_n_kwimport
/* var n_kwimport: nullable TKwimport */;
3618 val
* var_n_extern_calls
/* var n_extern_calls: Collection[Object] */;
3619 val
* var
/* : ANodes[AExternCall] */;
3620 val
* var4
/* : ANodes[AExternCall] */;
3622 { /* Inline kernel$Object$init (self) on <self:AExternCalls> */
3626 var_n_kwimport
= p0
;
3627 var_n_extern_calls
= p1
;
3628 if (unlikely(var_n_kwimport
== NULL
)) {
3629 if(catchStack
.cursor
>= 0){
3630 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3632 PRINT_ERROR("Runtime error: %s", "Cast failed");
3633 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7881);
3636 self
->attrs
[COLOR_nitc__parser_nodes__AExternCalls___n_kwimport
].val
= var_n_kwimport
; /* _n_kwimport on <self:AExternCalls> */
3637 if (var_n_kwimport
== NULL
) {
3638 if(catchStack
.cursor
>= 0){
3639 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3641 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3642 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7882);
3645 { /* Inline parser_nodes$ANode$parent= (var_n_kwimport,self) on <var_n_kwimport:nullable TKwimport> */
3646 if (unlikely(var_n_kwimport
== NULL
)) {
3647 if(catchStack
.cursor
>= 0){
3648 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3650 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3651 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3654 var_n_kwimport
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwimport:nullable TKwimport> */
3659 { /* Inline parser_nodes$AExternCalls$n_extern_calls (self) on <self:AExternCalls> */
3660 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCalls___n_extern_calls
].val
; /* _n_extern_calls on <self:AExternCalls> */
3661 if (unlikely(var4
== NULL
)) {
3662 if(catchStack
.cursor
>= 0){
3663 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3665 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_calls");
3666 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1444);
3674 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_extern_calls
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[AExternCall]>*/
3678 /* method parser_prod$AExternCalls$replace_child for (self: AExternCalls, ANode, nullable ANode) */
3679 void nitc__parser_prod___AExternCalls___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3680 val
* var_old_child
/* var old_child: ANode */;
3681 val
* var_new_child
/* var new_child: nullable ANode */;
3682 val
* var
/* : TKwimport */;
3683 short int var1
/* : Bool */;
3684 val
* var_other
/* var other: nullable Object */;
3685 short int var3
/* : Bool */;
3686 short int var5
/* : Bool */;
3687 short int var6
/* : Bool */;
3690 const char* var_class_name
;
3691 val
* var7
/* : ANodes[AExternCall] */;
3692 val
* var9
/* : ANodes[AExternCall] */;
3693 short int var10
/* : Bool */;
3696 var
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCalls___n_kwimport
].val
; /* _n_kwimport on <self:AExternCalls> */
3697 if (unlikely(var
== NULL
)) {
3698 if(catchStack
.cursor
>= 0){
3699 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3701 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport");
3702 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7888);
3706 { /* Inline kernel$Object$== (var,var_old_child) on <var:TKwimport> */
3707 var_other
= var_old_child
;
3709 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TKwimport> */
3710 var5
= var
== var_other
;
3722 /* <var_new_child:nullable ANode> isa TKwimport */
3723 cltype
= type_nitc__TKwimport
.color
;
3724 idtype
= type_nitc__TKwimport
.id
;
3725 if(var_new_child
== NULL
) {
3728 if(cltype
>= var_new_child
->type
->table_size
) {
3731 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3734 if (unlikely(!var6
)) {
3735 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3736 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwimport", var_class_name
);
3737 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7889);
3741 nitc__parser_prod___AExternCalls___n_kwimport_61d(self
, var_new_child
); /* Direct call parser_prod$AExternCalls$n_kwimport= on <self:AExternCalls>*/
3747 { /* Inline parser_nodes$AExternCalls$n_extern_calls (self) on <self:AExternCalls> */
3748 var9
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCalls___n_extern_calls
].val
; /* _n_extern_calls on <self:AExternCalls> */
3749 if (unlikely(var9
== NULL
)) {
3750 if(catchStack
.cursor
>= 0){
3751 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3753 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_calls");
3754 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1444);
3762 var10
= nitc___nitc__ANodes___replace_child(var7
, var_old_child
, var_new_child
);
3770 /* method parser_prod$AExternCalls$n_kwimport= for (self: AExternCalls, TKwimport) */
3771 void nitc__parser_prod___AExternCalls___n_kwimport_61d(val
* self
, val
* p0
) {
3772 val
* var_node
/* var node: TKwimport */;
3774 self
->attrs
[COLOR_nitc__parser_nodes__AExternCalls___n_kwimport
].val
= var_node
; /* _n_kwimport on <self:AExternCalls> */
3776 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwimport> */
3777 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwimport> */
3783 /* method parser_prod$AExternCalls$visit_all for (self: AExternCalls, Visitor) */
3784 void nitc__parser_prod___AExternCalls___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3785 val
* var_v
/* var v: Visitor */;
3786 val
* var
/* : TKwimport */;
3787 val
* var1
/* : ANodes[AExternCall] */;
3788 val
* var3
/* : ANodes[AExternCall] */;
3790 var
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCalls___n_kwimport
].val
; /* _n_kwimport on <self:AExternCalls> */
3791 if (unlikely(var
== NULL
)) {
3792 if(catchStack
.cursor
>= 0){
3793 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3795 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport");
3796 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7904);
3800 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3803 { /* Inline parser_nodes$AExternCalls$n_extern_calls (self) on <self:AExternCalls> */
3804 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCalls___n_extern_calls
].val
; /* _n_extern_calls on <self:AExternCalls> */
3805 if (unlikely(var3
== NULL
)) {
3806 if(catchStack
.cursor
>= 0){
3807 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3809 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_calls");
3810 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1444);
3818 nitc___nitc__ANodes___visit_all(var1
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var1:ANodes[AExternCall]>*/
3822 /* method parser_prod$ASuperExternCall$init_asuperexterncall for (self: ASuperExternCall, nullable TKwsuper) */
3823 void nitc__parser_prod___ASuperExternCall___init_asuperexterncall(val
* self
, val
* p0
) {
3824 val
* var_n_kwsuper
/* var n_kwsuper: nullable TKwsuper */;
3826 { /* Inline kernel$Object$init (self) on <self:ASuperExternCall> */
3831 if (unlikely(var_n_kwsuper
== NULL
)) {
3832 if(catchStack
.cursor
>= 0){
3833 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3835 PRINT_ERROR("Runtime error: %s", "Cast failed");
3836 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7928);
3839 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExternCall___n_kwsuper
].val
= var_n_kwsuper
; /* _n_kwsuper on <self:ASuperExternCall> */
3840 if (var_n_kwsuper
== NULL
) {
3841 if(catchStack
.cursor
>= 0){
3842 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3844 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3845 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7929);
3848 { /* Inline parser_nodes$ANode$parent= (var_n_kwsuper,self) on <var_n_kwsuper:nullable TKwsuper> */
3849 if (unlikely(var_n_kwsuper
== NULL
)) {
3850 if(catchStack
.cursor
>= 0){
3851 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3853 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3854 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3857 var_n_kwsuper
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwsuper:nullable TKwsuper> */
3863 /* method parser_prod$ASuperExternCall$replace_child for (self: ASuperExternCall, ANode, nullable ANode) */
3864 void nitc__parser_prod___ASuperExternCall___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
3865 val
* var_old_child
/* var old_child: ANode */;
3866 val
* var_new_child
/* var new_child: nullable ANode */;
3867 val
* var
/* : TKwsuper */;
3868 short int var1
/* : Bool */;
3869 val
* var_other
/* var other: nullable Object */;
3870 short int var3
/* : Bool */;
3871 short int var5
/* : Bool */;
3872 short int var6
/* : Bool */;
3875 const char* var_class_name
;
3878 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExternCall___n_kwsuper
].val
; /* _n_kwsuper on <self:ASuperExternCall> */
3879 if (unlikely(var
== NULL
)) {
3880 if(catchStack
.cursor
>= 0){
3881 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3883 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper");
3884 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7934);
3888 { /* Inline kernel$Object$== (var,var_old_child) on <var:TKwsuper> */
3889 var_other
= var_old_child
;
3891 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TKwsuper> */
3892 var5
= var
== var_other
;
3904 /* <var_new_child:nullable ANode> isa TKwsuper */
3905 cltype
= type_nitc__TKwsuper
.color
;
3906 idtype
= type_nitc__TKwsuper
.id
;
3907 if(var_new_child
== NULL
) {
3910 if(cltype
>= var_new_child
->type
->table_size
) {
3913 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
3916 if (unlikely(!var6
)) {
3917 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
3918 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwsuper", var_class_name
);
3919 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7935);
3923 nitc__parser_prod___ASuperExternCall___n_kwsuper_61d(self
, var_new_child
); /* Direct call parser_prod$ASuperExternCall$n_kwsuper= on <self:ASuperExternCall>*/
3930 /* method parser_prod$ASuperExternCall$n_kwsuper= for (self: ASuperExternCall, TKwsuper) */
3931 void nitc__parser_prod___ASuperExternCall___n_kwsuper_61d(val
* self
, val
* p0
) {
3932 val
* var_node
/* var node: TKwsuper */;
3934 self
->attrs
[COLOR_nitc__parser_nodes__ASuperExternCall___n_kwsuper
].val
= var_node
; /* _n_kwsuper on <self:ASuperExternCall> */
3936 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwsuper> */
3937 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwsuper> */
3943 /* method parser_prod$ASuperExternCall$visit_all for (self: ASuperExternCall, Visitor) */
3944 void nitc__parser_prod___ASuperExternCall___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
3945 val
* var_v
/* var v: Visitor */;
3946 val
* var
/* : TKwsuper */;
3948 var
= self
->attrs
[COLOR_nitc__parser_nodes__ASuperExternCall___n_kwsuper
].val
; /* _n_kwsuper on <self:ASuperExternCall> */
3949 if (unlikely(var
== NULL
)) {
3950 if(catchStack
.cursor
>= 0){
3951 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3953 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper");
3954 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7949);
3958 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
3962 /* method parser_prod$ALocalPropExternCall$init_alocalpropexterncall for (self: ALocalPropExternCall, nullable AMethid) */
3963 void nitc__parser_prod___ALocalPropExternCall___init_alocalpropexterncall(val
* self
, val
* p0
) {
3964 val
* var_n_methid
/* var n_methid: nullable AMethid */;
3966 { /* Inline kernel$Object$init (self) on <self:ALocalPropExternCall> */
3971 if (unlikely(var_n_methid
== NULL
)) {
3972 if(catchStack
.cursor
>= 0){
3973 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3975 PRINT_ERROR("Runtime error: %s", "Cast failed");
3976 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7957);
3979 self
->attrs
[COLOR_nitc__parser_nodes__ALocalPropExternCall___n_methid
].val
= var_n_methid
; /* _n_methid on <self:ALocalPropExternCall> */
3980 if (var_n_methid
== NULL
) {
3981 if(catchStack
.cursor
>= 0){
3982 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3984 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3985 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7958);
3988 { /* Inline parser_nodes$ANode$parent= (var_n_methid,self) on <var_n_methid:nullable AMethid> */
3989 if (unlikely(var_n_methid
== NULL
)) {
3990 if(catchStack
.cursor
>= 0){
3991 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3993 PRINT_ERROR("Runtime error: %s", "Receiver is null");
3994 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
3997 var_n_methid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_methid:nullable AMethid> */
4003 /* method parser_prod$ALocalPropExternCall$replace_child for (self: ALocalPropExternCall, ANode, nullable ANode) */
4004 void nitc__parser_prod___ALocalPropExternCall___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4005 val
* var_old_child
/* var old_child: ANode */;
4006 val
* var_new_child
/* var new_child: nullable ANode */;
4007 val
* var
/* : AMethid */;
4008 short int var1
/* : Bool */;
4009 val
* var_other
/* var other: nullable Object */;
4010 short int var3
/* : Bool */;
4011 short int var5
/* : Bool */;
4012 short int var6
/* : Bool */;
4015 const char* var_class_name
;
4018 var
= self
->attrs
[COLOR_nitc__parser_nodes__ALocalPropExternCall___n_methid
].val
; /* _n_methid on <self:ALocalPropExternCall> */
4019 if (unlikely(var
== NULL
)) {
4020 if(catchStack
.cursor
>= 0){
4021 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4023 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid");
4024 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7963);
4028 { /* Inline kernel$Object$== (var,var_old_child) on <var:AMethid> */
4029 var_other
= var_old_child
;
4031 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AMethid> */
4032 var5
= var
== var_other
;
4044 /* <var_new_child:nullable ANode> isa AMethid */
4045 cltype
= type_nitc__AMethid
.color
;
4046 idtype
= type_nitc__AMethid
.id
;
4047 if(var_new_child
== NULL
) {
4050 if(cltype
>= var_new_child
->type
->table_size
) {
4053 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4056 if (unlikely(!var6
)) {
4057 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4058 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AMethid", var_class_name
);
4059 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7964);
4063 nitc__parser_prod___ALocalPropExternCall___n_methid_61d(self
, var_new_child
); /* Direct call parser_prod$ALocalPropExternCall$n_methid= on <self:ALocalPropExternCall>*/
4070 /* method parser_prod$ALocalPropExternCall$n_methid= for (self: ALocalPropExternCall, AMethid) */
4071 void nitc__parser_prod___ALocalPropExternCall___n_methid_61d(val
* self
, val
* p0
) {
4072 val
* var_node
/* var node: AMethid */;
4074 self
->attrs
[COLOR_nitc__parser_nodes__ALocalPropExternCall___n_methid
].val
= var_node
; /* _n_methid on <self:ALocalPropExternCall> */
4076 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AMethid> */
4077 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AMethid> */
4083 /* method parser_prod$ALocalPropExternCall$visit_all for (self: ALocalPropExternCall, Visitor) */
4084 void nitc__parser_prod___ALocalPropExternCall___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4085 val
* var_v
/* var v: Visitor */;
4086 val
* var
/* : AMethid */;
4088 var
= self
->attrs
[COLOR_nitc__parser_nodes__ALocalPropExternCall___n_methid
].val
; /* _n_methid on <self:ALocalPropExternCall> */
4089 if (unlikely(var
== NULL
)) {
4090 if(catchStack
.cursor
>= 0){
4091 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4093 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid");
4094 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7978);
4098 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4102 /* method parser_prod$AFullPropExternCall$init_afullpropexterncall for (self: AFullPropExternCall, nullable AType, nullable TDot, nullable AMethid) */
4103 void nitc__parser_prod___AFullPropExternCall___init_afullpropexterncall(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
4104 val
* var_n_type
/* var n_type: nullable AType */;
4105 val
* var_n_dot
/* var n_dot: nullable TDot */;
4106 val
* var_n_methid
/* var n_methid: nullable AMethid */;
4107 short int var
/* : Bool */;
4108 short int var3
/* : Bool */;
4109 val
* var_other
/* var other: nullable Object */;
4110 short int var5
/* : Bool */;
4111 short int var6
/* : Bool */;
4113 { /* Inline kernel$Object$init (self) on <self:AFullPropExternCall> */
4120 if (unlikely(var_n_type
== NULL
)) {
4121 if(catchStack
.cursor
>= 0){
4122 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4124 PRINT_ERROR("Runtime error: %s", "Cast failed");
4125 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7988);
4128 self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_type
].val
= var_n_type
; /* _n_type on <self:AFullPropExternCall> */
4129 if (var_n_type
== NULL
) {
4130 if(catchStack
.cursor
>= 0){
4131 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4133 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4134 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7989);
4137 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
4138 if (unlikely(var_n_type
== NULL
)) {
4139 if(catchStack
.cursor
>= 0){
4140 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4142 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4143 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4146 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
4150 self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot
].val
= var_n_dot
; /* _n_dot on <self:AFullPropExternCall> */
4151 if (var_n_dot
== NULL
) {
4152 var
= 0; /* is null */
4154 var
= 1; /* arg is null and recv is not */
4157 { /* Inline kernel$Object$!= (var_n_dot,((val*)NULL)) on <var_n_dot:nullable TDot> */
4158 var_other
= ((val
*)NULL
);
4160 var5
= ((short int(*)(val
* self
, val
* p0
))(var_n_dot
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_dot
, var_other
); /* == on <var_n_dot:nullable TDot(TDot)>*/
4171 { /* Inline parser_nodes$ANode$parent= (var_n_dot,self) on <var_n_dot:nullable TDot(TDot)> */
4172 var_n_dot
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_dot:nullable TDot(TDot)> */
4178 if (unlikely(var_n_methid
== NULL
)) {
4179 if(catchStack
.cursor
>= 0){
4180 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4182 PRINT_ERROR("Runtime error: %s", "Cast failed");
4183 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7992);
4186 self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid
].val
= var_n_methid
; /* _n_methid on <self:AFullPropExternCall> */
4187 if (var_n_methid
== NULL
) {
4188 if(catchStack
.cursor
>= 0){
4189 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4191 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4192 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7993);
4195 { /* Inline parser_nodes$ANode$parent= (var_n_methid,self) on <var_n_methid:nullable AMethid> */
4196 if (unlikely(var_n_methid
== NULL
)) {
4197 if(catchStack
.cursor
>= 0){
4198 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4200 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4201 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4204 var_n_methid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_methid:nullable AMethid> */
4210 /* method parser_prod$AFullPropExternCall$replace_child for (self: AFullPropExternCall, ANode, nullable ANode) */
4211 void nitc__parser_prod___AFullPropExternCall___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4212 val
* var_old_child
/* var old_child: ANode */;
4213 val
* var_new_child
/* var new_child: nullable ANode */;
4214 val
* var
/* : AType */;
4215 short int var1
/* : Bool */;
4216 val
* var_other
/* var other: nullable Object */;
4217 short int var3
/* : Bool */;
4218 short int var5
/* : Bool */;
4219 short int var6
/* : Bool */;
4222 const char* var_class_name
;
4223 val
* var7
/* : nullable TDot */;
4224 short int var8
/* : Bool */;
4225 short int var9
/* : Bool */;
4226 short int var11
/* : Bool */;
4227 short int var13
/* : Bool */;
4228 short int var14
/* : Bool */;
4231 const char* var_class_name17
;
4232 val
* var18
/* : AMethid */;
4233 short int var19
/* : Bool */;
4234 short int var21
/* : Bool */;
4235 short int var23
/* : Bool */;
4236 short int var24
/* : Bool */;
4239 const char* var_class_name27
;
4242 var
= self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_type
].val
; /* _n_type on <self:AFullPropExternCall> */
4243 if (unlikely(var
== NULL
)) {
4244 if(catchStack
.cursor
>= 0){
4245 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4247 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
4248 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7998);
4252 { /* Inline kernel$Object$== (var,var_old_child) on <var:AType> */
4253 var_other
= var_old_child
;
4255 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AType> */
4256 var5
= var
== var_other
;
4268 /* <var_new_child:nullable ANode> isa AType */
4269 cltype
= type_nitc__AType
.color
;
4270 idtype
= type_nitc__AType
.id
;
4271 if(var_new_child
== NULL
) {
4274 if(cltype
>= var_new_child
->type
->table_size
) {
4277 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4280 if (unlikely(!var6
)) {
4281 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4282 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name
);
4283 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 7999);
4287 nitc__parser_prod___AFullPropExternCall___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$AFullPropExternCall$n_type= on <self:AFullPropExternCall>*/
4292 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot
].val
; /* _n_dot on <self:AFullPropExternCall> */
4294 var8
= 0; /* <var_old_child:ANode> cannot be null */
4296 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:nullable TDot> */
4297 var_other
= var_old_child
;
4299 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:nullable TDot(TDot)> */
4300 var13
= var7
== var_other
;
4303 RET_LABEL12
:(void)0;
4308 RET_LABEL10
:(void)0;
4313 /* <var_new_child:nullable ANode> isa nullable TDot */
4314 cltype15
= type_nullable__nitc__TDot
.color
;
4315 idtype16
= type_nullable__nitc__TDot
.id
;
4316 if(var_new_child
== NULL
) {
4319 if(cltype15
>= var_new_child
->type
->table_size
) {
4322 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
4325 if (unlikely(!var14
)) {
4326 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4327 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TDot", var_class_name17
);
4328 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8003);
4332 nitc__parser_prod___AFullPropExternCall___n_dot_61d(self
, var_new_child
); /* Direct call parser_prod$AFullPropExternCall$n_dot= on <self:AFullPropExternCall>*/
4337 var18
= self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid
].val
; /* _n_methid on <self:AFullPropExternCall> */
4338 if (unlikely(var18
== NULL
)) {
4339 if(catchStack
.cursor
>= 0){
4340 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4342 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid");
4343 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8006);
4347 { /* Inline kernel$Object$== (var18,var_old_child) on <var18:AMethid> */
4348 var_other
= var_old_child
;
4350 { /* Inline kernel$Object$is_same_instance (var18,var_other) on <var18:AMethid> */
4351 var23
= var18
== var_other
;
4354 RET_LABEL22
:(void)0;
4359 RET_LABEL20
:(void)0;
4363 /* <var_new_child:nullable ANode> isa AMethid */
4364 cltype25
= type_nitc__AMethid
.color
;
4365 idtype26
= type_nitc__AMethid
.id
;
4366 if(var_new_child
== NULL
) {
4369 if(cltype25
>= var_new_child
->type
->table_size
) {
4372 var24
= var_new_child
->type
->type_table
[cltype25
] == idtype26
;
4375 if (unlikely(!var24
)) {
4376 var_class_name27
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4377 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AMethid", var_class_name27
);
4378 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8007);
4382 nitc__parser_prod___AFullPropExternCall___n_methid_61d(self
, var_new_child
); /* Direct call parser_prod$AFullPropExternCall$n_methid= on <self:AFullPropExternCall>*/
4389 /* method parser_prod$AFullPropExternCall$n_type= for (self: AFullPropExternCall, AType) */
4390 void nitc__parser_prod___AFullPropExternCall___n_type_61d(val
* self
, val
* p0
) {
4391 val
* var_node
/* var node: AType */;
4393 self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_type
].val
= var_node
; /* _n_type on <self:AFullPropExternCall> */
4395 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
4396 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
4402 /* method parser_prod$AFullPropExternCall$n_dot= for (self: AFullPropExternCall, nullable TDot) */
4403 void nitc__parser_prod___AFullPropExternCall___n_dot_61d(val
* self
, val
* p0
) {
4404 val
* var_node
/* var node: nullable TDot */;
4405 short int var
/* : Bool */;
4406 short int var1
/* : Bool */;
4407 val
* var_other
/* var other: nullable Object */;
4408 short int var3
/* : Bool */;
4409 short int var4
/* : Bool */;
4411 self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot
].val
= var_node
; /* _n_dot on <self:AFullPropExternCall> */
4412 if (var_node
== NULL
) {
4413 var
= 0; /* is null */
4415 var
= 1; /* arg is null and recv is not */
4418 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TDot> */
4419 var_other
= ((val
*)NULL
);
4421 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 TDot(TDot)>*/
4432 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TDot(TDot)> */
4433 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TDot(TDot)> */
4441 /* method parser_prod$AFullPropExternCall$n_methid= for (self: AFullPropExternCall, AMethid) */
4442 void nitc__parser_prod___AFullPropExternCall___n_methid_61d(val
* self
, val
* p0
) {
4443 val
* var_node
/* var node: AMethid */;
4445 self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid
].val
= var_node
; /* _n_methid on <self:AFullPropExternCall> */
4447 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AMethid> */
4448 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AMethid> */
4454 /* method parser_prod$AFullPropExternCall$visit_all for (self: AFullPropExternCall, Visitor) */
4455 void nitc__parser_prod___AFullPropExternCall___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4456 val
* var_v
/* var v: Visitor */;
4457 val
* var
/* : AType */;
4458 val
* var1
/* : nullable TDot */;
4459 val
* var2
/* : AMethid */;
4461 var
= self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_type
].val
; /* _n_type on <self:AFullPropExternCall> */
4462 if (unlikely(var
== NULL
)) {
4463 if(catchStack
.cursor
>= 0){
4464 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4466 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
4467 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8031);
4471 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4473 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot
].val
; /* _n_dot on <self:AFullPropExternCall> */
4475 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4477 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid
].val
; /* _n_methid on <self:AFullPropExternCall> */
4478 if (unlikely(var2
== NULL
)) {
4479 if(catchStack
.cursor
>= 0){
4480 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4482 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid");
4483 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8033);
4487 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4491 /* method parser_prod$AInitPropExternCall$init_ainitpropexterncall for (self: AInitPropExternCall, nullable AType) */
4492 void nitc__parser_prod___AInitPropExternCall___init_ainitpropexterncall(val
* self
, val
* p0
) {
4493 val
* var_n_type
/* var n_type: nullable AType */;
4495 { /* Inline kernel$Object$init (self) on <self:AInitPropExternCall> */
4500 if (unlikely(var_n_type
== NULL
)) {
4501 if(catchStack
.cursor
>= 0){
4502 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4504 PRINT_ERROR("Runtime error: %s", "Cast failed");
4505 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8041);
4508 self
->attrs
[COLOR_nitc__parser_nodes__AInitPropExternCall___n_type
].val
= var_n_type
; /* _n_type on <self:AInitPropExternCall> */
4509 if (var_n_type
== NULL
) {
4510 if(catchStack
.cursor
>= 0){
4511 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4513 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4514 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8042);
4517 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
4518 if (unlikely(var_n_type
== NULL
)) {
4519 if(catchStack
.cursor
>= 0){
4520 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4522 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4523 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4526 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
4532 /* method parser_prod$AInitPropExternCall$replace_child for (self: AInitPropExternCall, ANode, nullable ANode) */
4533 void nitc__parser_prod___AInitPropExternCall___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4534 val
* var_old_child
/* var old_child: ANode */;
4535 val
* var_new_child
/* var new_child: nullable ANode */;
4536 val
* var
/* : AType */;
4537 short int var1
/* : Bool */;
4538 val
* var_other
/* var other: nullable Object */;
4539 short int var3
/* : Bool */;
4540 short int var5
/* : Bool */;
4541 short int var6
/* : Bool */;
4544 const char* var_class_name
;
4547 var
= self
->attrs
[COLOR_nitc__parser_nodes__AInitPropExternCall___n_type
].val
; /* _n_type on <self:AInitPropExternCall> */
4548 if (unlikely(var
== NULL
)) {
4549 if(catchStack
.cursor
>= 0){
4550 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4552 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
4553 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8047);
4557 { /* Inline kernel$Object$== (var,var_old_child) on <var:AType> */
4558 var_other
= var_old_child
;
4560 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AType> */
4561 var5
= var
== var_other
;
4573 /* <var_new_child:nullable ANode> isa AType */
4574 cltype
= type_nitc__AType
.color
;
4575 idtype
= type_nitc__AType
.id
;
4576 if(var_new_child
== NULL
) {
4579 if(cltype
>= var_new_child
->type
->table_size
) {
4582 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4585 if (unlikely(!var6
)) {
4586 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4587 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name
);
4588 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8048);
4592 nitc__parser_prod___AInitPropExternCall___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$AInitPropExternCall$n_type= on <self:AInitPropExternCall>*/
4599 /* method parser_prod$AInitPropExternCall$n_type= for (self: AInitPropExternCall, AType) */
4600 void nitc__parser_prod___AInitPropExternCall___n_type_61d(val
* self
, val
* p0
) {
4601 val
* var_node
/* var node: AType */;
4603 self
->attrs
[COLOR_nitc__parser_nodes__AInitPropExternCall___n_type
].val
= var_node
; /* _n_type on <self:AInitPropExternCall> */
4605 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
4606 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
4612 /* method parser_prod$AInitPropExternCall$visit_all for (self: AInitPropExternCall, Visitor) */
4613 void nitc__parser_prod___AInitPropExternCall___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
4614 val
* var_v
/* var v: Visitor */;
4615 val
* var
/* : AType */;
4617 var
= self
->attrs
[COLOR_nitc__parser_nodes__AInitPropExternCall___n_type
].val
; /* _n_type on <self:AInitPropExternCall> */
4618 if (unlikely(var
== NULL
)) {
4619 if(catchStack
.cursor
>= 0){
4620 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4622 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
4623 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8062);
4627 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
4631 /* method parser_prod$ACastAsExternCall$init_acastasexterncall for (self: ACastAsExternCall, nullable AType, nullable TDot, nullable TKwas, nullable AType) */
4632 void nitc__parser_prod___ACastAsExternCall___init_acastasexterncall(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
4633 val
* var_n_from_type
/* var n_from_type: nullable AType */;
4634 val
* var_n_dot
/* var n_dot: nullable TDot */;
4635 val
* var_n_kwas
/* var n_kwas: nullable TKwas */;
4636 val
* var_n_to_type
/* var n_to_type: nullable AType */;
4637 short int var
/* : Bool */;
4638 short int var3
/* : Bool */;
4639 val
* var_other
/* var other: nullable Object */;
4640 short int var5
/* : Bool */;
4641 short int var6
/* : Bool */;
4643 { /* Inline kernel$Object$init (self) on <self:ACastAsExternCall> */
4647 var_n_from_type
= p0
;
4651 if (unlikely(var_n_from_type
== NULL
)) {
4652 if(catchStack
.cursor
>= 0){
4653 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4655 PRINT_ERROR("Runtime error: %s", "Cast failed");
4656 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8073);
4659 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_from_type
].val
= var_n_from_type
; /* _n_from_type on <self:ACastAsExternCall> */
4660 if (var_n_from_type
== NULL
) {
4661 if(catchStack
.cursor
>= 0){
4662 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4664 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4665 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8074);
4668 { /* Inline parser_nodes$ANode$parent= (var_n_from_type,self) on <var_n_from_type:nullable AType> */
4669 if (unlikely(var_n_from_type
== NULL
)) {
4670 if(catchStack
.cursor
>= 0){
4671 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4673 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4674 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4677 var_n_from_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_from_type:nullable AType> */
4681 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_dot
].val
= var_n_dot
; /* _n_dot on <self:ACastAsExternCall> */
4682 if (var_n_dot
== NULL
) {
4683 var
= 0; /* is null */
4685 var
= 1; /* arg is null and recv is not */
4688 { /* Inline kernel$Object$!= (var_n_dot,((val*)NULL)) on <var_n_dot:nullable TDot> */
4689 var_other
= ((val
*)NULL
);
4691 var5
= ((short int(*)(val
* self
, val
* p0
))(var_n_dot
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_dot
, var_other
); /* == on <var_n_dot:nullable TDot(TDot)>*/
4702 { /* Inline parser_nodes$ANode$parent= (var_n_dot,self) on <var_n_dot:nullable TDot(TDot)> */
4703 var_n_dot
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_dot:nullable TDot(TDot)> */
4709 if (unlikely(var_n_kwas
== NULL
)) {
4710 if(catchStack
.cursor
>= 0){
4711 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4713 PRINT_ERROR("Runtime error: %s", "Cast failed");
4714 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8077);
4717 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas
].val
= var_n_kwas
; /* _n_kwas on <self:ACastAsExternCall> */
4718 if (var_n_kwas
== NULL
) {
4719 if(catchStack
.cursor
>= 0){
4720 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4722 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4723 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8078);
4726 { /* Inline parser_nodes$ANode$parent= (var_n_kwas,self) on <var_n_kwas:nullable TKwas> */
4727 if (unlikely(var_n_kwas
== NULL
)) {
4728 if(catchStack
.cursor
>= 0){
4729 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4731 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4732 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4735 var_n_kwas
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwas:nullable TKwas> */
4739 if (unlikely(var_n_to_type
== NULL
)) {
4740 if(catchStack
.cursor
>= 0){
4741 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4743 PRINT_ERROR("Runtime error: %s", "Cast failed");
4744 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8079);
4747 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_to_type
].val
= var_n_to_type
; /* _n_to_type on <self:ACastAsExternCall> */
4748 if (var_n_to_type
== NULL
) {
4749 if(catchStack
.cursor
>= 0){
4750 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4752 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4753 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8080);
4756 { /* Inline parser_nodes$ANode$parent= (var_n_to_type,self) on <var_n_to_type:nullable AType> */
4757 if (unlikely(var_n_to_type
== NULL
)) {
4758 if(catchStack
.cursor
>= 0){
4759 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4761 PRINT_ERROR("Runtime error: %s", "Receiver is null");
4762 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
4765 var_n_to_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_to_type:nullable AType> */
4771 /* method parser_prod$ACastAsExternCall$replace_child for (self: ACastAsExternCall, ANode, nullable ANode) */
4772 void nitc__parser_prod___ACastAsExternCall___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
4773 val
* var_old_child
/* var old_child: ANode */;
4774 val
* var_new_child
/* var new_child: nullable ANode */;
4775 val
* var
/* : AType */;
4776 short int var1
/* : Bool */;
4777 val
* var_other
/* var other: nullable Object */;
4778 short int var3
/* : Bool */;
4779 short int var5
/* : Bool */;
4780 short int var6
/* : Bool */;
4783 const char* var_class_name
;
4784 val
* var7
/* : nullable TDot */;
4785 short int var8
/* : Bool */;
4786 short int var9
/* : Bool */;
4787 short int var11
/* : Bool */;
4788 short int var13
/* : Bool */;
4789 short int var14
/* : Bool */;
4792 const char* var_class_name17
;
4793 val
* var18
/* : TKwas */;
4794 short int var19
/* : Bool */;
4795 short int var21
/* : Bool */;
4796 short int var23
/* : Bool */;
4797 short int var24
/* : Bool */;
4800 const char* var_class_name27
;
4801 val
* var28
/* : AType */;
4802 short int var29
/* : Bool */;
4803 short int var31
/* : Bool */;
4804 short int var33
/* : Bool */;
4805 short int var34
/* : Bool */;
4808 const char* var_class_name37
;
4811 var
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_from_type
].val
; /* _n_from_type on <self:ACastAsExternCall> */
4812 if (unlikely(var
== NULL
)) {
4813 if(catchStack
.cursor
>= 0){
4814 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4816 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_from_type");
4817 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8085);
4821 { /* Inline kernel$Object$== (var,var_old_child) on <var:AType> */
4822 var_other
= var_old_child
;
4824 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AType> */
4825 var5
= var
== var_other
;
4837 /* <var_new_child:nullable ANode> isa AType */
4838 cltype
= type_nitc__AType
.color
;
4839 idtype
= type_nitc__AType
.id
;
4840 if(var_new_child
== NULL
) {
4843 if(cltype
>= var_new_child
->type
->table_size
) {
4846 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
4849 if (unlikely(!var6
)) {
4850 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4851 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name
);
4852 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8086);
4856 nitc__parser_prod___ACastAsExternCall___n_from_type_61d(self
, var_new_child
); /* Direct call parser_prod$ACastAsExternCall$n_from_type= on <self:ACastAsExternCall>*/
4861 var7
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_dot
].val
; /* _n_dot on <self:ACastAsExternCall> */
4863 var8
= 0; /* <var_old_child:ANode> cannot be null */
4865 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:nullable TDot> */
4866 var_other
= var_old_child
;
4868 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:nullable TDot(TDot)> */
4869 var13
= var7
== var_other
;
4872 RET_LABEL12
:(void)0;
4877 RET_LABEL10
:(void)0;
4882 /* <var_new_child:nullable ANode> isa nullable TDot */
4883 cltype15
= type_nullable__nitc__TDot
.color
;
4884 idtype16
= type_nullable__nitc__TDot
.id
;
4885 if(var_new_child
== NULL
) {
4888 if(cltype15
>= var_new_child
->type
->table_size
) {
4891 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
4894 if (unlikely(!var14
)) {
4895 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4896 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TDot", var_class_name17
);
4897 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8090);
4901 nitc__parser_prod___ACastAsExternCall___n_dot_61d(self
, var_new_child
); /* Direct call parser_prod$ACastAsExternCall$n_dot= on <self:ACastAsExternCall>*/
4906 var18
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas
].val
; /* _n_kwas on <self:ACastAsExternCall> */
4907 if (unlikely(var18
== NULL
)) {
4908 if(catchStack
.cursor
>= 0){
4909 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4911 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas");
4912 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8093);
4916 { /* Inline kernel$Object$== (var18,var_old_child) on <var18:TKwas> */
4917 var_other
= var_old_child
;
4919 { /* Inline kernel$Object$is_same_instance (var18,var_other) on <var18:TKwas> */
4920 var23
= var18
== var_other
;
4923 RET_LABEL22
:(void)0;
4928 RET_LABEL20
:(void)0;
4932 /* <var_new_child:nullable ANode> isa TKwas */
4933 cltype25
= type_nitc__TKwas
.color
;
4934 idtype26
= type_nitc__TKwas
.id
;
4935 if(var_new_child
== NULL
) {
4938 if(cltype25
>= var_new_child
->type
->table_size
) {
4941 var24
= var_new_child
->type
->type_table
[cltype25
] == idtype26
;
4944 if (unlikely(!var24
)) {
4945 var_class_name27
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4946 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwas", var_class_name27
);
4947 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8094);
4951 nitc__parser_prod___ACastAsExternCall___n_kwas_61d(self
, var_new_child
); /* Direct call parser_prod$ACastAsExternCall$n_kwas= on <self:ACastAsExternCall>*/
4956 var28
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_to_type
].val
; /* _n_to_type on <self:ACastAsExternCall> */
4957 if (unlikely(var28
== NULL
)) {
4958 if(catchStack
.cursor
>= 0){
4959 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4961 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_to_type");
4962 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8097);
4966 { /* Inline kernel$Object$== (var28,var_old_child) on <var28:AType> */
4967 var_other
= var_old_child
;
4969 { /* Inline kernel$Object$is_same_instance (var28,var_other) on <var28:AType> */
4970 var33
= var28
== var_other
;
4973 RET_LABEL32
:(void)0;
4978 RET_LABEL30
:(void)0;
4982 /* <var_new_child:nullable ANode> isa AType */
4983 cltype35
= type_nitc__AType
.color
;
4984 idtype36
= type_nitc__AType
.id
;
4985 if(var_new_child
== NULL
) {
4988 if(cltype35
>= var_new_child
->type
->table_size
) {
4991 var34
= var_new_child
->type
->type_table
[cltype35
] == idtype36
;
4994 if (unlikely(!var34
)) {
4995 var_class_name37
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
4996 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name37
);
4997 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8098);
5001 nitc__parser_prod___ACastAsExternCall___n_to_type_61d(self
, var_new_child
); /* Direct call parser_prod$ACastAsExternCall$n_to_type= on <self:ACastAsExternCall>*/
5008 /* method parser_prod$ACastAsExternCall$n_from_type= for (self: ACastAsExternCall, AType) */
5009 void nitc__parser_prod___ACastAsExternCall___n_from_type_61d(val
* self
, val
* p0
) {
5010 val
* var_node
/* var node: AType */;
5012 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_from_type
].val
= var_node
; /* _n_from_type on <self:ACastAsExternCall> */
5014 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
5015 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
5021 /* method parser_prod$ACastAsExternCall$n_dot= for (self: ACastAsExternCall, nullable TDot) */
5022 void nitc__parser_prod___ACastAsExternCall___n_dot_61d(val
* self
, val
* p0
) {
5023 val
* var_node
/* var node: nullable TDot */;
5024 short int var
/* : Bool */;
5025 short int var1
/* : Bool */;
5026 val
* var_other
/* var other: nullable Object */;
5027 short int var3
/* : Bool */;
5028 short int var4
/* : Bool */;
5030 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_dot
].val
= var_node
; /* _n_dot on <self:ACastAsExternCall> */
5031 if (var_node
== NULL
) {
5032 var
= 0; /* is null */
5034 var
= 1; /* arg is null and recv is not */
5037 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TDot> */
5038 var_other
= ((val
*)NULL
);
5040 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 TDot(TDot)>*/
5051 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TDot(TDot)> */
5052 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TDot(TDot)> */
5060 /* method parser_prod$ACastAsExternCall$n_kwas= for (self: ACastAsExternCall, TKwas) */
5061 void nitc__parser_prod___ACastAsExternCall___n_kwas_61d(val
* self
, val
* p0
) {
5062 val
* var_node
/* var node: TKwas */;
5064 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas
].val
= var_node
; /* _n_kwas on <self:ACastAsExternCall> */
5066 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwas> */
5067 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwas> */
5073 /* method parser_prod$ACastAsExternCall$n_to_type= for (self: ACastAsExternCall, AType) */
5074 void nitc__parser_prod___ACastAsExternCall___n_to_type_61d(val
* self
, val
* p0
) {
5075 val
* var_node
/* var node: AType */;
5077 self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_to_type
].val
= var_node
; /* _n_to_type on <self:ACastAsExternCall> */
5079 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
5080 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
5086 /* method parser_prod$ACastAsExternCall$visit_all for (self: ACastAsExternCall, Visitor) */
5087 void nitc__parser_prod___ACastAsExternCall___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5088 val
* var_v
/* var v: Visitor */;
5089 val
* var
/* : AType */;
5090 val
* var1
/* : nullable TDot */;
5091 val
* var2
/* : TKwas */;
5092 val
* var3
/* : AType */;
5094 var
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_from_type
].val
; /* _n_from_type on <self:ACastAsExternCall> */
5095 if (unlikely(var
== NULL
)) {
5096 if(catchStack
.cursor
>= 0){
5097 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5099 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_from_type");
5100 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8127);
5104 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5106 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_dot
].val
; /* _n_dot on <self:ACastAsExternCall> */
5108 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5110 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas
].val
; /* _n_kwas on <self:ACastAsExternCall> */
5111 if (unlikely(var2
== NULL
)) {
5112 if(catchStack
.cursor
>= 0){
5113 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5115 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas");
5116 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8129);
5120 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5122 var3
= self
->attrs
[COLOR_nitc__parser_nodes__ACastAsExternCall___n_to_type
].val
; /* _n_to_type on <self:ACastAsExternCall> */
5123 if (unlikely(var3
== NULL
)) {
5124 if(catchStack
.cursor
>= 0){
5125 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5127 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_to_type");
5128 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8130);
5132 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5136 /* method parser_prod$AAsNullableExternCall$init_aasnullableexterncall for (self: AAsNullableExternCall, nullable AType, nullable TKwas, nullable TKwnullable) */
5137 void nitc__parser_prod___AAsNullableExternCall___init_aasnullableexterncall(val
* self
, val
* p0
, val
* p1
, val
* p2
) {
5138 val
* var_n_type
/* var n_type: nullable AType */;
5139 val
* var_n_kwas
/* var n_kwas: nullable TKwas */;
5140 val
* var_n_kwnullable
/* var n_kwnullable: nullable TKwnullable */;
5142 { /* Inline kernel$Object$init (self) on <self:AAsNullableExternCall> */
5148 var_n_kwnullable
= p2
;
5149 if (unlikely(var_n_type
== NULL
)) {
5150 if(catchStack
.cursor
>= 0){
5151 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5153 PRINT_ERROR("Runtime error: %s", "Cast failed");
5154 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8140);
5157 self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_type
].val
= var_n_type
; /* _n_type on <self:AAsNullableExternCall> */
5158 if (var_n_type
== NULL
) {
5159 if(catchStack
.cursor
>= 0){
5160 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5162 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5163 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8141);
5166 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
5167 if (unlikely(var_n_type
== NULL
)) {
5168 if(catchStack
.cursor
>= 0){
5169 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5171 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5172 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5175 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
5179 if (unlikely(var_n_kwas
== NULL
)) {
5180 if(catchStack
.cursor
>= 0){
5181 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5183 PRINT_ERROR("Runtime error: %s", "Cast failed");
5184 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8142);
5187 self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwas
].val
= var_n_kwas
; /* _n_kwas on <self:AAsNullableExternCall> */
5188 if (var_n_kwas
== NULL
) {
5189 if(catchStack
.cursor
>= 0){
5190 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5192 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5193 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8143);
5196 { /* Inline parser_nodes$ANode$parent= (var_n_kwas,self) on <var_n_kwas:nullable TKwas> */
5197 if (unlikely(var_n_kwas
== NULL
)) {
5198 if(catchStack
.cursor
>= 0){
5199 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5201 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5202 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5205 var_n_kwas
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwas:nullable TKwas> */
5209 if (unlikely(var_n_kwnullable
== NULL
)) {
5210 if(catchStack
.cursor
>= 0){
5211 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5213 PRINT_ERROR("Runtime error: %s", "Cast failed");
5214 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8144);
5217 self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwnullable
].val
= var_n_kwnullable
; /* _n_kwnullable on <self:AAsNullableExternCall> */
5218 if (var_n_kwnullable
== NULL
) {
5219 if(catchStack
.cursor
>= 0){
5220 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5222 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5223 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8145);
5226 { /* Inline parser_nodes$ANode$parent= (var_n_kwnullable,self) on <var_n_kwnullable:nullable TKwnullable> */
5227 if (unlikely(var_n_kwnullable
== NULL
)) {
5228 if(catchStack
.cursor
>= 0){
5229 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5231 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5232 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5235 var_n_kwnullable
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwnullable:nullable TKwnullable> */
5241 /* method parser_prod$AAsNullableExternCall$replace_child for (self: AAsNullableExternCall, ANode, nullable ANode) */
5242 void nitc__parser_prod___AAsNullableExternCall___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5243 val
* var_old_child
/* var old_child: ANode */;
5244 val
* var_new_child
/* var new_child: nullable ANode */;
5245 val
* var
/* : AType */;
5246 short int var1
/* : Bool */;
5247 val
* var_other
/* var other: nullable Object */;
5248 short int var3
/* : Bool */;
5249 short int var5
/* : Bool */;
5250 short int var6
/* : Bool */;
5253 const char* var_class_name
;
5254 val
* var7
/* : TKwas */;
5255 short int var8
/* : Bool */;
5256 short int var10
/* : Bool */;
5257 short int var12
/* : Bool */;
5258 short int var13
/* : Bool */;
5261 const char* var_class_name16
;
5262 val
* var17
/* : TKwnullable */;
5263 short int var18
/* : Bool */;
5264 short int var20
/* : Bool */;
5265 short int var22
/* : Bool */;
5266 short int var23
/* : Bool */;
5269 const char* var_class_name26
;
5272 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_type
].val
; /* _n_type on <self:AAsNullableExternCall> */
5273 if (unlikely(var
== NULL
)) {
5274 if(catchStack
.cursor
>= 0){
5275 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5277 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
5278 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8150);
5282 { /* Inline kernel$Object$== (var,var_old_child) on <var:AType> */
5283 var_other
= var_old_child
;
5285 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AType> */
5286 var5
= var
== var_other
;
5298 /* <var_new_child:nullable ANode> isa AType */
5299 cltype
= type_nitc__AType
.color
;
5300 idtype
= type_nitc__AType
.id
;
5301 if(var_new_child
== NULL
) {
5304 if(cltype
>= var_new_child
->type
->table_size
) {
5307 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5310 if (unlikely(!var6
)) {
5311 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5312 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name
);
5313 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8151);
5317 nitc__parser_prod___AAsNullableExternCall___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$AAsNullableExternCall$n_type= on <self:AAsNullableExternCall>*/
5322 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwas
].val
; /* _n_kwas on <self:AAsNullableExternCall> */
5323 if (unlikely(var7
== NULL
)) {
5324 if(catchStack
.cursor
>= 0){
5325 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5327 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas");
5328 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8154);
5332 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TKwas> */
5333 var_other
= var_old_child
;
5335 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TKwas> */
5336 var12
= var7
== var_other
;
5339 RET_LABEL11
:(void)0;
5348 /* <var_new_child:nullable ANode> isa TKwas */
5349 cltype14
= type_nitc__TKwas
.color
;
5350 idtype15
= type_nitc__TKwas
.id
;
5351 if(var_new_child
== NULL
) {
5354 if(cltype14
>= var_new_child
->type
->table_size
) {
5357 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
5360 if (unlikely(!var13
)) {
5361 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5362 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwas", var_class_name16
);
5363 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8155);
5367 nitc__parser_prod___AAsNullableExternCall___n_kwas_61d(self
, var_new_child
); /* Direct call parser_prod$AAsNullableExternCall$n_kwas= on <self:AAsNullableExternCall>*/
5372 var17
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwnullable
].val
; /* _n_kwnullable on <self:AAsNullableExternCall> */
5373 if (unlikely(var17
== NULL
)) {
5374 if(catchStack
.cursor
>= 0){
5375 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5377 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnullable");
5378 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8158);
5382 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:TKwnullable> */
5383 var_other
= var_old_child
;
5385 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:TKwnullable> */
5386 var22
= var17
== var_other
;
5389 RET_LABEL21
:(void)0;
5394 RET_LABEL19
:(void)0;
5398 /* <var_new_child:nullable ANode> isa TKwnullable */
5399 cltype24
= type_nitc__TKwnullable
.color
;
5400 idtype25
= type_nitc__TKwnullable
.id
;
5401 if(var_new_child
== NULL
) {
5404 if(cltype24
>= var_new_child
->type
->table_size
) {
5407 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
5410 if (unlikely(!var23
)) {
5411 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5412 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnullable", var_class_name26
);
5413 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8159);
5417 nitc__parser_prod___AAsNullableExternCall___n_kwnullable_61d(self
, var_new_child
); /* Direct call parser_prod$AAsNullableExternCall$n_kwnullable= on <self:AAsNullableExternCall>*/
5424 /* method parser_prod$AAsNullableExternCall$n_type= for (self: AAsNullableExternCall, AType) */
5425 void nitc__parser_prod___AAsNullableExternCall___n_type_61d(val
* self
, val
* p0
) {
5426 val
* var_node
/* var node: AType */;
5428 self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_type
].val
= var_node
; /* _n_type on <self:AAsNullableExternCall> */
5430 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
5431 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
5437 /* method parser_prod$AAsNullableExternCall$n_kwas= for (self: AAsNullableExternCall, TKwas) */
5438 void nitc__parser_prod___AAsNullableExternCall___n_kwas_61d(val
* self
, val
* p0
) {
5439 val
* var_node
/* var node: TKwas */;
5441 self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwas
].val
= var_node
; /* _n_kwas on <self:AAsNullableExternCall> */
5443 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwas> */
5444 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwas> */
5450 /* method parser_prod$AAsNullableExternCall$n_kwnullable= for (self: AAsNullableExternCall, TKwnullable) */
5451 void nitc__parser_prod___AAsNullableExternCall___n_kwnullable_61d(val
* self
, val
* p0
) {
5452 val
* var_node
/* var node: TKwnullable */;
5454 self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwnullable
].val
= var_node
; /* _n_kwnullable on <self:AAsNullableExternCall> */
5456 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwnullable> */
5457 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwnullable> */
5463 /* method parser_prod$AAsNullableExternCall$visit_all for (self: AAsNullableExternCall, Visitor) */
5464 void nitc__parser_prod___AAsNullableExternCall___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5465 val
* var_v
/* var v: Visitor */;
5466 val
* var
/* : AType */;
5467 val
* var1
/* : TKwas */;
5468 val
* var2
/* : TKwnullable */;
5470 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_type
].val
; /* _n_type on <self:AAsNullableExternCall> */
5471 if (unlikely(var
== NULL
)) {
5472 if(catchStack
.cursor
>= 0){
5473 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5475 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
5476 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8183);
5480 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5482 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwas
].val
; /* _n_kwas on <self:AAsNullableExternCall> */
5483 if (unlikely(var1
== NULL
)) {
5484 if(catchStack
.cursor
>= 0){
5485 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5487 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas");
5488 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8184);
5492 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5494 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNullableExternCall___n_kwnullable
].val
; /* _n_kwnullable on <self:AAsNullableExternCall> */
5495 if (unlikely(var2
== NULL
)) {
5496 if(catchStack
.cursor
>= 0){
5497 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5499 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnullable");
5500 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8185);
5504 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5508 /* method parser_prod$AAsNotNullableExternCall$init_aasnotnullableexterncall for (self: AAsNotNullableExternCall, nullable AType, nullable TKwas, nullable TKwnot, nullable TKwnullable) */
5509 void nitc__parser_prod___AAsNotNullableExternCall___init_aasnotnullableexterncall(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
) {
5510 val
* var_n_type
/* var n_type: nullable AType */;
5511 val
* var_n_kwas
/* var n_kwas: nullable TKwas */;
5512 val
* var_n_kwnot
/* var n_kwnot: nullable TKwnot */;
5513 val
* var_n_kwnullable
/* var n_kwnullable: nullable TKwnullable */;
5515 { /* Inline kernel$Object$init (self) on <self:AAsNotNullableExternCall> */
5522 var_n_kwnullable
= p3
;
5523 if (unlikely(var_n_type
== NULL
)) {
5524 if(catchStack
.cursor
>= 0){
5525 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5527 PRINT_ERROR("Runtime error: %s", "Cast failed");
5528 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8196);
5531 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_type
].val
= var_n_type
; /* _n_type on <self:AAsNotNullableExternCall> */
5532 if (var_n_type
== NULL
) {
5533 if(catchStack
.cursor
>= 0){
5534 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5536 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5537 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8197);
5540 { /* Inline parser_nodes$ANode$parent= (var_n_type,self) on <var_n_type:nullable AType> */
5541 if (unlikely(var_n_type
== NULL
)) {
5542 if(catchStack
.cursor
>= 0){
5543 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5545 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5546 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5549 var_n_type
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_type:nullable AType> */
5553 if (unlikely(var_n_kwas
== NULL
)) {
5554 if(catchStack
.cursor
>= 0){
5555 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5557 PRINT_ERROR("Runtime error: %s", "Cast failed");
5558 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8198);
5561 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwas
].val
= var_n_kwas
; /* _n_kwas on <self:AAsNotNullableExternCall> */
5562 if (var_n_kwas
== NULL
) {
5563 if(catchStack
.cursor
>= 0){
5564 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5566 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5567 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8199);
5570 { /* Inline parser_nodes$ANode$parent= (var_n_kwas,self) on <var_n_kwas:nullable TKwas> */
5571 if (unlikely(var_n_kwas
== NULL
)) {
5572 if(catchStack
.cursor
>= 0){
5573 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5575 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5576 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5579 var_n_kwas
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwas:nullable TKwas> */
5583 if (unlikely(var_n_kwnot
== NULL
)) {
5584 if(catchStack
.cursor
>= 0){
5585 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5587 PRINT_ERROR("Runtime error: %s", "Cast failed");
5588 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8200);
5591 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnot
].val
= var_n_kwnot
; /* _n_kwnot on <self:AAsNotNullableExternCall> */
5592 if (var_n_kwnot
== NULL
) {
5593 if(catchStack
.cursor
>= 0){
5594 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5596 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5597 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8201);
5600 { /* Inline parser_nodes$ANode$parent= (var_n_kwnot,self) on <var_n_kwnot:nullable TKwnot> */
5601 if (unlikely(var_n_kwnot
== NULL
)) {
5602 if(catchStack
.cursor
>= 0){
5603 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5605 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5606 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5609 var_n_kwnot
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwnot:nullable TKwnot> */
5613 if (unlikely(var_n_kwnullable
== NULL
)) {
5614 if(catchStack
.cursor
>= 0){
5615 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5617 PRINT_ERROR("Runtime error: %s", "Cast failed");
5618 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8202);
5621 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnullable
].val
= var_n_kwnullable
; /* _n_kwnullable on <self:AAsNotNullableExternCall> */
5622 if (var_n_kwnullable
== NULL
) {
5623 if(catchStack
.cursor
>= 0){
5624 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5626 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5627 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8203);
5630 { /* Inline parser_nodes$ANode$parent= (var_n_kwnullable,self) on <var_n_kwnullable:nullable TKwnullable> */
5631 if (unlikely(var_n_kwnullable
== NULL
)) {
5632 if(catchStack
.cursor
>= 0){
5633 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5635 PRINT_ERROR("Runtime error: %s", "Receiver is null");
5636 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
5639 var_n_kwnullable
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwnullable:nullable TKwnullable> */
5645 /* method parser_prod$AAsNotNullableExternCall$replace_child for (self: AAsNotNullableExternCall, ANode, nullable ANode) */
5646 void nitc__parser_prod___AAsNotNullableExternCall___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
5647 val
* var_old_child
/* var old_child: ANode */;
5648 val
* var_new_child
/* var new_child: nullable ANode */;
5649 val
* var
/* : AType */;
5650 short int var1
/* : Bool */;
5651 val
* var_other
/* var other: nullable Object */;
5652 short int var3
/* : Bool */;
5653 short int var5
/* : Bool */;
5654 short int var6
/* : Bool */;
5657 const char* var_class_name
;
5658 val
* var7
/* : TKwas */;
5659 short int var8
/* : Bool */;
5660 short int var10
/* : Bool */;
5661 short int var12
/* : Bool */;
5662 short int var13
/* : Bool */;
5665 const char* var_class_name16
;
5666 val
* var17
/* : TKwnot */;
5667 short int var18
/* : Bool */;
5668 short int var20
/* : Bool */;
5669 short int var22
/* : Bool */;
5670 short int var23
/* : Bool */;
5673 const char* var_class_name26
;
5674 val
* var27
/* : TKwnullable */;
5675 short int var28
/* : Bool */;
5676 short int var30
/* : Bool */;
5677 short int var32
/* : Bool */;
5678 short int var33
/* : Bool */;
5681 const char* var_class_name36
;
5684 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_type
].val
; /* _n_type on <self:AAsNotNullableExternCall> */
5685 if (unlikely(var
== NULL
)) {
5686 if(catchStack
.cursor
>= 0){
5687 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5689 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
5690 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8208);
5694 { /* Inline kernel$Object$== (var,var_old_child) on <var:AType> */
5695 var_other
= var_old_child
;
5697 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:AType> */
5698 var5
= var
== var_other
;
5710 /* <var_new_child:nullable ANode> isa AType */
5711 cltype
= type_nitc__AType
.color
;
5712 idtype
= type_nitc__AType
.id
;
5713 if(var_new_child
== NULL
) {
5716 if(cltype
>= var_new_child
->type
->table_size
) {
5719 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
5722 if (unlikely(!var6
)) {
5723 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5724 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name
);
5725 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8209);
5729 nitc__parser_prod___AAsNotNullableExternCall___n_type_61d(self
, var_new_child
); /* Direct call parser_prod$AAsNotNullableExternCall$n_type= on <self:AAsNotNullableExternCall>*/
5734 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwas
].val
; /* _n_kwas on <self:AAsNotNullableExternCall> */
5735 if (unlikely(var7
== NULL
)) {
5736 if(catchStack
.cursor
>= 0){
5737 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5739 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas");
5740 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8212);
5744 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TKwas> */
5745 var_other
= var_old_child
;
5747 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TKwas> */
5748 var12
= var7
== var_other
;
5751 RET_LABEL11
:(void)0;
5760 /* <var_new_child:nullable ANode> isa TKwas */
5761 cltype14
= type_nitc__TKwas
.color
;
5762 idtype15
= type_nitc__TKwas
.id
;
5763 if(var_new_child
== NULL
) {
5766 if(cltype14
>= var_new_child
->type
->table_size
) {
5769 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
5772 if (unlikely(!var13
)) {
5773 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5774 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwas", var_class_name16
);
5775 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8213);
5779 nitc__parser_prod___AAsNotNullableExternCall___n_kwas_61d(self
, var_new_child
); /* Direct call parser_prod$AAsNotNullableExternCall$n_kwas= on <self:AAsNotNullableExternCall>*/
5784 var17
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnot
].val
; /* _n_kwnot on <self:AAsNotNullableExternCall> */
5785 if (unlikely(var17
== NULL
)) {
5786 if(catchStack
.cursor
>= 0){
5787 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5789 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnot");
5790 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8216);
5794 { /* Inline kernel$Object$== (var17,var_old_child) on <var17:TKwnot> */
5795 var_other
= var_old_child
;
5797 { /* Inline kernel$Object$is_same_instance (var17,var_other) on <var17:TKwnot> */
5798 var22
= var17
== var_other
;
5801 RET_LABEL21
:(void)0;
5806 RET_LABEL19
:(void)0;
5810 /* <var_new_child:nullable ANode> isa TKwnot */
5811 cltype24
= type_nitc__TKwnot
.color
;
5812 idtype25
= type_nitc__TKwnot
.id
;
5813 if(var_new_child
== NULL
) {
5816 if(cltype24
>= var_new_child
->type
->table_size
) {
5819 var23
= var_new_child
->type
->type_table
[cltype24
] == idtype25
;
5822 if (unlikely(!var23
)) {
5823 var_class_name26
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5824 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnot", var_class_name26
);
5825 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8217);
5829 nitc__parser_prod___AAsNotNullableExternCall___n_kwnot_61d(self
, var_new_child
); /* Direct call parser_prod$AAsNotNullableExternCall$n_kwnot= on <self:AAsNotNullableExternCall>*/
5834 var27
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnullable
].val
; /* _n_kwnullable on <self:AAsNotNullableExternCall> */
5835 if (unlikely(var27
== NULL
)) {
5836 if(catchStack
.cursor
>= 0){
5837 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5839 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnullable");
5840 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8220);
5844 { /* Inline kernel$Object$== (var27,var_old_child) on <var27:TKwnullable> */
5845 var_other
= var_old_child
;
5847 { /* Inline kernel$Object$is_same_instance (var27,var_other) on <var27:TKwnullable> */
5848 var32
= var27
== var_other
;
5851 RET_LABEL31
:(void)0;
5856 RET_LABEL29
:(void)0;
5860 /* <var_new_child:nullable ANode> isa TKwnullable */
5861 cltype34
= type_nitc__TKwnullable
.color
;
5862 idtype35
= type_nitc__TKwnullable
.id
;
5863 if(var_new_child
== NULL
) {
5866 if(cltype34
>= var_new_child
->type
->table_size
) {
5869 var33
= var_new_child
->type
->type_table
[cltype34
] == idtype35
;
5872 if (unlikely(!var33
)) {
5873 var_class_name36
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
5874 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnullable", var_class_name36
);
5875 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8221);
5879 nitc__parser_prod___AAsNotNullableExternCall___n_kwnullable_61d(self
, var_new_child
); /* Direct call parser_prod$AAsNotNullableExternCall$n_kwnullable= on <self:AAsNotNullableExternCall>*/
5886 /* method parser_prod$AAsNotNullableExternCall$n_type= for (self: AAsNotNullableExternCall, AType) */
5887 void nitc__parser_prod___AAsNotNullableExternCall___n_type_61d(val
* self
, val
* p0
) {
5888 val
* var_node
/* var node: AType */;
5890 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_type
].val
= var_node
; /* _n_type on <self:AAsNotNullableExternCall> */
5892 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AType> */
5893 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AType> */
5899 /* method parser_prod$AAsNotNullableExternCall$n_kwas= for (self: AAsNotNullableExternCall, TKwas) */
5900 void nitc__parser_prod___AAsNotNullableExternCall___n_kwas_61d(val
* self
, val
* p0
) {
5901 val
* var_node
/* var node: TKwas */;
5903 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwas
].val
= var_node
; /* _n_kwas on <self:AAsNotNullableExternCall> */
5905 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwas> */
5906 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwas> */
5912 /* method parser_prod$AAsNotNullableExternCall$n_kwnot= for (self: AAsNotNullableExternCall, TKwnot) */
5913 void nitc__parser_prod___AAsNotNullableExternCall___n_kwnot_61d(val
* self
, val
* p0
) {
5914 val
* var_node
/* var node: TKwnot */;
5916 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnot
].val
= var_node
; /* _n_kwnot on <self:AAsNotNullableExternCall> */
5918 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwnot> */
5919 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwnot> */
5925 /* method parser_prod$AAsNotNullableExternCall$n_kwnullable= for (self: AAsNotNullableExternCall, TKwnullable) */
5926 void nitc__parser_prod___AAsNotNullableExternCall___n_kwnullable_61d(val
* self
, val
* p0
) {
5927 val
* var_node
/* var node: TKwnullable */;
5929 self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnullable
].val
= var_node
; /* _n_kwnullable on <self:AAsNotNullableExternCall> */
5931 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwnullable> */
5932 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwnullable> */
5938 /* method parser_prod$AAsNotNullableExternCall$visit_all for (self: AAsNotNullableExternCall, Visitor) */
5939 void nitc__parser_prod___AAsNotNullableExternCall___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
5940 val
* var_v
/* var v: Visitor */;
5941 val
* var
/* : AType */;
5942 val
* var1
/* : TKwas */;
5943 val
* var2
/* : TKwnot */;
5944 val
* var3
/* : TKwnullable */;
5946 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_type
].val
; /* _n_type on <self:AAsNotNullableExternCall> */
5947 if (unlikely(var
== NULL
)) {
5948 if(catchStack
.cursor
>= 0){
5949 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5951 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
5952 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8250);
5956 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5958 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwas
].val
; /* _n_kwas on <self:AAsNotNullableExternCall> */
5959 if (unlikely(var1
== NULL
)) {
5960 if(catchStack
.cursor
>= 0){
5961 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5963 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas");
5964 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8251);
5968 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5970 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnot
].val
; /* _n_kwnot on <self:AAsNotNullableExternCall> */
5971 if (unlikely(var2
== NULL
)) {
5972 if(catchStack
.cursor
>= 0){
5973 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5975 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnot");
5976 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8252);
5980 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5982 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AAsNotNullableExternCall___n_kwnullable
].val
; /* _n_kwnullable on <self:AAsNotNullableExternCall> */
5983 if (unlikely(var3
== NULL
)) {
5984 if(catchStack
.cursor
>= 0){
5985 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5987 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnullable");
5988 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8253);
5992 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
5996 /* method parser_prod$AInLanguage$init_ainlanguage for (self: AInLanguage, nullable TKwin, nullable TString) */
5997 void nitc__parser_prod___AInLanguage___init_ainlanguage(val
* self
, val
* p0
, val
* p1
) {
5998 val
* var_n_kwin
/* var n_kwin: nullable TKwin */;
5999 val
* var_n_string
/* var n_string: nullable TString */;
6001 { /* Inline kernel$Object$init (self) on <self:AInLanguage> */
6007 if (unlikely(var_n_kwin
== NULL
)) {
6008 if(catchStack
.cursor
>= 0){
6009 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6011 PRINT_ERROR("Runtime error: %s", "Cast failed");
6012 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8262);
6015 self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_kwin
].val
= var_n_kwin
; /* _n_kwin on <self:AInLanguage> */
6016 if (var_n_kwin
== NULL
) {
6017 if(catchStack
.cursor
>= 0){
6018 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6020 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6021 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8263);
6024 { /* Inline parser_nodes$ANode$parent= (var_n_kwin,self) on <var_n_kwin:nullable TKwin> */
6025 if (unlikely(var_n_kwin
== NULL
)) {
6026 if(catchStack
.cursor
>= 0){
6027 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6029 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6030 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6033 var_n_kwin
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwin:nullable TKwin> */
6037 if (unlikely(var_n_string
== NULL
)) {
6038 if(catchStack
.cursor
>= 0){
6039 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6041 PRINT_ERROR("Runtime error: %s", "Cast failed");
6042 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8264);
6045 self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_string
].val
= var_n_string
; /* _n_string on <self:AInLanguage> */
6046 if (var_n_string
== NULL
) {
6047 if(catchStack
.cursor
>= 0){
6048 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6050 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6051 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8265);
6054 { /* Inline parser_nodes$ANode$parent= (var_n_string,self) on <var_n_string:nullable TString> */
6055 if (unlikely(var_n_string
== NULL
)) {
6056 if(catchStack
.cursor
>= 0){
6057 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6059 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6060 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6063 var_n_string
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_string:nullable TString> */
6069 /* method parser_prod$AInLanguage$replace_child for (self: AInLanguage, ANode, nullable ANode) */
6070 void nitc__parser_prod___AInLanguage___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6071 val
* var_old_child
/* var old_child: ANode */;
6072 val
* var_new_child
/* var new_child: nullable ANode */;
6073 val
* var
/* : TKwin */;
6074 short int var1
/* : Bool */;
6075 val
* var_other
/* var other: nullable Object */;
6076 short int var3
/* : Bool */;
6077 short int var5
/* : Bool */;
6078 short int var6
/* : Bool */;
6081 const char* var_class_name
;
6082 val
* var7
/* : TString */;
6083 short int var8
/* : Bool */;
6084 short int var10
/* : Bool */;
6085 short int var12
/* : Bool */;
6086 short int var13
/* : Bool */;
6089 const char* var_class_name16
;
6092 var
= self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_kwin
].val
; /* _n_kwin on <self:AInLanguage> */
6093 if (unlikely(var
== NULL
)) {
6094 if(catchStack
.cursor
>= 0){
6095 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6097 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwin");
6098 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8270);
6102 { /* Inline kernel$Object$== (var,var_old_child) on <var:TKwin> */
6103 var_other
= var_old_child
;
6105 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:TKwin> */
6106 var5
= var
== var_other
;
6118 /* <var_new_child:nullable ANode> isa TKwin */
6119 cltype
= type_nitc__TKwin
.color
;
6120 idtype
= type_nitc__TKwin
.id
;
6121 if(var_new_child
== NULL
) {
6124 if(cltype
>= var_new_child
->type
->table_size
) {
6127 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6130 if (unlikely(!var6
)) {
6131 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6132 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwin", var_class_name
);
6133 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8271);
6137 nitc__parser_prod___AInLanguage___n_kwin_61d(self
, var_new_child
); /* Direct call parser_prod$AInLanguage$n_kwin= on <self:AInLanguage>*/
6142 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_string
].val
; /* _n_string on <self:AInLanguage> */
6143 if (unlikely(var7
== NULL
)) {
6144 if(catchStack
.cursor
>= 0){
6145 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6147 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string");
6148 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8274);
6152 { /* Inline kernel$Object$== (var7,var_old_child) on <var7:TString> */
6153 var_other
= var_old_child
;
6155 { /* Inline kernel$Object$is_same_instance (var7,var_other) on <var7:TString> */
6156 var12
= var7
== var_other
;
6159 RET_LABEL11
:(void)0;
6168 /* <var_new_child:nullable ANode> isa TString */
6169 cltype14
= type_nitc__TString
.color
;
6170 idtype15
= type_nitc__TString
.id
;
6171 if(var_new_child
== NULL
) {
6174 if(cltype14
>= var_new_child
->type
->table_size
) {
6177 var13
= var_new_child
->type
->type_table
[cltype14
] == idtype15
;
6180 if (unlikely(!var13
)) {
6181 var_class_name16
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6182 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TString", var_class_name16
);
6183 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8275);
6187 nitc__parser_prod___AInLanguage___n_string_61d(self
, var_new_child
); /* Direct call parser_prod$AInLanguage$n_string= on <self:AInLanguage>*/
6194 /* method parser_prod$AInLanguage$n_kwin= for (self: AInLanguage, TKwin) */
6195 void nitc__parser_prod___AInLanguage___n_kwin_61d(val
* self
, val
* p0
) {
6196 val
* var_node
/* var node: TKwin */;
6198 self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_kwin
].val
= var_node
; /* _n_kwin on <self:AInLanguage> */
6200 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TKwin> */
6201 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TKwin> */
6207 /* method parser_prod$AInLanguage$n_string= for (self: AInLanguage, TString) */
6208 void nitc__parser_prod___AInLanguage___n_string_61d(val
* self
, val
* p0
) {
6209 val
* var_node
/* var node: TString */;
6211 self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_string
].val
= var_node
; /* _n_string on <self:AInLanguage> */
6213 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TString> */
6214 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TString> */
6220 /* method parser_prod$AInLanguage$visit_all for (self: AInLanguage, Visitor) */
6221 void nitc__parser_prod___AInLanguage___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6222 val
* var_v
/* var v: Visitor */;
6223 val
* var
/* : TKwin */;
6224 val
* var1
/* : TString */;
6226 var
= self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_kwin
].val
; /* _n_kwin on <self:AInLanguage> */
6227 if (unlikely(var
== NULL
)) {
6228 if(catchStack
.cursor
>= 0){
6229 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6231 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwin");
6232 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8294);
6236 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6238 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AInLanguage___n_string
].val
; /* _n_string on <self:AInLanguage> */
6239 if (unlikely(var1
== NULL
)) {
6240 if(catchStack
.cursor
>= 0){
6241 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6243 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string");
6244 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8295);
6248 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6252 /* method parser_prod$AExternCodeBlock$init_aexterncodeblock for (self: AExternCodeBlock, nullable AInLanguage, nullable TExternCodeSegment) */
6253 void nitc__parser_prod___AExternCodeBlock___init_aexterncodeblock(val
* self
, val
* p0
, val
* p1
) {
6254 val
* var_n_in_language
/* var n_in_language: nullable AInLanguage */;
6255 val
* var_n_extern_code_segment
/* var n_extern_code_segment: nullable TExternCodeSegment */;
6256 short int var
/* : Bool */;
6257 short int var2
/* : Bool */;
6258 val
* var_other
/* var other: nullable Object */;
6259 short int var4
/* : Bool */;
6260 short int var5
/* : Bool */;
6262 { /* Inline kernel$Object$init (self) on <self:AExternCodeBlock> */
6266 var_n_in_language
= p0
;
6267 var_n_extern_code_segment
= p1
;
6268 self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_in_language
].val
= var_n_in_language
; /* _n_in_language on <self:AExternCodeBlock> */
6269 if (var_n_in_language
== NULL
) {
6270 var
= 0; /* is null */
6272 var
= 1; /* arg is null and recv is not */
6275 { /* Inline kernel$Object$!= (var_n_in_language,((val*)NULL)) on <var_n_in_language:nullable AInLanguage> */
6276 var_other
= ((val
*)NULL
);
6278 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_in_language
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_in_language
, var_other
); /* == on <var_n_in_language:nullable AInLanguage(AInLanguage)>*/
6289 { /* Inline parser_nodes$ANode$parent= (var_n_in_language,self) on <var_n_in_language:nullable AInLanguage(AInLanguage)> */
6290 var_n_in_language
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_in_language:nullable AInLanguage(AInLanguage)> */
6296 if (unlikely(var_n_extern_code_segment
== NULL
)) {
6297 if(catchStack
.cursor
>= 0){
6298 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6300 PRINT_ERROR("Runtime error: %s", "Cast failed");
6301 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8306);
6304 self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_extern_code_segment
].val
= var_n_extern_code_segment
; /* _n_extern_code_segment on <self:AExternCodeBlock> */
6305 if (var_n_extern_code_segment
== NULL
) {
6306 if(catchStack
.cursor
>= 0){
6307 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6309 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6310 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8307);
6313 { /* Inline parser_nodes$ANode$parent= (var_n_extern_code_segment,self) on <var_n_extern_code_segment:nullable TExternCodeSegment> */
6314 if (unlikely(var_n_extern_code_segment
== NULL
)) {
6315 if(catchStack
.cursor
>= 0){
6316 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6318 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6319 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
6322 var_n_extern_code_segment
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_extern_code_segment:nullable TExternCodeSegment> */
6328 /* method parser_prod$AExternCodeBlock$replace_child for (self: AExternCodeBlock, ANode, nullable ANode) */
6329 void nitc__parser_prod___AExternCodeBlock___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6330 val
* var_old_child
/* var old_child: ANode */;
6331 val
* var_new_child
/* var new_child: nullable ANode */;
6332 val
* var
/* : nullable AInLanguage */;
6333 short int var1
/* : Bool */;
6334 short int var2
/* : Bool */;
6335 val
* var_other
/* var other: nullable Object */;
6336 short int var4
/* : Bool */;
6337 short int var6
/* : Bool */;
6338 short int var7
/* : Bool */;
6341 const char* var_class_name
;
6342 val
* var8
/* : TExternCodeSegment */;
6343 short int var9
/* : Bool */;
6344 short int var11
/* : Bool */;
6345 short int var13
/* : Bool */;
6346 short int var14
/* : Bool */;
6349 const char* var_class_name17
;
6352 var
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_in_language
].val
; /* _n_in_language on <self:AExternCodeBlock> */
6354 var1
= 0; /* <var_old_child:ANode> cannot be null */
6356 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable AInLanguage> */
6357 var_other
= var_old_child
;
6359 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable AInLanguage(AInLanguage)> */
6360 var6
= var
== var_other
;
6373 /* <var_new_child:nullable ANode> isa nullable AInLanguage */
6374 cltype
= type_nullable__nitc__AInLanguage
.color
;
6375 idtype
= type_nullable__nitc__AInLanguage
.id
;
6376 if(var_new_child
== NULL
) {
6379 if(cltype
>= var_new_child
->type
->table_size
) {
6382 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6385 if (unlikely(!var7
)) {
6386 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6387 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AInLanguage", var_class_name
);
6388 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8313);
6392 nitc__parser_prod___AExternCodeBlock___n_in_language_61d(self
, var_new_child
); /* Direct call parser_prod$AExternCodeBlock$n_in_language= on <self:AExternCodeBlock>*/
6397 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_extern_code_segment
].val
; /* _n_extern_code_segment on <self:AExternCodeBlock> */
6398 if (unlikely(var8
== NULL
)) {
6399 if(catchStack
.cursor
>= 0){
6400 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6402 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_code_segment");
6403 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8316);
6407 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:TExternCodeSegment> */
6408 var_other
= var_old_child
;
6410 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:TExternCodeSegment> */
6411 var13
= var8
== var_other
;
6414 RET_LABEL12
:(void)0;
6419 RET_LABEL10
:(void)0;
6423 /* <var_new_child:nullable ANode> isa TExternCodeSegment */
6424 cltype15
= type_nitc__TExternCodeSegment
.color
;
6425 idtype16
= type_nitc__TExternCodeSegment
.id
;
6426 if(var_new_child
== NULL
) {
6429 if(cltype15
>= var_new_child
->type
->table_size
) {
6432 var14
= var_new_child
->type
->type_table
[cltype15
] == idtype16
;
6435 if (unlikely(!var14
)) {
6436 var_class_name17
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6437 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TExternCodeSegment", var_class_name17
);
6438 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8317);
6442 nitc__parser_prod___AExternCodeBlock___n_extern_code_segment_61d(self
, var_new_child
); /* Direct call parser_prod$AExternCodeBlock$n_extern_code_segment= on <self:AExternCodeBlock>*/
6449 /* method parser_prod$AExternCodeBlock$n_in_language= for (self: AExternCodeBlock, nullable AInLanguage) */
6450 void nitc__parser_prod___AExternCodeBlock___n_in_language_61d(val
* self
, val
* p0
) {
6451 val
* var_node
/* var node: nullable AInLanguage */;
6452 short int var
/* : Bool */;
6453 short int var1
/* : Bool */;
6454 val
* var_other
/* var other: nullable Object */;
6455 short int var3
/* : Bool */;
6456 short int var4
/* : Bool */;
6458 self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_in_language
].val
= var_node
; /* _n_in_language on <self:AExternCodeBlock> */
6459 if (var_node
== NULL
) {
6460 var
= 0; /* is null */
6462 var
= 1; /* arg is null and recv is not */
6465 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AInLanguage> */
6466 var_other
= ((val
*)NULL
);
6468 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AInLanguage(AInLanguage)>*/
6479 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AInLanguage(AInLanguage)> */
6480 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AInLanguage(AInLanguage)> */
6488 /* method parser_prod$AExternCodeBlock$n_extern_code_segment= for (self: AExternCodeBlock, TExternCodeSegment) */
6489 void nitc__parser_prod___AExternCodeBlock___n_extern_code_segment_61d(val
* self
, val
* p0
) {
6490 val
* var_node
/* var node: TExternCodeSegment */;
6492 self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_extern_code_segment
].val
= var_node
; /* _n_extern_code_segment on <self:AExternCodeBlock> */
6494 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:TExternCodeSegment> */
6495 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:TExternCodeSegment> */
6501 /* method parser_prod$AExternCodeBlock$visit_all for (self: AExternCodeBlock, Visitor) */
6502 void nitc__parser_prod___AExternCodeBlock___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6503 val
* var_v
/* var v: Visitor */;
6504 val
* var
/* : nullable AInLanguage */;
6505 val
* var1
/* : TExternCodeSegment */;
6507 var
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_in_language
].val
; /* _n_in_language on <self:AExternCodeBlock> */
6509 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6511 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AExternCodeBlock___n_extern_code_segment
].val
; /* _n_extern_code_segment on <self:AExternCodeBlock> */
6512 if (unlikely(var1
== NULL
)) {
6513 if(catchStack
.cursor
>= 0){
6514 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6516 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_code_segment");
6517 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8337);
6521 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6525 /* method parser_prod$AQualified$init_aqualified for (self: AQualified, Collection[Object], nullable TClassid) */
6526 void nitc__parser_prod___AQualified___init_aqualified(val
* self
, val
* p0
, val
* p1
) {
6527 val
* var_n_id
/* var n_id: Collection[Object] */;
6528 val
* var_n_classid
/* var n_classid: nullable TClassid */;
6529 val
* var
/* : ANodes[TId] */;
6530 val
* var3
/* : ANodes[TId] */;
6531 short int var4
/* : Bool */;
6532 short int var5
/* : Bool */;
6533 val
* var_other
/* var other: nullable Object */;
6534 short int var7
/* : Bool */;
6535 short int var8
/* : Bool */;
6537 { /* Inline kernel$Object$init (self) on <self:AQualified> */
6544 { /* Inline parser_nodes$AQualified$n_id (self) on <self:AQualified> */
6545 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AQualified___n_id
].val
; /* _n_id on <self:AQualified> */
6546 if (unlikely(var3
== NULL
)) {
6547 if(catchStack
.cursor
>= 0){
6548 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6550 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6551 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2952);
6559 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_id
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[TId]>*/
6561 self
->attrs
[COLOR_nitc__parser_nodes__AQualified___n_classid
].val
= var_n_classid
; /* _n_classid on <self:AQualified> */
6562 if (var_n_classid
== NULL
) {
6563 var4
= 0; /* is null */
6565 var4
= 1; /* arg is null and recv is not */
6568 { /* Inline kernel$Object$!= (var_n_classid,((val*)NULL)) on <var_n_classid:nullable TClassid> */
6569 var_other
= ((val
*)NULL
);
6571 var7
= ((short int(*)(val
* self
, val
* p0
))(var_n_classid
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_classid
, var_other
); /* == on <var_n_classid:nullable TClassid(TClassid)>*/
6582 { /* Inline parser_nodes$ANode$parent= (var_n_classid,self) on <var_n_classid:nullable TClassid(TClassid)> */
6583 var_n_classid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_classid:nullable TClassid(TClassid)> */
6591 /* method parser_prod$AQualified$replace_child for (self: AQualified, ANode, nullable ANode) */
6592 void nitc__parser_prod___AQualified___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6593 val
* var_old_child
/* var old_child: ANode */;
6594 val
* var_new_child
/* var new_child: nullable ANode */;
6595 val
* var
/* : ANodes[TId] */;
6596 val
* var2
/* : ANodes[TId] */;
6597 short int var3
/* : Bool */;
6598 val
* var4
/* : nullable TClassid */;
6599 short int var5
/* : Bool */;
6600 short int var6
/* : Bool */;
6601 val
* var_other
/* var other: nullable Object */;
6602 short int var8
/* : Bool */;
6603 short int var10
/* : Bool */;
6604 short int var11
/* : Bool */;
6607 const char* var_class_name
;
6611 { /* Inline parser_nodes$AQualified$n_id (self) on <self:AQualified> */
6612 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AQualified___n_id
].val
; /* _n_id on <self:AQualified> */
6613 if (unlikely(var2
== NULL
)) {
6614 if(catchStack
.cursor
>= 0){
6615 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6617 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6618 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2952);
6626 var3
= nitc___nitc__ANodes___replace_child(var
, var_old_child
, var_new_child
);
6632 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AQualified___n_classid
].val
; /* _n_classid on <self:AQualified> */
6634 var5
= 0; /* <var_old_child:ANode> cannot be null */
6636 { /* Inline kernel$Object$== (var4,var_old_child) on <var4:nullable TClassid> */
6637 var_other
= var_old_child
;
6639 { /* Inline kernel$Object$is_same_instance (var4,var_other) on <var4:nullable TClassid(TClassid)> */
6640 var10
= var4
== var_other
;
6653 /* <var_new_child:nullable ANode> isa nullable TClassid */
6654 cltype
= type_nullable__nitc__TClassid
.color
;
6655 idtype
= type_nullable__nitc__TClassid
.id
;
6656 if(var_new_child
== NULL
) {
6659 if(cltype
>= var_new_child
->type
->table_size
) {
6662 var11
= var_new_child
->type
->type_table
[cltype
] == idtype
;
6665 if (unlikely(!var11
)) {
6666 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
6667 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TClassid", var_class_name
);
6668 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8355);
6672 nitc__parser_prod___AQualified___n_classid_61d(self
, var_new_child
); /* Direct call parser_prod$AQualified$n_classid= on <self:AQualified>*/
6679 /* method parser_prod$AQualified$n_classid= for (self: AQualified, nullable TClassid) */
6680 void nitc__parser_prod___AQualified___n_classid_61d(val
* self
, val
* p0
) {
6681 val
* var_node
/* var node: nullable TClassid */;
6682 short int var
/* : Bool */;
6683 short int var1
/* : Bool */;
6684 val
* var_other
/* var other: nullable Object */;
6685 short int var3
/* : Bool */;
6686 short int var4
/* : Bool */;
6688 self
->attrs
[COLOR_nitc__parser_nodes__AQualified___n_classid
].val
= var_node
; /* _n_classid on <self:AQualified> */
6689 if (var_node
== NULL
) {
6690 var
= 0; /* is null */
6692 var
= 1; /* arg is null and recv is not */
6695 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TClassid> */
6696 var_other
= ((val
*)NULL
);
6698 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 TClassid(TClassid)>*/
6709 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TClassid(TClassid)> */
6710 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TClassid(TClassid)> */
6718 /* method parser_prod$AQualified$visit_all for (self: AQualified, Visitor) */
6719 void nitc__parser_prod___AQualified___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6720 val
* var_v
/* var v: Visitor */;
6721 val
* var
/* : ANodes[TId] */;
6722 val
* var2
/* : ANodes[TId] */;
6723 val
* var3
/* : nullable TClassid */;
6726 { /* Inline parser_nodes$AQualified$n_id (self) on <self:AQualified> */
6727 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AQualified___n_id
].val
; /* _n_id on <self:AQualified> */
6728 if (unlikely(var2
== NULL
)) {
6729 if(catchStack
.cursor
>= 0){
6730 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6732 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
6733 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2952);
6741 nitc___nitc__ANodes___visit_all(var
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var:ANodes[TId]>*/
6743 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AQualified___n_classid
].val
; /* _n_classid on <self:AQualified> */
6745 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
6749 /* method parser_prod$ADoc$init_adoc for (self: ADoc, Collection[Object]) */
6750 void nitc__parser_prod___ADoc___init_adoc(val
* self
, val
* p0
) {
6751 val
* var_n_comment
/* var n_comment: Collection[Object] */;
6752 val
* var
/* : ANodes[TComment] */;
6753 val
* var3
/* : ANodes[TComment] */;
6755 { /* Inline kernel$Object$init (self) on <self:ADoc> */
6761 { /* Inline parser_nodes$ADoc$n_comment (self) on <self:ADoc> */
6762 var3
= self
->attrs
[COLOR_nitc__parser_nodes__ADoc___n_comment
].val
; /* _n_comment on <self:ADoc> */
6763 if (unlikely(var3
== NULL
)) {
6764 if(catchStack
.cursor
>= 0){
6765 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6767 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_comment");
6768 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2964);
6776 nitc___nitc__ANodes___unsafe_add_all(var
, var_n_comment
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var:ANodes[TComment]>*/
6780 /* method parser_prod$ADoc$replace_child for (self: ADoc, ANode, nullable ANode) */
6781 void nitc__parser_prod___ADoc___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
6782 val
* var_old_child
/* var old_child: ANode */;
6783 val
* var_new_child
/* var new_child: nullable ANode */;
6784 val
* var
/* : ANodes[TComment] */;
6785 val
* var2
/* : ANodes[TComment] */;
6786 short int var3
/* : Bool */;
6790 { /* Inline parser_nodes$ADoc$n_comment (self) on <self:ADoc> */
6791 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ADoc___n_comment
].val
; /* _n_comment on <self:ADoc> */
6792 if (unlikely(var2
== NULL
)) {
6793 if(catchStack
.cursor
>= 0){
6794 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6796 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_comment");
6797 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2964);
6805 var3
= nitc___nitc__ANodes___replace_child(var
, var_old_child
, var_new_child
);
6813 /* method parser_prod$ADoc$visit_all for (self: ADoc, Visitor) */
6814 void nitc__parser_prod___ADoc___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
6815 val
* var_v
/* var v: Visitor */;
6816 val
* var
/* : ANodes[TComment] */;
6817 val
* var2
/* : ANodes[TComment] */;
6820 { /* Inline parser_nodes$ADoc$n_comment (self) on <self:ADoc> */
6821 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ADoc___n_comment
].val
; /* _n_comment on <self:ADoc> */
6822 if (unlikely(var2
== NULL
)) {
6823 if(catchStack
.cursor
>= 0){
6824 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6826 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_comment");
6827 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2964);
6835 nitc___nitc__ANodes___visit_all(var
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var:ANodes[TComment]>*/
6839 /* method parser_prod$AAnnotations$init_aannotations for (self: AAnnotations, nullable TKwis, nullable TAt, nullable TOpar, Collection[Object], nullable TCpar, nullable TKwend) */
6840 void nitc__parser_prod___AAnnotations___init_aannotations(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
, val
* p5
) {
6841 val
* var_n_kwis
/* var n_kwis: nullable TKwis */;
6842 val
* var_n_at
/* var n_at: nullable TAt */;
6843 val
* var_n_opar
/* var n_opar: nullable TOpar */;
6844 val
* var_n_items
/* var n_items: Collection[Object] */;
6845 val
* var_n_cpar
/* var n_cpar: nullable TCpar */;
6846 val
* var_n_kwend
/* var n_kwend: nullable TKwend */;
6847 short int var
/* : Bool */;
6848 short int var2
/* : Bool */;
6849 val
* var_other
/* var other: nullable Object */;
6850 short int var4
/* : Bool */;
6851 short int var5
/* : Bool */;
6852 short int var7
/* : Bool */;
6853 short int var8
/* : Bool */;
6854 short int var10
/* : Bool */;
6855 short int var11
/* : Bool */;
6856 short int var13
/* : Bool */;
6857 short int var14
/* : Bool */;
6858 short int var16
/* : Bool */;
6859 short int var17
/* : Bool */;
6860 val
* var19
/* : ANodes[AAnnotation] */;
6861 val
* var21
/* : ANodes[AAnnotation] */;
6862 short int var22
/* : Bool */;
6863 short int var23
/* : Bool */;
6864 short int var25
/* : Bool */;
6865 short int var26
/* : Bool */;
6866 short int var28
/* : Bool */;
6867 short int var29
/* : Bool */;
6868 short int var31
/* : Bool */;
6869 short int var32
/* : Bool */;
6871 { /* Inline kernel$Object$init (self) on <self:AAnnotations> */
6881 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwis
].val
= var_n_kwis
; /* _n_kwis on <self:AAnnotations> */
6882 if (var_n_kwis
== NULL
) {
6883 var
= 0; /* is null */
6885 var
= 1; /* arg is null and recv is not */
6888 { /* Inline kernel$Object$!= (var_n_kwis,((val*)NULL)) on <var_n_kwis:nullable TKwis> */
6889 var_other
= ((val
*)NULL
);
6891 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwis
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwis
, var_other
); /* == on <var_n_kwis:nullable TKwis(TKwis)>*/
6902 { /* Inline parser_nodes$ANode$parent= (var_n_kwis,self) on <var_n_kwis:nullable TKwis(TKwis)> */
6903 var_n_kwis
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwis:nullable TKwis(TKwis)> */
6909 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_at
].val
= var_n_at
; /* _n_at on <self:AAnnotations> */
6910 if (var_n_at
== NULL
) {
6911 var7
= 0; /* is null */
6913 var7
= 1; /* arg is null and recv is not */
6916 { /* Inline kernel$Object$!= (var_n_at,((val*)NULL)) on <var_n_at:nullable TAt> */
6917 var_other
= ((val
*)NULL
);
6919 var10
= ((short int(*)(val
* self
, val
* p0
))(var_n_at
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_at
, var_other
); /* == on <var_n_at:nullable TAt(TAt)>*/
6930 { /* Inline parser_nodes$ANode$parent= (var_n_at,self) on <var_n_at:nullable TAt(TAt)> */
6931 var_n_at
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_at:nullable TAt(TAt)> */
6932 RET_LABEL12
:(void)0;
6937 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_opar
].val
= var_n_opar
; /* _n_opar on <self:AAnnotations> */
6938 if (var_n_opar
== NULL
) {
6939 var13
= 0; /* is null */
6941 var13
= 1; /* arg is null and recv is not */
6944 { /* Inline kernel$Object$!= (var_n_opar,((val*)NULL)) on <var_n_opar:nullable TOpar> */
6945 var_other
= ((val
*)NULL
);
6947 var16
= ((short int(*)(val
* self
, val
* p0
))(var_n_opar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_opar
, var_other
); /* == on <var_n_opar:nullable TOpar(TOpar)>*/
6952 RET_LABEL15
:(void)0;
6958 { /* Inline parser_nodes$ANode$parent= (var_n_opar,self) on <var_n_opar:nullable TOpar(TOpar)> */
6959 var_n_opar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_opar:nullable TOpar(TOpar)> */
6960 RET_LABEL18
:(void)0;
6966 { /* Inline parser_nodes$AAnnotations$n_items (self) on <self:AAnnotations> */
6967 var21
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_items
].val
; /* _n_items on <self:AAnnotations> */
6968 if (unlikely(var21
== NULL
)) {
6969 if(catchStack
.cursor
>= 0){
6970 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6972 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_items");
6973 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2987);
6977 RET_LABEL20
:(void)0;
6981 nitc___nitc__ANodes___unsafe_add_all(var19
, var_n_items
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var19:ANodes[AAnnotation]>*/
6983 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_cpar
].val
= var_n_cpar
; /* _n_cpar on <self:AAnnotations> */
6984 if (var_n_cpar
== NULL
) {
6985 var22
= 0; /* is null */
6987 var22
= 1; /* arg is null and recv is not */
6990 { /* Inline kernel$Object$!= (var_n_cpar,((val*)NULL)) on <var_n_cpar:nullable TCpar> */
6991 var_other
= ((val
*)NULL
);
6993 var25
= ((short int(*)(val
* self
, val
* p0
))(var_n_cpar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_cpar
, var_other
); /* == on <var_n_cpar:nullable TCpar(TCpar)>*/
6998 RET_LABEL24
:(void)0;
7004 { /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on <var_n_cpar:nullable TCpar(TCpar)> */
7005 var_n_cpar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cpar:nullable TCpar(TCpar)> */
7006 RET_LABEL27
:(void)0;
7011 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwend
].val
= var_n_kwend
; /* _n_kwend on <self:AAnnotations> */
7012 if (var_n_kwend
== NULL
) {
7013 var28
= 0; /* is null */
7015 var28
= 1; /* arg is null and recv is not */
7018 { /* Inline kernel$Object$!= (var_n_kwend,((val*)NULL)) on <var_n_kwend:nullable TKwend> */
7019 var_other
= ((val
*)NULL
);
7021 var31
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwend
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwend
, var_other
); /* == on <var_n_kwend:nullable TKwend(TKwend)>*/
7026 RET_LABEL30
:(void)0;
7032 { /* Inline parser_nodes$ANode$parent= (var_n_kwend,self) on <var_n_kwend:nullable TKwend(TKwend)> */
7033 var_n_kwend
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwend:nullable TKwend(TKwend)> */
7034 RET_LABEL33
:(void)0;
7041 /* method parser_prod$AAnnotations$replace_child for (self: AAnnotations, ANode, nullable ANode) */
7042 void nitc__parser_prod___AAnnotations___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
7043 val
* var_old_child
/* var old_child: ANode */;
7044 val
* var_new_child
/* var new_child: nullable ANode */;
7045 val
* var
/* : nullable TKwis */;
7046 short int var1
/* : Bool */;
7047 short int var2
/* : Bool */;
7048 val
* var_other
/* var other: nullable Object */;
7049 short int var4
/* : Bool */;
7050 short int var6
/* : Bool */;
7051 short int var7
/* : Bool */;
7054 const char* var_class_name
;
7055 val
* var8
/* : nullable TAt */;
7056 short int var9
/* : Bool */;
7057 short int var10
/* : Bool */;
7058 short int var12
/* : Bool */;
7059 short int var14
/* : Bool */;
7060 short int var15
/* : Bool */;
7063 const char* var_class_name18
;
7064 val
* var19
/* : nullable TOpar */;
7065 short int var20
/* : Bool */;
7066 short int var21
/* : Bool */;
7067 short int var23
/* : Bool */;
7068 short int var25
/* : Bool */;
7069 short int var26
/* : Bool */;
7072 const char* var_class_name29
;
7073 val
* var30
/* : ANodes[AAnnotation] */;
7074 val
* var32
/* : ANodes[AAnnotation] */;
7075 short int var33
/* : Bool */;
7076 val
* var34
/* : nullable TCpar */;
7077 short int var35
/* : Bool */;
7078 short int var36
/* : Bool */;
7079 short int var38
/* : Bool */;
7080 short int var40
/* : Bool */;
7081 short int var41
/* : Bool */;
7084 const char* var_class_name44
;
7085 val
* var45
/* : nullable TKwend */;
7086 short int var46
/* : Bool */;
7087 short int var47
/* : Bool */;
7088 short int var49
/* : Bool */;
7089 short int var51
/* : Bool */;
7090 short int var52
/* : Bool */;
7093 const char* var_class_name55
;
7096 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwis
].val
; /* _n_kwis on <self:AAnnotations> */
7098 var1
= 0; /* <var_old_child:ANode> cannot be null */
7100 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable TKwis> */
7101 var_other
= var_old_child
;
7103 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable TKwis(TKwis)> */
7104 var6
= var
== var_other
;
7117 /* <var_new_child:nullable ANode> isa nullable TKwis */
7118 cltype
= type_nullable__nitc__TKwis
.color
;
7119 idtype
= type_nullable__nitc__TKwis
.id
;
7120 if(var_new_child
== NULL
) {
7123 if(cltype
>= var_new_child
->type
->table_size
) {
7126 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
7129 if (unlikely(!var7
)) {
7130 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7131 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwis", var_class_name
);
7132 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8419);
7136 nitc__parser_prod___AAnnotations___n_kwis_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotations$n_kwis= on <self:AAnnotations>*/
7141 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_at
].val
; /* _n_at on <self:AAnnotations> */
7143 var9
= 0; /* <var_old_child:ANode> cannot be null */
7145 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:nullable TAt> */
7146 var_other
= var_old_child
;
7148 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:nullable TAt(TAt)> */
7149 var14
= var8
== var_other
;
7152 RET_LABEL13
:(void)0;
7157 RET_LABEL11
:(void)0;
7162 /* <var_new_child:nullable ANode> isa nullable TAt */
7163 cltype16
= type_nullable__nitc__TAt
.color
;
7164 idtype17
= type_nullable__nitc__TAt
.id
;
7165 if(var_new_child
== NULL
) {
7168 if(cltype16
>= var_new_child
->type
->table_size
) {
7171 var15
= var_new_child
->type
->type_table
[cltype16
] == idtype17
;
7174 if (unlikely(!var15
)) {
7175 var_class_name18
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7176 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TAt", var_class_name18
);
7177 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8423);
7181 nitc__parser_prod___AAnnotations___n_at_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotations$n_at= on <self:AAnnotations>*/
7186 var19
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_opar
].val
; /* _n_opar on <self:AAnnotations> */
7187 if (var19
== NULL
) {
7188 var20
= 0; /* <var_old_child:ANode> cannot be null */
7190 { /* Inline kernel$Object$== (var19,var_old_child) on <var19:nullable TOpar> */
7191 var_other
= var_old_child
;
7193 { /* Inline kernel$Object$is_same_instance (var19,var_other) on <var19:nullable TOpar(TOpar)> */
7194 var25
= var19
== var_other
;
7197 RET_LABEL24
:(void)0;
7202 RET_LABEL22
:(void)0;
7207 /* <var_new_child:nullable ANode> isa nullable TOpar */
7208 cltype27
= type_nullable__nitc__TOpar
.color
;
7209 idtype28
= type_nullable__nitc__TOpar
.id
;
7210 if(var_new_child
== NULL
) {
7213 if(cltype27
>= var_new_child
->type
->table_size
) {
7216 var26
= var_new_child
->type
->type_table
[cltype27
] == idtype28
;
7219 if (unlikely(!var26
)) {
7220 var_class_name29
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7221 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TOpar", var_class_name29
);
7222 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8427);
7226 nitc__parser_prod___AAnnotations___n_opar_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotations$n_opar= on <self:AAnnotations>*/
7232 { /* Inline parser_nodes$AAnnotations$n_items (self) on <self:AAnnotations> */
7233 var32
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_items
].val
; /* _n_items on <self:AAnnotations> */
7234 if (unlikely(var32
== NULL
)) {
7235 if(catchStack
.cursor
>= 0){
7236 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7238 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_items");
7239 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2987);
7243 RET_LABEL31
:(void)0;
7247 var33
= nitc___nitc__ANodes___replace_child(var30
, var_old_child
, var_new_child
);
7253 var34
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_cpar
].val
; /* _n_cpar on <self:AAnnotations> */
7254 if (var34
== NULL
) {
7255 var35
= 0; /* <var_old_child:ANode> cannot be null */
7257 { /* Inline kernel$Object$== (var34,var_old_child) on <var34:nullable TCpar> */
7258 var_other
= var_old_child
;
7260 { /* Inline kernel$Object$is_same_instance (var34,var_other) on <var34:nullable TCpar(TCpar)> */
7261 var40
= var34
== var_other
;
7264 RET_LABEL39
:(void)0;
7269 RET_LABEL37
:(void)0;
7274 /* <var_new_child:nullable ANode> isa nullable TCpar */
7275 cltype42
= type_nullable__nitc__TCpar
.color
;
7276 idtype43
= type_nullable__nitc__TCpar
.id
;
7277 if(var_new_child
== NULL
) {
7280 if(cltype42
>= var_new_child
->type
->table_size
) {
7283 var41
= var_new_child
->type
->type_table
[cltype42
] == idtype43
;
7286 if (unlikely(!var41
)) {
7287 var_class_name44
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7288 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name44
);
7289 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8432);
7293 nitc__parser_prod___AAnnotations___n_cpar_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotations$n_cpar= on <self:AAnnotations>*/
7298 var45
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwend
].val
; /* _n_kwend on <self:AAnnotations> */
7299 if (var45
== NULL
) {
7300 var46
= 0; /* <var_old_child:ANode> cannot be null */
7302 { /* Inline kernel$Object$== (var45,var_old_child) on <var45:nullable TKwend> */
7303 var_other
= var_old_child
;
7305 { /* Inline kernel$Object$is_same_instance (var45,var_other) on <var45:nullable TKwend(TKwend)> */
7306 var51
= var45
== var_other
;
7309 RET_LABEL50
:(void)0;
7314 RET_LABEL48
:(void)0;
7319 /* <var_new_child:nullable ANode> isa nullable TKwend */
7320 cltype53
= type_nullable__nitc__TKwend
.color
;
7321 idtype54
= type_nullable__nitc__TKwend
.id
;
7322 if(var_new_child
== NULL
) {
7325 if(cltype53
>= var_new_child
->type
->table_size
) {
7328 var52
= var_new_child
->type
->type_table
[cltype53
] == idtype54
;
7331 if (unlikely(!var52
)) {
7332 var_class_name55
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7333 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwend", var_class_name55
);
7334 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8436);
7338 nitc__parser_prod___AAnnotations___n_kwend_61d(self
, var_new_child
); /* Direct call parser_prod$AAnnotations$n_kwend= on <self:AAnnotations>*/
7345 /* method parser_prod$AAnnotations$n_kwis= for (self: AAnnotations, nullable TKwis) */
7346 void nitc__parser_prod___AAnnotations___n_kwis_61d(val
* self
, val
* p0
) {
7347 val
* var_node
/* var node: nullable TKwis */;
7348 short int var
/* : Bool */;
7349 short int var1
/* : Bool */;
7350 val
* var_other
/* var other: nullable Object */;
7351 short int var3
/* : Bool */;
7352 short int var4
/* : Bool */;
7354 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwis
].val
= var_node
; /* _n_kwis on <self:AAnnotations> */
7355 if (var_node
== NULL
) {
7356 var
= 0; /* is null */
7358 var
= 1; /* arg is null and recv is not */
7361 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwis> */
7362 var_other
= ((val
*)NULL
);
7364 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 TKwis(TKwis)>*/
7375 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwis(TKwis)> */
7376 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwis(TKwis)> */
7384 /* method parser_prod$AAnnotations$n_at= for (self: AAnnotations, nullable TAt) */
7385 void nitc__parser_prod___AAnnotations___n_at_61d(val
* self
, val
* p0
) {
7386 val
* var_node
/* var node: nullable TAt */;
7387 short int var
/* : Bool */;
7388 short int var1
/* : Bool */;
7389 val
* var_other
/* var other: nullable Object */;
7390 short int var3
/* : Bool */;
7391 short int var4
/* : Bool */;
7393 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_at
].val
= var_node
; /* _n_at on <self:AAnnotations> */
7394 if (var_node
== NULL
) {
7395 var
= 0; /* is null */
7397 var
= 1; /* arg is null and recv is not */
7400 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TAt> */
7401 var_other
= ((val
*)NULL
);
7403 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 TAt(TAt)>*/
7414 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TAt(TAt)> */
7415 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TAt(TAt)> */
7423 /* method parser_prod$AAnnotations$n_opar= for (self: AAnnotations, nullable TOpar) */
7424 void nitc__parser_prod___AAnnotations___n_opar_61d(val
* self
, val
* p0
) {
7425 val
* var_node
/* var node: nullable TOpar */;
7426 short int var
/* : Bool */;
7427 short int var1
/* : Bool */;
7428 val
* var_other
/* var other: nullable Object */;
7429 short int var3
/* : Bool */;
7430 short int var4
/* : Bool */;
7432 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_opar
].val
= var_node
; /* _n_opar on <self:AAnnotations> */
7433 if (var_node
== NULL
) {
7434 var
= 0; /* is null */
7436 var
= 1; /* arg is null and recv is not */
7439 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TOpar> */
7440 var_other
= ((val
*)NULL
);
7442 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TOpar(TOpar)>*/
7453 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TOpar(TOpar)> */
7454 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TOpar(TOpar)> */
7462 /* method parser_prod$AAnnotations$n_cpar= for (self: AAnnotations, nullable TCpar) */
7463 void nitc__parser_prod___AAnnotations___n_cpar_61d(val
* self
, val
* p0
) {
7464 val
* var_node
/* var node: nullable TCpar */;
7465 short int var
/* : Bool */;
7466 short int var1
/* : Bool */;
7467 val
* var_other
/* var other: nullable Object */;
7468 short int var3
/* : Bool */;
7469 short int var4
/* : Bool */;
7471 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_cpar
].val
= var_node
; /* _n_cpar on <self:AAnnotations> */
7472 if (var_node
== NULL
) {
7473 var
= 0; /* is null */
7475 var
= 1; /* arg is null and recv is not */
7478 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TCpar> */
7479 var_other
= ((val
*)NULL
);
7481 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TCpar(TCpar)>*/
7492 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TCpar(TCpar)> */
7493 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TCpar(TCpar)> */
7501 /* method parser_prod$AAnnotations$n_kwend= for (self: AAnnotations, nullable TKwend) */
7502 void nitc__parser_prod___AAnnotations___n_kwend_61d(val
* self
, val
* p0
) {
7503 val
* var_node
/* var node: nullable TKwend */;
7504 short int var
/* : Bool */;
7505 short int var1
/* : Bool */;
7506 val
* var_other
/* var other: nullable Object */;
7507 short int var3
/* : Bool */;
7508 short int var4
/* : Bool */;
7510 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwend
].val
= var_node
; /* _n_kwend on <self:AAnnotations> */
7511 if (var_node
== NULL
) {
7512 var
= 0; /* is null */
7514 var
= 1; /* arg is null and recv is not */
7517 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwend> */
7518 var_other
= ((val
*)NULL
);
7520 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwend(TKwend)>*/
7531 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwend(TKwend)> */
7532 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwend(TKwend)> */
7540 /* method parser_prod$AAnnotations$visit_all for (self: AAnnotations, Visitor) */
7541 void nitc__parser_prod___AAnnotations___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
7542 val
* var_v
/* var v: Visitor */;
7543 val
* var
/* : nullable TKwis */;
7544 val
* var1
/* : nullable TAt */;
7545 val
* var2
/* : nullable TOpar */;
7546 val
* var3
/* : ANodes[AAnnotation] */;
7547 val
* var5
/* : ANodes[AAnnotation] */;
7548 val
* var6
/* : nullable TCpar */;
7549 val
* var7
/* : nullable TKwend */;
7551 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwis
].val
; /* _n_kwis on <self:AAnnotations> */
7553 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7555 var1
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_at
].val
; /* _n_at on <self:AAnnotations> */
7557 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7559 var2
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_opar
].val
; /* _n_opar on <self:AAnnotations> */
7561 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7564 { /* Inline parser_nodes$AAnnotations$n_items (self) on <self:AAnnotations> */
7565 var5
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_items
].val
; /* _n_items on <self:AAnnotations> */
7566 if (unlikely(var5
== NULL
)) {
7567 if(catchStack
.cursor
>= 0){
7568 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7570 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_items");
7571 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2987);
7579 nitc___nitc__ANodes___visit_all(var3
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var3:ANodes[AAnnotation]>*/
7581 var6
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_cpar
].val
; /* _n_cpar on <self:AAnnotations> */
7583 nitc___nitc__Visitor___enter_visit(var_v
, var6
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7585 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotations___n_kwend
].val
; /* _n_kwend on <self:AAnnotations> */
7587 nitc___nitc__Visitor___enter_visit(var_v
, var7
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
7591 /* method parser_prod$AAnnotation$init_aannotation for (self: AAnnotation, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable AAtid, nullable TOpar, Collection[Object], nullable TCpar, nullable AAnnotations) */
7592 void nitc__parser_prod___AAnnotation___init_aannotation(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
, val
* p4
, val
* p5
, val
* p6
, val
* p7
) {
7593 val
* var_n_doc
/* var n_doc: nullable ADoc */;
7594 val
* var_n_kwredef
/* var n_kwredef: nullable TKwredef */;
7595 val
* var_n_visibility
/* var n_visibility: nullable AVisibility */;
7596 val
* var_n_atid
/* var n_atid: nullable AAtid */;
7597 val
* var_n_opar
/* var n_opar: nullable TOpar */;
7598 val
* var_n_args
/* var n_args: Collection[Object] */;
7599 val
* var_n_cpar
/* var n_cpar: nullable TCpar */;
7600 val
* var_n_annotations
/* var n_annotations: nullable AAnnotations */;
7601 short int var
/* : Bool */;
7602 short int var2
/* : Bool */;
7603 val
* var_other
/* var other: nullable Object */;
7604 short int var4
/* : Bool */;
7605 short int var5
/* : Bool */;
7606 short int var7
/* : Bool */;
7607 short int var8
/* : Bool */;
7608 short int var10
/* : Bool */;
7609 short int var11
/* : Bool */;
7610 short int var13
/* : Bool */;
7611 short int var14
/* : Bool */;
7612 short int var16
/* : Bool */;
7613 short int var17
/* : Bool */;
7614 short int var20
/* : Bool */;
7615 short int var21
/* : Bool */;
7616 short int var23
/* : Bool */;
7617 short int var24
/* : Bool */;
7618 val
* var26
/* : ANodes[AExpr] */;
7619 val
* var28
/* : ANodes[AExpr] */;
7620 short int var29
/* : Bool */;
7621 short int var30
/* : Bool */;
7622 short int var32
/* : Bool */;
7623 short int var33
/* : Bool */;
7624 short int var35
/* : Bool */;
7625 short int var36
/* : Bool */;
7626 short int var38
/* : Bool */;
7627 short int var39
/* : Bool */;
7629 { /* Inline kernel$Object$init (self) on <self:AAnnotation> */
7635 var_n_visibility
= p2
;
7640 var_n_annotations
= p7
;
7641 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
= var_n_doc
; /* _n_doc on <self:AAnnotation> */
7642 if (var_n_doc
== NULL
) {
7643 var
= 0; /* is null */
7645 var
= 1; /* arg is null and recv is not */
7648 { /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on <var_n_doc:nullable ADoc> */
7649 var_other
= ((val
*)NULL
);
7651 var4
= ((short int(*)(val
* self
, val
* p0
))(var_n_doc
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_doc
, var_other
); /* == on <var_n_doc:nullable ADoc(ADoc)>*/
7662 { /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on <var_n_doc:nullable ADoc(ADoc)> */
7663 var_n_doc
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_doc:nullable ADoc(ADoc)> */
7669 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
= var_n_kwredef
; /* _n_kwredef on <self:AAnnotation> */
7670 if (var_n_kwredef
== NULL
) {
7671 var7
= 0; /* is null */
7673 var7
= 1; /* arg is null and recv is not */
7676 { /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on <var_n_kwredef:nullable TKwredef> */
7677 var_other
= ((val
*)NULL
);
7679 var10
= ((short int(*)(val
* self
, val
* p0
))(var_n_kwredef
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_kwredef
, var_other
); /* == on <var_n_kwredef:nullable TKwredef(TKwredef)>*/
7690 { /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on <var_n_kwredef:nullable TKwredef(TKwredef)> */
7691 var_n_kwredef
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_kwredef:nullable TKwredef(TKwredef)> */
7692 RET_LABEL12
:(void)0;
7697 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
= var_n_visibility
; /* _n_visibility on <self:AAnnotation> */
7698 if (var_n_visibility
== NULL
) {
7699 var13
= 0; /* is null */
7701 var13
= 1; /* arg is null and recv is not */
7704 { /* Inline kernel$Object$!= (var_n_visibility,((val*)NULL)) on <var_n_visibility:nullable AVisibility> */
7705 var_other
= ((val
*)NULL
);
7707 var16
= ((short int(*)(val
* self
, val
* p0
))(var_n_visibility
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_visibility
, var_other
); /* == on <var_n_visibility:nullable AVisibility(AVisibility)>*/
7712 RET_LABEL15
:(void)0;
7718 { /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on <var_n_visibility:nullable AVisibility(AVisibility)> */
7719 var_n_visibility
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_visibility:nullable AVisibility(AVisibility)> */
7720 RET_LABEL18
:(void)0;
7725 if (unlikely(var_n_atid
== NULL
)) {
7726 if(catchStack
.cursor
>= 0){
7727 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7729 PRINT_ERROR("Runtime error: %s", "Cast failed");
7730 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8496);
7733 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
= var_n_atid
; /* _n_atid on <self:AAnnotation> */
7734 if (var_n_atid
== NULL
) {
7735 if(catchStack
.cursor
>= 0){
7736 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7738 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7739 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8497);
7742 { /* Inline parser_nodes$ANode$parent= (var_n_atid,self) on <var_n_atid:nullable AAtid> */
7743 if (unlikely(var_n_atid
== NULL
)) {
7744 if(catchStack
.cursor
>= 0){
7745 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7747 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7748 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
7751 var_n_atid
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_atid:nullable AAtid> */
7752 RET_LABEL19
:(void)0;
7755 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
= var_n_opar
; /* _n_opar on <self:AAnnotation> */
7756 if (var_n_opar
== NULL
) {
7757 var20
= 0; /* is null */
7759 var20
= 1; /* arg is null and recv is not */
7762 { /* Inline kernel$Object$!= (var_n_opar,((val*)NULL)) on <var_n_opar:nullable TOpar> */
7763 var_other
= ((val
*)NULL
);
7765 var23
= ((short int(*)(val
* self
, val
* p0
))(var_n_opar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_opar
, var_other
); /* == on <var_n_opar:nullable TOpar(TOpar)>*/
7770 RET_LABEL22
:(void)0;
7776 { /* Inline parser_nodes$ANode$parent= (var_n_opar,self) on <var_n_opar:nullable TOpar(TOpar)> */
7777 var_n_opar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_opar:nullable TOpar(TOpar)> */
7778 RET_LABEL25
:(void)0;
7784 { /* Inline parser_nodes$AAnnotation$n_args (self) on <self:AAnnotation> */
7785 var28
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_args
].val
; /* _n_args on <self:AAnnotation> */
7786 if (unlikely(var28
== NULL
)) {
7787 if(catchStack
.cursor
>= 0){
7788 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7790 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
7791 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 3007);
7795 RET_LABEL27
:(void)0;
7799 nitc___nitc__ANodes___unsafe_add_all(var26
, var_n_args
); /* Direct call parser_nodes$ANodes$unsafe_add_all on <var26:ANodes[AExpr]>*/
7801 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
= var_n_cpar
; /* _n_cpar on <self:AAnnotation> */
7802 if (var_n_cpar
== NULL
) {
7803 var29
= 0; /* is null */
7805 var29
= 1; /* arg is null and recv is not */
7808 { /* Inline kernel$Object$!= (var_n_cpar,((val*)NULL)) on <var_n_cpar:nullable TCpar> */
7809 var_other
= ((val
*)NULL
);
7811 var32
= ((short int(*)(val
* self
, val
* p0
))(var_n_cpar
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_cpar
, var_other
); /* == on <var_n_cpar:nullable TCpar(TCpar)>*/
7816 RET_LABEL31
:(void)0;
7822 { /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on <var_n_cpar:nullable TCpar(TCpar)> */
7823 var_n_cpar
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_cpar:nullable TCpar(TCpar)> */
7824 RET_LABEL34
:(void)0;
7829 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_n_annotations
; /* _n_annotations on <self:AAnnotation> */
7830 if (var_n_annotations
== NULL
) {
7831 var35
= 0; /* is null */
7833 var35
= 1; /* arg is null and recv is not */
7836 { /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on <var_n_annotations:nullable AAnnotations> */
7837 var_other
= ((val
*)NULL
);
7839 var38
= ((short int(*)(val
* self
, val
* p0
))(var_n_annotations
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_n_annotations
, var_other
); /* == on <var_n_annotations:nullable AAnnotations(AAnnotations)>*/
7844 RET_LABEL37
:(void)0;
7850 { /* Inline parser_nodes$ANode$parent= (var_n_annotations,self) on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
7851 var_n_annotations
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_annotations:nullable AAnnotations(AAnnotations)> */
7852 RET_LABEL40
:(void)0;
7859 /* method parser_prod$AAnnotation$replace_child for (self: AAnnotation, ANode, nullable ANode) */
7860 void nitc__parser_prod___AAnnotation___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
7861 val
* var_old_child
/* var old_child: ANode */;
7862 val
* var_new_child
/* var new_child: nullable ANode */;
7863 val
* var
/* : nullable ADoc */;
7864 short int var1
/* : Bool */;
7865 short int var2
/* : Bool */;
7866 val
* var_other
/* var other: nullable Object */;
7867 short int var4
/* : Bool */;
7868 short int var6
/* : Bool */;
7869 short int var7
/* : Bool */;
7872 const char* var_class_name
;
7873 val
* var8
/* : nullable TKwredef */;
7874 short int var9
/* : Bool */;
7875 short int var10
/* : Bool */;
7876 short int var12
/* : Bool */;
7877 short int var14
/* : Bool */;
7878 short int var15
/* : Bool */;
7881 const char* var_class_name18
;
7882 val
* var19
/* : nullable AVisibility */;
7883 short int var20
/* : Bool */;
7884 short int var21
/* : Bool */;
7885 short int var23
/* : Bool */;
7886 short int var25
/* : Bool */;
7887 short int var26
/* : Bool */;
7890 const char* var_class_name29
;
7891 val
* var30
/* : AAtid */;
7892 short int var31
/* : Bool */;
7893 short int var33
/* : Bool */;
7894 short int var35
/* : Bool */;
7895 short int var36
/* : Bool */;
7898 const char* var_class_name39
;
7899 val
* var40
/* : nullable TOpar */;
7900 short int var41
/* : Bool */;
7901 short int var42
/* : Bool */;
7902 short int var44
/* : Bool */;
7903 short int var46
/* : Bool */;
7904 short int var47
/* : Bool */;
7907 const char* var_class_name50
;
7908 val
* var51
/* : ANodes[AExpr] */;
7909 val
* var53
/* : ANodes[AExpr] */;
7910 short int var54
/* : Bool */;
7911 val
* var55
/* : nullable TCpar */;
7912 short int var56
/* : Bool */;
7913 short int var57
/* : Bool */;
7914 short int var59
/* : Bool */;
7915 short int var61
/* : Bool */;
7916 short int var62
/* : Bool */;
7919 const char* var_class_name65
;
7920 val
* var66
/* : nullable AAnnotations */;
7921 short int var67
/* : Bool */;
7922 short int var68
/* : Bool */;
7923 short int var70
/* : Bool */;
7924 short int var72
/* : Bool */;
7925 short int var73
/* : Bool */;
7928 const char* var_class_name76
;
7931 var
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
; /* _n_doc on <self:AAnnotation> */
7933 var1
= 0; /* <var_old_child:ANode> cannot be null */
7935 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable ADoc> */
7936 var_other
= var_old_child
;
7938 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable ADoc(ADoc)> */
7939 var6
= var
== var_other
;
7952 /* <var_new_child:nullable ANode> isa nullable ADoc */
7953 cltype
= type_nullable__nitc__ADoc
.color
;
7954 idtype
= type_nullable__nitc__ADoc
.id
;
7955 if(var_new_child
== NULL
) {
7958 if(cltype
>= var_new_child
->type
->table_size
) {
7961 var7
= var_new_child
->type
->type_table
[cltype
] == idtype
;
7964 if (unlikely(!var7
)) {
7965 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
7966 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable ADoc", var_class_name
);
7967 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8510);
7971 ((void(*)(val
* self
, val
* p0
))(self
->class->vft
[COLOR_nitc__parser_nodes__ADefinition__n_doc_61d
]))(self
, var_new_child
); /* n_doc= on <self:AAnnotation>*/
7976 var8
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AAnnotation> */
7978 var9
= 0; /* <var_old_child:ANode> cannot be null */
7980 { /* Inline kernel$Object$== (var8,var_old_child) on <var8:nullable TKwredef> */
7981 var_other
= var_old_child
;
7983 { /* Inline kernel$Object$is_same_instance (var8,var_other) on <var8:nullable TKwredef(TKwredef)> */
7984 var14
= var8
== var_other
;
7987 RET_LABEL13
:(void)0;
7992 RET_LABEL11
:(void)0;
7997 /* <var_new_child:nullable ANode> isa nullable TKwredef */
7998 cltype16
= type_nullable__nitc__TKwredef
.color
;
7999 idtype17
= type_nullable__nitc__TKwredef
.id
;
8000 if(var_new_child
== NULL
) {
8003 if(cltype16
>= var_new_child
->type
->table_size
) {
8006 var15
= var_new_child
->type
->type_table
[cltype16
] == idtype17
;
8009 if (unlikely(!var15
)) {
8010 var_class_name18
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8011 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TKwredef", var_class_name18
);
8012 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8514);
8016 ((void(*)(val
* self
, val
* p0
))(self
->class->vft
[COLOR_nitc__parser_nodes__ADefinition__n_kwredef_61d
]))(self
, var_new_child
); /* n_kwredef= on <self:AAnnotation>*/
8021 var19
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:AAnnotation> */
8022 if (var19
== NULL
) {
8023 var20
= 0; /* <var_old_child:ANode> cannot be null */
8025 { /* Inline kernel$Object$== (var19,var_old_child) on <var19:nullable AVisibility> */
8026 var_other
= var_old_child
;
8028 { /* Inline kernel$Object$is_same_instance (var19,var_other) on <var19:nullable AVisibility(AVisibility)> */
8029 var25
= var19
== var_other
;
8032 RET_LABEL24
:(void)0;
8037 RET_LABEL22
:(void)0;
8042 /* <var_new_child:nullable ANode> isa nullable AVisibility */
8043 cltype27
= type_nullable__nitc__AVisibility
.color
;
8044 idtype28
= type_nullable__nitc__AVisibility
.id
;
8045 if(var_new_child
== NULL
) {
8048 if(cltype27
>= var_new_child
->type
->table_size
) {
8051 var26
= var_new_child
->type
->type_table
[cltype27
] == idtype28
;
8054 if (unlikely(!var26
)) {
8055 var_class_name29
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8056 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AVisibility", var_class_name29
);
8057 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8518);
8061 ((void(*)(val
* self
, val
* p0
))(self
->class->vft
[COLOR_nitc__parser_nodes__ADefinition__n_visibility_61d
]))(self
, var_new_child
); /* n_visibility= on <self:AAnnotation>*/
8066 var30
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
; /* _n_atid on <self:AAnnotation> */
8067 if (unlikely(var30
== NULL
)) {
8068 if(catchStack
.cursor
>= 0){
8069 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8071 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_atid");
8072 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8521);
8076 { /* Inline kernel$Object$== (var30,var_old_child) on <var30:AAtid> */
8077 var_other
= var_old_child
;
8079 { /* Inline kernel$Object$is_same_instance (var30,var_other) on <var30:AAtid> */
8080 var35
= var30
== var_other
;
8083 RET_LABEL34
:(void)0;
8088 RET_LABEL32
:(void)0;
8092 /* <var_new_child:nullable ANode> isa AAtid */
8093 cltype37
= type_nitc__AAtid
.color
;
8094 idtype38
= type_nitc__AAtid
.id
;
8095 if(var_new_child
== NULL
) {
8098 if(cltype37
>= var_new_child
->type
->table_size
) {
8101 var36
= var_new_child
->type
->type_table
[cltype37
] == idtype38
;
8104 if (unlikely(!var36
)) {
8105 var_class_name39
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8106 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAtid", var_class_name39
);
8107 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8522);
8111 ((void(*)(val
* self
, val
* p0
))(self
->class->vft
[COLOR_nitc__parser_nodes__AAnnotation__n_atid_61d
]))(self
, var_new_child
); /* n_atid= on <self:AAnnotation>*/
8116 var40
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
; /* _n_opar on <self:AAnnotation> */
8117 if (var40
== NULL
) {
8118 var41
= 0; /* <var_old_child:ANode> cannot be null */
8120 { /* Inline kernel$Object$== (var40,var_old_child) on <var40:nullable TOpar> */
8121 var_other
= var_old_child
;
8123 { /* Inline kernel$Object$is_same_instance (var40,var_other) on <var40:nullable TOpar(TOpar)> */
8124 var46
= var40
== var_other
;
8127 RET_LABEL45
:(void)0;
8132 RET_LABEL43
:(void)0;
8137 /* <var_new_child:nullable ANode> isa nullable TOpar */
8138 cltype48
= type_nullable__nitc__TOpar
.color
;
8139 idtype49
= type_nullable__nitc__TOpar
.id
;
8140 if(var_new_child
== NULL
) {
8143 if(cltype48
>= var_new_child
->type
->table_size
) {
8146 var47
= var_new_child
->type
->type_table
[cltype48
] == idtype49
;
8149 if (unlikely(!var47
)) {
8150 var_class_name50
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8151 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TOpar", var_class_name50
);
8152 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8526);
8156 ((void(*)(val
* self
, val
* p0
))(self
->class->vft
[COLOR_nitc__parser_nodes__AAnnotation__n_opar_61d
]))(self
, var_new_child
); /* n_opar= on <self:AAnnotation>*/
8162 { /* Inline parser_nodes$AAnnotation$n_args (self) on <self:AAnnotation> */
8163 var53
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_args
].val
; /* _n_args on <self:AAnnotation> */
8164 if (unlikely(var53
== NULL
)) {
8165 if(catchStack
.cursor
>= 0){
8166 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8168 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
8169 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 3007);
8173 RET_LABEL52
:(void)0;
8177 var54
= nitc___nitc__ANodes___replace_child(var51
, var_old_child
, var_new_child
);
8183 var55
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
; /* _n_cpar on <self:AAnnotation> */
8184 if (var55
== NULL
) {
8185 var56
= 0; /* <var_old_child:ANode> cannot be null */
8187 { /* Inline kernel$Object$== (var55,var_old_child) on <var55:nullable TCpar> */
8188 var_other
= var_old_child
;
8190 { /* Inline kernel$Object$is_same_instance (var55,var_other) on <var55:nullable TCpar(TCpar)> */
8191 var61
= var55
== var_other
;
8194 RET_LABEL60
:(void)0;
8199 RET_LABEL58
:(void)0;
8204 /* <var_new_child:nullable ANode> isa nullable TCpar */
8205 cltype63
= type_nullable__nitc__TCpar
.color
;
8206 idtype64
= type_nullable__nitc__TCpar
.id
;
8207 if(var_new_child
== NULL
) {
8210 if(cltype63
>= var_new_child
->type
->table_size
) {
8213 var62
= var_new_child
->type
->type_table
[cltype63
] == idtype64
;
8216 if (unlikely(!var62
)) {
8217 var_class_name65
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8218 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name65
);
8219 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8531);
8223 ((void(*)(val
* self
, val
* p0
))(self
->class->vft
[COLOR_nitc__parser_nodes__AAnnotation__n_cpar_61d
]))(self
, var_new_child
); /* n_cpar= on <self:AAnnotation>*/
8228 var66
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AAnnotation> */
8229 if (var66
== NULL
) {
8230 var67
= 0; /* <var_old_child:ANode> cannot be null */
8232 { /* Inline kernel$Object$== (var66,var_old_child) on <var66:nullable AAnnotations> */
8233 var_other
= var_old_child
;
8235 { /* Inline kernel$Object$is_same_instance (var66,var_other) on <var66:nullable AAnnotations(AAnnotations)> */
8236 var72
= var66
== var_other
;
8239 RET_LABEL71
:(void)0;
8244 RET_LABEL69
:(void)0;
8249 /* <var_new_child:nullable ANode> isa nullable AAnnotations */
8250 cltype74
= type_nullable__nitc__AAnnotations
.color
;
8251 idtype75
= type_nullable__nitc__AAnnotations
.id
;
8252 if(var_new_child
== NULL
) {
8255 if(cltype74
>= var_new_child
->type
->table_size
) {
8258 var73
= var_new_child
->type
->type_table
[cltype74
] == idtype75
;
8261 if (unlikely(!var73
)) {
8262 var_class_name76
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8263 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name76
);
8264 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8535);
8268 ((void(*)(val
* self
, val
* p0
))(self
->class->vft
[COLOR_nitc__parser_nodes__Prod__n_annotations_61d
]))(self
, var_new_child
); /* n_annotations= on <self:AAnnotation>*/
8275 /* method parser_prod$AAnnotation$n_doc= for (self: AAnnotation, nullable ADoc) */
8276 void nitc__parser_prod___AAnnotation___nitc__parser_nodes__ADefinition__n_doc_61d(val
* self
, val
* p0
) {
8277 val
* var_node
/* var node: nullable ADoc */;
8278 short int var
/* : Bool */;
8279 short int var1
/* : Bool */;
8280 val
* var_other
/* var other: nullable Object */;
8281 short int var3
/* : Bool */;
8282 short int var4
/* : Bool */;
8284 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
= var_node
; /* _n_doc on <self:AAnnotation> */
8285 if (var_node
== NULL
) {
8286 var
= 0; /* is null */
8288 var
= 1; /* arg is null and recv is not */
8291 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable ADoc> */
8292 var_other
= ((val
*)NULL
);
8294 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable ADoc(ADoc)>*/
8305 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable ADoc(ADoc)> */
8306 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable ADoc(ADoc)> */
8314 /* method parser_prod$AAnnotation$n_kwredef= for (self: AAnnotation, nullable TKwredef) */
8315 void nitc__parser_prod___AAnnotation___nitc__parser_nodes__ADefinition__n_kwredef_61d(val
* self
, val
* p0
) {
8316 val
* var_node
/* var node: nullable TKwredef */;
8317 short int var
/* : Bool */;
8318 short int var1
/* : Bool */;
8319 val
* var_other
/* var other: nullable Object */;
8320 short int var3
/* : Bool */;
8321 short int var4
/* : Bool */;
8323 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
= var_node
; /* _n_kwredef on <self:AAnnotation> */
8324 if (var_node
== NULL
) {
8325 var
= 0; /* is null */
8327 var
= 1; /* arg is null and recv is not */
8330 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TKwredef> */
8331 var_other
= ((val
*)NULL
);
8333 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TKwredef(TKwredef)>*/
8344 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TKwredef(TKwredef)> */
8345 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TKwredef(TKwredef)> */
8353 /* method parser_prod$AAnnotation$n_visibility= for (self: AAnnotation, nullable AVisibility) */
8354 void nitc__parser_prod___AAnnotation___nitc__parser_nodes__ADefinition__n_visibility_61d(val
* self
, val
* p0
) {
8355 val
* var_node
/* var node: nullable AVisibility */;
8356 short int var
/* : Bool */;
8357 short int var1
/* : Bool */;
8358 val
* var_other
/* var other: nullable Object */;
8359 short int var3
/* : Bool */;
8360 short int var4
/* : Bool */;
8362 self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
= var_node
; /* _n_visibility on <self:AAnnotation> */
8363 if (var_node
== NULL
) {
8364 var
= 0; /* is null */
8366 var
= 1; /* arg is null and recv is not */
8369 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AVisibility> */
8370 var_other
= ((val
*)NULL
);
8372 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AVisibility(AVisibility)>*/
8383 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AVisibility(AVisibility)> */
8384 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AVisibility(AVisibility)> */
8392 /* method parser_prod$AAnnotation$n_atid= for (self: AAnnotation, AAtid) */
8393 void nitc__parser_prod___AAnnotation___n_atid_61d(val
* self
, val
* p0
) {
8394 val
* var_node
/* var node: AAtid */;
8396 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
= var_node
; /* _n_atid on <self:AAnnotation> */
8398 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:AAtid> */
8399 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:AAtid> */
8405 /* method parser_prod$AAnnotation$n_opar= for (self: AAnnotation, nullable TOpar) */
8406 void nitc__parser_prod___AAnnotation___n_opar_61d(val
* self
, val
* p0
) {
8407 val
* var_node
/* var node: nullable TOpar */;
8408 short int var
/* : Bool */;
8409 short int var1
/* : Bool */;
8410 val
* var_other
/* var other: nullable Object */;
8411 short int var3
/* : Bool */;
8412 short int var4
/* : Bool */;
8414 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
= var_node
; /* _n_opar on <self:AAnnotation> */
8415 if (var_node
== NULL
) {
8416 var
= 0; /* is null */
8418 var
= 1; /* arg is null and recv is not */
8421 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TOpar> */
8422 var_other
= ((val
*)NULL
);
8424 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TOpar(TOpar)>*/
8435 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TOpar(TOpar)> */
8436 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TOpar(TOpar)> */
8444 /* method parser_prod$AAnnotation$n_cpar= for (self: AAnnotation, nullable TCpar) */
8445 void nitc__parser_prod___AAnnotation___n_cpar_61d(val
* self
, val
* p0
) {
8446 val
* var_node
/* var node: nullable TCpar */;
8447 short int var
/* : Bool */;
8448 short int var1
/* : Bool */;
8449 val
* var_other
/* var other: nullable Object */;
8450 short int var3
/* : Bool */;
8451 short int var4
/* : Bool */;
8453 self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
= var_node
; /* _n_cpar on <self:AAnnotation> */
8454 if (var_node
== NULL
) {
8455 var
= 0; /* is null */
8457 var
= 1; /* arg is null and recv is not */
8460 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable TCpar> */
8461 var_other
= ((val
*)NULL
);
8463 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable TCpar(TCpar)>*/
8474 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable TCpar(TCpar)> */
8475 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable TCpar(TCpar)> */
8483 /* method parser_prod$AAnnotation$n_annotations= for (self: AAnnotation, nullable AAnnotations) */
8484 void nitc__parser_prod___AAnnotation___nitc__parser_nodes__Prod__n_annotations_61d(val
* self
, val
* p0
) {
8485 val
* var_node
/* var node: nullable AAnnotations */;
8486 short int var
/* : Bool */;
8487 short int var1
/* : Bool */;
8488 val
* var_other
/* var other: nullable Object */;
8489 short int var3
/* : Bool */;
8490 short int var4
/* : Bool */;
8492 self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
= var_node
; /* _n_annotations on <self:AAnnotation> */
8493 if (var_node
== NULL
) {
8494 var
= 0; /* is null */
8496 var
= 1; /* arg is null and recv is not */
8499 { /* Inline kernel$Object$!= (var_node,((val*)NULL)) on <var_node:nullable AAnnotations> */
8500 var_other
= ((val
*)NULL
);
8502 var3
= ((short int(*)(val
* self
, val
* p0
))(var_node
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_node
, var_other
); /* == on <var_node:nullable AAnnotations(AAnnotations)>*/
8513 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:nullable AAnnotations(AAnnotations)> */
8514 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:nullable AAnnotations(AAnnotations)> */
8522 /* method parser_prod$AAnnotation$visit_all for (self: AAnnotation, Visitor) */
8523 void nitc__parser_prod___AAnnotation___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8524 val
* var_v
/* var v: Visitor */;
8525 val
* var
/* : nullable ADoc */;
8526 val
* var1
/* : nullable TKwredef */;
8527 val
* var2
/* : nullable AVisibility */;
8528 val
* var3
/* : AAtid */;
8529 val
* var4
/* : nullable TOpar */;
8530 val
* var5
/* : ANodes[AExpr] */;
8531 val
* var7
/* : ANodes[AExpr] */;
8532 val
* var8
/* : nullable TCpar */;
8533 val
* var9
/* : nullable AAnnotations */;
8535 var
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_doc
].val
; /* _n_doc on <self:AAnnotation> */
8537 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8539 var1
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AAnnotation> */
8541 nitc___nitc__Visitor___enter_visit(var_v
, var1
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8543 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:AAnnotation> */
8545 nitc___nitc__Visitor___enter_visit(var_v
, var2
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8547 var3
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_atid
].val
; /* _n_atid on <self:AAnnotation> */
8548 if (unlikely(var3
== NULL
)) {
8549 if(catchStack
.cursor
>= 0){
8550 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8552 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_atid");
8553 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8582);
8557 nitc___nitc__Visitor___enter_visit(var_v
, var3
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8559 var4
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_opar
].val
; /* _n_opar on <self:AAnnotation> */
8561 nitc___nitc__Visitor___enter_visit(var_v
, var4
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8564 { /* Inline parser_nodes$AAnnotation$n_args (self) on <self:AAnnotation> */
8565 var7
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_args
].val
; /* _n_args on <self:AAnnotation> */
8566 if (unlikely(var7
== NULL
)) {
8567 if(catchStack
.cursor
>= 0){
8568 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8570 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
8571 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 3007);
8579 nitc___nitc__ANodes___visit_all(var5
, var_v
); /* Direct call parser_nodes$ANodes$visit_all on <var5:ANodes[AExpr]>*/
8581 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_cpar
].val
; /* _n_cpar on <self:AAnnotation> */
8583 nitc___nitc__Visitor___enter_visit(var_v
, var8
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8585 var9
= self
->attrs
[COLOR_nitc__parser_nodes__Prod___n_annotations
].val
; /* _n_annotations on <self:AAnnotation> */
8587 nitc___nitc__Visitor___enter_visit(var_v
, var9
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8591 /* method parser_prod$AIdAtid$init_aidatid for (self: AIdAtid, nullable TId) */
8592 void nitc__parser_prod___AIdAtid___init_aidatid(val
* self
, val
* p0
) {
8593 val
* var_n_id
/* var n_id: nullable TId */;
8595 { /* Inline kernel$Object$init (self) on <self:AIdAtid> */
8600 if (unlikely(var_n_id
== NULL
)) {
8601 if(catchStack
.cursor
>= 0){
8602 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8604 PRINT_ERROR("Runtime error: %s", "Cast failed");
8605 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8594);
8608 self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
= var_n_id
; /* _n_id on <self:AIdAtid> */
8609 if (var_n_id
== NULL
) {
8610 if(catchStack
.cursor
>= 0){
8611 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8613 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8614 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8595);
8617 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TId> */
8618 if (unlikely(var_n_id
== NULL
)) {
8619 if(catchStack
.cursor
>= 0){
8620 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8622 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8623 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8626 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TId> */
8632 /* method parser_prod$AIdAtid$replace_child for (self: AIdAtid, ANode, nullable ANode) */
8633 void nitc__parser_prod___AIdAtid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
8634 val
* var_old_child
/* var old_child: ANode */;
8635 val
* var_new_child
/* var new_child: nullable ANode */;
8636 val
* var
/* : Token */;
8637 short int var1
/* : Bool */;
8638 val
* var_other
/* var other: nullable Object */;
8639 short int var3
/* : Bool */;
8640 short int var5
/* : Bool */;
8641 short int var6
/* : Bool */;
8644 const char* var_class_name
;
8647 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
; /* _n_id on <self:AIdAtid> */
8648 if (unlikely(var
== NULL
)) {
8649 if(catchStack
.cursor
>= 0){
8650 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8652 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
8653 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8600);
8657 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
8658 var_other
= var_old_child
;
8660 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
8661 var5
= var
== var_other
;
8673 /* <var_new_child:nullable ANode> isa TId */
8674 cltype
= type_nitc__TId
.color
;
8675 idtype
= type_nitc__TId
.id
;
8676 if(var_new_child
== NULL
) {
8679 if(cltype
>= var_new_child
->type
->table_size
) {
8682 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
8685 if (unlikely(!var6
)) {
8686 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8687 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name
);
8688 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8601);
8692 nitc__parser_prod___AIdAtid___nitc__parser_nodes__AAtid__n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AIdAtid$n_id= on <self:AIdAtid>*/
8699 /* method parser_prod$AIdAtid$n_id= for (self: AIdAtid, Token) */
8700 void nitc__parser_prod___AIdAtid___nitc__parser_nodes__AAtid__n_id_61d(val
* self
, val
* p0
) {
8701 val
* var_node
/* var node: Token */;
8703 self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
= var_node
; /* _n_id on <self:AIdAtid> */
8705 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
8706 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
8712 /* method parser_prod$AIdAtid$visit_all for (self: AIdAtid, Visitor) */
8713 void nitc__parser_prod___AIdAtid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8714 val
* var_v
/* var v: Visitor */;
8715 val
* var
/* : Token */;
8717 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
; /* _n_id on <self:AIdAtid> */
8718 if (unlikely(var
== NULL
)) {
8719 if(catchStack
.cursor
>= 0){
8720 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8722 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
8723 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8615);
8727 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8731 /* method parser_prod$AKwexternAtid$init_akwexternatid for (self: AKwexternAtid, nullable TKwextern) */
8732 void nitc__parser_prod___AKwexternAtid___init_akwexternatid(val
* self
, val
* p0
) {
8733 val
* var_n_id
/* var n_id: nullable TKwextern */;
8735 { /* Inline kernel$Object$init (self) on <self:AKwexternAtid> */
8740 if (unlikely(var_n_id
== NULL
)) {
8741 if(catchStack
.cursor
>= 0){
8742 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8744 PRINT_ERROR("Runtime error: %s", "Cast failed");
8745 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8623);
8748 self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
= var_n_id
; /* _n_id on <self:AKwexternAtid> */
8749 if (var_n_id
== NULL
) {
8750 if(catchStack
.cursor
>= 0){
8751 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8753 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8754 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8624);
8757 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TKwextern> */
8758 if (unlikely(var_n_id
== NULL
)) {
8759 if(catchStack
.cursor
>= 0){
8760 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8762 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8763 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8766 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TKwextern> */
8772 /* method parser_prod$AKwexternAtid$replace_child for (self: AKwexternAtid, ANode, nullable ANode) */
8773 void nitc__parser_prod___AKwexternAtid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
8774 val
* var_old_child
/* var old_child: ANode */;
8775 val
* var_new_child
/* var new_child: nullable ANode */;
8776 val
* var
/* : Token */;
8777 short int var1
/* : Bool */;
8778 val
* var_other
/* var other: nullable Object */;
8779 short int var3
/* : Bool */;
8780 short int var5
/* : Bool */;
8781 short int var6
/* : Bool */;
8784 const char* var_class_name
;
8787 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
; /* _n_id on <self:AKwexternAtid> */
8788 if (unlikely(var
== NULL
)) {
8789 if(catchStack
.cursor
>= 0){
8790 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8792 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
8793 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8629);
8797 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
8798 var_other
= var_old_child
;
8800 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
8801 var5
= var
== var_other
;
8813 /* <var_new_child:nullable ANode> isa TKwextern */
8814 cltype
= type_nitc__TKwextern
.color
;
8815 idtype
= type_nitc__TKwextern
.id
;
8816 if(var_new_child
== NULL
) {
8819 if(cltype
>= var_new_child
->type
->table_size
) {
8822 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
8825 if (unlikely(!var6
)) {
8826 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8827 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwextern", var_class_name
);
8828 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8630);
8832 nitc__parser_prod___AKwexternAtid___nitc__parser_nodes__AAtid__n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AKwexternAtid$n_id= on <self:AKwexternAtid>*/
8839 /* method parser_prod$AKwexternAtid$n_id= for (self: AKwexternAtid, Token) */
8840 void nitc__parser_prod___AKwexternAtid___nitc__parser_nodes__AAtid__n_id_61d(val
* self
, val
* p0
) {
8841 val
* var_node
/* var node: Token */;
8843 self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
= var_node
; /* _n_id on <self:AKwexternAtid> */
8845 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
8846 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
8852 /* method parser_prod$AKwexternAtid$visit_all for (self: AKwexternAtid, Visitor) */
8853 void nitc__parser_prod___AKwexternAtid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8854 val
* var_v
/* var v: Visitor */;
8855 val
* var
/* : Token */;
8857 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
; /* _n_id on <self:AKwexternAtid> */
8858 if (unlikely(var
== NULL
)) {
8859 if(catchStack
.cursor
>= 0){
8860 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8862 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
8863 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8644);
8867 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
8871 /* method parser_prod$AKwabstractAtid$init_akwabstractatid for (self: AKwabstractAtid, nullable TKwabstract) */
8872 void nitc__parser_prod___AKwabstractAtid___init_akwabstractatid(val
* self
, val
* p0
) {
8873 val
* var_n_id
/* var n_id: nullable TKwabstract */;
8875 { /* Inline kernel$Object$init (self) on <self:AKwabstractAtid> */
8880 if (unlikely(var_n_id
== NULL
)) {
8881 if(catchStack
.cursor
>= 0){
8882 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8884 PRINT_ERROR("Runtime error: %s", "Cast failed");
8885 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8652);
8888 self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
= var_n_id
; /* _n_id on <self:AKwabstractAtid> */
8889 if (var_n_id
== NULL
) {
8890 if(catchStack
.cursor
>= 0){
8891 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8893 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8894 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8653);
8897 { /* Inline parser_nodes$ANode$parent= (var_n_id,self) on <var_n_id:nullable TKwabstract> */
8898 if (unlikely(var_n_id
== NULL
)) {
8899 if(catchStack
.cursor
>= 0){
8900 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8902 PRINT_ERROR("Runtime error: %s", "Receiver is null");
8903 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 60);
8906 var_n_id
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_n_id:nullable TKwabstract> */
8912 /* method parser_prod$AKwabstractAtid$replace_child for (self: AKwabstractAtid, ANode, nullable ANode) */
8913 void nitc__parser_prod___AKwabstractAtid___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
8914 val
* var_old_child
/* var old_child: ANode */;
8915 val
* var_new_child
/* var new_child: nullable ANode */;
8916 val
* var
/* : Token */;
8917 short int var1
/* : Bool */;
8918 val
* var_other
/* var other: nullable Object */;
8919 short int var3
/* : Bool */;
8920 short int var5
/* : Bool */;
8921 short int var6
/* : Bool */;
8924 const char* var_class_name
;
8927 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
; /* _n_id on <self:AKwabstractAtid> */
8928 if (unlikely(var
== NULL
)) {
8929 if(catchStack
.cursor
>= 0){
8930 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8932 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
8933 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8658);
8937 { /* Inline kernel$Object$== (var,var_old_child) on <var:Token> */
8938 var_other
= var_old_child
;
8940 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:Token> */
8941 var5
= var
== var_other
;
8953 /* <var_new_child:nullable ANode> isa TKwabstract */
8954 cltype
= type_nitc__TKwabstract
.color
;
8955 idtype
= type_nitc__TKwabstract
.id
;
8956 if(var_new_child
== NULL
) {
8959 if(cltype
>= var_new_child
->type
->table_size
) {
8962 var6
= var_new_child
->type
->type_table
[cltype
] == idtype
;
8965 if (unlikely(!var6
)) {
8966 var_class_name
= var_new_child
== NULL ?
"null" : var_new_child
->type
->name
;
8967 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwabstract", var_class_name
);
8968 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8659);
8972 nitc__parser_prod___AKwabstractAtid___nitc__parser_nodes__AAtid__n_id_61d(self
, var_new_child
); /* Direct call parser_prod$AKwabstractAtid$n_id= on <self:AKwabstractAtid>*/
8979 /* method parser_prod$AKwabstractAtid$n_id= for (self: AKwabstractAtid, Token) */
8980 void nitc__parser_prod___AKwabstractAtid___nitc__parser_nodes__AAtid__n_id_61d(val
* self
, val
* p0
) {
8981 val
* var_node
/* var node: Token */;
8983 self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
= var_node
; /* _n_id on <self:AKwabstractAtid> */
8985 { /* Inline parser_nodes$ANode$parent= (var_node,self) on <var_node:Token> */
8986 var_node
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_node:Token> */
8992 /* method parser_prod$AKwabstractAtid$visit_all for (self: AKwabstractAtid, Visitor) */
8993 void nitc__parser_prod___AKwabstractAtid___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
8994 val
* var_v
/* var v: Visitor */;
8995 val
* var
/* : Token */;
8997 var
= self
->attrs
[COLOR_nitc__parser_nodes__AAtid___n_id
].val
; /* _n_id on <self:AKwabstractAtid> */
8998 if (unlikely(var
== NULL
)) {
8999 if(catchStack
.cursor
>= 0){
9000 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9002 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
9003 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8673);
9007 nitc___nitc__Visitor___enter_visit(var_v
, var
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9011 /* method parser_prod$Start$replace_child for (self: Start, ANode, nullable ANode) */
9012 void nitc__parser_prod___Start___nitc__parser_nodes__ANode__replace_child(val
* self
, val
* p0
, val
* p1
) {
9013 val
* var_old_child
/* var old_child: ANode */;
9014 val
* var_new_child
/* var new_child: nullable ANode */;
9015 val
* var
/* : nullable AModule */;
9016 short int var1
/* : Bool */;
9017 short int var2
/* : Bool */;
9018 val
* var_other
/* var other: nullable Object */;
9019 short int var4
/* : Bool */;
9020 short int var6
/* : Bool */;
9021 short int var7
/* : Bool */;
9022 short int var8
/* : Bool */;
9023 short int var10
/* : Bool */;
9024 short int var12
/* : Bool */;
9025 short int var14
/* : Bool */;
9030 var
= self
->attrs
[COLOR_nitc__parser_nodes__Start___n_base
].val
; /* _n_base on <self:Start> */
9032 var1
= 0; /* <var_old_child:ANode> cannot be null */
9034 { /* Inline kernel$Object$== (var,var_old_child) on <var:nullable AModule> */
9035 var_other
= var_old_child
;
9037 { /* Inline kernel$Object$is_same_instance (var,var_other) on <var:nullable AModule(AModule)> */
9038 var6
= var
== var_other
;
9051 if (var_new_child
== NULL
) {
9052 var7
= 1; /* is null */
9054 var7
= 0; /* arg is null but recv is not */
9057 { /* Inline kernel$Object$== (var_new_child,((val*)NULL)) on <var_new_child:nullable ANode> */
9058 var_other
= ((val
*)NULL
);
9060 { /* Inline kernel$Object$is_same_instance (var_new_child,var_other) on <var_new_child:nullable ANode(ANode)> */
9061 var12
= var_new_child
== var_other
;
9064 RET_LABEL11
:(void)0;
9076 { /* Inline parser_nodes$ANode$parent= (var_new_child,self) on <var_new_child:nullable ANode(ANode)> */
9077 var_new_child
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= self
; /* _parent on <var_new_child:nullable ANode(ANode)> */
9078 RET_LABEL13
:(void)0;
9081 /* <var_new_child:nullable ANode(ANode)> isa AModule */
9082 cltype
= type_nitc__AModule
.color
;
9083 idtype
= type_nitc__AModule
.id
;
9084 if(cltype
>= var_new_child
->type
->table_size
) {
9087 var14
= var_new_child
->type
->type_table
[cltype
] == idtype
;
9089 if (unlikely(!var14
)) {
9090 if(catchStack
.cursor
>= 0){
9091 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9093 PRINT_ERROR("Runtime error: %s", "Assert failed");
9094 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8713);
9097 self
->attrs
[COLOR_nitc__parser_nodes__Start___n_base
].val
= var_new_child
; /* _n_base on <self:Start> */
9100 { /* Inline parser_nodes$ANode$parent= (var_old_child,((val*)NULL)) on <var_old_child:ANode> */
9101 var_old_child
->attrs
[COLOR_nitc__parser_nodes__ANode___parent
].val
= ((val
*)NULL
); /* _parent on <var_old_child:ANode> */
9102 RET_LABEL15
:(void)0;
9110 /* method parser_prod$Start$visit_all for (self: Start, Visitor) */
9111 void nitc__parser_prod___Start___nitc__parser_nodes__ANode__visit_all(val
* self
, val
* p0
) {
9112 val
* var_v
/* var v: Visitor */;
9113 val
* var
/* : nullable AModule */;
9114 short int var1
/* : Bool */;
9115 short int var2
/* : Bool */;
9116 val
* var_other
/* var other: nullable Object */;
9117 short int var4
/* : Bool */;
9118 short int var5
/* : Bool */;
9119 val
* var6
/* : nullable AModule */;
9120 val
* var7
/* : EOF */;
9122 var
= self
->attrs
[COLOR_nitc__parser_nodes__Start___n_base
].val
; /* _n_base on <self:Start> */
9124 var1
= 0; /* is null */
9126 var1
= 1; /* arg is null and recv is not */
9129 { /* Inline kernel$Object$!= (var,((val*)NULL)) on <var:nullable AModule> */
9130 var_other
= ((val
*)NULL
);
9132 var4
= ((short int(*)(val
* self
, val
* p0
))(var
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var
, var_other
); /* == on <var:nullable AModule(AModule)>*/
9142 var6
= self
->attrs
[COLOR_nitc__parser_nodes__Start___n_base
].val
; /* _n_base on <self:Start> */
9143 if (unlikely(var6
== NULL
)) {
9144 if(catchStack
.cursor
>= 0){
9145 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9147 PRINT_ERROR("Runtime error: %s", "Cast failed");
9148 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8724);
9152 nitc___nitc__Visitor___enter_visit(var_v
, var6
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/
9156 var7
= self
->attrs
[COLOR_nitc__parser_nodes__Start___n_eof
].val
; /* _n_eof on <self:Start> */
9157 if (unlikely(var7
== NULL
)) {
9158 if(catchStack
.cursor
>= 0){
9159 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
9161 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_eof");
9162 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod
, 8726);
9166 nitc___nitc__Visitor___enter_visit(var_v
, var7
); /* Direct call parser_nodes$Visitor$enter_visit on <var_v:Visitor>*/