X-Git-Url: http://nitlanguage.org diff --git a/c_src/nitc__parser_prod.sep.4.c b/c_src/nitc__parser_prod.sep.4.c index 0f130e5..cc61d9d 100644 --- a/c_src/nitc__parser_prod.sep.4.c +++ b/c_src/nitc__parser_prod.sep.4.c @@ -1,6 +1,6 @@ #include "nitc__parser_prod.sep.0.h" -/* method parser_prod#ASlashExpr#replace_child for (self: ASlashExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AGeExpr$replace_child for (self: AGeExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -30,17 +30,20 @@ int idtype25; const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4641); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4269); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -68,26 +71,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4642); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4270); fatal_exit(1); } { -nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ASlashExpr#n_expr= on */ +nitc__parser_prod___AGeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AGeExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4645); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4273); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -100,9 +106,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TSlash */ -cltype14 = type_nitc__TSlash.color; -idtype15 = type_nitc__TSlash.id; +/* isa TGe */ +cltype14 = type_nitc__TGe.color; +idtype15 = type_nitc__TGe.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -114,27 +120,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TSlash", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4646); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGe", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4274); fatal_exit(1); } { -nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#ASlashExpr#n_op= on */ +nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AGeExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4649); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4277); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -162,99 +171,108 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4650); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4278); fatal_exit(1); } { -nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod#ASlashExpr#n_expr2= on */ +nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AGeExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ASlashExpr#n_expr= for (self: ASlashExpr, AExpr) */ -void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AGeExpr$n_expr= for (self: AGeExpr, AExpr) */ +void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ASlashExpr#n_op= for (self: ASlashExpr, Token) */ -void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +/* method parser_prod$AGeExpr$n_op= for (self: AGeExpr, Token) */ +void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ASlashExpr#n_expr2= for (self: ASlashExpr, AExpr) */ -void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +/* method parser_prod$AGeExpr$n_expr2= for (self: AGeExpr, AExpr) */ +void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ASlashExpr#visit_all for (self: ASlashExpr, Visitor) */ -void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AGeExpr$visit_all for (self: AGeExpr, Visitor) */ +void nitc__parser_prod___AGeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; val* var1 /* : Token */; val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4674); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4302); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4675); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4303); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4676); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4304); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#APercentExpr#init_apercentexpr for (self: APercentExpr, nullable AExpr, nullable TPercent, nullable AExpr) */ -void nitc__parser_prod___APercentExpr___init_apercentexpr(val* self, val* p0, val* p1, val* p2) { +/* method parser_prod$AGgExpr$init_aggexpr for (self: AGgExpr, nullable AExpr, nullable TGg, nullable AExpr) */ +void nitc__parser_prod___AGgExpr___init_aggexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_op /* var n_op: nullable TPercent */; +val* var_n_op /* var n_op: nullable TGg */; val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -262,20 +280,29 @@ var_n_expr = p0; var_n_op = p1; var_n_expr2 = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4686); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4314); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4687); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4315); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -283,41 +310,59 @@ RET_LABEL2:(void)0; } } if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4688); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4316); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4689); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4317); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4690); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4318); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4691); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4319); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr2,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -326,8 +371,8 @@ RET_LABEL4:(void)0; } RET_LABEL:; } -/* method parser_prod#APercentExpr#replace_child for (self: APercentExpr, ANode, nullable ANode) */ -void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AGgExpr$replace_child for (self: AGgExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -357,17 +402,20 @@ int idtype25; const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4696); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4324); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -395,26 +443,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4697); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4325); fatal_exit(1); } { -nitc__parser_prod___APercentExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#APercentExpr#n_expr= on */ +nitc__parser_prod___AGgExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AGgExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4700); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4328); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -427,9 +478,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TPercent */ -cltype14 = type_nitc__TPercent.color; -idtype15 = type_nitc__TPercent.id; +/* isa TGg */ +cltype14 = type_nitc__TGg.color; +idtype15 = type_nitc__TGg.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -441,27 +492,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPercent", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4701); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TGg", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4329); fatal_exit(1); } { -nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#APercentExpr#n_op= on */ +nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AGgExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4704); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4332); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -489,172 +543,208 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4705); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4333); fatal_exit(1); } { -nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod#APercentExpr#n_expr2= on */ +nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AGgExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#APercentExpr#n_expr= for (self: APercentExpr, AExpr) */ -void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AGgExpr$n_expr= for (self: AGgExpr, AExpr) */ +void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#APercentExpr#n_op= for (self: APercentExpr, Token) */ -void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +/* method parser_prod$AGgExpr$n_op= for (self: AGgExpr, Token) */ +void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#APercentExpr#n_expr2= for (self: APercentExpr, AExpr) */ -void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +/* method parser_prod$AGgExpr$n_expr2= for (self: AGgExpr, AExpr) */ +void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#APercentExpr#visit_all for (self: APercentExpr, Visitor) */ -void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AGgExpr$visit_all for (self: AGgExpr, Visitor) */ +void nitc__parser_prod___AGgExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; val* var1 /* : Token */; val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4729); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4357); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4730); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4358); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4731); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4359); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#APipeExpr#init_apipeexpr for (self: APipeExpr, nullable AExpr, nullable TPipe, nullable AExpr) */ -void nitc__parser_prod___APipeExpr___init_apipeexpr(val* self, val* p0, val* p1, val* p2) { +/* method parser_prod$AIsaExpr$init_aisaexpr for (self: AIsaExpr, nullable AExpr, nullable TKwisa, nullable AType) */ +void nitc__parser_prod___AIsaExpr___init_aisaexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_op /* var n_op: nullable TPipe */; -val* var_n_expr2 /* var n_expr2: nullable AExpr */; +val* var_n_kwisa /* var n_kwisa: nullable TKwisa */; +val* var_n_type /* var n_type: nullable AType */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_op = p1; -var_n_expr2 = p2; +var_n_kwisa = p1; +var_n_type = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4741); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4369); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4742); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4370); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_op == NULL)) { +if (unlikely(var_n_kwisa == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4743); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4371); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa].val = var_n_kwisa; /* _n_kwisa on */ +if (var_n_kwisa == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4744); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4372); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_op == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwisa,self) on */ +if (unlikely(var_n_kwisa == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_kwisa->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -if (unlikely(var_n_expr2 == NULL)) { +if (unlikely(var_n_type == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4745); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4373); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ -if (var_n_expr2 == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_type].val = var_n_type; /* _n_type on */ +if (var_n_type == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4746); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4374); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr2,self) on */ -if (unlikely(var_n_expr2 == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_type,self) on */ +if (unlikely(var_n_type == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#APipeExpr#replace_child for (self: APipeExpr, ANode, nullable ANode) */ -void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AIsaExpr$replace_child for (self: AIsaExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AIsaExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -666,7 +756,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : Token */; +val* var7 /* : TKwisa */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -674,7 +764,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AExpr */; +val* var17 /* : AType */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -684,17 +774,20 @@ int idtype25; const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4751); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4379); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -722,26 +815,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4752); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4380); fatal_exit(1); } { -nitc__parser_prod___APipeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#APipeExpr#n_expr= on */ +nitc__parser_prod___AIsaExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod$AIsaExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa].val; /* _n_kwisa on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4755); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisa"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4383); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -754,9 +850,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TPipe */ -cltype14 = type_nitc__TPipe.color; -idtype15 = type_nitc__TPipe.id; +/* isa TKwisa */ +cltype14 = type_nitc__TKwisa.color; +idtype15 = type_nitc__TKwisa.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -768,27 +864,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPipe", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4756); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwisa", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4384); fatal_exit(1); } { -nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#APipeExpr#n_op= on */ +nitc__parser_prod___AIsaExpr___n_kwisa_61d(self, var_new_child); /* Direct call parser_prod$AIsaExpr$n_kwisa= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_type].val; /* _n_type on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4759); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4387); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -801,9 +900,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa AExpr */ -cltype24 = type_nitc__AExpr.color; -idtype25 = type_nitc__AExpr.id; +/* isa AType */ +cltype24 = type_nitc__AType.color; +idtype25 = type_nitc__AType.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -815,100 +914,109 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4760); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4388); fatal_exit(1); } { -nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod#APipeExpr#n_expr2= on */ +nitc__parser_prod___AIsaExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod$AIsaExpr$n_type= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#APipeExpr#n_expr= for (self: APipeExpr, AExpr) */ -void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AIsaExpr$n_expr= for (self: AIsaExpr, AExpr) */ +void nitc__parser_prod___AIsaExpr___n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#APipeExpr#n_op= for (self: APipeExpr, Token) */ -void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; +/* method parser_prod$AIsaExpr$n_kwisa= for (self: AIsaExpr, TKwisa) */ +void nitc__parser_prod___AIsaExpr___n_kwisa_61d(val* self, val* p0) { +val* var_node /* var node: TKwisa */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa].val = var_node; /* _n_kwisa on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#APipeExpr#n_expr2= for (self: APipeExpr, AExpr) */ -void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; +/* method parser_prod$AIsaExpr$n_type= for (self: AIsaExpr, AType) */ +void nitc__parser_prod___AIsaExpr___n_type_61d(val* self, val* p0) { +val* var_node /* var node: AType */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_type].val = var_node; /* _n_type on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#APipeExpr#visit_all for (self: APipeExpr, Visitor) */ -void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AIsaExpr$visit_all for (self: AIsaExpr, Visitor) */ +void nitc__parser_prod___AIsaExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : Token */; -val* var2 /* : AExpr */; +val* var1 /* : TKwisa */; +val* var2 /* : AType */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4784); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4412); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_kwisa].val; /* _n_kwisa on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4785); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisa"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4413); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__AIsaExpr___n_type].val; /* _n_type on */ if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4786); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4414); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ACaretExpr#init_acaretexpr for (self: ACaretExpr, nullable AExpr, nullable TCaret, nullable AExpr) */ -void nitc__parser_prod___ACaretExpr___init_acaretexpr(val* self, val* p0, val* p1, val* p2) { +/* method parser_prod$APlusExpr$init_aplusexpr for (self: APlusExpr, nullable AExpr, nullable TPlus, nullable AExpr) */ +void nitc__parser_prod___APlusExpr___init_aplusexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_op /* var n_op: nullable TCaret */; +val* var_n_op /* var n_op: nullable TPlus */; val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -916,20 +1024,29 @@ var_n_expr = p0; var_n_op = p1; var_n_expr2 = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4796); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4424); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4797); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4425); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -937,41 +1054,59 @@ RET_LABEL2:(void)0; } } if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4798); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4426); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4799); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4427); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4800); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4428); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4801); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4429); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr2,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -980,8 +1115,8 @@ RET_LABEL4:(void)0; } RET_LABEL:; } -/* method parser_prod#ACaretExpr#replace_child for (self: ACaretExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$APlusExpr$replace_child for (self: APlusExpr, ANode, nullable ANode) */ +void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -1011,17 +1146,20 @@ int idtype25; const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4806); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4434); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -1049,26 +1187,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4807); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4435); fatal_exit(1); } { -nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ACaretExpr#n_expr= on */ +nitc__parser_prod___APlusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$APlusExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4810); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4438); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -1081,9 +1222,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TCaret */ -cltype14 = type_nitc__TCaret.color; -idtype15 = type_nitc__TCaret.id; +/* isa TPlus */ +cltype14 = type_nitc__TPlus.color; +idtype15 = type_nitc__TPlus.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -1095,27 +1236,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCaret", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4811); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPlus", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4439); fatal_exit(1); } { -nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#ACaretExpr#n_op= on */ +nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$APlusExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4814); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4442); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -1143,99 +1287,108 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4815); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4443); fatal_exit(1); } { -nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod#ACaretExpr#n_expr2= on */ +nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$APlusExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ACaretExpr#n_expr= for (self: ACaretExpr, AExpr) */ -void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$APlusExpr$n_expr= for (self: APlusExpr, AExpr) */ +void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACaretExpr#n_op= for (self: ACaretExpr, Token) */ -void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +/* method parser_prod$APlusExpr$n_op= for (self: APlusExpr, Token) */ +void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACaretExpr#n_expr2= for (self: ACaretExpr, AExpr) */ -void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +/* method parser_prod$APlusExpr$n_expr2= for (self: APlusExpr, AExpr) */ +void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACaretExpr#visit_all for (self: ACaretExpr, Visitor) */ -void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$APlusExpr$visit_all for (self: APlusExpr, Visitor) */ +void nitc__parser_prod___APlusExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; val* var1 /* : Token */; val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4839); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4467); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4840); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4468); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4841); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4469); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AAmpExpr#init_aampexpr for (self: AAmpExpr, nullable AExpr, nullable TAmp, nullable AExpr) */ -void nitc__parser_prod___AAmpExpr___init_aampexpr(val* self, val* p0, val* p1, val* p2) { +/* method parser_prod$AMinusExpr$init_aminusexpr for (self: AMinusExpr, nullable AExpr, nullable TMinus, nullable AExpr) */ +void nitc__parser_prod___AMinusExpr___init_aminusexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_op /* var n_op: nullable TAmp */; +val* var_n_op /* var n_op: nullable TMinus */; val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -1243,20 +1396,29 @@ var_n_expr = p0; var_n_op = p1; var_n_expr2 = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4851); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4479); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4852); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4480); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -1264,41 +1426,59 @@ RET_LABEL2:(void)0; } } if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4853); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4481); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4854); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4482); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4855); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4483); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4856); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4484); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr2,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -1307,8 +1487,8 @@ RET_LABEL4:(void)0; } RET_LABEL:; } -/* method parser_prod#AAmpExpr#replace_child for (self: AAmpExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AMinusExpr$replace_child for (self: AMinusExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -1338,17 +1518,20 @@ int idtype25; const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4861); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4489); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -1376,26 +1559,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4862); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4490); fatal_exit(1); } { -nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AAmpExpr#n_expr= on */ +nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AMinusExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4865); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4493); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -1408,9 +1594,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TAmp */ -cltype14 = type_nitc__TAmp.color; -idtype15 = type_nitc__TAmp.id; +/* isa TMinus */ +cltype14 = type_nitc__TMinus.color; +idtype15 = type_nitc__TMinus.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -1422,27 +1608,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAmp", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4866); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TMinus", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4494); fatal_exit(1); } { -nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#AAmpExpr#n_op= on */ +nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AMinusExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4869); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4497); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -1470,152 +1659,211 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4870); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4498); fatal_exit(1); } { -nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod#AAmpExpr#n_expr2= on */ +nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AMinusExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAmpExpr#n_expr= for (self: AAmpExpr, AExpr) */ -void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AMinusExpr$n_expr= for (self: AMinusExpr, AExpr) */ +void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAmpExpr#n_op= for (self: AAmpExpr, Token) */ -void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +/* method parser_prod$AMinusExpr$n_op= for (self: AMinusExpr, Token) */ +void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAmpExpr#n_expr2= for (self: AAmpExpr, AExpr) */ -void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +/* method parser_prod$AMinusExpr$n_expr2= for (self: AMinusExpr, AExpr) */ +void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAmpExpr#visit_all for (self: AAmpExpr, Visitor) */ -void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AMinusExpr$visit_all for (self: AMinusExpr, Visitor) */ +void nitc__parser_prod___AMinusExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; val* var1 /* : Token */; val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4894); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4522); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4895); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4523); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4896); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4524); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AUminusExpr#init_auminusexpr for (self: AUminusExpr, nullable TMinus, nullable AExpr) */ -void nitc__parser_prod___AUminusExpr___init_auminusexpr(val* self, val* p0, val* p1) { -val* var_n_op /* var n_op: nullable TMinus */; +/* method parser_prod$AStarshipExpr$init_astarshipexpr for (self: AStarshipExpr, nullable AExpr, nullable TStarship, nullable AExpr) */ +void nitc__parser_prod___AStarshipExpr___init_astarshipexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_op /* var n_op: nullable TStarship */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_op = p0; -var_n_expr = p1; -if (unlikely(var_n_op == NULL)) { +var_n_expr = p0; +var_n_op = p1; +var_n_expr2 = p2; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4905); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4534); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4906); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4535); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_op == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_expr == NULL)) { +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4907); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4536); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4908); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4537); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ -if (unlikely(var_n_expr == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4538); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4539); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; +} +} RET_LABEL:; } -/* method parser_prod#AUminusExpr#replace_child for (self: AUminusExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AStarshipExpr$replace_child for (self: AStarshipExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : Token */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -1624,7 +1872,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AExpr */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -1632,19 +1880,30 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; +val* var17 /* : AExpr */; +short int var18 /* : Bool */; +short int var20 /* : Bool */; +short int var22 /* : Bool */; +short int var23 /* : Bool */; +int cltype24; +int idtype25; +const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4913); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4544); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -1657,9 +1916,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TMinus */ -cltype = type_nitc__TMinus.color; -idtype = type_nitc__TMinus.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -1671,27 +1930,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TMinus", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4914); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4545); fatal_exit(1); } { -nitc__parser_prod___AUminusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#AUminusExpr#n_op= on */ +nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AStarshipExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4917); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4548); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -1704,9 +1966,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AExpr */ -cltype14 = type_nitc__AExpr.color; -idtype15 = type_nitc__AExpr.id; +/* isa TStarship */ +cltype14 = type_nitc__TStarship.color; +idtype15 = type_nitc__TStarship.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -1718,130 +1980,262 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4918); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStarship", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4549); +fatal_exit(1); +} +{ +nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AStarshipExpr$n_op= on */ +} +goto RET_LABEL; +} else { +} +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4552); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; +} +} +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; +} +} +if (var18){ +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var23 = 0; +} else { +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; +} else { +var23 = var_new_child->type->type_table[cltype24] == idtype25; +} +} +if (unlikely(!var23)) { +var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4553); fatal_exit(1); } { -nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AUminusExpr#n_expr= on */ +nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AStarshipExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AUminusExpr#n_op= for (self: AUminusExpr, Token) */ -void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val* self, val* p0) { +/* method parser_prod$AStarshipExpr$n_expr= for (self: AStarshipExpr, AExpr) */ +void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AStarshipExpr$n_op= for (self: AStarshipExpr, Token) */ +void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AUminusExpr#n_expr= for (self: AUminusExpr, AExpr) */ -void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AStarshipExpr$n_expr2= for (self: AStarshipExpr, AExpr) */ +void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AUminusExpr#visit_all for (self: AUminusExpr, Visitor) */ -void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AStarshipExpr$visit_all for (self: AStarshipExpr, Visitor) */ +void nitc__parser_prod___AStarshipExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : Token */; -val* var1 /* : AExpr */; +val* var /* : AExpr */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4937); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4577); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4938); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4578); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4579); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AUplusExpr#init_auplusexpr for (self: AUplusExpr, nullable TPlus, nullable AExpr) */ -void nitc__parser_prod___AUplusExpr___init_auplusexpr(val* self, val* p0, val* p1) { -val* var_n_op /* var n_op: nullable TPlus */; +/* method parser_prod$AStarExpr$init_astarexpr for (self: AStarExpr, nullable AExpr, nullable TStar, nullable AExpr) */ +void nitc__parser_prod___AStarExpr___init_astarexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_op /* var n_op: nullable TStar */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_op = p0; -var_n_expr = p1; +var_n_expr = p0; +var_n_op = p1; +var_n_expr2 = p2; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4589); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4590); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; +} +} if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4947); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4591); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_n_op; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4948); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4592); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } -if (unlikely(var_n_expr == NULL)) { +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4949); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4593); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4950); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4594); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ -if (unlikely(var_n_expr == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#AUplusExpr#replace_child for (self: AUplusExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AStarExpr$replace_child for (self: AStarExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : Token */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -1850,7 +2244,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AExpr */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -1858,19 +2252,30 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; +val* var17 /* : AExpr */; +short int var18 /* : Bool */; +short int var20 /* : Bool */; +short int var22 /* : Bool */; +short int var23 /* : Bool */; +int cltype24; +int idtype25; +const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4955); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4599); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -1883,9 +2288,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TPlus */ -cltype = type_nitc__TPlus.color; -idtype = type_nitc__TPlus.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -1897,27 +2302,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPlus", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4956); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4600); fatal_exit(1); } { -nitc__parser_prod___AUplusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#AUplusExpr#n_op= on */ +nitc__parser_prod___AStarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AStarExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4959); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4603); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -1930,9 +2338,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AExpr */ -cltype14 = type_nitc__AExpr.color; -idtype15 = type_nitc__AExpr.id; +/* isa TStar */ +cltype14 = type_nitc__TStar.color; +idtype15 = type_nitc__TStar.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -1944,130 +2352,262 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4960); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStar", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4604); fatal_exit(1); } { -nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AUplusExpr#n_expr= on */ +nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AStarExpr$n_op= on */ } goto RET_LABEL; } else { } -RET_LABEL:; +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4607); +fatal_exit(1); } -/* method parser_prod#AUplusExpr#n_op= for (self: AUplusExpr, Token) */ -void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; +{ /* Inline kernel$Object$== (var17,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; } } -RET_LABEL:; +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } -/* method parser_prod#AUplusExpr#n_expr= for (self: AUplusExpr, AExpr) */ -void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +} +if (var18){ +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var23 = 0; +} else { +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; +} else { +var23 = var_new_child->type->type_table[cltype24] == idtype25; +} +} +if (unlikely(!var23)) { +var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4608); +fatal_exit(1); +} +{ +nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AStarExpr$n_expr2= on */ +} +goto RET_LABEL; +} else { +} +RET_LABEL:; +} +/* method parser_prod$AStarExpr$n_expr= for (self: AStarExpr, AExpr) */ +void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AUplusExpr#visit_all for (self: AUplusExpr, Visitor) */ -void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AStarExpr$n_op= for (self: AStarExpr, Token) */ +void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AStarExpr$n_expr2= for (self: AStarExpr, AExpr) */ +void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AStarExpr$visit_all for (self: AStarExpr, Visitor) */ +void nitc__parser_prod___AStarExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : Token */; -val* var1 /* : AExpr */; +val* var /* : AExpr */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4979); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4632); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4980); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4633); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4634); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AUtildeExpr#init_autildeexpr for (self: AUtildeExpr, nullable TTilde, nullable AExpr) */ -void nitc__parser_prod___AUtildeExpr___init_autildeexpr(val* self, val* p0, val* p1) { -val* var_n_op /* var n_op: nullable TTilde */; +/* method parser_prod$AStarstarExpr$init_astarstarexpr for (self: AStarstarExpr, nullable AExpr, nullable TStarstar, nullable AExpr) */ +void nitc__parser_prod___AStarstarExpr___init_astarstarexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_op /* var n_op: nullable TStarstar */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_op = p0; -var_n_expr = p1; +var_n_expr = p0; +var_n_op = p1; +var_n_expr2 = p2; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4644); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4645); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; +} +} if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4989); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4646); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_n_op; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4990); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4647); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } -if (unlikely(var_n_expr == NULL)) { +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4991); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4648); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4992); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4649); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ -if (unlikely(var_n_expr == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#AUtildeExpr#replace_child for (self: AUtildeExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AStarstarExpr$replace_child for (self: AStarstarExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : Token */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -2076,7 +2616,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AExpr */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -2084,19 +2624,30 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; +val* var17 /* : AExpr */; +short int var18 /* : Bool */; +short int var20 /* : Bool */; +short int var22 /* : Bool */; +short int var23 /* : Bool */; +int cltype24; +int idtype25; +const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4997); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4654); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -2109,9 +2660,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TTilde */ -cltype = type_nitc__TTilde.color; -idtype = type_nitc__TTilde.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -2123,27 +2674,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TTilde", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4998); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4655); fatal_exit(1); } { -nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod#AUtildeExpr#n_op= on */ +nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AStarstarExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5001); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4658); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -2156,9 +2710,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AExpr */ -cltype14 = type_nitc__AExpr.color; -idtype15 = type_nitc__AExpr.id; +/* isa TStarstar */ +cltype14 = type_nitc__TStarstar.color; +idtype15 = type_nitc__TStarstar.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -2170,188 +2724,262 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5002); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStarstar", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4659); +fatal_exit(1); +} +{ +nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AStarstarExpr$n_op= on */ +} +goto RET_LABEL; +} else { +} +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4662); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; +} +} +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; +} +} +if (var18){ +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var23 = 0; +} else { +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; +} else { +var23 = var_new_child->type->type_table[cltype24] == idtype25; +} +} +if (unlikely(!var23)) { +var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4663); fatal_exit(1); } { -nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AUtildeExpr#n_expr= on */ +nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AStarstarExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AUtildeExpr#n_op= for (self: AUtildeExpr, Token) */ -void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val* self, val* p0) { +/* method parser_prod$AStarstarExpr$n_expr= for (self: AStarstarExpr, AExpr) */ +void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AStarstarExpr$n_op= for (self: AStarstarExpr, Token) */ +void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AUtildeExpr#n_expr= for (self: AUtildeExpr, AExpr) */ -void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AStarstarExpr$n_expr2= for (self: AStarstarExpr, AExpr) */ +void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AUtildeExpr#visit_all for (self: AUtildeExpr, Visitor) */ -void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AStarstarExpr$visit_all for (self: AStarstarExpr, Visitor) */ +void nitc__parser_prod___AStarstarExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : Token */; -val* var1 /* : AExpr */; +val* var /* : AExpr */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5021); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4687); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5022); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4688); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4689); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ANewExpr#init_anewexpr for (self: ANewExpr, nullable TKwnew, nullable AType, nullable AQid, nullable AExprs) */ -void nitc__parser_prod___ANewExpr___init_anewexpr(val* self, val* p0, val* p1, val* p2, val* p3) { -val* var_n_kwnew /* var n_kwnew: nullable TKwnew */; -val* var_n_type /* var n_type: nullable AType */; -val* var_n_qid /* var n_qid: nullable AQid */; -val* var_n_args /* var n_args: nullable AExprs */; -short int var /* : Bool */; -short int var4 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var6 /* : Bool */; -short int var7 /* : Bool */; +/* method parser_prod$ASlashExpr$init_aslashexpr for (self: ASlashExpr, nullable AExpr, nullable TSlash, nullable AExpr) */ +void nitc__parser_prod___ASlashExpr___init_aslashexpr(val* self, val* p0, val* p1, val* p2) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_op /* var n_op: nullable TSlash */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_kwnew = p0; -var_n_type = p1; -var_n_qid = p2; -var_n_args = p3; -if (unlikely(var_n_kwnew == NULL)) { +var_n_expr = p0; +var_n_op = p1; +var_n_expr2 = p2; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5033); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4699); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val = var_n_kwnew; /* _n_kwnew on */ -if (var_n_kwnew == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5034); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4700); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwnew,self) on */ -if (unlikely(var_n_kwnew == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_kwnew->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_type == NULL)) { +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5035); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4701); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val = var_n_type; /* _n_type on */ -if (var_n_type == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5036); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4702); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_type,self) on */ -if (unlikely(var_n_type == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val = var_n_qid; /* _n_qid on */ -if (var_n_qid == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_qid,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var6 = ((short int(*)(val* self, val* p0))(var_n_qid->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_qid, var_other); /* == on */ -} -var7 = !var6; -var4 = var7; -goto RET_LABEL5; -RET_LABEL5:(void)0; -} -var = var4; -} -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_qid,self) on */ -var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL8:(void)0; -} -} -} else { +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_args == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5039); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4703); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5040); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4704); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL9:(void)0; +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#ANewExpr#replace_child for (self: ANewExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ANewExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ASlashExpr$replace_child for (self: ASlashExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TKwnew */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -2360,7 +2988,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AType */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -2368,36 +2996,30 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : nullable AQid */; +val* var17 /* : AExpr */; short int var18 /* : Bool */; -short int var19 /* : Bool */; -short int var21 /* : Bool */; +short int var20 /* : Bool */; +short int var22 /* : Bool */; short int var23 /* : Bool */; -short int var24 /* : Bool */; -int cltype25; -int idtype26; -const char* var_class_name27; -val* var28 /* : AExprs */; -short int var29 /* : Bool */; -short int var31 /* : Bool */; -short int var33 /* : Bool */; -short int var34 /* : Bool */; -int cltype35; -int idtype36; -const char* var_class_name37; +int cltype24; +int idtype25; +const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val; /* _n_kwnew on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnew"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5045); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4709); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -2410,9 +3032,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TKwnew */ -cltype = type_nitc__TKwnew.color; -idtype = type_nitc__TKwnew.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -2424,27 +3046,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnew", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5046); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4710); fatal_exit(1); } { -nitc__parser_prod___ANewExpr___n_kwnew_61d(self, var_new_child); /* Direct call parser_prod#ANewExpr#n_kwnew= on */ +nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ASlashExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val; /* _n_type on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5049); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4713); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -2457,9 +3082,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AType */ -cltype14 = type_nitc__AType.color; -idtype15 = type_nitc__AType.id; +/* isa TSlash */ +cltype14 = type_nitc__TSlash.color; +idtype15 = type_nitc__TSlash.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -2471,286 +3096,259 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5050); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TSlash", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4714); fatal_exit(1); } { -nitc__parser_prod___ANewExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod#ANewExpr#n_type= on */ +nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$ASlashExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val; /* _n_qid on */ -if (var17 == NULL) { -var18 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ -var23 = var17 == var_other; -var21 = var23; -goto RET_LABEL22; -RET_LABEL22:(void)0; -} -} -var19 = var21; -goto RET_LABEL20; -RET_LABEL20:(void)0; -} -var18 = var19; -} -if (var18){ -/* isa nullable AQid */ -cltype25 = type_nullable__nitc__AQid.color; -idtype26 = type_nullable__nitc__AQid.id; -if(var_new_child == NULL) { -var24 = 1; -} else { -if(cltype25 >= var_new_child->type->table_size) { -var24 = 0; -} else { -var24 = var_new_child->type->type_table[cltype25] == idtype26; -} -} -if (unlikely(!var24)) { -var_class_name27 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQid", var_class_name27); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5054); -fatal_exit(1); -} -{ -nitc__parser_prod___ANewExpr___n_qid_61d(self, var_new_child); /* Direct call parser_prod#ANewExpr#n_qid= on */ -} -goto RET_LABEL; -} else { +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var28 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val; /* _n_args on */ -if (unlikely(var28 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5057); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4717); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var28,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var28,var_other) on */ -var33 = var28 == var_other; -var31 = var33; -goto RET_LABEL32; -RET_LABEL32:(void)0; +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; } } -var29 = var31; -goto RET_LABEL30; -RET_LABEL30:(void)0; +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } } -if (var29){ -/* isa AExprs */ -cltype35 = type_nitc__AExprs.color; -idtype36 = type_nitc__AExprs.id; +if (var18){ +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; if(var_new_child == NULL) { -var34 = 0; +var23 = 0; } else { -if(cltype35 >= var_new_child->type->table_size) { -var34 = 0; +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; } else { -var34 = var_new_child->type->type_table[cltype35] == idtype36; +var23 = var_new_child->type->type_table[cltype24] == idtype25; } } -if (unlikely(!var34)) { -var_class_name37 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name37); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5058); +if (unlikely(!var23)) { +var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4718); fatal_exit(1); } { -nitc__parser_prod___ANewExpr___n_args_61d(self, var_new_child); /* Direct call parser_prod#ANewExpr#n_args= on */ +nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$ASlashExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ANewExpr#n_kwnew= for (self: ANewExpr, TKwnew) */ -void nitc__parser_prod___ANewExpr___n_kwnew_61d(val* self, val* p0) { -val* var_node /* var node: TKwnew */; +/* method parser_prod$ASlashExpr$n_expr= for (self: ASlashExpr, AExpr) */ +void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val = var_node; /* _n_kwnew on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ANewExpr#n_type= for (self: ANewExpr, AType) */ -void nitc__parser_prod___ANewExpr___n_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; +/* method parser_prod$ASlashExpr$n_op= for (self: ASlashExpr, Token) */ +void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val = var_node; /* _n_type on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ANewExpr#n_qid= for (self: ANewExpr, nullable AQid) */ -void nitc__parser_prod___ANewExpr___n_qid_61d(val* self, val* p0) { -val* var_node /* var node: nullable AQid */; -short int var /* : Bool */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var4 /* : Bool */; +/* method parser_prod$ASlashExpr$n_expr2= for (self: ASlashExpr, AExpr) */ +void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val = var_node; /* _n_qid on */ -if (var_node == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_node,((val*)NULL)) on */ -var_other = ((val*)NULL); +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -var4 = !var3; -var1 = var4; -goto RET_LABEL2; -RET_LABEL2:(void)0; } -var = var1; +RET_LABEL:; } -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; +/* method parser_prod$ASlashExpr$visit_all for (self: ASlashExpr, Visitor) */ +void nitc__parser_prod___ASlashExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : AExpr */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -} -} else { -} -RET_LABEL:; -} -/* method parser_prod#ANewExpr#n_args= for (self: ANewExpr, AExprs) */ -void nitc__parser_prod___ANewExpr___n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val = var_node; /* _n_args on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ANewExpr#visit_all for (self: ANewExpr, Visitor) */ -void nitc__parser_prod___ANewExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TKwnew */; -val* var1 /* : AType */; -val* var2 /* : nullable AQid */; -val* var3 /* : AExprs */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val; /* _n_kwnew on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnew"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5087); -fatal_exit(1); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4742); +fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val; /* _n_type on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5088); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4743); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val; /* _n_qid on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var3 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val; /* _n_args on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5090); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4744); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AAttrExpr#init_aattrexpr for (self: AAttrExpr, nullable AExpr, nullable TAttrid) */ -void nitc__parser_prod___AAttrExpr___init_aattrexpr(val* self, val* p0, val* p1) { +/* method parser_prod$APercentExpr$init_apercentexpr for (self: APercentExpr, nullable AExpr, nullable TPercent, nullable AExpr) */ +void nitc__parser_prod___APercentExpr___init_apercentexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_id /* var n_id: nullable TAttrid */; +val* var_n_op /* var n_op: nullable TPercent */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_id = p1; +var_n_op = p1; +var_n_expr2 = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5099); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4754); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5100); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4755); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_id == NULL)) { +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5101); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4756); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5102); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4757); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4758); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4759); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; +} +} RET_LABEL:; } -/* method parser_prod#AAttrExpr#replace_child for (self: AAttrExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$APercentExpr$replace_child for (self: APercentExpr, ANode, nullable ANode) */ +void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -2762,7 +3360,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TAttrid */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -2770,19 +3368,30 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; +val* var17 /* : AExpr */; +short int var18 /* : Bool */; +short int var20 /* : Bool */; +short int var22 /* : Bool */; +short int var23 /* : Bool */; +int cltype24; +int idtype25; +const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5107); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4764); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -2810,26 +3419,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5108); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4765); fatal_exit(1); } { -nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AAttrExpr#n_expr= on */ +nitc__parser_prod___APercentExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$APercentExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5111); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4768); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -2842,9 +3454,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TAttrid */ -cltype14 = type_nitc__TAttrid.color; -idtype15 = type_nitc__TAttrid.id; +/* isa TPercent */ +cltype14 = type_nitc__TPercent.color; +idtype15 = type_nitc__TPercent.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -2856,173 +3468,259 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5112); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPercent", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4769); +fatal_exit(1); +} +{ +nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$APercentExpr$n_op= on */ +} +goto RET_LABEL; +} else { +} +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4772); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; +} +} +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; +} +} +if (var18){ +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var23 = 0; +} else { +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; +} else { +var23 = var_new_child->type->type_table[cltype24] == idtype25; +} +} +if (unlikely(!var23)) { +var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4773); fatal_exit(1); } { -nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod#AAttrExpr#n_id= on */ +nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$APercentExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAttrExpr#n_expr= for (self: AAttrExpr, AExpr) */ -void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$APercentExpr$n_expr= for (self: APercentExpr, AExpr) */ +void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrExpr#n_id= for (self: AAttrExpr, TAttrid) */ -void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val* self, val* p0) { -val* var_node /* var node: TAttrid */; +/* method parser_prod$APercentExpr$n_op= for (self: APercentExpr, Token) */ +void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_node; /* _n_id on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrExpr#visit_all for (self: AAttrExpr, Visitor) */ -void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$APercentExpr$n_expr2= for (self: APercentExpr, AExpr) */ +void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$APercentExpr$visit_all for (self: APercentExpr, Visitor) */ +void nitc__parser_prod___APercentExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : TAttrid */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5131); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4797); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5132); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4798); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4799); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AAttrAssignExpr#init_aattrassignexpr for (self: AAttrAssignExpr, nullable AExpr, nullable TAttrid, nullable TAssign, nullable AExpr) */ -void nitc__parser_prod___AAttrAssignExpr___init_aattrassignexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +/* method parser_prod$APipeExpr$init_apipeexpr for (self: APipeExpr, nullable AExpr, nullable TPipe, nullable AExpr) */ +void nitc__parser_prod___APipeExpr___init_apipeexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_id /* var n_id: nullable TAttrid */; -val* var_n_assign /* var n_assign: nullable TAssign */; -val* var_n_value /* var n_value: nullable AExpr */; +val* var_n_op /* var n_op: nullable TPipe */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_id = p1; -var_n_assign = p2; -var_n_value = p3; +var_n_op = p1; +var_n_expr2 = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5143); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4809); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5144); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4810); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_id == NULL)) { +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5145); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4811); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5146); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4812); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -if (unlikely(var_n_assign == NULL)) { +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5147); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4813); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_n_assign; /* _n_assign on */ -if (var_n_assign == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5148); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4814); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign,self) on */ -if (unlikely(var_n_assign == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; -} -} -if (unlikely(var_n_value == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5149); -fatal_exit(1); +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_n_value; /* _n_value on */ -if (var_n_value == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5150); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ -if (unlikely(var_n_value == NULL)) { PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrAssignExpr#replace_child for (self: AAttrAssignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$APipeExpr$replace_child for (self: APipeExpr, ANode, nullable ANode) */ +void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -3034,7 +3732,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TAttrid */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -3042,7 +3740,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : TAssign */; +val* var17 /* : AExpr */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -3050,27 +3748,22 @@ short int var23 /* : Bool */; int cltype24; int idtype25; const char* var_class_name26; -val* var27 /* : AExpr */; -short int var28 /* : Bool */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; -short int var33 /* : Bool */; -int cltype34; -int idtype35; -const char* var_class_name36; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4819); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -3098,26 +3791,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5156); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4820); fatal_exit(1); } { -nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AAttrAssignExpr#n_expr= on */ +nitc__parser_prod___APipeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$APipeExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5159); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4823); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -3130,9 +3826,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TAttrid */ -cltype14 = type_nitc__TAttrid.color; -idtype15 = type_nitc__TAttrid.id; +/* isa TPipe */ +cltype14 = type_nitc__TPipe.color; +idtype15 = type_nitc__TPipe.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -3144,27 +3840,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5160); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPipe", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4824); fatal_exit(1); } { -nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod#AAttrAssignExpr#n_id= on */ +nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$APipeExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5163); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4827); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -3177,9 +3876,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa TAssign */ -cltype24 = type_nitc__TAssign.color; -idtype25 = type_nitc__TAssign.id; +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -3191,266 +3890,209 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5164); -fatal_exit(1); -} -{ -nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self, var_new_child); /* Direct call parser_prod#AAttrAssignExpr#n_assign= on */ -} -goto RET_LABEL; -} else { -} -var27 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5167); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var27,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var32 = var27 == var_other; -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; -} -} -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; -} -} -if (var28){ -/* isa AExpr */ -cltype34 = type_nitc__AExpr.color; -idtype35 = type_nitc__AExpr.id; -if(var_new_child == NULL) { -var33 = 0; -} else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; -} else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; -} -} -if (unlikely(!var33)) { -var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5168); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4828); fatal_exit(1); } { -nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#AAttrAssignExpr#n_value= on */ +nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$APipeExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAttrAssignExpr#n_expr= for (self: AAttrAssignExpr, AExpr) */ -void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$APipeExpr$n_expr= for (self: APipeExpr, AExpr) */ +void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrAssignExpr#n_id= for (self: AAttrAssignExpr, TAttrid) */ -void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val* self, val* p0) { -val* var_node /* var node: TAttrid */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_node; /* _n_id on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AAttrAssignExpr#n_assign= for (self: AAttrAssignExpr, TAssign) */ -void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val* self, val* p0) { -val* var_node /* var node: TAssign */; +/* method parser_prod$APipeExpr$n_op= for (self: APipeExpr, Token) */ +void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_node; /* _n_assign on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrAssignExpr#n_value= for (self: AAttrAssignExpr, AExpr) */ -void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val* self, val* p0) { +/* method parser_prod$APipeExpr$n_expr2= for (self: APipeExpr, AExpr) */ +void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_node; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrAssignExpr#visit_all for (self: AAttrAssignExpr, Visitor) */ -void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$APipeExpr$visit_all for (self: APipeExpr, Visitor) */ +void nitc__parser_prod___APipeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : TAttrid */; -val* var2 /* : TAssign */; -val* var3 /* : AExpr */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5197); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4852); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5198); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4853); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5199); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var3 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5200); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4854); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AAttrReassignExpr#init_aattrreassignexpr for (self: AAttrReassignExpr, nullable AExpr, nullable TAttrid, nullable AAssignOp, nullable AExpr) */ -void nitc__parser_prod___AAttrReassignExpr___init_aattrreassignexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +/* method parser_prod$ACaretExpr$init_acaretexpr for (self: ACaretExpr, nullable AExpr, nullable TCaret, nullable AExpr) */ +void nitc__parser_prod___ACaretExpr___init_acaretexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_id /* var n_id: nullable TAttrid */; -val* var_n_assign_op /* var n_assign_op: nullable AAssignOp */; -val* var_n_value /* var n_value: nullable AExpr */; +val* var_n_op /* var n_op: nullable TCaret */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_id = p1; -var_n_assign_op = p2; -var_n_value = p3; +var_n_op = p1; +var_n_expr2 = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5211); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4864); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5212); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4865); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_id == NULL)) { +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5213); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4866); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5214); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4867); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -if (unlikely(var_n_assign_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5215); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_n_assign_op; /* _n_assign_op on */ -if (var_n_assign_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5216); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign_op,self) on */ -if (unlikely(var_n_assign_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_assign_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; -} +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_value == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5217); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4868); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_n_value; /* _n_value on */ -if (var_n_value == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5218); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4869); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ -if (unlikely(var_n_value == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrReassignExpr#replace_child for (self: AAttrReassignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ACaretExpr$replace_child for (self: ACaretExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -3462,7 +4104,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TAttrid */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -3470,7 +4112,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AAssignOp */; +val* var17 /* : AExpr */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -3478,27 +4120,22 @@ short int var23 /* : Bool */; int cltype24; int idtype25; const char* var_class_name26; -val* var27 /* : AExpr */; -short int var28 /* : Bool */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; -short int var33 /* : Bool */; -int cltype34; -int idtype35; -const char* var_class_name36; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5223); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4874); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -3526,26 +4163,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5224); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4875); fatal_exit(1); } { -nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AAttrReassignExpr#n_expr= on */ +nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ACaretExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5227); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4878); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -3558,9 +4198,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TAttrid */ -cltype14 = type_nitc__TAttrid.color; -idtype15 = type_nitc__TAttrid.id; +/* isa TCaret */ +cltype14 = type_nitc__TCaret.color; +idtype15 = type_nitc__TCaret.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -3572,27 +4212,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5228); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCaret", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4879); fatal_exit(1); } { -nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod#AAttrReassignExpr#n_id= on */ +nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$ACaretExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5231); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4882); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -3605,9 +4248,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa AAssignOp */ -cltype24 = type_nitc__AAssignOp.color; -idtype25 = type_nitc__AAssignOp.id; +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -3619,243 +4262,209 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5232); -fatal_exit(1); -} -{ -nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self, var_new_child); /* Direct call parser_prod#AAttrReassignExpr#n_assign_op= on */ -} -goto RET_LABEL; -} else { -} -var27 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5235); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var27,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var32 = var27 == var_other; -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; -} -} -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; -} -} -if (var28){ -/* isa AExpr */ -cltype34 = type_nitc__AExpr.color; -idtype35 = type_nitc__AExpr.id; -if(var_new_child == NULL) { -var33 = 0; -} else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; -} else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; -} -} -if (unlikely(!var33)) { -var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5236); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4883); fatal_exit(1); } { -nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#AAttrReassignExpr#n_value= on */ +nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$ACaretExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAttrReassignExpr#n_expr= for (self: AAttrReassignExpr, AExpr) */ -void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$ACaretExpr$n_expr= for (self: ACaretExpr, AExpr) */ +void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrReassignExpr#n_id= for (self: AAttrReassignExpr, TAttrid) */ -void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val* self, val* p0) { -val* var_node /* var node: TAttrid */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_node; /* _n_id on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AAttrReassignExpr#n_assign_op= for (self: AAttrReassignExpr, AAssignOp) */ -void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val* self, val* p0) { -val* var_node /* var node: AAssignOp */; +/* method parser_prod$ACaretExpr$n_op= for (self: ACaretExpr, Token) */ +void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_node; /* _n_assign_op on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrReassignExpr#n_value= for (self: AAttrReassignExpr, AExpr) */ -void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val* self, val* p0) { +/* method parser_prod$ACaretExpr$n_expr2= for (self: ACaretExpr, AExpr) */ +void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_node; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrReassignExpr#visit_all for (self: AAttrReassignExpr, Visitor) */ -void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ACaretExpr$visit_all for (self: ACaretExpr, Visitor) */ +void nitc__parser_prod___ACaretExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : TAttrid */; -val* var2 /* : AAssignOp */; -val* var3 /* : AExpr */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5265); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4907); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5266); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4908); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5267); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var3 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5268); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4909); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ACallExpr#init_acallexpr for (self: ACallExpr, nullable AExpr, nullable AQid, nullable AExprs) */ -void nitc__parser_prod___ACallExpr___init_acallexpr(val* self, val* p0, val* p1, val* p2) { +/* method parser_prod$AAmpExpr$init_aampexpr for (self: AAmpExpr, nullable AExpr, nullable TAmp, nullable AExpr) */ +void nitc__parser_prod___AAmpExpr___init_aampexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_qid /* var n_qid: nullable AQid */; -val* var_n_args /* var n_args: nullable AExprs */; +val* var_n_op /* var n_op: nullable TAmp */; +val* var_n_expr2 /* var n_expr2: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_qid = p1; -var_n_args = p2; +var_n_op = p1; +var_n_expr2 = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5278); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4919); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5279); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4920); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_qid == NULL)) { +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5280); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4921); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_n_qid; /* _n_qid on */ -if (var_n_qid == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5281); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4922); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_qid,self) on */ -if (unlikely(var_n_qid == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -if (unlikely(var_n_args == NULL)) { +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5282); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4923); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5283); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4924); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr2,self) on */ +if (unlikely(var_n_expr2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACallExpr#replace_child for (self: ACallExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AAmpExpr$replace_child for (self: AAmpExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -3867,7 +4476,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AQid */; +val* var7 /* : Token */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -3875,7 +4484,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AExprs */; +val* var17 /* : AExpr */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -3885,17 +4494,20 @@ int idtype25; const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5288); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4929); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -3923,26 +4535,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5289); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4930); fatal_exit(1); } { -nitc__parser_prod___ACallExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ACallExpr#n_expr= on */ +nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AAmpExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5292); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4933); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -3955,9 +4570,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AQid */ -cltype14 = type_nitc__AQid.color; -idtype15 = type_nitc__AQid.id; +/* isa TAmp */ +cltype14 = type_nitc__TAmp.color; +idtype15 = type_nitc__TAmp.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -3969,27 +4584,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5293); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAmp", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4934); fatal_exit(1); } { -nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self, var_new_child); /* Direct call parser_prod#ACallExpr#n_qid= on */ +nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AAmpExpr$n_op= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5296); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4937); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -4002,9 +4620,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa AExprs */ -cltype24 = type_nitc__AExprs.color; -idtype25 = type_nitc__AExprs.id; +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -4016,222 +4634,180 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5297); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4938); fatal_exit(1); } { -nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod#ACallExpr#n_args= on */ +nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AAmpExpr$n_expr2= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ACallExpr#n_expr= for (self: ACallExpr, AExpr) */ -void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AAmpExpr$n_expr= for (self: AAmpExpr, AExpr) */ +void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACallExpr#n_qid= for (self: ACallExpr, AQid) */ -void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val* self, val* p0) { -val* var_node /* var node: AQid */; +/* method parser_prod$AAmpExpr$n_op= for (self: AAmpExpr, Token) */ +void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_node; /* _n_qid on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACallExpr#n_args= for (self: ACallExpr, AExprs) */ -void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; +/* method parser_prod$AAmpExpr$n_expr2= for (self: AAmpExpr, AExpr) */ +void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ABinopExpr__n_expr2_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_node; /* _n_args on */ +self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val = var_node; /* _n_expr2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACallExpr#visit_all for (self: ACallExpr, Visitor) */ -void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AAmpExpr$visit_all for (self: AAmpExpr, Visitor) */ +void nitc__parser_prod___AAmpExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : AQid */; -val* var2 /* : AExprs */; +val* var1 /* : Token */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5321); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4962); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_op].val; /* _n_op on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5322); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4963); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ABinopExpr___n_expr2].val; /* _n_expr2 on */ if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5323); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4964); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ACallAssignExpr#init_acallassignexpr for (self: ACallAssignExpr, nullable AExpr, nullable AQid, nullable AExprs, nullable TAssign, nullable AExpr) */ -void nitc__parser_prod___ACallAssignExpr___init_acallassignexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4) { +/* method parser_prod$AUminusExpr$init_auminusexpr for (self: AUminusExpr, nullable TMinus, nullable AExpr) */ +void nitc__parser_prod___AUminusExpr___init_auminusexpr(val* self, val* p0, val* p1) { +val* var_n_op /* var n_op: nullable TMinus */; val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_qid /* var n_qid: nullable AQid */; -val* var_n_args /* var n_args: nullable AExprs */; -val* var_n_assign /* var n_assign: nullable TAssign */; -val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_expr = p0; -var_n_qid = p1; -var_n_args = p2; -var_n_assign = p3; -var_n_value = p4; -if (unlikely(var_n_expr == NULL)) { +var_n_op = p0; +var_n_expr = p1; +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5335); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4973); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5336); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4974); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ -if (unlikely(var_n_expr == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_qid == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5337); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_n_qid; /* _n_qid on */ -if (var_n_qid == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5338); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_qid,self) on */ -if (unlikely(var_n_qid == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; -} +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_args == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5339); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5340); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4975); fatal_exit(1); } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; -} -} -if (unlikely(var_n_assign == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5341); -fatal_exit(1); +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_n_assign; /* _n_assign on */ -if (var_n_assign == NULL) { PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5342); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4976); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign,self) on */ -if (unlikely(var_n_assign == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} -} -if (unlikely(var_n_value == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5343); -fatal_exit(1); +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_n_value; /* _n_value on */ -if (var_n_value == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5344); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ -if (unlikely(var_n_value == NULL)) { PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL6:(void)0; +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACallAssignExpr#replace_child for (self: ACallAssignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AUminusExpr$replace_child for (self: AUminusExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : AExpr */; +val* var /* : Token */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -4240,7 +4816,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AQid */; +val* var7 /* : AExpr */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -4248,43 +4824,22 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AExprs */; -short int var18 /* : Bool */; -short int var20 /* : Bool */; -short int var22 /* : Bool */; -short int var23 /* : Bool */; -int cltype24; -int idtype25; -const char* var_class_name26; -val* var27 /* : TAssign */; -short int var28 /* : Bool */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; -short int var33 /* : Bool */; -int cltype34; -int idtype35; -const char* var_class_name36; -val* var37 /* : AExpr */; -short int var38 /* : Bool */; -short int var40 /* : Bool */; -short int var42 /* : Bool */; -short int var43 /* : Bool */; -int cltype44; -int idtype45; -const char* var_class_name46; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5349); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4981); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -4297,9 +4852,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AExpr */ -cltype = type_nitc__AExpr.color; -idtype = type_nitc__AExpr.id; +/* isa TMinus */ +cltype = type_nitc__TMinus.color; +idtype = type_nitc__TMinus.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -4311,27 +4866,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5350); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TMinus", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4982); fatal_exit(1); } { -nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ACallAssignExpr#n_expr= on */ +nitc__parser_prod___AUminusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AUminusExpr$n_op= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5353); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4985); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -4344,9 +4902,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AQid */ -cltype14 = type_nitc__AQid.color; -idtype15 = type_nitc__AQid.id; +/* isa AExpr */ +cltype14 = type_nitc__AExpr.color; +idtype15 = type_nitc__AExpr.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -4358,409 +4916,410 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5354); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 4986); fatal_exit(1); } { -nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self, var_new_child); /* Direct call parser_prod#ACallAssignExpr#n_qid= on */ +nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AUminusExpr$n_expr= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5357); -fatal_exit(1); +RET_LABEL:; } +/* method parser_prod$AUminusExpr$n_op= for (self: AUminusExpr, Token) */ +void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ -var22 = var17 == var_other; -var20 = var22; -goto RET_LABEL21; -RET_LABEL21:(void)0; +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } } -var18 = var20; -goto RET_LABEL19; -RET_LABEL19:(void)0; +RET_LABEL:; } +/* method parser_prod$AUminusExpr$n_expr= for (self: AUminusExpr, AExpr) */ +void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -if (var18){ -/* isa AExprs */ -cltype24 = type_nitc__AExprs.color; -idtype25 = type_nitc__AExprs.id; -if(var_new_child == NULL) { -var23 = 0; -} else { -if(cltype24 >= var_new_child->type->table_size) { -var23 = 0; -} else { -var23 = var_new_child->type->type_table[cltype24] == idtype25; } +RET_LABEL:; } -if (unlikely(!var23)) { -var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5358); +/* method parser_prod$AUminusExpr$visit_all for (self: AUminusExpr, Visitor) */ +void nitc__parser_prod___AUminusExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : Token */; +val* var1 /* : AExpr */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5005); fatal_exit(1); } { -nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod#ACallAssignExpr#n_args= on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -goto RET_LABEL; -} else { +var1 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var27 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5361); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5006); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var27,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var32 = var27 == var_other; -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; -} +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; +RET_LABEL:; } +/* method parser_prod$AUplusExpr$init_auplusexpr for (self: AUplusExpr, nullable TPlus, nullable AExpr) */ +void nitc__parser_prod___AUplusExpr___init_auplusexpr(val* self, val* p0, val* p1) { +val* var_n_op /* var n_op: nullable TPlus */; +val* var_n_expr /* var n_expr: nullable AExpr */; +{ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; } -if (var28){ -/* isa TAssign */ -cltype34 = type_nitc__TAssign.color; -idtype35 = type_nitc__TAssign.id; -if(var_new_child == NULL) { -var33 = 0; -} else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; -} else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; } +var_n_op = p0; +var_n_expr = p1; +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var33)) { -var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5362); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5015); fatal_exit(1); } -{ -nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self, var_new_child); /* Direct call parser_prod#ACallAssignExpr#n_assign= on */ +self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -goto RET_LABEL; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5016); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var37 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var37 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5365); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -{ -{ /* Inline kernel#Object#== (var37,var_old_child) on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; +} +} +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5017); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5018); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AUplusExpr$replace_child for (self: AUplusExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +val* var_old_child /* var old_child: ANode */; +val* var_new_child /* var new_child: nullable ANode */; +val* var /* : Token */; +short int var1 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var3 /* : Bool */; +short int var5 /* : Bool */; +short int var6 /* : Bool */; +int cltype; +int idtype; +const char* var_class_name; +val* var7 /* : AExpr */; +short int var8 /* : Bool */; +short int var10 /* : Bool */; +short int var12 /* : Bool */; +short int var13 /* : Bool */; +int cltype14; +int idtype15; +const char* var_class_name16; +var_old_child = p0; +var_new_child = p1; +var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5023); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var37,var_other) on */ -var42 = var37 == var_other; -var40 = var42; -goto RET_LABEL41; -RET_LABEL41:(void)0; +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ +var5 = var == var_other; +var3 = var5; +goto RET_LABEL4; +RET_LABEL4:(void)0; } } -var38 = var40; -goto RET_LABEL39; -RET_LABEL39:(void)0; +var1 = var3; +goto RET_LABEL2; +RET_LABEL2:(void)0; } } -if (var38){ -/* isa AExpr */ -cltype44 = type_nitc__AExpr.color; -idtype45 = type_nitc__AExpr.id; +if (var1){ +/* isa TPlus */ +cltype = type_nitc__TPlus.color; +idtype = type_nitc__TPlus.id; if(var_new_child == NULL) { -var43 = 0; +var6 = 0; } else { -if(cltype44 >= var_new_child->type->table_size) { -var43 = 0; +if(cltype >= var_new_child->type->table_size) { +var6 = 0; } else { -var43 = var_new_child->type->type_table[cltype44] == idtype45; +var6 = var_new_child->type->type_table[cltype] == idtype; } } -if (unlikely(!var43)) { -var_class_name46 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name46); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5366); +if (unlikely(!var6)) { +var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TPlus", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5024); fatal_exit(1); } { -nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#ACallAssignExpr#n_value= on */ +nitc__parser_prod___AUplusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AUplusExpr$n_op= on */ } goto RET_LABEL; } else { } -RET_LABEL:; +var7 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5027); +fatal_exit(1); } -/* method parser_prod#ACallAssignExpr#n_expr= for (self: ACallAssignExpr, AExpr) */ -void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; +{ /* Inline kernel$Object$== (var7,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var12 = var7 == var_other; +var10 = var12; +goto RET_LABEL11; +RET_LABEL11:(void)0; } } -RET_LABEL:; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } -/* method parser_prod#ACallAssignExpr#n_qid= for (self: ACallAssignExpr, AQid) */ -void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val* self, val* p0) { -val* var_node /* var node: AQid */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_node; /* _n_qid on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; +} +if (var8){ +/* isa AExpr */ +cltype14 = type_nitc__AExpr.color; +idtype15 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var13 = 0; +} else { +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; +} else { +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -RET_LABEL:; +if (unlikely(!var13)) { +var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5028); +fatal_exit(1); } -/* method parser_prod#ACallAssignExpr#n_args= for (self: ACallAssignExpr, AExprs) */ -void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_node; /* _n_args on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; +nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AUplusExpr$n_expr= on */ } +goto RET_LABEL; +} else { } RET_LABEL:; } -/* method parser_prod#ACallAssignExpr#n_assign= for (self: ACallAssignExpr, TAssign) */ -void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val* self, val* p0) { -val* var_node /* var node: TAssign */; +/* method parser_prod$AUplusExpr$n_op= for (self: AUplusExpr, Token) */ +void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_node; /* _n_assign on */ +self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACallAssignExpr#n_value= for (self: ACallAssignExpr, AExpr) */ -void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val* self, val* p0) { +/* method parser_prod$AUplusExpr$n_expr= for (self: AUplusExpr, AExpr) */ +void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_node; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACallAssignExpr#visit_all for (self: ACallAssignExpr, Visitor) */ -void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AUplusExpr$visit_all for (self: AUplusExpr, Visitor) */ +void nitc__parser_prod___AUplusExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : AExpr */; -val* var1 /* : AQid */; -val* var2 /* : AExprs */; -val* var3 /* : TAssign */; -val* var4 /* : AExpr */; +val* var /* : Token */; +val* var1 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5400); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var1 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5401); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var2 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5402); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5047); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var3 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5403); -fatal_exit(1); +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -{ -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var4 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5404); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5048); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ACallReassignExpr#init_acallreassignexpr for (self: ACallReassignExpr, nullable AExpr, nullable AQid, nullable AExprs, nullable AAssignOp, nullable AExpr) */ -void nitc__parser_prod___ACallReassignExpr___init_acallreassignexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4) { +/* method parser_prod$AUtildeExpr$init_autildeexpr for (self: AUtildeExpr, nullable TTilde, nullable AExpr) */ +void nitc__parser_prod___AUtildeExpr___init_autildeexpr(val* self, val* p0, val* p1) { +val* var_n_op /* var n_op: nullable TTilde */; val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_qid /* var n_qid: nullable AQid */; -val* var_n_args /* var n_args: nullable AExprs */; -val* var_n_assign_op /* var n_assign_op: nullable AAssignOp */; -val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_expr = p0; -var_n_qid = p1; -var_n_args = p2; -var_n_assign_op = p3; -var_n_value = p4; -if (unlikely(var_n_expr == NULL)) { +var_n_op = p0; +var_n_expr = p1; +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5416); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5057); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_n_op; /* _n_op on */ +if (var_n_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5417); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5058); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ -if (unlikely(var_n_expr == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_op,self) on */ +if (unlikely(var_n_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_qid == NULL)) { +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5418); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5059); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_n_qid; /* _n_qid on */ -if (var_n_qid == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5419); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5060); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_qid,self) on */ -if (unlikely(var_n_qid == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -if (unlikely(var_n_args == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5420); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5421); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); +RET_LABEL:; } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; -} -} -if (unlikely(var_n_assign_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5422); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_n_assign_op; /* _n_assign_op on */ -if (var_n_assign_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5423); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign_op,self) on */ -if (unlikely(var_n_assign_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_assign_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} -} -if (unlikely(var_n_value == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5424); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_n_value; /* _n_value on */ -if (var_n_value == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5425); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ -if (unlikely(var_n_value == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL6:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ACallReassignExpr#replace_child for (self: ACallReassignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AUtildeExpr$replace_child for (self: AUtildeExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : AExpr */; +val* var /* : Token */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -4769,7 +5328,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AQid */; +val* var7 /* : AExpr */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -4777,43 +5336,22 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AExprs */; -short int var18 /* : Bool */; -short int var20 /* : Bool */; -short int var22 /* : Bool */; -short int var23 /* : Bool */; -int cltype24; -int idtype25; -const char* var_class_name26; -val* var27 /* : AAssignOp */; -short int var28 /* : Bool */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; -short int var33 /* : Bool */; -int cltype34; -int idtype35; -const char* var_class_name36; -val* var37 /* : AExpr */; -short int var38 /* : Bool */; -short int var40 /* : Bool */; -short int var42 /* : Bool */; -short int var43 /* : Bool */; -int cltype44; -int idtype45; -const char* var_class_name46; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5430); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5065); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -4826,9 +5364,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AExpr */ -cltype = type_nitc__AExpr.color; -idtype = type_nitc__AExpr.id; +/* isa TTilde */ +cltype = type_nitc__TTilde.color; +idtype = type_nitc__TTilde.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -4840,27 +5378,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5431); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TTilde", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5066); fatal_exit(1); } { -nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ACallReassignExpr#n_expr= on */ +nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(self, var_new_child); /* Direct call parser_prod$AUtildeExpr$n_op= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5434); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5069); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -4873,9 +5414,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AQid */ -cltype14 = type_nitc__AQid.color; -idtype15 = type_nitc__AQid.id; +/* isa AExpr */ +cltype14 = type_nitc__AExpr.color; +idtype15 = type_nitc__AExpr.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -4887,393 +5428,239 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5435); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5070); fatal_exit(1); } { -nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self, var_new_child); /* Direct call parser_prod#ACallReassignExpr#n_qid= on */ +nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AUtildeExpr$n_expr= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5438); -fatal_exit(1); +RET_LABEL:; } +/* method parser_prod$AUtildeExpr$n_op= for (self: AUtildeExpr, Token) */ +void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__AUnaryopExpr__n_op_61d(val* self, val* p0) { +val* var_node /* var node: Token */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val = var_node; /* _n_op on */ { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ -var22 = var17 == var_other; -var20 = var22; -goto RET_LABEL21; -RET_LABEL21:(void)0; +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } } -var18 = var20; -goto RET_LABEL19; -RET_LABEL19:(void)0; +RET_LABEL:; } +/* method parser_prod$AUtildeExpr$n_expr= for (self: AUtildeExpr, AExpr) */ +void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -if (var18){ -/* isa AExprs */ -cltype24 = type_nitc__AExprs.color; -idtype25 = type_nitc__AExprs.id; -if(var_new_child == NULL) { -var23 = 0; -} else { -if(cltype24 >= var_new_child->type->table_size) { -var23 = 0; -} else { -var23 = var_new_child->type->type_table[cltype24] == idtype25; } +RET_LABEL:; } -if (unlikely(!var23)) { -var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5439); +/* method parser_prod$AUtildeExpr$visit_all for (self: AUtildeExpr, Visitor) */ +void nitc__parser_prod___AUtildeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : Token */; +val* var1 /* : AExpr */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AUnaryopExpr___n_op].val; /* _n_op on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5089); fatal_exit(1); } { -nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod#ACallReassignExpr#n_args= on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -goto RET_LABEL; -} else { +var1 = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var27 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5442); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5090); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var27,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var32 = var27 == var_other; -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } +RET_LABEL:; } -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; -} +/* method parser_prod$ANewExpr$init_anewexpr for (self: ANewExpr, nullable TKwnew, nullable AType, nullable AQid, nullable AExprs) */ +void nitc__parser_prod___ANewExpr___init_anewexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +val* var_n_kwnew /* var n_kwnew: nullable TKwnew */; +val* var_n_type /* var n_type: nullable AType */; +val* var_n_qid /* var n_qid: nullable AQid */; +val* var_n_args /* var n_args: nullable AExprs */; +short int var /* : Bool */; +short int var4 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var6 /* : Bool */; +short int var7 /* : Bool */; +{ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; } -if (var28){ -/* isa AAssignOp */ -cltype34 = type_nitc__AAssignOp.color; -idtype35 = type_nitc__AAssignOp.id; -if(var_new_child == NULL) { -var33 = 0; -} else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; -} else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; } +var_n_kwnew = p0; +var_n_type = p1; +var_n_qid = p2; +var_n_args = p3; +if (unlikely(var_n_kwnew == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var33)) { -var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5443); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5101); fatal_exit(1); } -{ -nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self, var_new_child); /* Direct call parser_prod#ACallReassignExpr#n_assign_op= on */ +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val = var_n_kwnew; /* _n_kwnew on */ +if (var_n_kwnew == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -goto RET_LABEL; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5102); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwnew,self) on */ +if (unlikely(var_n_kwnew == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var37 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var37 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5446); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -{ -{ /* Inline kernel#Object#== (var37,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var37,var_other) on */ -var42 = var37 == var_other; -var40 = var42; -goto RET_LABEL41; -RET_LABEL41:(void)0; +var_n_kwnew->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } } -var38 = var40; -goto RET_LABEL39; -RET_LABEL39:(void)0; +if (unlikely(var_n_type == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5103); +fatal_exit(1); } -if (var38){ -/* isa AExpr */ -cltype44 = type_nitc__AExpr.color; -idtype45 = type_nitc__AExpr.id; -if(var_new_child == NULL) { -var43 = 0; -} else { -if(cltype44 >= var_new_child->type->table_size) { -var43 = 0; -} else { -var43 = var_new_child->type->type_table[cltype44] == idtype45; +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val = var_n_type; /* _n_type on */ +if (var_n_type == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5104); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_type,self) on */ +if (unlikely(var_n_type == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var43)) { -var_class_name46 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name46); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5447); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -{ -nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#ACallReassignExpr#n_value= on */ -} -goto RET_LABEL; -} else { -} -RET_LABEL:; -} -/* method parser_prod#ACallReassignExpr#n_expr= for (self: ACallReassignExpr, AExpr) */ -void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ACallReassignExpr#n_qid= for (self: ACallReassignExpr, AQid) */ -void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val* self, val* p0) { -val* var_node /* var node: AQid */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_node; /* _n_qid on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ACallReassignExpr#n_args= for (self: ACallReassignExpr, AExprs) */ -void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_node; /* _n_args on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ACallReassignExpr#n_assign_op= for (self: ACallReassignExpr, AAssignOp) */ -void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val* self, val* p0) { -val* var_node /* var node: AAssignOp */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_node; /* _n_assign_op on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ACallReassignExpr#n_value= for (self: ACallReassignExpr, AExpr) */ -void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_node; /* _n_value on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ACallReassignExpr#visit_all for (self: ACallReassignExpr, Visitor) */ -void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : AExpr */; -val* var1 /* : AQid */; -val* var2 /* : AExprs */; -val* var3 /* : AAssignOp */; -val* var4 /* : AExpr */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5481); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var1 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5482); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var2 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5483); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var3 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5484); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var4 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5485); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#ASuperExpr#init_asuperexpr for (self: ASuperExpr, nullable AQualified, nullable TKwsuper, nullable AExprs) */ -void nitc__parser_prod___ASuperExpr___init_asuperexpr(val* self, val* p0, val* p1, val* p2) { -val* var_n_qualified /* var n_qualified: nullable AQualified */; -val* var_n_kwsuper /* var n_kwsuper: nullable TKwsuper */; -val* var_n_args /* var n_args: nullable AExprs */; -short int var /* : Bool */; -short int var2 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var4 /* : Bool */; -short int var5 /* : Bool */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } -var_n_qualified = p0; -var_n_kwsuper = p1; -var_n_args = p2; -self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val = var_n_qualified; /* _n_qualified on */ -if (var_n_qualified == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val = var_n_qid; /* _n_qid on */ +if (var_n_qid == NULL) { var = 0; /* is null */ } else { var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_qualified,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_qid,((val*)NULL)) on */ var_other = ((val*)NULL); { -var4 = ((short int(*)(val* self, val* p0))(var_n_qualified->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_qualified, var_other); /* == on */ +var6 = ((short int(*)(val* self, val* p0))(var_n_qid->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_qid, var_other); /* == on */ } -var5 = !var4; -var2 = var5; -goto RET_LABEL3; -RET_LABEL3:(void)0; +var7 = !var6; +var4 = var7; +goto RET_LABEL5; +RET_LABEL5:(void)0; } -var = var2; +var = var4; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_qualified,self) on */ -var_n_qualified->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL6:(void)0; -} -} -} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on */ +var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL8:(void)0; } -if (unlikely(var_n_kwsuper == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5497); -fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val = var_n_kwsuper; /* _n_kwsuper on */ -if (var_n_kwsuper == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5498); -fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwsuper,self) on */ -if (unlikely(var_n_kwsuper == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwsuper->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL7:(void)0; -} } if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5499); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5107); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val = var_n_args; /* _n_args on */ +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val = var_n_args; /* _n_args on */ if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5500); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5108); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL8:(void)0; +RET_LABEL9:(void)0; } } RET_LABEL:; } -/* method parser_prod#ASuperExpr#replace_child for (self: ASuperExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ASuperExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ANewExpr$replace_child for (self: ANewExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ANewExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : nullable AQualified */; +val* var /* : TKwnew */; short int var1 /* : Bool */; -short int var2 /* : Bool */; val* var_other /* var other: nullable Object */; -short int var4 /* : Bool */; +short int var3 /* : Bool */; +short int var5 /* : Bool */; short int var6 /* : Bool */; -short int var7 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var8 /* : TKwsuper */; -short int var9 /* : Bool */; -short int var11 /* : Bool */; +val* var7 /* : AType */; +short int var8 /* : Bool */; +short int var10 /* : Bool */; +short int var12 /* : Bool */; short int var13 /* : Bool */; -short int var14 /* : Bool */; -int cltype15; -int idtype16; -const char* var_class_name17; -val* var18 /* : AExprs */; +int cltype14; +int idtype15; +const char* var_class_name16; +val* var17 /* : nullable AQid */; +short int var18 /* : Bool */; short int var19 /* : Bool */; short int var21 /* : Bool */; short int var23 /* : Bool */; @@ -5281,112 +5668,125 @@ short int var24 /* : Bool */; int cltype25; int idtype26; const char* var_class_name27; +val* var28 /* : AExprs */; +short int var29 /* : Bool */; +short int var31 /* : Bool */; +short int var33 /* : Bool */; +short int var34 /* : Bool */; +int cltype35; +int idtype36; +const char* var_class_name37; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val; /* _n_qualified on */ -if (var == NULL) { -var1 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +var = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val; /* _n_kwnew on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnew"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5113); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ -var6 = var == var_other; -var4 = var6; -goto RET_LABEL5; -RET_LABEL5:(void)0; +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ +var5 = var == var_other; +var3 = var5; +goto RET_LABEL4; +RET_LABEL4:(void)0; } } -var2 = var4; -goto RET_LABEL3; -RET_LABEL3:(void)0; +var1 = var3; +goto RET_LABEL2; +RET_LABEL2:(void)0; } -var1 = var2; } if (var1){ -/* isa nullable AQualified */ -cltype = type_nullable__nitc__AQualified.color; -idtype = type_nullable__nitc__AQualified.id; +/* isa TKwnew */ +cltype = type_nitc__TKwnew.color; +idtype = type_nitc__TKwnew.id; if(var_new_child == NULL) { -var7 = 1; +var6 = 0; } else { if(cltype >= var_new_child->type->table_size) { -var7 = 0; +var6 = 0; } else { -var7 = var_new_child->type->type_table[cltype] == idtype; +var6 = var_new_child->type->type_table[cltype] == idtype; } } -if (unlikely(!var7)) { +if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQualified", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5506); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnew", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5114); fatal_exit(1); } { -nitc__parser_prod___ASuperExpr___n_qualified_61d(self, var_new_child); /* Direct call parser_prod#ASuperExpr#n_qualified= on */ +nitc__parser_prod___ANewExpr___n_kwnew_61d(self, var_new_child); /* Direct call parser_prod$ANewExpr$n_kwnew= on */ } goto RET_LABEL; } else { } -var8 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val; /* _n_kwsuper on */ -if (unlikely(var8 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5509); +var7 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val; /* _n_type on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5117); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ -var13 = var8 == var_other; -var11 = var13; -goto RET_LABEL12; -RET_LABEL12:(void)0; +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var12 = var7 == var_other; +var10 = var12; +goto RET_LABEL11; +RET_LABEL11:(void)0; } } -var9 = var11; -goto RET_LABEL10; -RET_LABEL10:(void)0; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } } -if (var9){ -/* isa TKwsuper */ -cltype15 = type_nitc__TKwsuper.color; -idtype16 = type_nitc__TKwsuper.id; +if (var8){ +/* isa AType */ +cltype14 = type_nitc__AType.color; +idtype15 = type_nitc__AType.id; if(var_new_child == NULL) { -var14 = 0; +var13 = 0; } else { -if(cltype15 >= var_new_child->type->table_size) { -var14 = 0; +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; } else { -var14 = var_new_child->type->type_table[cltype15] == idtype16; +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -if (unlikely(!var14)) { -var_class_name17 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwsuper", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5510); +if (unlikely(!var13)) { +var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5118); fatal_exit(1); } { -nitc__parser_prod___ASuperExpr___n_kwsuper_61d(self, var_new_child); /* Direct call parser_prod#ASuperExpr#n_kwsuper= on */ +nitc__parser_prod___ANewExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod$ANewExpr$n_type= on */ } goto RET_LABEL; } else { } -var18 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val; /* _n_args on */ -if (unlikely(var18 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5513); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var18,var_old_child) on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val; /* _n_qid on */ +if (var17 == NULL) { +var18 = 0; /* cannot be null */ +} else { +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var18,var_other) on */ -var23 = var18 == var_other; +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var23 = var17 == var_other; var21 = var23; goto RET_LABEL22; RET_LABEL22:(void)0; @@ -5396,13 +5796,14 @@ var19 = var21; goto RET_LABEL20; RET_LABEL20:(void)0; } +var18 = var19; } -if (var19){ -/* isa AExprs */ -cltype25 = type_nitc__AExprs.color; -idtype26 = type_nitc__AExprs.id; +if (var18){ +/* isa nullable AQid */ +cltype25 = type_nullable__nitc__AQid.color; +idtype26 = type_nullable__nitc__AQid.id; if(var_new_child == NULL) { -var24 = 0; +var24 = 1; } else { if(cltype25 >= var_new_child->type->table_size) { var24 = 0; @@ -5412,38 +5813,114 @@ var24 = var_new_child->type->type_table[cltype25] == idtype26; } if (unlikely(!var24)) { var_class_name27 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name27); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5514); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQid", var_class_name27); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5122); +fatal_exit(1); +} +{ +nitc__parser_prod___ANewExpr___n_qid_61d(self, var_new_child); /* Direct call parser_prod$ANewExpr$n_qid= on */ +} +goto RET_LABEL; +} else { +} +var28 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val; /* _n_args on */ +if (unlikely(var28 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5125); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var28,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var28,var_other) on */ +var33 = var28 == var_other; +var31 = var33; +goto RET_LABEL32; +RET_LABEL32:(void)0; +} +} +var29 = var31; +goto RET_LABEL30; +RET_LABEL30:(void)0; +} +} +if (var29){ +/* isa AExprs */ +cltype35 = type_nitc__AExprs.color; +idtype36 = type_nitc__AExprs.id; +if(var_new_child == NULL) { +var34 = 0; +} else { +if(cltype35 >= var_new_child->type->table_size) { +var34 = 0; +} else { +var34 = var_new_child->type->type_table[cltype35] == idtype36; +} +} +if (unlikely(!var34)) { +var_class_name37 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name37); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5126); fatal_exit(1); } { -nitc__parser_prod___ASuperExpr___n_args_61d(self, var_new_child); /* Direct call parser_prod#ASuperExpr#n_args= on */ +nitc__parser_prod___ANewExpr___n_args_61d(self, var_new_child); /* Direct call parser_prod$ANewExpr$n_args= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ASuperExpr#n_qualified= for (self: ASuperExpr, nullable AQualified) */ -void nitc__parser_prod___ASuperExpr___n_qualified_61d(val* self, val* p0) { -val* var_node /* var node: nullable AQualified */; +/* method parser_prod$ANewExpr$n_kwnew= for (self: ANewExpr, TKwnew) */ +void nitc__parser_prod___ANewExpr___n_kwnew_61d(val* self, val* p0) { +val* var_node /* var node: TKwnew */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val = var_node; /* _n_kwnew on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$ANewExpr$n_type= for (self: ANewExpr, AType) */ +void nitc__parser_prod___ANewExpr___n_type_61d(val* self, val* p0) { +val* var_node /* var node: AType */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val = var_node; /* _n_type on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$ANewExpr$n_qid= for (self: ANewExpr, nullable AQid) */ +void nitc__parser_prod___ANewExpr___n_qid_61d(val* self, val* p0) { +val* var_node /* var node: nullable AQid */; short int var /* : Bool */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; short int var4 /* : Bool */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val = var_node; /* _n_qualified on */ +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val = var_node; /* _n_qid on */ if (var_node == NULL) { var = 0; /* is null */ } else { var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_node,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_node,((val*)NULL)) on */ var_other = ((val*)NULL); { -var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ +var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ } var4 = !var3; var1 = var4; @@ -5454,8 +5931,8 @@ var = var1; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL5:(void)0; } } @@ -5463,143 +5940,144 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#ASuperExpr#n_kwsuper= for (self: ASuperExpr, TKwsuper) */ -void nitc__parser_prod___ASuperExpr___n_kwsuper_61d(val* self, val* p0) { -val* var_node /* var node: TKwsuper */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val = var_node; /* _n_kwsuper on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ASuperExpr#n_args= for (self: ASuperExpr, AExprs) */ -void nitc__parser_prod___ASuperExpr___n_args_61d(val* self, val* p0) { +/* method parser_prod$ANewExpr$n_args= for (self: ANewExpr, AExprs) */ +void nitc__parser_prod___ANewExpr___n_args_61d(val* self, val* p0) { val* var_node /* var node: AExprs */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val = var_node; /* _n_args on */ +self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val = var_node; /* _n_args on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ASuperExpr#visit_all for (self: ASuperExpr, Visitor) */ -void nitc__parser_prod___ASuperExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ANewExpr$visit_all for (self: ANewExpr, Visitor) */ +void nitc__parser_prod___ANewExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : nullable AQualified */; -val* var1 /* : TKwsuper */; -val* var2 /* : AExprs */; +val* var /* : TKwnew */; +val* var1 /* : AType */; +val* var2 /* : nullable AQid */; +val* var3 /* : AExprs */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val; /* _n_qualified on */ +var = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_kwnew].val; /* _n_kwnew on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnew"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5155); +fatal_exit(1); +} { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val; /* _n_kwsuper on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_type].val; /* _n_type on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5539); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5156); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var2 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_qid].val; /* _n_qid on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var3 = self->attrs[COLOR_nitc__parser_nodes__ANewExpr___n_args].val; /* _n_args on */ +if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var2 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val; /* _n_args on */ -if (unlikely(var2 == NULL)) { PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5540); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5158); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AInitExpr#init_ainitexpr for (self: AInitExpr, nullable AExpr, nullable TKwinit, nullable AExprs) */ -void nitc__parser_prod___AInitExpr___init_ainitexpr(val* self, val* p0, val* p1, val* p2) { +/* method parser_prod$AAttrExpr$init_aattrexpr for (self: AAttrExpr, nullable AExpr, nullable TAttrid) */ +void nitc__parser_prod___AAttrExpr___init_aattrexpr(val* self, val* p0, val* p1) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_kwinit /* var n_kwinit: nullable TKwinit */; -val* var_n_args /* var n_args: nullable AExprs */; +val* var_n_id /* var n_id: nullable TAttrid */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_kwinit = p1; -var_n_args = p2; +var_n_id = p1; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5550); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5167); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5551); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5168); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_kwinit == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5552); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val = var_n_kwinit; /* _n_kwinit on */ -if (var_n_kwinit == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5553); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwinit,self) on */ -if (unlikely(var_n_kwinit == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwinit->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; -} +if (unlikely(var_n_id == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_args == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5554); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5169); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_n_id; /* _n_id on */ +if (var_n_id == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5555); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5170); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_id,self) on */ +if (unlikely(var_n_id == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; +var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } RET_LABEL:; } -/* method parser_prod#AInitExpr#replace_child for (self: AInitExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AAttrExpr$replace_child for (self: AAttrExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -5611,7 +6089,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TKwinit */; +val* var7 /* : TAttrid */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -5619,27 +6097,22 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AExprs */; -short int var18 /* : Bool */; -short int var20 /* : Bool */; -short int var22 /* : Bool */; -short int var23 /* : Bool */; -int cltype24; -int idtype25; -const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5560); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5175); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -5667,26 +6140,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5561); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5176); fatal_exit(1); } { -nitc__parser_prod___AInitExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AInitExpr#n_expr= on */ +nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AAttrExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val; /* _n_kwinit on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinit"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5564); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5179); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -5699,9 +6175,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TKwinit */ -cltype14 = type_nitc__TKwinit.color; -idtype15 = type_nitc__TKwinit.id; +/* isa TAttrid */ +cltype14 = type_nitc__TAttrid.color; +idtype15 = type_nitc__TAttrid.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -5713,197 +6189,215 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwinit", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5565); -fatal_exit(1); -} -{ -nitc__parser_prod___AInitExpr___n_kwinit_61d(self, var_new_child); /* Direct call parser_prod#AInitExpr#n_kwinit= on */ -} -goto RET_LABEL; -} else { -} -var17 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val; /* _n_args on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5568); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var17,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ -var22 = var17 == var_other; -var20 = var22; -goto RET_LABEL21; -RET_LABEL21:(void)0; -} -} -var18 = var20; -goto RET_LABEL19; -RET_LABEL19:(void)0; -} -} -if (var18){ -/* isa AExprs */ -cltype24 = type_nitc__AExprs.color; -idtype25 = type_nitc__AExprs.id; -if(var_new_child == NULL) { -var23 = 0; -} else { -if(cltype24 >= var_new_child->type->table_size) { -var23 = 0; -} else { -var23 = var_new_child->type->type_table[cltype24] == idtype25; -} -} -if (unlikely(!var23)) { -var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5569); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5180); fatal_exit(1); } { -nitc__parser_prod___AInitExpr___n_args_61d(self, var_new_child); /* Direct call parser_prod#AInitExpr#n_args= on */ +nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod$AAttrExpr$n_id= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AInitExpr#n_expr= for (self: AInitExpr, AExpr) */ -void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AAttrExpr$n_expr= for (self: AAttrExpr, AExpr) */ +void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AInitExpr#n_kwinit= for (self: AInitExpr, TKwinit) */ -void nitc__parser_prod___AInitExpr___n_kwinit_61d(val* self, val* p0) { -val* var_node /* var node: TKwinit */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val = var_node; /* _n_kwinit on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AInitExpr#n_args= for (self: AInitExpr, AExprs) */ -void nitc__parser_prod___AInitExpr___n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; +/* method parser_prod$AAttrExpr$n_id= for (self: AAttrExpr, TAttrid) */ +void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val* self, val* p0) { +val* var_node /* var node: TAttrid */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val = var_node; /* _n_args on */ +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_node; /* _n_id on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AInitExpr#visit_all for (self: AInitExpr, Visitor) */ -void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AAttrExpr$visit_all for (self: AAttrExpr, Visitor) */ +void nitc__parser_prod___AAttrExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : TKwinit */; -val* var2 /* : AExprs */; +val* var1 /* : TAttrid */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5593); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5199); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val; /* _n_kwinit on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinit"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5594); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var2 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val; /* _n_args on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5595); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5200); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ABraExpr#init_abraexpr for (self: ABraExpr, nullable AExpr, nullable AExprs) */ -void nitc__parser_prod___ABraExpr___init_abraexpr(val* self, val* p0, val* p1) { +/* method parser_prod$AAttrAssignExpr$init_aattrassignexpr for (self: AAttrAssignExpr, nullable AExpr, nullable TAttrid, nullable TAssign, nullable AExpr) */ +void nitc__parser_prod___AAttrAssignExpr___init_aattrassignexpr(val* self, val* p0, val* p1, val* p2, val* p3) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_args /* var n_args: nullable AExprs */; +val* var_n_id /* var n_id: nullable TAttrid */; +val* var_n_assign /* var n_assign: nullable TAssign */; +val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_args = p1; +var_n_id = p1; +var_n_assign = p2; +var_n_value = p3; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5604); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5211); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5605); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5212); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_args == NULL)) { +if (unlikely(var_n_id == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5606); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5213); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_n_id; /* _n_id on */ +if (var_n_id == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5607); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5214); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_id,self) on */ +if (unlikely(var_n_id == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } +if (unlikely(var_n_assign == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5215); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_n_assign; /* _n_assign on */ +if (var_n_assign == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5216); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on */ +if (unlikely(var_n_assign == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; +} +} +if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5217); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_n_value; /* _n_value on */ +if (var_n_value == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5218); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_value,self) on */ +if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL5:(void)0; +} +} RET_LABEL:; } -/* method parser_prod#ABraExpr#replace_child for (self: ABraExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AAttrAssignExpr$replace_child for (self: AAttrAssignExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -5915,7 +6409,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AExprs */; +val* var7 /* : TAttrid */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -5923,19 +6417,38 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; +val* var17 /* : TAssign */; +short int var18 /* : Bool */; +short int var20 /* : Bool */; +short int var22 /* : Bool */; +short int var23 /* : Bool */; +int cltype24; +int idtype25; +const char* var_class_name26; +val* var27 /* : AExpr */; +short int var28 /* : Bool */; +short int var30 /* : Bool */; +short int var32 /* : Bool */; +short int var33 /* : Bool */; +int cltype34; +int idtype35; +const char* var_class_name36; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5612); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5223); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -5963,26 +6476,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5613); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5224); fatal_exit(1); } { -nitc__parser_prod___ABraExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ABraExpr#n_expr= on */ +nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AAttrAssignExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5616); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5227); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -5995,9 +6511,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AExprs */ -cltype14 = type_nitc__AExprs.color; -idtype15 = type_nitc__AExprs.id; +/* isa TAttrid */ +cltype14 = type_nitc__TAttrid.color; +idtype15 = type_nitc__TAttrid.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -6009,163 +6525,357 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5617); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5228); fatal_exit(1); } { -nitc__parser_prod___ABraExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod#ABraExpr#n_args= on */ +nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod$AAttrAssignExpr$n_id= on */ } goto RET_LABEL; } else { } -RET_LABEL:; +var17 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5231); +fatal_exit(1); } -/* method parser_prod#ABraExpr#n_expr= for (self: ABraExpr, AExpr) */ -void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; +{ /* Inline kernel$Object$== (var17,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; } } -RET_LABEL:; +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } -/* method parser_prod#ABraExpr#n_args= for (self: ABraExpr, AExprs) */ -void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_node; /* _n_args on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; } +if (var18){ +/* isa TAssign */ +cltype24 = type_nitc__TAssign.color; +idtype25 = type_nitc__TAssign.id; +if(var_new_child == NULL) { +var23 = 0; +} else { +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; +} else { +var23 = var_new_child->type->type_table[cltype24] == idtype25; } -RET_LABEL:; } -/* method parser_prod#ABraExpr#visit_all for (self: ABraExpr, Visitor) */ -void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : AExpr */; -val* var1 /* : AExprs */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5636); +if (unlikely(!var23)) { +var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5232); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self, var_new_child); /* Direct call parser_prod$AAttrAssignExpr$n_assign= on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +goto RET_LABEL; +} else { +} +var27 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var27 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5235); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var27,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ +var32 = var27 == var_other; +var30 = var32; +goto RET_LABEL31; +RET_LABEL31:(void)0; +} +} +var28 = var30; +goto RET_LABEL29; +RET_LABEL29:(void)0; +} +} +if (var28){ +/* isa AExpr */ +cltype34 = type_nitc__AExpr.color; +idtype35 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var33 = 0; +} else { +if(cltype34 >= var_new_child->type->table_size) { +var33 = 0; +} else { +var33 = var_new_child->type->type_table[cltype34] == idtype35; +} +} +if (unlikely(!var33)) { +var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5236); +fatal_exit(1); +} +{ +nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$AAttrAssignExpr$n_value= on */ +} +goto RET_LABEL; +} else { +} +RET_LABEL:; +} +/* method parser_prod$AAttrAssignExpr$n_expr= for (self: AAttrAssignExpr, AExpr) */ +void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_node; /* _n_expr on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AAttrAssignExpr$n_id= for (self: AAttrAssignExpr, TAttrid) */ +void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val* self, val* p0) { +val* var_node /* var node: TAttrid */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_node; /* _n_id on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AAttrAssignExpr$n_assign= for (self: AAttrAssignExpr, TAssign) */ +void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val* self, val* p0) { +val* var_node /* var node: TAssign */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_node; /* _n_assign on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AAttrAssignExpr$n_value= for (self: AAttrAssignExpr, AExpr) */ +void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_node; /* _n_value on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$AAttrAssignExpr$visit_all for (self: AAttrAssignExpr, Visitor) */ +void nitc__parser_prod___AAttrAssignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : AExpr */; +val* var1 /* : TAttrid */; +val* var2 /* : TAssign */; +val* var3 /* : AExpr */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5265); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var1 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5637); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5266); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var2 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5267); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var3 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5268); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ABraAssignExpr#init_abraassignexpr for (self: ABraAssignExpr, nullable AExpr, nullable AExprs, nullable TAssign, nullable AExpr) */ -void nitc__parser_prod___ABraAssignExpr___init_abraassignexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +/* method parser_prod$AAttrReassignExpr$init_aattrreassignexpr for (self: AAttrReassignExpr, nullable AExpr, nullable TAttrid, nullable AAssignOp, nullable AExpr) */ +void nitc__parser_prod___AAttrReassignExpr___init_aattrreassignexpr(val* self, val* p0, val* p1, val* p2, val* p3) { val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_args /* var n_args: nullable AExprs */; -val* var_n_assign /* var n_assign: nullable TAssign */; +val* var_n_id /* var n_id: nullable TAttrid */; +val* var_n_assign_op /* var n_assign_op: nullable AAssignOp */; val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_args = p1; -var_n_assign = p2; +var_n_id = p1; +var_n_assign_op = p2; var_n_value = p3; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5648); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5279); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5649); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5280); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_args == NULL)) { +if (unlikely(var_n_id == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5650); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5281); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_n_id; /* _n_id on */ +if (var_n_id == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5651); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5282); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_id,self) on */ +if (unlikely(var_n_id == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -if (unlikely(var_n_assign == NULL)) { +if (unlikely(var_n_assign_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5652); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5283); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_n_assign; /* _n_assign on */ -if (var_n_assign == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_n_assign_op; /* _n_assign_op on */ +if (var_n_assign_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5653); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5284); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign,self) on */ -if (unlikely(var_n_assign == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_assign_op,self) on */ +if (unlikely(var_n_assign_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_assign_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL4:(void)0; } } if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5654); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5285); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_n_value; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_n_value; /* _n_value on */ if (var_n_value == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5655); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5286); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_value,self) on */ if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -6174,8 +6884,8 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#ABraAssignExpr#replace_child for (self: ABraAssignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AAttrReassignExpr$replace_child for (self: AAttrReassignExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -6187,7 +6897,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AExprs */; +val* var7 /* : TAttrid */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -6195,7 +6905,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : TAssign */; +val* var17 /* : AAssignOp */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -6213,17 +6923,20 @@ int idtype35; const char* var_class_name36; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5660); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5291); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -6251,26 +6964,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5661); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5292); fatal_exit(1); } { -nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ABraAssignExpr#n_expr= on */ +nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AAttrReassignExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5664); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5295); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -6283,9 +6999,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AExprs */ -cltype14 = type_nitc__AExprs.color; -idtype15 = type_nitc__AExprs.id; +/* isa TAttrid */ +cltype14 = type_nitc__TAttrid.color; +idtype15 = type_nitc__TAttrid.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -6297,27 +7013,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5665); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAttrid", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5296); fatal_exit(1); } { -nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod#ABraAssignExpr#n_args= on */ +nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod$AAttrReassignExpr$n_id= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5668); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5299); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -6330,9 +7049,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa TAssign */ -cltype24 = type_nitc__TAssign.color; -idtype25 = type_nitc__TAssign.id; +/* isa AAssignOp */ +cltype24 = type_nitc__AAssignOp.color; +idtype25 = type_nitc__AAssignOp.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -6344,27 +7063,30 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5669); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5300); fatal_exit(1); } { -nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self, var_new_child); /* Direct call parser_prod#ABraAssignExpr#n_assign= on */ +nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self, var_new_child); /* Direct call parser_prod$AAttrReassignExpr$n_assign_op= on */ } goto RET_LABEL; } else { } -var27 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +var27 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ if (unlikely(var27 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5672); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5303); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var27,var_old_child) on */ +{ /* Inline kernel$Object$== (var27,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ var32 = var27 == var_other; var30 = var32; goto RET_LABEL31; @@ -6392,218 +7114,234 @@ var33 = var_new_child->type->type_table[cltype34] == idtype35; if (unlikely(!var33)) { var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5673); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5304); fatal_exit(1); } { -nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#ABraAssignExpr#n_value= on */ +nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$AAttrReassignExpr$n_value= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ABraAssignExpr#n_expr= for (self: ABraAssignExpr, AExpr) */ -void nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$AAttrReassignExpr$n_expr= for (self: AAttrReassignExpr, AExpr) */ +void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraAssignExpr#n_args= for (self: ABraAssignExpr, AExprs) */ -void nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; +/* method parser_prod$AAttrReassignExpr$n_id= for (self: AAttrReassignExpr, TAttrid) */ +void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(val* self, val* p0) { +val* var_node /* var node: TAttrid */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_node; /* _n_args on */ +self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_node; /* _n_id on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraAssignExpr#n_assign= for (self: ABraAssignExpr, TAssign) */ -void nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val* self, val* p0) { -val* var_node /* var node: TAssign */; +/* method parser_prod$AAttrReassignExpr$n_assign_op= for (self: AAttrReassignExpr, AAssignOp) */ +void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val* self, val* p0) { +val* var_node /* var node: AAssignOp */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_node; /* _n_assign on */ +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_node; /* _n_assign_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraAssignExpr#n_value= for (self: ABraAssignExpr, AExpr) */ -void nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val* self, val* p0) { +/* method parser_prod$AAttrReassignExpr$n_value= for (self: AAttrReassignExpr, AExpr) */ +void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_node; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_node; /* _n_value on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraAssignExpr#visit_all for (self: ABraAssignExpr, Visitor) */ -void nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AAttrReassignExpr$visit_all for (self: AAttrReassignExpr, Visitor) */ +void nitc__parser_prod___AAttrReassignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : AExprs */; -val* var2 /* : TAssign */; +val* var1 /* : TAttrid */; +val* var2 /* : AAssignOp */; val* var3 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5702); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5333); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5703); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5334); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5704); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5335); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var3 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +var3 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5705); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5336); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ABraReassignExpr#init_abrareassignexpr for (self: ABraReassignExpr, nullable AExpr, nullable AExprs, nullable AAssignOp, nullable AExpr) */ -void nitc__parser_prod___ABraReassignExpr___init_abrareassignexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +/* method parser_prod$ACallExpr$init_acallexpr for (self: ACallExpr, nullable AExpr, nullable AQid, nullable AExprs) */ +void nitc__parser_prod___ACallExpr___init_acallexpr(val* self, val* p0, val* p1, val* p2) { val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_qid /* var n_qid: nullable AQid */; val* var_n_args /* var n_args: nullable AExprs */; -val* var_n_assign_op /* var n_assign_op: nullable AAssignOp */; -val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_expr = p0; -var_n_args = p1; -var_n_assign_op = p2; -var_n_value = p3; +var_n_qid = p1; +var_n_args = p2; if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5716); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5346); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5717); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5347); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_args == NULL)) { +if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5718); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5348); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_n_args; /* _n_args on */ -if (var_n_args == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_n_qid; /* _n_qid on */ +if (var_n_qid == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5719); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5349); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_args,self) on */ -if (unlikely(var_n_args == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on */ +if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL3:(void)0; } } -if (unlikely(var_n_assign_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5720); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_n_assign_op; /* _n_assign_op on */ -if (var_n_assign_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5721); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign_op,self) on */ -if (unlikely(var_n_assign_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_assign_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; -} +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_value == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5722); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5350); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_n_value; /* _n_value on */ -if (var_n_value == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_n_args; /* _n_args on */ +if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5723); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5351); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ -if (unlikely(var_n_value == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; +var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraReassignExpr#replace_child for (self: ABraReassignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ACallExpr$replace_child for (self: ACallExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; val* var /* : AExpr */; @@ -6615,7 +7353,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AExprs */; +val* var7 /* : AQid */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -6623,7 +7361,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AAssignOp */; +val* var17 /* : AExprs */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -6631,27 +7369,22 @@ short int var23 /* : Bool */; int cltype24; int idtype25; const char* var_class_name26; -val* var27 /* : AExpr */; -short int var28 /* : Bool */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; -short int var33 /* : Bool */; -int cltype34; -int idtype35; -const char* var_class_name36; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5728); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5356); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -6679,26 +7412,29 @@ var6 = var_new_child->type->type_table[cltype] == idtype; if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5729); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5357); fatal_exit(1); } { -nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ABraReassignExpr#n_expr= on */ +nitc__parser_prod___ACallExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ACallExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5732); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5360); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -6711,9 +7447,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AExprs */ -cltype14 = type_nitc__AExprs.color; -idtype15 = type_nitc__AExprs.id; +/* isa AQid */ +cltype14 = type_nitc__AQid.color; +idtype15 = type_nitc__AQid.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -6725,27 +7461,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5733); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5361); fatal_exit(1); } { -nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod#ABraReassignExpr#n_args= on */ +nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self, var_new_child); /* Direct call parser_prod$ACallExpr$n_qid= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5736); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5364); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -6758,9 +7497,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa AAssignOp */ -cltype24 = type_nitc__AAssignOp.color; -idtype25 = type_nitc__AAssignOp.id; +/* isa AExprs */ +cltype24 = type_nitc__AExprs.color; +idtype25 = type_nitc__AExprs.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -6772,371 +7511,276 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5737); -fatal_exit(1); -} -{ -nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self, var_new_child); /* Direct call parser_prod#ABraReassignExpr#n_assign_op= on */ -} -goto RET_LABEL; -} else { -} -var27 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5740); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var27,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var32 = var27 == var_other; -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; -} -} -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; -} -} -if (var28){ -/* isa AExpr */ -cltype34 = type_nitc__AExpr.color; -idtype35 = type_nitc__AExpr.id; -if(var_new_child == NULL) { -var33 = 0; -} else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; -} else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; -} -} -if (unlikely(!var33)) { -var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5741); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5365); fatal_exit(1); } { -nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#ABraReassignExpr#n_value= on */ +nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod$ACallExpr$n_args= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ABraReassignExpr#n_expr= for (self: ABraReassignExpr, AExpr) */ -void nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$ACallExpr$n_expr= for (self: ACallExpr, AExpr) */ +void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraReassignExpr#n_args= for (self: ABraReassignExpr, AExprs) */ -void nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(val* self, val* p0) { -val* var_node /* var node: AExprs */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_node; /* _n_args on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ABraReassignExpr#n_assign_op= for (self: ABraReassignExpr, AAssignOp) */ -void nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val* self, val* p0) { -val* var_node /* var node: AAssignOp */; +/* method parser_prod$ACallExpr$n_qid= for (self: ACallExpr, AQid) */ +void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val* self, val* p0) { +val* var_node /* var node: AQid */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_node; /* _n_assign_op on */ +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_node; /* _n_qid on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraReassignExpr#n_value= for (self: ABraReassignExpr, AExpr) */ -void nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; +/* method parser_prod$ACallExpr$n_args= for (self: ACallExpr, AExprs) */ +void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val* self, val* p0) { +val* var_node /* var node: AExprs */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_node; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_node; /* _n_args on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraReassignExpr#visit_all for (self: ABraReassignExpr, Visitor) */ -void nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ACallExpr$visit_all for (self: ACallExpr, Visitor) */ +void nitc__parser_prod___ACallExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AExpr */; -val* var1 /* : AExprs */; -val* var2 /* : AAssignOp */; -val* var3 /* : AExpr */; +val* var1 /* : AQid */; +val* var2 /* : AExprs */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5770); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5389); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5771); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5390); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5772); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var3 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5773); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5391); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AVarExpr#init_avarexpr for (self: AVarExpr, nullable TId) */ -void nitc__parser_prod___AVarExpr___init_avarexpr(val* self, val* p0) { -val* var_n_id /* var n_id: nullable TId */; +/* method parser_prod$ACallAssignExpr$init_acallassignexpr for (self: ACallAssignExpr, nullable AExpr, nullable AQid, nullable AExprs, nullable TAssign, nullable AExpr) */ +void nitc__parser_prod___ACallAssignExpr___init_acallassignexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_qid /* var n_qid: nullable AQid */; +val* var_n_args /* var n_args: nullable AExprs */; +val* var_n_assign /* var n_assign: nullable TAssign */; +val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_id = p0; -if (unlikely(var_n_id == NULL)) { +var_n_expr = p0; +var_n_qid = p1; +var_n_args = p2; +var_n_assign = p3; +var_n_value = p4; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5781); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5403); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5782); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5404); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -RET_LABEL:; +if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AVarExpr#replace_child for (self: AVarExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AVarExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { -val* var_old_child /* var old_child: ANode */; -val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TId */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; -int cltype; -int idtype; -const char* var_class_name; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val; /* _n_id on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5787); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5405); fatal_exit(1); } -{ -{ /* Inline kernel#Object#== (var,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ -var5 = var == var_other; -var3 = var5; -goto RET_LABEL4; -RET_LABEL4:(void)0; +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_n_qid; /* _n_qid on */ +if (var_n_qid == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5406); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on */ +if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; -} -} -if (var1){ -/* isa TId */ -cltype = type_nitc__TId.color; -idtype = type_nitc__TId.id; -if(var_new_child == NULL) { -var6 = 0; -} else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; -} else { -var6 = var_new_child->type->type_table[cltype] == idtype; -} -} -if (unlikely(!var6)) { -var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5788); -fatal_exit(1); -} -{ -nitc__parser_prod___AVarExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod#AVarExpr#n_id= on */ -} -goto RET_LABEL; -} else { -} -RET_LABEL:; -} -/* method parser_prod#AVarExpr#n_id= for (self: AVarExpr, TId) */ -void nitc__parser_prod___AVarExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(val* self, val* p0) { -val* var_node /* var node: TId */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val = var_node; /* _n_id on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AVarExpr#visit_all for (self: AVarExpr, Visitor) */ -void nitc__parser_prod___AVarExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TId */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val; /* _n_id on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5802); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; +var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } -/* method parser_prod#AVarAssignExpr#init_avarassignexpr for (self: AVarAssignExpr, nullable TId, nullable TAssign, nullable AExpr) */ -void nitc__parser_prod___AVarAssignExpr___init_avarassignexpr(val* self, val* p0, val* p1, val* p2) { -val* var_n_id /* var n_id: nullable TId */; -val* var_n_assign /* var n_assign: nullable TAssign */; -val* var_n_value /* var n_value: nullable AExpr */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; } +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var_n_id = p0; -var_n_assign = p1; -var_n_value = p2; -if (unlikely(var_n_id == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5812); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5407); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_n_args; /* _n_args on */ +if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5813); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5408); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } if (unlikely(var_n_assign == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5814); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5409); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_n_assign; /* _n_assign on */ +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_n_assign; /* _n_assign on */ if (var_n_assign == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5815); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5410); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on */ if (unlikely(var_n_assign == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +RET_LABEL5:(void)0; } } if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5816); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5411); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_n_value; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_n_value; /* _n_value on */ if (var_n_value == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5817); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5412); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_value,self) on */ if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; +RET_LABEL6:(void)0; } } RET_LABEL:; } -/* method parser_prod#AVarAssignExpr#replace_child for (self: AVarAssignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ACallAssignExpr$replace_child for (self: ACallAssignExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TId */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -7145,7 +7789,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TAssign */; +val* var7 /* : AQid */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -7153,7 +7797,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AExpr */; +val* var17 /* : AExprs */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -7161,19 +7805,38 @@ short int var23 /* : Bool */; int cltype24; int idtype25; const char* var_class_name26; +val* var27 /* : TAssign */; +short int var28 /* : Bool */; +short int var30 /* : Bool */; +short int var32 /* : Bool */; +short int var33 /* : Bool */; +int cltype34; +int idtype35; +const char* var_class_name36; +val* var37 /* : AExpr */; +short int var38 /* : Bool */; +short int var40 /* : Bool */; +short int var42 /* : Bool */; +short int var43 /* : Bool */; +int cltype44; +int idtype45; +const char* var_class_name46; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val; /* _n_id on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5822); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5417); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -7186,9 +7849,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TId */ -cltype = type_nitc__TId.color; -idtype = type_nitc__TId.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -7200,27 +7863,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5823); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5418); fatal_exit(1); } { -nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod#AVarAssignExpr#n_id= on */ +nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ACallAssignExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5826); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5421); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -7233,9 +7899,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa TAssign */ -cltype14 = type_nitc__TAssign.color; -idtype15 = type_nitc__TAssign.id; +/* isa AQid */ +cltype14 = type_nitc__AQid.color; +idtype15 = type_nitc__AQid.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -7247,27 +7913,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5827); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5422); fatal_exit(1); } { -nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self, var_new_child); /* Direct call parser_prod#AVarAssignExpr#n_assign= on */ +nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self, var_new_child); /* Direct call parser_prod$ACallAssignExpr$n_qid= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5830); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5425); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -7280,9 +7949,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa AExpr */ -cltype24 = type_nitc__AExpr.color; -idtype25 = type_nitc__AExpr.id; +/* isa AExprs */ +cltype24 = type_nitc__AExprs.color; +idtype25 = type_nitc__AExprs.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -7294,176 +7963,428 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5831); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5426); +fatal_exit(1); +} +{ +nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod$ACallAssignExpr$n_args= on */ +} +goto RET_LABEL; +} else { +} +var27 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +if (unlikely(var27 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5429); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var27,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ +var32 = var27 == var_other; +var30 = var32; +goto RET_LABEL31; +RET_LABEL31:(void)0; +} +} +var28 = var30; +goto RET_LABEL29; +RET_LABEL29:(void)0; +} +} +if (var28){ +/* isa TAssign */ +cltype34 = type_nitc__TAssign.color; +idtype35 = type_nitc__TAssign.id; +if(var_new_child == NULL) { +var33 = 0; +} else { +if(cltype34 >= var_new_child->type->table_size) { +var33 = 0; +} else { +var33 = var_new_child->type->type_table[cltype34] == idtype35; +} +} +if (unlikely(!var33)) { +var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TAssign", var_class_name36); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5430); +fatal_exit(1); +} +{ +nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(self, var_new_child); /* Direct call parser_prod$ACallAssignExpr$n_assign= on */ +} +goto RET_LABEL; +} else { +} +var37 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var37 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5433); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var37,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var37,var_other) on */ +var42 = var37 == var_other; +var40 = var42; +goto RET_LABEL41; +RET_LABEL41:(void)0; +} +} +var38 = var40; +goto RET_LABEL39; +RET_LABEL39:(void)0; +} +} +if (var38){ +/* isa AExpr */ +cltype44 = type_nitc__AExpr.color; +idtype45 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var43 = 0; +} else { +if(cltype44 >= var_new_child->type->table_size) { +var43 = 0; +} else { +var43 = var_new_child->type->type_table[cltype44] == idtype45; +} +} +if (unlikely(!var43)) { +var_class_name46 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5434); fatal_exit(1); } { -nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#AVarAssignExpr#n_value= on */ +nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$ACallAssignExpr$n_value= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AVarAssignExpr#n_id= for (self: AVarAssignExpr, TId) */ -void nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(val* self, val* p0) { -val* var_node /* var node: TId */; +/* method parser_prod$ACallAssignExpr$n_expr= for (self: ACallAssignExpr, AExpr) */ +void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$ACallAssignExpr$n_qid= for (self: ACallAssignExpr, AQid) */ +void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val* self, val* p0) { +val* var_node /* var node: AQid */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_node; /* _n_qid on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* method parser_prod$ACallAssignExpr$n_args= for (self: ACallAssignExpr, AExprs) */ +void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val* self, val* p0) { +val* var_node /* var node: AExprs */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val = var_node; /* _n_id on */ +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_node; /* _n_args on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AVarAssignExpr#n_assign= for (self: AVarAssignExpr, TAssign) */ -void nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val* self, val* p0) { +/* method parser_prod$ACallAssignExpr$n_assign= for (self: ACallAssignExpr, TAssign) */ +void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_assign_61d(val* self, val* p0) { val* var_node /* var node: TAssign */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_node; /* _n_assign on */ +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_node; /* _n_assign on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AVarAssignExpr#n_value= for (self: AVarAssignExpr, AExpr) */ -void nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val* self, val* p0) { +/* method parser_prod$ACallAssignExpr$n_value= for (self: ACallAssignExpr, AExpr) */ +void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_node; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_node; /* _n_value on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AVarAssignExpr#visit_all for (self: AVarAssignExpr, Visitor) */ -void nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ACallAssignExpr$visit_all for (self: ACallAssignExpr, Visitor) */ +void nitc__parser_prod___ACallAssignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : TId */; -val* var1 /* : TAssign */; -val* var2 /* : AExpr */; +val* var /* : AExpr */; +val* var1 /* : AQid */; +val* var2 /* : AExprs */; +val* var3 /* : TAssign */; +val* var4 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val; /* _n_id on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5855); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5468); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5856); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5469); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5470); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var3 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5471); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var4 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var4 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5857); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5472); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AVarReassignExpr#init_avarreassignexpr for (self: AVarReassignExpr, nullable TId, nullable AAssignOp, nullable AExpr) */ -void nitc__parser_prod___AVarReassignExpr___init_avarreassignexpr(val* self, val* p0, val* p1, val* p2) { -val* var_n_id /* var n_id: nullable TId */; +/* method parser_prod$ACallReassignExpr$init_acallreassignexpr for (self: ACallReassignExpr, nullable AExpr, nullable AQid, nullable AExprs, nullable AAssignOp, nullable AExpr) */ +void nitc__parser_prod___ACallReassignExpr___init_acallreassignexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_qid /* var n_qid: nullable AQid */; +val* var_n_args /* var n_args: nullable AExprs */; val* var_n_assign_op /* var n_assign_op: nullable AAssignOp */; val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_id = p0; -var_n_assign_op = p1; -var_n_value = p2; -if (unlikely(var_n_id == NULL)) { +var_n_expr = p0; +var_n_qid = p1; +var_n_args = p2; +var_n_assign_op = p3; +var_n_value = p4; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5867); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5484); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5868); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5485); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } +if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5486); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_n_qid; /* _n_qid on */ +if (var_n_qid == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5487); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on */ +if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; +} +} +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5488); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_n_args; /* _n_args on */ +if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5489); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; +} +} if (unlikely(var_n_assign_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5869); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5490); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_n_assign_op; /* _n_assign_op on */ +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_n_assign_op; /* _n_assign_op on */ if (var_n_assign_op == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5870); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5491); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign_op,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_assign_op,self) on */ if (unlikely(var_n_assign_op == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_assign_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +RET_LABEL5:(void)0; } } if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5871); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5492); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_n_value; /* _n_value on */ +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_n_value; /* _n_value on */ if (var_n_value == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5872); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5493); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_value,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_value,self) on */ if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; +RET_LABEL6:(void)0; } } RET_LABEL:; } -/* method parser_prod#AVarReassignExpr#replace_child for (self: AVarReassignExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ACallReassignExpr$replace_child for (self: ACallReassignExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TId */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -7472,7 +8393,7 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AAssignOp */; +val* var7 /* : AQid */; short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; @@ -7480,7 +8401,7 @@ short int var13 /* : Bool */; int cltype14; int idtype15; const char* var_class_name16; -val* var17 /* : AExpr */; +val* var17 /* : AExprs */; short int var18 /* : Bool */; short int var20 /* : Bool */; short int var22 /* : Bool */; @@ -7488,19 +8409,38 @@ short int var23 /* : Bool */; int cltype24; int idtype25; const char* var_class_name26; +val* var27 /* : AAssignOp */; +short int var28 /* : Bool */; +short int var30 /* : Bool */; +short int var32 /* : Bool */; +short int var33 /* : Bool */; +int cltype34; +int idtype35; +const char* var_class_name36; +val* var37 /* : AExpr */; +short int var38 /* : Bool */; +short int var40 /* : Bool */; +short int var42 /* : Bool */; +short int var43 /* : Bool */; +int cltype44; +int idtype45; +const char* var_class_name46; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val; /* _n_id on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5877); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5498); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -7513,9 +8453,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TId */ -cltype = type_nitc__TId.color; -idtype = type_nitc__TId.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -7527,27 +8467,30 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5878); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5499); fatal_exit(1); } { -nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod#AVarReassignExpr#n_id= on */ +nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ACallReassignExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5881); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5502); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -7560,9 +8503,9 @@ RET_LABEL9:(void)0; } } if (var8){ -/* isa AAssignOp */ -cltype14 = type_nitc__AAssignOp.color; -idtype15 = type_nitc__AAssignOp.id; +/* isa AQid */ +cltype14 = type_nitc__AQid.color; +idtype15 = type_nitc__AQid.id; if(var_new_child == NULL) { var13 = 0; } else { @@ -7574,27 +8517,30 @@ var13 = var_new_child->type->type_table[cltype14] == idtype15; } if (unlikely(!var13)) { var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5882); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AQid", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5503); fatal_exit(1); } { -nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self, var_new_child); /* Direct call parser_prod#AVarReassignExpr#n_assign_op= on */ +nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(self, var_new_child); /* Direct call parser_prod$ACallReassignExpr$n_qid= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5885); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5506); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -7607,9 +8553,9 @@ RET_LABEL19:(void)0; } } if (var18){ -/* isa AExpr */ -cltype24 = type_nitc__AExpr.color; -idtype25 = type_nitc__AExpr.id; +/* isa AExprs */ +cltype24 = type_nitc__AExprs.color; +idtype25 = type_nitc__AExprs.id; if(var_new_child == NULL) { var23 = 0; } else { @@ -7621,1337 +8567,561 @@ var23 = var_new_child->type->type_table[cltype24] == idtype25; } if (unlikely(!var23)) { var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5886); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5507); fatal_exit(1); } { -nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod#AVarReassignExpr#n_value= on */ +nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod$ACallReassignExpr$n_args= on */ } goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#AVarReassignExpr#n_id= for (self: AVarReassignExpr, TId) */ -void nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(val* self, val* p0) { -val* var_node /* var node: TId */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val = var_node; /* _n_id on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} +var27 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +if (unlikely(var27 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5510); +fatal_exit(1); } -/* method parser_prod#AVarReassignExpr#n_assign_op= for (self: AVarReassignExpr, AAssignOp) */ -void nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val* self, val* p0) { -val* var_node /* var node: AAssignOp */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_node; /* _n_assign_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; +{ /* Inline kernel$Object$== (var27,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ +var32 = var27 == var_other; +var30 = var32; +goto RET_LABEL31; +RET_LABEL31:(void)0; } } -RET_LABEL:; +var28 = var30; +goto RET_LABEL29; +RET_LABEL29:(void)0; } -/* method parser_prod#AVarReassignExpr#n_value= for (self: AVarReassignExpr, AExpr) */ -void nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_node; /* _n_value on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; } +if (var28){ +/* isa AAssignOp */ +cltype34 = type_nitc__AAssignOp.color; +idtype35 = type_nitc__AAssignOp.id; +if(var_new_child == NULL) { +var33 = 0; +} else { +if(cltype34 >= var_new_child->type->table_size) { +var33 = 0; +} else { +var33 = var_new_child->type->type_table[cltype34] == idtype35; } -RET_LABEL:; } -/* method parser_prod#AVarReassignExpr#visit_all for (self: AVarReassignExpr, Visitor) */ -void nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TId */; -val* var1 /* : AAssignOp */; -val* var2 /* : AExpr */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___n_id].val; /* _n_id on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5910); +if (unlikely(!var33)) { +var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AAssignOp", var_class_name36); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5511); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(self, var_new_child); /* Direct call parser_prod$ACallReassignExpr$n_assign_op= on */ } -var1 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5911); -fatal_exit(1); +goto RET_LABEL; +} else { } -{ -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +var37 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var37 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var2 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ -if (unlikely(var2 == NULL)) { PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5912); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5514); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#ACrangeExpr#init_acrangeexpr for (self: ACrangeExpr, nullable TObra, nullable AExpr, nullable TDotdot, nullable AExpr, nullable TCbra, nullable AAnnotations) */ -void nitc__parser_prod___ACrangeExpr___init_acrangeexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5) { -val* var_n_obra /* var n_obra: nullable TObra */; -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_dotdot /* var n_dotdot: nullable TDotdot */; -val* var_n_expr2 /* var n_expr2: nullable AExpr */; -val* var_n_cbra /* var n_cbra: nullable TCbra */; -val* var_n_annotations /* var n_annotations: nullable AAnnotations */; -short int var /* : Bool */; -short int var7 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var9 /* : Bool */; -short int var10 /* : Bool */; +{ /* Inline kernel$Object$== (var37,var_old_child) on */ +var_other = var_old_child; { -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +{ /* Inline kernel$Object$is_same_instance (var37,var_other) on */ +var42 = var37 == var_other; +var40 = var42; +goto RET_LABEL41; +RET_LABEL41:(void)0; } } -var_n_obra = p0; -var_n_expr = p1; -var_n_dotdot = p2; -var_n_expr2 = p3; -var_n_cbra = p4; -var_n_annotations = p5; -if (unlikely(var_n_obra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5980); -fatal_exit(1); +var38 = var40; +goto RET_LABEL39; +RET_LABEL39:(void)0; } -self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_obra].val = var_n_obra; /* _n_obra on */ -if (var_n_obra == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5981); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_obra,self) on */ -if (unlikely(var_n_obra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); } -var_n_obra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +if (var38){ +/* isa AExpr */ +cltype44 = type_nitc__AExpr.color; +idtype45 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var43 = 0; +} else { +if(cltype44 >= var_new_child->type->table_size) { +var43 = 0; +} else { +var43 = var_new_child->type->type_table[cltype44] == idtype45; } } -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5982); +if (unlikely(!var43)) { +var_class_name46 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5515); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5983); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; -} -} -if (unlikely(var_n_dotdot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5984); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val = var_n_dotdot; /* _n_dotdot on */ -if (var_n_dotdot == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5985); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_dotdot,self) on */ -if (unlikely(var_n_dotdot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_dotdot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; -} -} -if (unlikely(var_n_expr2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5986); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ -if (var_n_expr2 == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5987); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr2,self) on */ -if (unlikely(var_n_expr2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} -} -if (unlikely(var_n_cbra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5988); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_cbra].val = var_n_cbra; /* _n_cbra on */ -if (var_n_cbra == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5989); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_cbra,self) on */ -if (unlikely(var_n_cbra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_cbra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL6:(void)0; -} -} -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var9 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ -} -var10 = !var9; -var7 = var10; -goto RET_LABEL8; -RET_LABEL8:(void)0; -} -var = var7; -} -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_annotations,self) on */ -var_n_annotations->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL11:(void)0; -} -} +{ +nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$ACallReassignExpr$n_value= on */ +} +goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ACrangeExpr#replace_child for (self: ACrangeExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { -val* var_old_child /* var old_child: ANode */; -val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TObra */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; -int cltype; -int idtype; -const char* var_class_name; -val* var7 /* : AExpr */; -short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var12 /* : Bool */; -short int var13 /* : Bool */; -int cltype14; -int idtype15; -const char* var_class_name16; -val* var17 /* : TDotdot */; -short int var18 /* : Bool */; -short int var20 /* : Bool */; -short int var22 /* : Bool */; -short int var23 /* : Bool */; -int cltype24; -int idtype25; -const char* var_class_name26; -val* var27 /* : AExpr */; -short int var28 /* : Bool */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; -short int var33 /* : Bool */; -int cltype34; -int idtype35; -const char* var_class_name36; -val* var37 /* : TCbra */; -short int var38 /* : Bool */; -short int var40 /* : Bool */; -short int var42 /* : Bool */; -short int var43 /* : Bool */; -int cltype44; -int idtype45; -const char* var_class_name46; -val* var47 /* : nullable AAnnotations */; -short int var48 /* : Bool */; -short int var49 /* : Bool */; -short int var51 /* : Bool */; -short int var53 /* : Bool */; -short int var54 /* : Bool */; -int cltype55; -int idtype56; -const char* var_class_name57; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_obra].val; /* _n_obra on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5996); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ -var5 = var == var_other; -var3 = var5; -goto RET_LABEL4; -RET_LABEL4:(void)0; -} -} -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; -} -} -if (var1){ -/* isa TObra */ -cltype = type_nitc__TObra.color; -idtype = type_nitc__TObra.id; -if(var_new_child == NULL) { -var6 = 0; -} else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; -} else { -var6 = var_new_child->type->type_table[cltype] == idtype; -} -} -if (unlikely(!var6)) { -var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5997); -fatal_exit(1); -} -{ -nitc__parser_prod___ACrangeExpr___n_obra_61d(self, var_new_child); /* Direct call parser_prod#ACrangeExpr#n_obra= on */ -} -goto RET_LABEL; -} else { -} -var7 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6000); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var7,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ -var12 = var7 == var_other; -var10 = var12; -goto RET_LABEL11; -RET_LABEL11:(void)0; -} -} -var8 = var10; -goto RET_LABEL9; -RET_LABEL9:(void)0; -} -} -if (var8){ -/* isa AExpr */ -cltype14 = type_nitc__AExpr.color; -idtype15 = type_nitc__AExpr.id; -if(var_new_child == NULL) { -var13 = 0; -} else { -if(cltype14 >= var_new_child->type->table_size) { -var13 = 0; -} else { -var13 = var_new_child->type->type_table[cltype14] == idtype15; -} -} -if (unlikely(!var13)) { -var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6001); -fatal_exit(1); -} -{ -nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#ACrangeExpr#n_expr= on */ -} -goto RET_LABEL; -} else { -} -var17 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val; /* _n_dotdot on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6004); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var17,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ -var22 = var17 == var_other; -var20 = var22; -goto RET_LABEL21; -RET_LABEL21:(void)0; -} -} -var18 = var20; -goto RET_LABEL19; -RET_LABEL19:(void)0; -} -} -if (var18){ -/* isa TDotdot */ -cltype24 = type_nitc__TDotdot.color; -idtype25 = type_nitc__TDotdot.id; -if(var_new_child == NULL) { -var23 = 0; -} else { -if(cltype24 >= var_new_child->type->table_size) { -var23 = 0; -} else { -var23 = var_new_child->type->type_table[cltype24] == idtype25; -} -} -if (unlikely(!var23)) { -var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TDotdot", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6005); -fatal_exit(1); -} -{ -nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ARangeExpr__n_dotdot_61d(self, var_new_child); /* Direct call parser_prod#ACrangeExpr#n_dotdot= on */ -} -goto RET_LABEL; -} else { -} -var27 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val; /* _n_expr2 on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6008); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var27,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var32 = var27 == var_other; -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; -} -} -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; -} -} -if (var28){ -/* isa AExpr */ -cltype34 = type_nitc__AExpr.color; -idtype35 = type_nitc__AExpr.id; -if(var_new_child == NULL) { -var33 = 0; -} else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; -} else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; -} -} -if (unlikely(!var33)) { -var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6009); -fatal_exit(1); -} -{ -nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod#ACrangeExpr#n_expr2= on */ -} -goto RET_LABEL; -} else { -} -var37 = self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_cbra].val; /* _n_cbra on */ -if (unlikely(var37 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6012); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var37,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var37,var_other) on */ -var42 = var37 == var_other; -var40 = var42; -goto RET_LABEL41; -RET_LABEL41:(void)0; -} -} -var38 = var40; -goto RET_LABEL39; -RET_LABEL39:(void)0; -} -} -if (var38){ -/* isa TCbra */ -cltype44 = type_nitc__TCbra.color; -idtype45 = type_nitc__TCbra.id; -if(var_new_child == NULL) { -var43 = 0; -} else { -if(cltype44 >= var_new_child->type->table_size) { -var43 = 0; -} else { -var43 = var_new_child->type->type_table[cltype44] == idtype45; -} -} -if (unlikely(!var43)) { -var_class_name46 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCbra", var_class_name46); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6013); -fatal_exit(1); -} -{ -nitc__parser_prod___ACrangeExpr___n_cbra_61d(self, var_new_child); /* Direct call parser_prod#ACrangeExpr#n_cbra= on */ -} -goto RET_LABEL; -} else { -} -var47 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var47 == NULL) { -var48 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var47,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var47,var_other) on */ -var53 = var47 == var_other; -var51 = var53; -goto RET_LABEL52; -RET_LABEL52:(void)0; -} -} -var49 = var51; -goto RET_LABEL50; -RET_LABEL50:(void)0; -} -var48 = var49; -} -if (var48){ -/* isa nullable AAnnotations */ -cltype55 = type_nullable__nitc__AAnnotations.color; -idtype56 = type_nullable__nitc__AAnnotations.id; -if(var_new_child == NULL) { -var54 = 1; -} else { -if(cltype55 >= var_new_child->type->table_size) { -var54 = 0; -} else { -var54 = var_new_child->type->type_table[cltype55] == idtype56; -} -} -if (unlikely(!var54)) { -var_class_name57 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name57); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6017); -fatal_exit(1); -} -{ -nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ACrangeExpr#n_annotations= on */ -} -goto RET_LABEL; -} else { -} -RET_LABEL:; -} -/* method parser_prod#ACrangeExpr#n_obra= for (self: ACrangeExpr, TObra) */ -void nitc__parser_prod___ACrangeExpr___n_obra_61d(val* self, val* p0) { -val* var_node /* var node: TObra */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_obra].val = var_node; /* _n_obra on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ACrangeExpr#n_expr= for (self: ACrangeExpr, AExpr) */ -void nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr_61d(val* self, val* p0) { +/* method parser_prod$ACallReassignExpr$n_expr= for (self: ACallReassignExpr, AExpr) */ +void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACrangeExpr#n_dotdot= for (self: ACrangeExpr, TDotdot) */ -void nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ARangeExpr__n_dotdot_61d(val* self, val* p0) { -val* var_node /* var node: TDotdot */; +/* method parser_prod$ACallReassignExpr$n_qid= for (self: ACallReassignExpr, AQid) */ +void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_qid_61d(val* self, val* p0) { +val* var_node /* var node: AQid */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val = var_node; /* _n_dotdot on */ +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val = var_node; /* _n_qid on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACrangeExpr#n_expr2= for (self: ACrangeExpr, AExpr) */ -void nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr2_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; +/* method parser_prod$ACallReassignExpr$n_args= for (self: ACallReassignExpr, AExprs) */ +void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ACallFormExpr__n_args_61d(val* self, val* p0) { +val* var_node /* var node: AExprs */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val = var_node; /* _n_expr2 on */ +self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val = var_node; /* _n_args on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACrangeExpr#n_cbra= for (self: ACrangeExpr, TCbra) */ -void nitc__parser_prod___ACrangeExpr___n_cbra_61d(val* self, val* p0) { -val* var_node /* var node: TCbra */; +/* method parser_prod$ACallReassignExpr$n_assign_op= for (self: ACallReassignExpr, AAssignOp) */ +void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_assign_op_61d(val* self, val* p0) { +val* var_node /* var node: AAssignOp */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_cbra].val = var_node; /* _n_cbra on */ +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_node; /* _n_assign_op on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACrangeExpr#n_annotations= for (self: ACrangeExpr, nullable AAnnotations) */ -void nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { -val* var_node /* var node: nullable AAnnotations */; -short int var /* : Bool */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var4 /* : Bool */; +/* method parser_prod$ACallReassignExpr$n_value= for (self: ACallReassignExpr, AExpr) */ +void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_node; /* _n_annotations on */ -if (var_node == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_node,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ -} -var4 = !var3; -var1 = var4; -goto RET_LABEL2; -RET_LABEL2:(void)0; -} -var = var1; -} -if (var){ +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_node; /* _n_value on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -} else { } RET_LABEL:; } -/* method parser_prod#ACrangeExpr#visit_all for (self: ACrangeExpr, Visitor) */ -void nitc__parser_prod___ACrangeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ACallReassignExpr$visit_all for (self: ACallReassignExpr, Visitor) */ +void nitc__parser_prod___ACallReassignExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : TObra */; -val* var1 /* : AExpr */; -val* var2 /* : TDotdot */; -val* var3 /* : AExpr */; -val* var4 /* : TCbra */; -val* var5 /* : nullable AAnnotations */; +val* var /* : AExpr */; +val* var1 /* : AQid */; +val* var2 /* : AExprs */; +val* var3 /* : AAssignOp */; +val* var4 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_obra].val; /* _n_obra on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6056); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var1 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6057); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var2 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val; /* _n_dotdot on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6058); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var3 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val; /* _n_expr2 on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6059); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var4 = self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_cbra].val; /* _n_cbra on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6060); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var5 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#AOrangeExpr#init_aorangeexpr for (self: AOrangeExpr, nullable TObra, nullable AExpr, nullable TDotdot, nullable AExpr, nullable TObra, nullable AAnnotations) */ -void nitc__parser_prod___AOrangeExpr___init_aorangeexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5) { -val* var_n_obra /* var n_obra: nullable TObra */; -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_dotdot /* var n_dotdot: nullable TDotdot */; -val* var_n_expr2 /* var n_expr2: nullable AExpr */; -val* var_n_cbra /* var n_cbra: nullable TObra */; -val* var_n_annotations /* var n_annotations: nullable AAnnotations */; -short int var /* : Bool */; -short int var7 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var9 /* : Bool */; -short int var10 /* : Bool */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_obra = p0; -var_n_expr = p1; -var_n_dotdot = p2; -var_n_expr2 = p3; -var_n_cbra = p4; -var_n_annotations = p5; -if (unlikely(var_n_obra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6074); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_obra].val = var_n_obra; /* _n_obra on */ -if (var_n_obra == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6075); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_obra,self) on */ -if (unlikely(var_n_obra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_obra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} -} -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6076); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6077); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; -} +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_dotdot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6078); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5549); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val = var_n_dotdot; /* _n_dotdot on */ -if (var_n_dotdot == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6079); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_dotdot,self) on */ -if (unlikely(var_n_dotdot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +{ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var1 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_qid].val; /* _n_qid on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5550); fatal_exit(1); } -var_n_dotdot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; +{ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } +var2 = self->attrs[COLOR_nitc__parser_nodes__ACallFormExpr___n_args].val; /* _n_args on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_expr2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6080); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5551); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ -if (var_n_expr2 == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6081); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr2,self) on */ -if (unlikely(var_n_expr2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +{ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var3 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign_op"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5552); fatal_exit(1); } -var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; +{ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } +var4 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var4 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_cbra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6082); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_value"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5553); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_cbra].val = var_n_cbra; /* _n_cbra on */ -if (var_n_cbra == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6083); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_cbra,self) on */ -if (unlikely(var_n_cbra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); +{ +nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var_n_cbra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL6:(void)0; +RET_LABEL:; +} +/* method parser_prod$ASuperExpr$init_asuperexpr for (self: ASuperExpr, nullable AQualified, nullable TKwsuper, nullable AExprs) */ +void nitc__parser_prod___ASuperExpr___init_asuperexpr(val* self, val* p0, val* p1, val* p2) { +val* var_n_qualified /* var n_qualified: nullable AQualified */; +val* var_n_kwsuper /* var n_kwsuper: nullable TKwsuper */; +val* var_n_args /* var n_args: nullable AExprs */; +short int var /* : Bool */; +short int var2 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var4 /* : Bool */; +short int var5 /* : Bool */; +{ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { +var_n_qualified = p0; +var_n_kwsuper = p1; +var_n_args = p2; +self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val = var_n_qualified; /* _n_qualified on */ +if (var_n_qualified == NULL) { var = 0; /* is null */ } else { var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_qualified,((val*)NULL)) on */ var_other = ((val*)NULL); { -var9 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ +var4 = ((short int(*)(val* self, val* p0))(var_n_qualified->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_qualified, var_other); /* == on */ } -var10 = !var9; -var7 = var10; -goto RET_LABEL8; -RET_LABEL8:(void)0; +var5 = !var4; +var2 = var5; +goto RET_LABEL3; +RET_LABEL3:(void)0; } -var = var7; +var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_annotations,self) on */ -var_n_annotations->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL11:(void)0; +{ /* Inline parser_nodes$ANode$parent= (var_n_qualified,self) on */ +var_n_qualified->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL6:(void)0; } } } else { } -RET_LABEL:; +if (unlikely(var_n_kwsuper == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AOrangeExpr#replace_child for (self: AOrangeExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { -val* var_old_child /* var old_child: ANode */; -val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TObra */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; -int cltype; -int idtype; -const char* var_class_name; -val* var7 /* : AExpr */; -short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var12 /* : Bool */; -short int var13 /* : Bool */; -int cltype14; -int idtype15; -const char* var_class_name16; -val* var17 /* : TDotdot */; -short int var18 /* : Bool */; -short int var20 /* : Bool */; -short int var22 /* : Bool */; -short int var23 /* : Bool */; -int cltype24; -int idtype25; -const char* var_class_name26; -val* var27 /* : AExpr */; -short int var28 /* : Bool */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; -short int var33 /* : Bool */; -int cltype34; -int idtype35; -const char* var_class_name36; -val* var37 /* : TObra */; -short int var38 /* : Bool */; -short int var40 /* : Bool */; -short int var42 /* : Bool */; -short int var43 /* : Bool */; -int cltype44; -int idtype45; -const char* var_class_name46; -val* var47 /* : nullable AAnnotations */; -short int var48 /* : Bool */; -short int var49 /* : Bool */; -short int var51 /* : Bool */; -short int var53 /* : Bool */; -short int var54 /* : Bool */; -int cltype55; -int idtype56; -const char* var_class_name57; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_obra].val; /* _n_obra on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6090); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5565); fatal_exit(1); } -{ -{ /* Inline kernel#Object#== (var,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ -var5 = var == var_other; -var3 = var5; -goto RET_LABEL4; -RET_LABEL4:(void)0; -} -} -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; -} -} -if (var1){ -/* isa TObra */ -cltype = type_nitc__TObra.color; -idtype = type_nitc__TObra.id; -if(var_new_child == NULL) { -var6 = 0; -} else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; -} else { -var6 = var_new_child->type->type_table[cltype] == idtype; -} +self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val = var_n_kwsuper; /* _n_kwsuper on */ +if (var_n_kwsuper == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var6)) { -var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6091); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5566); fatal_exit(1); -} -{ -nitc__parser_prod___AOrangeExpr___n_obra_61d(self, var_new_child); /* Direct call parser_prod#AOrangeExpr#n_obra= on */ -} -goto RET_LABEL; } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwsuper,self) on */ +if (unlikely(var_n_kwsuper == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var7 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6094); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -{ -{ /* Inline kernel#Object#== (var7,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ -var12 = var7 == var_other; -var10 = var12; -goto RET_LABEL11; -RET_LABEL11:(void)0; -} -} -var8 = var10; -goto RET_LABEL9; -RET_LABEL9:(void)0; -} +var_n_kwsuper->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL7:(void)0; } -if (var8){ -/* isa AExpr */ -cltype14 = type_nitc__AExpr.color; -idtype15 = type_nitc__AExpr.id; -if(var_new_child == NULL) { -var13 = 0; -} else { -if(cltype14 >= var_new_child->type->table_size) { -var13 = 0; -} else { -var13 = var_new_child->type->type_table[cltype14] == idtype15; } +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var13)) { -var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6095); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5567); fatal_exit(1); } -{ -nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AOrangeExpr#n_expr= on */ +self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val = var_n_args; /* _n_args on */ +if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -goto RET_LABEL; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5568); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var17 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val; /* _n_dotdot on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6098); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -{ -{ /* Inline kernel#Object#== (var17,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ -var22 = var17 == var_other; -var20 = var22; -goto RET_LABEL21; -RET_LABEL21:(void)0; -} -} -var18 = var20; -goto RET_LABEL19; -RET_LABEL19:(void)0; -} -} -if (var18){ -/* isa TDotdot */ -cltype24 = type_nitc__TDotdot.color; -idtype25 = type_nitc__TDotdot.id; -if(var_new_child == NULL) { -var23 = 0; -} else { -if(cltype24 >= var_new_child->type->table_size) { -var23 = 0; -} else { -var23 = var_new_child->type->type_table[cltype24] == idtype25; -} +var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL8:(void)0; } -if (unlikely(!var23)) { -var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TDotdot", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6099); -fatal_exit(1); } -{ -nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_dotdot_61d(self, var_new_child); /* Direct call parser_prod#AOrangeExpr#n_dotdot= on */ +RET_LABEL:; } -goto RET_LABEL; +/* method parser_prod$ASuperExpr$replace_child for (self: ASuperExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ASuperExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +val* var_old_child /* var old_child: ANode */; +val* var_new_child /* var new_child: nullable ANode */; +val* var /* : nullable AQualified */; +short int var1 /* : Bool */; +short int var2 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var4 /* : Bool */; +short int var6 /* : Bool */; +short int var7 /* : Bool */; +int cltype; +int idtype; +const char* var_class_name; +val* var8 /* : TKwsuper */; +short int var9 /* : Bool */; +short int var11 /* : Bool */; +short int var13 /* : Bool */; +short int var14 /* : Bool */; +int cltype15; +int idtype16; +const char* var_class_name17; +val* var18 /* : AExprs */; +short int var19 /* : Bool */; +short int var21 /* : Bool */; +short int var23 /* : Bool */; +short int var24 /* : Bool */; +int cltype25; +int idtype26; +const char* var_class_name27; +var_old_child = p0; +var_new_child = p1; +var = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val; /* _n_qualified on */ +if (var == NULL) { +var1 = 0; /* cannot be null */ } else { -} -var27 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val; /* _n_expr2 on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6102); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var27,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var32 = var27 == var_other; -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ +var6 = var == var_other; +var4 = var6; +goto RET_LABEL5; +RET_LABEL5:(void)0; } } -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; +var2 = var4; +goto RET_LABEL3; +RET_LABEL3:(void)0; } +var1 = var2; } -if (var28){ -/* isa AExpr */ -cltype34 = type_nitc__AExpr.color; -idtype35 = type_nitc__AExpr.id; +if (var1){ +/* isa nullable AQualified */ +cltype = type_nullable__nitc__AQualified.color; +idtype = type_nullable__nitc__AQualified.id; if(var_new_child == NULL) { -var33 = 0; +var7 = 1; } else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; +if(cltype >= var_new_child->type->table_size) { +var7 = 0; } else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; +var7 = var_new_child->type->type_table[cltype] == idtype; } } -if (unlikely(!var33)) { -var_class_name36 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6103); +if (unlikely(!var7)) { +var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AQualified", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5574); fatal_exit(1); } { -nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod#AOrangeExpr#n_expr2= on */ +nitc__parser_prod___ASuperExpr___n_qualified_61d(self, var_new_child); /* Direct call parser_prod$ASuperExpr$n_qualified= on */ } goto RET_LABEL; } else { } -var37 = self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_cbra].val; /* _n_cbra on */ -if (unlikely(var37 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6106); +var8 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val; /* _n_kwsuper on */ +if (unlikely(var8 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5577); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var37,var_old_child) on */ +{ /* Inline kernel$Object$== (var8,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var37,var_other) on */ -var42 = var37 == var_other; -var40 = var42; -goto RET_LABEL41; -RET_LABEL41:(void)0; +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ +var13 = var8 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } } -var38 = var40; -goto RET_LABEL39; -RET_LABEL39:(void)0; +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; } } -if (var38){ -/* isa TObra */ -cltype44 = type_nitc__TObra.color; -idtype45 = type_nitc__TObra.id; +if (var9){ +/* isa TKwsuper */ +cltype15 = type_nitc__TKwsuper.color; +idtype16 = type_nitc__TKwsuper.id; if(var_new_child == NULL) { -var43 = 0; +var14 = 0; } else { -if(cltype44 >= var_new_child->type->table_size) { -var43 = 0; +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; } else { -var43 = var_new_child->type->type_table[cltype44] == idtype45; +var14 = var_new_child->type->type_table[cltype15] == idtype16; } } -if (unlikely(!var43)) { -var_class_name46 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name46); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6107); +if (unlikely(!var14)) { +var_class_name17 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwsuper", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5578); fatal_exit(1); } { -nitc__parser_prod___AOrangeExpr___n_cbra_61d(self, var_new_child); /* Direct call parser_prod#AOrangeExpr#n_cbra= on */ +nitc__parser_prod___ASuperExpr___n_kwsuper_61d(self, var_new_child); /* Direct call parser_prod$ASuperExpr$n_kwsuper= on */ } goto RET_LABEL; } else { } -var47 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var47 == NULL) { -var48 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var47,var_old_child) on */ +var18 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val; /* _n_args on */ +if (unlikely(var18 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5581); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var18,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var47,var_other) on */ -var53 = var47 == var_other; -var51 = var53; -goto RET_LABEL52; -RET_LABEL52:(void)0; +{ /* Inline kernel$Object$is_same_instance (var18,var_other) on */ +var23 = var18 == var_other; +var21 = var23; +goto RET_LABEL22; +RET_LABEL22:(void)0; } } -var49 = var51; -goto RET_LABEL50; -RET_LABEL50:(void)0; +var19 = var21; +goto RET_LABEL20; +RET_LABEL20:(void)0; } -var48 = var49; } -if (var48){ -/* isa nullable AAnnotations */ -cltype55 = type_nullable__nitc__AAnnotations.color; -idtype56 = type_nullable__nitc__AAnnotations.id; +if (var19){ +/* isa AExprs */ +cltype25 = type_nitc__AExprs.color; +idtype26 = type_nitc__AExprs.id; if(var_new_child == NULL) { -var54 = 1; +var24 = 0; } else { -if(cltype55 >= var_new_child->type->table_size) { -var54 = 0; +if(cltype25 >= var_new_child->type->table_size) { +var24 = 0; } else { -var54 = var_new_child->type->type_table[cltype55] == idtype56; +var24 = var_new_child->type->type_table[cltype25] == idtype26; } } -if (unlikely(!var54)) { -var_class_name57 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name57); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6111); +if (unlikely(!var24)) { +var_class_name27 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name27); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5582); fatal_exit(1); } { -nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AOrangeExpr#n_annotations= on */ +nitc__parser_prod___ASuperExpr___n_args_61d(self, var_new_child); /* Direct call parser_prod$ASuperExpr$n_args= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AOrangeExpr#n_obra= for (self: AOrangeExpr, TObra) */ -void nitc__parser_prod___AOrangeExpr___n_obra_61d(val* self, val* p0) { -val* var_node /* var node: TObra */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_obra].val = var_node; /* _n_obra on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AOrangeExpr#n_expr= for (self: AOrangeExpr, AExpr) */ -void nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val = var_node; /* _n_expr on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AOrangeExpr#n_dotdot= for (self: AOrangeExpr, TDotdot) */ -void nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_dotdot_61d(val* self, val* p0) { -val* var_node /* var node: TDotdot */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val = var_node; /* _n_dotdot on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AOrangeExpr#n_expr2= for (self: AOrangeExpr, AExpr) */ -void nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr2_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val = var_node; /* _n_expr2 on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AOrangeExpr#n_cbra= for (self: AOrangeExpr, TObra) */ -void nitc__parser_prod___AOrangeExpr___n_cbra_61d(val* self, val* p0) { -val* var_node /* var node: TObra */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_cbra].val = var_node; /* _n_cbra on */ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AOrangeExpr#n_annotations= for (self: AOrangeExpr, nullable AAnnotations) */ -void nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { -val* var_node /* var node: nullable AAnnotations */; +/* method parser_prod$ASuperExpr$n_qualified= for (self: ASuperExpr, nullable AQualified) */ +void nitc__parser_prod___ASuperExpr___n_qualified_61d(val* self, val* p0) { +val* var_node /* var node: nullable AQualified */; short int var /* : Bool */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; short int var4 /* : Bool */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_node; /* _n_annotations on */ +self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val = var_node; /* _n_qualified on */ if (var_node == NULL) { var = 0; /* is null */ } else { var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_node,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_node,((val*)NULL)) on */ var_other = ((val*)NULL); { -var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ +var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ } var4 = !var3; var1 = var4; @@ -8962,8 +9132,8 @@ var = var1; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL5:(void)0; } } @@ -8971,215 +9141,179 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AOrangeExpr#visit_all for (self: AOrangeExpr, Visitor) */ -void nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TObra */; -val* var1 /* : AExpr */; -val* var2 /* : TDotdot */; -val* var3 /* : AExpr */; -val* var4 /* : TObra */; -val* var5 /* : nullable AAnnotations */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_obra].val; /* _n_obra on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6150); -fatal_exit(1); -} +/* method parser_prod$ASuperExpr$n_kwsuper= for (self: ASuperExpr, TKwsuper) */ +void nitc__parser_prod___ASuperExpr___n_kwsuper_61d(val* self, val* p0) { +val* var_node /* var node: TKwsuper */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val = var_node; /* _n_kwsuper on */ { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -var1 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6151); -fatal_exit(1); } +RET_LABEL:; +} +/* method parser_prod$ASuperExpr$n_args= for (self: ASuperExpr, AExprs) */ +void nitc__parser_prod___ASuperExpr___n_args_61d(val* self, val* p0) { +val* var_node /* var node: AExprs */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val = var_node; /* _n_args on */ { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -var2 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val; /* _n_dotdot on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6152); -fatal_exit(1); } +RET_LABEL:; +} +/* method parser_prod$ASuperExpr$visit_all for (self: ASuperExpr, Visitor) */ +void nitc__parser_prod___ASuperExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : nullable AQualified */; +val* var1 /* : TKwsuper */; +val* var2 /* : AExprs */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_qualified].val; /* _n_qualified on */ { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var3 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val; /* _n_expr2 on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6153); +var1 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_kwsuper].val; /* _n_kwsuper on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5607); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var4 = self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_cbra].val; /* _n_cbra on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6154); -fatal_exit(1); +var2 = self->attrs[COLOR_nitc__parser_nodes__ASuperExpr___n_args].val; /* _n_args on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5608); +fatal_exit(1); } -var5 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ { -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AArrayExpr#init_aarrayexpr for (self: AArrayExpr, nullable TObra, Collection[Object], nullable AType, nullable TCbra, nullable AAnnotations) */ -void nitc__parser_prod___AArrayExpr___init_aarrayexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4) { -val* var_n_obra /* var n_obra: nullable TObra */; -val* var_n_exprs /* var n_exprs: Collection[Object] */; -val* var_n_type /* var n_type: nullable AType */; -val* var_n_cbra /* var n_cbra: nullable TCbra */; -val* var_n_annotations /* var n_annotations: nullable AAnnotations */; -val* var /* : ANodes[AExpr] */; -val* var4 /* : ANodes[AExpr] */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var12 /* : Bool */; -short int var13 /* : Bool */; -short int var15 /* : Bool */; -short int var16 /* : Bool */; +/* method parser_prod$AInitExpr$init_ainitexpr for (self: AInitExpr, nullable AExpr, nullable TKwinit, nullable AExprs) */ +void nitc__parser_prod___AInitExpr___init_ainitexpr(val* self, val* p0, val* p1, val* p2) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_kwinit /* var n_kwinit: nullable TKwinit */; +val* var_n_args /* var n_args: nullable AExprs */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_obra = p0; -var_n_exprs = p1; -var_n_type = p2; -var_n_cbra = p3; -var_n_annotations = p4; -if (unlikely(var_n_obra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6167); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_obra].val = var_n_obra; /* _n_obra on */ -if (var_n_obra == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6168); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_obra,self) on */ -if (unlikely(var_n_obra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_obra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} +var_n_expr = p0; +var_n_kwinit = p1; +var_n_args = p2; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -{ /* Inline parser_nodes#AArrayExpr#n_exprs (self) on */ -var4 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_exprs].val; /* _n_exprs on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2460); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5618); fatal_exit(1); } -var = var4; -RET_LABEL3:(void)0; -} -} -{ -nitc___nitc__ANodes___unsafe_add_all(var, var_n_exprs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ -} -self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_type].val = var_n_type; /* _n_type on */ -if (var_n_type == NULL) { -var5 = 0; /* is null */ -} else { -var5 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_type,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var8 = ((short int(*)(val* self, val* p0))(var_n_type->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_type, var_other); /* == on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var9 = !var8; -var6 = var9; -goto RET_LABEL7; -RET_LABEL7:(void)0; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5619); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var5 = var6; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } -if (var5){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_type,self) on */ -var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL10:(void)0; +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } } -} else { +if (unlikely(var_n_kwinit == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_cbra == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6172); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5620); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_cbra].val = var_n_cbra; /* _n_cbra on */ -if (var_n_cbra == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val = var_n_kwinit; /* _n_kwinit on */ +if (var_n_kwinit == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6173); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5621); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_cbra,self) on */ -if (unlikely(var_n_cbra == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwinit,self) on */ +if (unlikely(var_n_kwinit == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_cbra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL11:(void)0; +var_n_kwinit->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { -var12 = 0; /* is null */ -} else { -var12 = 1; /* arg is null and recv is not */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var15 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5622); +fatal_exit(1); } -var16 = !var15; -var13 = var16; -goto RET_LABEL14; -RET_LABEL14:(void)0; +self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val = var_n_args; /* _n_args on */ +if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var12 = var13; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5623); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (var12){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_annotations,self) on */ -var_n_annotations->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL17:(void)0; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } +var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } -} else { } RET_LABEL:; } -/* method parser_prod#AArrayExpr#replace_child for (self: AArrayExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AArrayExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AInitExpr$replace_child for (self: AInitExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TObra */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -9188,48 +9322,38 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : ANodes[AExpr] */; -val* var9 /* : ANodes[AExpr] */; +val* var7 /* : TKwinit */; +short int var8 /* : Bool */; short int var10 /* : Bool */; -val* var11 /* : nullable AType */; short int var12 /* : Bool */; short int var13 /* : Bool */; -short int var15 /* : Bool */; -short int var17 /* : Bool */; +int cltype14; +int idtype15; +const char* var_class_name16; +val* var17 /* : AExprs */; short int var18 /* : Bool */; -int cltype19; -int idtype20; -const char* var_class_name21; -val* var22 /* : TCbra */; +short int var20 /* : Bool */; +short int var22 /* : Bool */; short int var23 /* : Bool */; -short int var25 /* : Bool */; -short int var27 /* : Bool */; -short int var28 /* : Bool */; -int cltype29; -int idtype30; -const char* var_class_name31; -val* var32 /* : nullable AAnnotations */; -short int var33 /* : Bool */; -short int var34 /* : Bool */; -short int var36 /* : Bool */; -short int var38 /* : Bool */; -short int var39 /* : Bool */; -int cltype40; -int idtype41; -const char* var_class_name42; +int cltype24; +int idtype25; +const char* var_class_name26; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_obra].val; /* _n_obra on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6180); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5628); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ var5 = var == var_other; var3 = var5; goto RET_LABEL4; @@ -9242,9 +9366,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TObra */ -cltype = type_nitc__TObra.color; -idtype = type_nitc__TObra.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -9256,679 +9380,592 @@ var6 = var_new_child->type->type_table[cltype] == idtype; } if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6181); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5629); fatal_exit(1); } { -nitc__parser_prod___AArrayExpr___n_obra_61d(self, var_new_child); /* Direct call parser_prod#AArrayExpr#n_obra= on */ +nitc__parser_prod___AInitExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AInitExpr$n_expr= on */ } goto RET_LABEL; } else { } -{ -{ /* Inline parser_nodes#AArrayExpr#n_exprs (self) on */ -var9 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_exprs].val; /* _n_exprs on */ -if (unlikely(var9 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2460); -fatal_exit(1); -} -var7 = var9; -RET_LABEL8:(void)0; +var7 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val; /* _n_kwinit on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinit"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5632); +fatal_exit(1); } { -var10 = nitc___nitc__ANodes___replace_child(var7, var_old_child, var_new_child); -} -if (var10){ -goto RET_LABEL; -} else { -} -var11 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_type].val; /* _n_type on */ -if (var11 == NULL) { -var12 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var11,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var11,var_other) on */ -var17 = var11 == var_other; -var15 = var17; -goto RET_LABEL16; -RET_LABEL16:(void)0; +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var12 = var7 == var_other; +var10 = var12; +goto RET_LABEL11; +RET_LABEL11:(void)0; } } -var13 = var15; -goto RET_LABEL14; -RET_LABEL14:(void)0; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } -var12 = var13; } -if (var12){ -/* isa nullable AType */ -cltype19 = type_nullable__nitc__AType.color; -idtype20 = type_nullable__nitc__AType.id; +if (var8){ +/* isa TKwinit */ +cltype14 = type_nitc__TKwinit.color; +idtype15 = type_nitc__TKwinit.id; if(var_new_child == NULL) { -var18 = 1; +var13 = 0; } else { -if(cltype19 >= var_new_child->type->table_size) { -var18 = 0; +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; } else { -var18 = var_new_child->type->type_table[cltype19] == idtype20; +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -if (unlikely(!var18)) { -var_class_name21 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AType", var_class_name21); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6186); +if (unlikely(!var13)) { +var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwinit", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5633); fatal_exit(1); } { -nitc__parser_prod___AArrayExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod#AArrayExpr#n_type= on */ +nitc__parser_prod___AInitExpr___n_kwinit_61d(self, var_new_child); /* Direct call parser_prod$AInitExpr$n_kwinit= on */ } goto RET_LABEL; } else { } -var22 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_cbra].val; /* _n_cbra on */ -if (unlikely(var22 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6189); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var22,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var22,var_other) on */ -var27 = var22 == var_other; -var25 = var27; -goto RET_LABEL26; -RET_LABEL26:(void)0; -} -} -var23 = var25; -goto RET_LABEL24; -RET_LABEL24:(void)0; -} -} -if (var23){ -/* isa TCbra */ -cltype29 = type_nitc__TCbra.color; -idtype30 = type_nitc__TCbra.id; -if(var_new_child == NULL) { -var28 = 0; -} else { -if(cltype29 >= var_new_child->type->table_size) { -var28 = 0; -} else { -var28 = var_new_child->type->type_table[cltype29] == idtype30; -} +var17 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val; /* _n_args on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var28)) { -var_class_name31 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCbra", var_class_name31); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6190); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5636); fatal_exit(1); } { -nitc__parser_prod___AArrayExpr___n_cbra_61d(self, var_new_child); /* Direct call parser_prod#AArrayExpr#n_cbra= on */ -} -goto RET_LABEL; -} else { -} -var32 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var32 == NULL) { -var33 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var32,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var32,var_other) on */ -var38 = var32 == var_other; -var36 = var38; -goto RET_LABEL37; -RET_LABEL37:(void)0; +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; } } -var34 = var36; -goto RET_LABEL35; -RET_LABEL35:(void)0; +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } -var33 = var34; } -if (var33){ -/* isa nullable AAnnotations */ -cltype40 = type_nullable__nitc__AAnnotations.color; -idtype41 = type_nullable__nitc__AAnnotations.id; +if (var18){ +/* isa AExprs */ +cltype24 = type_nitc__AExprs.color; +idtype25 = type_nitc__AExprs.id; if(var_new_child == NULL) { -var39 = 1; +var23 = 0; } else { -if(cltype40 >= var_new_child->type->table_size) { -var39 = 0; +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; } else { -var39 = var_new_child->type->type_table[cltype40] == idtype41; +var23 = var_new_child->type->type_table[cltype24] == idtype25; } } -if (unlikely(!var39)) { -var_class_name42 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name42); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6194); +if (unlikely(!var23)) { +var_class_name26 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5637); fatal_exit(1); } { -nitc__parser_prod___AArrayExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AArrayExpr#n_annotations= on */ +nitc__parser_prod___AInitExpr___n_args_61d(self, var_new_child); /* Direct call parser_prod$AInitExpr$n_args= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AArrayExpr#n_obra= for (self: AArrayExpr, TObra) */ -void nitc__parser_prod___AArrayExpr___n_obra_61d(val* self, val* p0) { -val* var_node /* var node: TObra */; +/* method parser_prod$AInitExpr$n_expr= for (self: AInitExpr, AExpr) */ +void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_obra].val = var_node; /* _n_obra on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AArrayExpr#n_type= for (self: AArrayExpr, nullable AType) */ -void nitc__parser_prod___AArrayExpr___n_type_61d(val* self, val* p0) { -val* var_node /* var node: nullable AType */; -short int var /* : Bool */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var4 /* : Bool */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_type].val = var_node; /* _n_type on */ -if (var_node == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_node,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ -} -var4 = !var3; -var1 = var4; -goto RET_LABEL2; -RET_LABEL2:(void)0; -} -var = var1; -} -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} -} -} else { -} -RET_LABEL:; -} -/* method parser_prod#AArrayExpr#n_cbra= for (self: AArrayExpr, TCbra) */ -void nitc__parser_prod___AArrayExpr___n_cbra_61d(val* self, val* p0) { -val* var_node /* var node: TCbra */; +/* method parser_prod$AInitExpr$n_kwinit= for (self: AInitExpr, TKwinit) */ +void nitc__parser_prod___AInitExpr___n_kwinit_61d(val* self, val* p0) { +val* var_node /* var node: TKwinit */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_cbra].val = var_node; /* _n_cbra on */ +self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val = var_node; /* _n_kwinit on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AArrayExpr#n_annotations= for (self: AArrayExpr, nullable AAnnotations) */ -void nitc__parser_prod___AArrayExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { -val* var_node /* var node: nullable AAnnotations */; -short int var /* : Bool */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var4 /* : Bool */; +/* method parser_prod$AInitExpr$n_args= for (self: AInitExpr, AExprs) */ +void nitc__parser_prod___AInitExpr___n_args_61d(val* self, val* p0) { +val* var_node /* var node: AExprs */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_node; /* _n_annotations on */ -if (var_node == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_node,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ -} -var4 = !var3; -var1 = var4; -goto RET_LABEL2; -RET_LABEL2:(void)0; -} -var = var1; -} -if (var){ +self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val = var_node; /* _n_args on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -} else { } RET_LABEL:; } -/* method parser_prod#AArrayExpr#visit_all for (self: AArrayExpr, Visitor) */ -void nitc__parser_prod___AArrayExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AInitExpr$visit_all for (self: AInitExpr, Visitor) */ +void nitc__parser_prod___AInitExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : TObra */; -val* var1 /* : ANodes[AExpr] */; -val* var3 /* : ANodes[AExpr] */; -val* var4 /* : nullable AType */; -val* var5 /* : TCbra */; -val* var6 /* : nullable AAnnotations */; +val* var /* : AExpr */; +val* var1 /* : TKwinit */; +val* var2 /* : AExprs */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_obra].val; /* _n_obra on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6223); -fatal_exit(1); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5661); +fatal_exit(1); } { -{ /* Inline parser_nodes#AArrayExpr#n_exprs (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_exprs].val; /* _n_exprs on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2460); -fatal_exit(1); +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var1 = var3; -RET_LABEL2:(void)0; +var1 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_kwinit].val; /* _n_kwinit on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinit"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5662); +fatal_exit(1); } { -nitc___nitc__ANodes___visit_all(var1, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var4 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_type].val; /* _n_type on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__AInitExpr___n_args].val; /* _n_args on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var5 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_cbra].val; /* _n_cbra on */ -if (unlikely(var5 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6226); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5663); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var6 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var6); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ASelfExpr#init_aselfexpr for (self: ASelfExpr, nullable TKwself, nullable AAnnotations) */ -void nitc__parser_prod___ASelfExpr___init_aselfexpr(val* self, val* p0, val* p1) { -val* var_n_kwself /* var n_kwself: nullable TKwself */; -val* var_n_annotations /* var n_annotations: nullable AAnnotations */; -short int var /* : Bool */; -short int var3 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; +/* method parser_prod$ABraExpr$init_abraexpr for (self: ABraExpr, nullable AExpr, nullable AExprs) */ +void nitc__parser_prod___ABraExpr___init_abraexpr(val* self, val* p0, val* p1) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_args /* var n_args: nullable AExprs */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_kwself = p0; -var_n_annotations = p1; -if (unlikely(var_n_kwself == NULL)) { +var_n_expr = p0; +var_n_args = p1; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6236); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5672); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASelfExpr___n_kwself].val = var_n_kwself; /* _n_kwself on */ -if (var_n_kwself == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6237); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5673); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwself,self) on */ -if (unlikely(var_n_kwself == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_kwself->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var5 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ -} -var6 = !var5; -var3 = var6; -goto RET_LABEL4; -RET_LABEL4:(void)0; -} -var = var3; +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_annotations,self) on */ -var_n_annotations->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL7:(void)0; +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5674); +fatal_exit(1); } +self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_n_args; /* _n_args on */ +if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5675); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; +} } RET_LABEL:; } -/* method parser_prod#ASelfExpr#replace_child for (self: ASelfExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ASelfExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ABraExpr$replace_child for (self: ABraExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : nullable TKwself */; +val* var /* : AExpr */; short int var1 /* : Bool */; -short int var2 /* : Bool */; val* var_other /* var other: nullable Object */; -short int var4 /* : Bool */; +short int var3 /* : Bool */; +short int var5 /* : Bool */; short int var6 /* : Bool */; -short int var7 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var8 /* : nullable AAnnotations */; -short int var9 /* : Bool */; +val* var7 /* : AExprs */; +short int var8 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; -short int var14 /* : Bool */; -short int var15 /* : Bool */; -int cltype16; -int idtype17; -const char* var_class_name18; +short int var13 /* : Bool */; +int cltype14; +int idtype15; +const char* var_class_name16; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ASelfExpr___n_kwself].val; /* _n_kwself on */ -if (var == NULL) { -var1 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5680); +fatal_exit(1); +} +{ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var,var_other) on */ -var6 = var == var_other; -var4 = var6; -goto RET_LABEL5; -RET_LABEL5:(void)0; +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ +var5 = var == var_other; +var3 = var5; +goto RET_LABEL4; +RET_LABEL4:(void)0; } } -var2 = var4; -goto RET_LABEL3; -RET_LABEL3:(void)0; +var1 = var3; +goto RET_LABEL2; +RET_LABEL2:(void)0; } -var1 = var2; } if (var1){ -/* isa TKwself */ -cltype = type_nitc__TKwself.color; -idtype = type_nitc__TKwself.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { -var7 = 0; +var6 = 0; } else { if(cltype >= var_new_child->type->table_size) { -var7 = 0; +var6 = 0; } else { -var7 = var_new_child->type->type_table[cltype] == idtype; +var6 = var_new_child->type->type_table[cltype] == idtype; } } -if (unlikely(!var7)) { +if (unlikely(!var6)) { var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwself", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6245); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5681); fatal_exit(1); } { -nitc__parser_prod___ASelfExpr___n_kwself_61d(self, var_new_child); /* Direct call parser_prod#ASelfExpr#n_kwself= on */ +nitc__parser_prod___ABraExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ABraExpr$n_expr= on */ } goto RET_LABEL; } else { } -var8 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var8 == NULL) { -var9 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ -var14 = var8 == var_other; -var12 = var14; -goto RET_LABEL13; -RET_LABEL13:(void)0; +var7 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5684); +fatal_exit(1); } +{ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; RET_LABEL11:(void)0; } -var9 = var10; } -if (var9){ -/* isa nullable AAnnotations */ -cltype16 = type_nullable__nitc__AAnnotations.color; -idtype17 = type_nullable__nitc__AAnnotations.id; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; +} +} +if (var8){ +/* isa AExprs */ +cltype14 = type_nitc__AExprs.color; +idtype15 = type_nitc__AExprs.id; if(var_new_child == NULL) { -var15 = 1; +var13 = 0; } else { -if(cltype16 >= var_new_child->type->table_size) { -var15 = 0; +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; } else { -var15 = var_new_child->type->type_table[cltype16] == idtype17; +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -if (unlikely(!var15)) { -var_class_name18 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name18); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6249); +if (unlikely(!var13)) { +var_class_name16 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExprs", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5685); fatal_exit(1); } { -nitc__parser_prod___ASelfExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ASelfExpr#n_annotations= on */ +nitc__parser_prod___ABraExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod$ABraExpr$n_args= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ASelfExpr#n_kwself= for (self: ASelfExpr, nullable TKwself) */ -void nitc__parser_prod___ASelfExpr___n_kwself_61d(val* self, val* p0) { -val* var_node /* var node: nullable TKwself */; +/* method parser_prod$ABraExpr$n_expr= for (self: ABraExpr, AExpr) */ +void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASelfExpr___n_kwself].val = var_node; /* _n_kwself on */ -if (var_node == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6257); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -if (unlikely(var_node == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_node; /* _n_expr on */ +{ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ASelfExpr#n_annotations= for (self: ASelfExpr, nullable AAnnotations) */ -void nitc__parser_prod___ASelfExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { -val* var_node /* var node: nullable AAnnotations */; -short int var /* : Bool */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var4 /* : Bool */; +/* method parser_prod$ABraExpr$n_args= for (self: ABraExpr, AExprs) */ +void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(val* self, val* p0) { +val* var_node /* var node: AExprs */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_node; /* _n_annotations on */ -if (var_node == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_node,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ -} -var4 = !var3; -var1 = var4; -goto RET_LABEL2; -RET_LABEL2:(void)0; -} -var = var1; -} -if (var){ +self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_node; /* _n_args on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -} else { } RET_LABEL:; } -/* method parser_prod#ASelfExpr#visit_all for (self: ASelfExpr, Visitor) */ -void nitc__parser_prod___ASelfExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ABraExpr$visit_all for (self: ABraExpr, Visitor) */ +void nitc__parser_prod___ABraExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : nullable TKwself */; -val* var1 /* : nullable AAnnotations */; +val* var /* : AExpr */; +val* var1 /* : AExprs */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASelfExpr___n_kwself].val; /* _n_kwself on */ +var = self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5704); +fatal_exit(1); +} { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var1 = self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val; /* _n_args on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5705); +fatal_exit(1); } -var1 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AImplicitSelfExpr#init_aimplicitselfexpr for (self: AImplicitSelfExpr) */ -void nitc__parser_prod___AImplicitSelfExpr___init_aimplicitselfexpr(val* self) { +/* method parser_prod$ABraAssignExpr$init_abraassignexpr for (self: ABraAssignExpr, nullable AExpr, nullable AExprs, nullable TAssign, nullable AExpr) */ +void nitc__parser_prod___ABraAssignExpr___init_abraassignexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_args /* var n_args: nullable AExprs */; +val* var_n_assign /* var n_assign: nullable TAssign */; +val* var_n_value /* var n_value: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -RET_LABEL:; +var_n_expr = p0; +var_n_args = p1; +var_n_assign = p2; +var_n_value = p3; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AImplicitSelfExpr#replace_child for (self: AImplicitSelfExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AImplicitSelfExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { -val* var_old_child /* var old_child: ANode */; -val* var_new_child /* var new_child: nullable ANode */; -var_old_child = p0; -var_new_child = p1; -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5716); +fatal_exit(1); } -/* method parser_prod#AImplicitSelfExpr#visit_all for (self: AImplicitSelfExpr, Visitor) */ -void nitc__parser_prod___AImplicitSelfExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -var_v = p0; -RET_LABEL:; +self->attrs[COLOR_nitc__parser_nodes__ASendExpr___n_expr].val = var_n_expr; /* _n_expr on */ +if (var_n_expr == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5717); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } -/* method parser_prod#ATrueExpr#init_atrueexpr for (self: ATrueExpr, nullable TKwtrue, nullable AAnnotations) */ -void nitc__parser_prod___ATrueExpr___init_atrueexpr(val* self, val* p0, val* p1) { -val* var_n_kwtrue /* var n_kwtrue: nullable TKwtrue */; -val* var_n_annotations /* var n_annotations: nullable AAnnotations */; -short int var /* : Bool */; -short int var3 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; } +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var_n_kwtrue = p0; -var_n_annotations = p1; -if (unlikely(var_n_kwtrue == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6293); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5718); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ATrueExpr___n_kwtrue].val = var_n_kwtrue; /* _n_kwtrue on */ -if (var_n_kwtrue == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_n_args; /* _n_args on */ +if (var_n_args == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6294); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5719); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwtrue,self) on */ -if (unlikely(var_n_kwtrue == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_args,self) on */ +if (unlikely(var_n_args == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -var_n_kwtrue->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +var_n_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { -var = 0; /* is null */ +if (unlikely(var_n_assign == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5720); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_n_assign; /* _n_assign on */ +if (var_n_assign == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5721); +fatal_exit(1); } else { -var = 1; /* arg is null and recv is not */ +{ /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on */ +if (unlikely(var_n_assign == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var5 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } -var6 = !var5; -var3 = var6; -goto RET_LABEL4; +var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL4:(void)0; } -var = var3; } -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_annotations,self) on */ -var_n_annotations->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL7:(void)0; +if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5722); +fatal_exit(1); } +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val = var_n_value; /* _n_value on */ +if (var_n_value == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5723); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_value,self) on */ +if (unlikely(var_n_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); +} +var_n_value->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL5:(void)0; +} } RET_LABEL:; }