X-Git-Url: http://nitlanguage.org diff --git a/c_src/nitc__parser_prod.sep.5.c b/c_src/nitc__parser_prod.sep.5.c index 7c151d7..f8381d8 100644 --- a/c_src/nitc__parser_prod.sep.5.c +++ b/c_src/nitc__parser_prod.sep.5.c @@ -1,9 +1,9 @@ #include "nitc__parser_prod.sep.0.h" -/* method parser_prod#ATrueExpr#replace_child for (self: ATrueExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ATrueExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TKwtrue */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -12,28 +12,46 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : nullable AAnnotations */; +val* var7 /* : AExprs */; short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var11 /* : 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; +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__ATrueExpr___n_kwtrue].val; /* _n_kwtrue 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_kwtrue"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6301); +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); 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; @@ -46,9 +64,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TKwtrue */ -cltype = type_nitc__TKwtrue.color; -idtype = type_nitc__TKwtrue.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -60,208 +78,420 @@ 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`", "TKwtrue", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6302); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5729); fatal_exit(1); } { -nitc__parser_prod___ATrueExpr___n_kwtrue_61d(self, var_new_child); /* Direct call parser_prod#ATrueExpr#n_kwtrue= on */ +nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ABraAssignExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +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, 5732); +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 */ -var13 = var7 == 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; } -var8 = var9; } if (var8){ -/* isa nullable AAnnotations */ -cltype15 = type_nullable__nitc__AAnnotations.color; -idtype16 = type_nullable__nitc__AAnnotations.id; +/* isa AExprs */ +cltype14 = type_nitc__AExprs.color; +idtype15 = type_nitc__AExprs.id; if(var_new_child == NULL) { -var14 = 1; +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`", "nullable AAnnotations", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6306); +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); +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 */ +} +goto RET_LABEL; +} else { +} +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, 5736); +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 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; +} +} +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, 5737); +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 */ +} +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, 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); fatal_exit(1); } { -nitc__parser_prod___ATrueExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ATrueExpr#n_annotations= on */ +nitc__parser_prod___ABraAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$ABraAssignExpr$n_value= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ATrueExpr#n_kwtrue= for (self: ATrueExpr, TKwtrue) */ -void nitc__parser_prod___ATrueExpr___n_kwtrue_61d(val* self, val* p0) { -val* var_node /* var node: TKwtrue */; +/* 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) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ATrueExpr___n_kwtrue].val = var_node; /* _n_kwtrue 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#ATrueExpr#n_annotations= for (self: ATrueExpr, nullable AAnnotations) */ -void nitc__parser_prod___ATrueExpr___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$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 */; 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); +self->attrs[COLOR_nitc__parser_nodes__ABraFormExpr___n_args].val = var_node; /* _n_args 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){ +/* 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 */; +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_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$ABraAssignExpr$n_value= for (self: ABraAssignExpr, AExpr) */ +void nitc__parser_prod___ABraAssignExpr___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#ATrueExpr#visit_all for (self: ATrueExpr, Visitor) */ -void nitc__parser_prod___ATrueExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* 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) { val* var_v /* var v: Visitor */; -val* var /* : TKwtrue */; -val* var1 /* : nullable AAnnotations */; +val* var /* : AExpr */; +val* var1 /* : AExprs */; +val* var2 /* : TAssign */; +val* var3 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ATrueExpr___n_kwtrue].val; /* _n_kwtrue 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_kwtrue"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6325); +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); 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, 5771); +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, 5772); +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, 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, 5773); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AFalseExpr#init_afalseexpr for (self: AFalseExpr, nullable TKwfalse, nullable AAnnotations) */ -void nitc__parser_prod___AFalseExpr___init_afalseexpr(val* self, val* p0, val* p1) { -val* var_n_kwfalse /* var n_kwfalse: nullable TKwfalse */; -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$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) { +val* var_n_expr /* var n_expr: nullable AExpr */; +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_kwfalse = p0; -var_n_annotations = p1; -if (unlikely(var_n_kwfalse == NULL)) { +var_n_expr = p0; +var_n_args = 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, 6335); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5784); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AFalseExpr___n_kwfalse].val = var_n_kwfalse; /* _n_kwfalse on */ -if (var_n_kwfalse == 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, 6336); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5785); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwfalse,self) on */ -if (unlikely(var_n_kwfalse == 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_kwfalse->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 */ +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, 5786); +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, 5787); +fatal_exit(1); } else { -var = 1; /* arg is null and recv is not */ +{ /* 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 (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_args->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(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, 5788); +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) { +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, 5789); +fatal_exit(1); +} else { +{ /* 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, 60); +fatal_exit(1); +} +var_n_assign_op->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, 5790); +fatal_exit(1); } +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, 5791); +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#AFalseExpr#replace_child for (self: AFalseExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AFalseExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TKwfalse */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -270,28 +500,46 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : nullable AAnnotations */; +val* var7 /* : AExprs */; short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var11 /* : 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; +int cltype14; +int idtype15; +const char* var_class_name16; +val* var17 /* : AAssignOp */; +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__AFalseExpr___n_kwfalse].val; /* _n_kwfalse 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_kwfalse"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6343); +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, 5796); 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; @@ -304,9 +552,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TKwfalse */ -cltype = type_nitc__TKwfalse.color; -idtype = type_nitc__TKwfalse.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -318,208 +566,324 @@ 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`", "TKwfalse", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6344); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5797); fatal_exit(1); } { -nitc__parser_prod___AFalseExpr___n_kwfalse_61d(self, var_new_child); /* Direct call parser_prod#AFalseExpr#n_kwfalse= on */ +nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ASendExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$ABraReassignExpr$n_expr= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +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, 5800); +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 */ -var13 = var7 == 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; } -var8 = var9; } if (var8){ -/* isa nullable AAnnotations */ -cltype15 = type_nullable__nitc__AAnnotations.color; -idtype16 = type_nullable__nitc__AAnnotations.id; +/* isa AExprs */ +cltype14 = type_nitc__AExprs.color; +idtype15 = type_nitc__AExprs.id; if(var_new_child == NULL) { -var14 = 1; +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`", "nullable AAnnotations", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6348); +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, 5801); fatal_exit(1); } { -nitc__parser_prod___AFalseExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AFalseExpr#n_annotations= on */ +nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__ABraFormExpr__n_args_61d(self, var_new_child); /* Direct call parser_prod$ABraReassignExpr$n_args= on */ } goto RET_LABEL; } else { } -RET_LABEL:; +var17 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +if (unlikely(var17 == 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, 5804); +fatal_exit(1); } -/* method parser_prod#AFalseExpr#n_kwfalse= for (self: AFalseExpr, TKwfalse) */ -void nitc__parser_prod___AFalseExpr___n_kwfalse_61d(val* self, val* p0) { -val* var_node /* var node: TKwfalse */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AFalseExpr___n_kwfalse].val = var_node; /* _n_kwfalse 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#AFalseExpr#n_annotations= for (self: AFalseExpr, nullable AAnnotations) */ -void nitc__parser_prod___AFalseExpr___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 */; -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 */ +} +if (var18){ +/* isa AAssignOp */ +cltype24 = type_nitc__AAssignOp.color; +idtype25 = type_nitc__AAssignOp.id; +if(var_new_child == NULL) { +var23 = 0; } else { -var = 1; /* arg is null and recv is not */ +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`", "AAssignOp", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5805); +fatal_exit(1); } -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 */ +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 */ } -var4 = !var3; -var1 = var4; -goto RET_LABEL2; -RET_LABEL2:(void)0; +goto RET_LABEL; +} else { } -var = var1; +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, 5808); +fatal_exit(1); } -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; +{ /* 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; } -RET_LABEL:; } -/* method parser_prod#AFalseExpr#visit_all for (self: AFalseExpr, Visitor) */ -void nitc__parser_prod___AFalseExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TKwfalse */; -val* var1 /* : nullable AAnnotations */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AFalseExpr___n_kwfalse].val; /* _n_kwfalse on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwfalse"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6367); +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, 5809); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc__parser_prod___ABraReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$ABraReassignExpr$n_value= on */ } -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 */ +goto RET_LABEL; +} else { } RET_LABEL:; } -/* method parser_prod#ANullExpr#init_anullexpr for (self: ANullExpr, nullable TKwnull, nullable AAnnotations) */ -void nitc__parser_prod___ANullExpr___init_anullexpr(val* self, val* p0, val* p1) { -val* var_n_kwnull /* var n_kwnull: nullable TKwnull */; -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$ABraReassignExpr$n_expr= for (self: ABraReassignExpr, AExpr) */ +void nitc__parser_prod___ABraReassignExpr___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 kernel#Object#init (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; } } -var_n_kwnull = p0; -var_n_annotations = p1; -if (unlikely(var_n_kwnull == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6377); -fatal_exit(1); +RET_LABEL:; } -self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val = var_n_kwnull; /* _n_kwnull on */ -if (var_n_kwnull == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6378); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwnull,self) on */ -if (unlikely(var_n_kwnull == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); +/* 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; } -var_n_kwnull->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; } +RET_LABEL:; } -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 */ +/* 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 */; +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; } -if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ -var_other = ((val*)NULL); +} +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 */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val = var_node; /* _n_value on */ { -var5 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, 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; } -var6 = !var5; -var3 = var6; -goto RET_LABEL4; -RET_LABEL4:(void)0; } -var = var3; +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) { +val* var_v /* var v: Visitor */; +val* var /* : AExpr */; +val* var1 /* : AExprs */; +val* var2 /* : AAssignOp */; +val* var3 /* : 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); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5838); +fatal_exit(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; +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, 5839); +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__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +if (unlikely(var2 == 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, 5840); +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_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, 5841); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* 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 */; +{ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; +} +} +var_n_id = p0; +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, 5849); +fatal_exit(1); } +self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___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, 5850); +fatal_exit(1); } else { +{ /* 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, 60); +fatal_exit(1); +} +var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; +} } RET_LABEL:; } -/* method parser_prod#ANullExpr#replace_child for (self: ANullExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ANullExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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 /* : TKwnull */; +val* var /* : TId */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -528,28 +892,22 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : nullable AAnnotations */; -short int var8 /* : Bool */; -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; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val; /* _n_kwnull on */ +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_kwnull"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6385); +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, 5855); 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; @@ -562,9 +920,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TKwnull */ -cltype = type_nitc__TKwnull.color; -idtype = type_nitc__TKwnull.id; +/* isa TId */ +cltype = type_nitc__TId.color; +idtype = type_nitc__TId.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -576,208 +934,160 @@ 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`", "TKwnull", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6386); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5856); fatal_exit(1); } { -nitc__parser_prod___ANullExpr___n_kwnull_61d(self, var_new_child); /* Direct call parser_prod#ANullExpr#n_kwnull= on */ +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 { } -var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ -var13 = var7 == var_other; -var11 = var13; -goto RET_LABEL12; -RET_LABEL12:(void)0; -} +RET_LABEL:; } -var9 = var11; -goto RET_LABEL10; -RET_LABEL10:(void)0; +/* 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; } -var8 = var9; } -if (var8){ -/* isa nullable AAnnotations */ -cltype15 = type_nullable__nitc__AAnnotations.color; -idtype16 = type_nullable__nitc__AAnnotations.id; -if(var_new_child == NULL) { -var14 = 1; -} else { -if(cltype15 >= var_new_child->type->table_size) { -var14 = 0; -} else { -var14 = var_new_child->type->type_table[cltype15] == idtype16; +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)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -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`", "nullable AAnnotations", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6390); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5870); fatal_exit(1); } { -nitc__parser_prod___ANullExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ANullExpr#n_annotations= on */ -} -goto RET_LABEL; -} else { +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ANullExpr#n_kwnull= for (self: ANullExpr, TKwnull) */ -void nitc__parser_prod___ANullExpr___n_kwnull_61d(val* self, val* p0) { -val* var_node /* var node: TKwnull */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val = var_node; /* _n_kwnull on */ +/* 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 parser_nodes#ANode#parent= (var_node,self) on */ -var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -RET_LABEL:; +var_n_id = p0; +var_n_assign = p1; +var_n_value = p2; +if (unlikely(var_n_id == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#ANullExpr#n_annotations= for (self: ANullExpr, nullable AAnnotations) */ -void nitc__parser_prod___ANullExpr___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 */; -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 */ +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5880); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___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, 5881); +fatal_exit(1); } else { -var = 1; /* arg is null and recv is not */ +{ /* 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); } -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 */ +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } -var4 = !var3; -var1 = var4; -goto RET_LABEL2; +var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ 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; } +if (unlikely(var_n_assign == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -} else { +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5882); +fatal_exit(1); } -RET_LABEL:; +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); } -/* method parser_prod#ANullExpr#visit_all for (self: ANullExpr, Visitor) */ -void nitc__parser_prod___ANullExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TKwnull */; -val* var1 /* : nullable AAnnotations */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val; /* _n_kwnull on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnull"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6409); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5883); 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); } -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -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 */ +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } -RET_LABEL:; +var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } -/* method parser_prod#AIntegerExpr#init_aintegerexpr for (self: AIntegerExpr, nullable TInteger, nullable AAnnotations) */ -void nitc__parser_prod___AIntegerExpr___init_aintegerexpr(val* self, val* p0, val* p1) { -val* var_n_integer /* var n_integer: nullable TInteger */; -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_value == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var_n_integer = p0; -var_n_annotations = p1; -if (unlikely(var_n_integer == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6419); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5884); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AIntegerExpr___n_integer].val = var_n_integer; /* _n_integer on */ -if (var_n_integer == NULL) { +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, 6420); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5885); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_integer,self) on */ -if (unlikely(var_n_integer == NULL)) { +{ /* 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_integer->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; +var_n_value->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; -} -} -} else { } RET_LABEL:; } -/* method parser_prod#AIntegerExpr#replace_child for (self: AIntegerExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AIntegerExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TInteger */; +val* var /* : TId */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -786,28 +1096,38 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : nullable AAnnotations */; +val* var7 /* : TAssign */; short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var11 /* : 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; +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__AIntegerExpr___n_integer].val; /* _n_integer on */ +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_integer"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6427); +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, 5890); 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; @@ -820,9 +1140,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TInteger */ -cltype = type_nitc__TInteger.color; -idtype = type_nitc__TInteger.id; +/* isa TId */ +cltype = type_nitc__TId.color; +idtype = type_nitc__TId.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -834,208 +1154,312 @@ 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`", "TInteger", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6428); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5891); fatal_exit(1); } { -nitc__parser_prod___AIntegerExpr___n_integer_61d(self, var_new_child); /* Direct call parser_prod#AIntegerExpr#n_integer= on */ +nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod$AVarAssignExpr$n_id= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val; /* _n_assign on */ +if (unlikely(var7 == 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, 5894); +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 */ -var13 = var7 == 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; } -var8 = var9; } if (var8){ -/* isa nullable AAnnotations */ -cltype15 = type_nullable__nitc__AAnnotations.color; -idtype16 = type_nullable__nitc__AAnnotations.id; +/* isa TAssign */ +cltype14 = type_nitc__TAssign.color; +idtype15 = type_nitc__TAssign.id; if(var_new_child == NULL) { -var14 = 1; +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`", "nullable AAnnotations", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6432); +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, 5895); +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 */ +} +goto RET_LABEL; +} else { +} +var17 = self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var17 == 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, 5898); +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, 5899); fatal_exit(1); } { -nitc__parser_prod___AIntegerExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AIntegerExpr#n_annotations= on */ +nitc__parser_prod___AVarAssignExpr___nitc__parser_nodes__AAssignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$AVarAssignExpr$n_value= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AIntegerExpr#n_integer= for (self: AIntegerExpr, TInteger) */ -void nitc__parser_prod___AIntegerExpr___n_integer_61d(val* self, val* p0) { -val* var_node /* var node: TInteger */; +/* 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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AIntegerExpr___n_integer].val = var_node; /* _n_integer on */ +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 */ +{ /* 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#AIntegerExpr#n_annotations= for (self: AIntegerExpr, nullable AAnnotations) */ -void nitc__parser_prod___AIntegerExpr___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$AVarAssignExpr$n_assign= for (self: AVarAssignExpr, TAssign) */ +void nitc__parser_prod___AVarAssignExpr___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__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); +self->attrs[COLOR_nitc__parser_nodes__AAssignFormExpr___n_assign].val = var_node; /* _n_assign 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){ +/* 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) { +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_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#AIntegerExpr#visit_all for (self: AIntegerExpr, Visitor) */ -void nitc__parser_prod___AIntegerExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* 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) { val* var_v /* var v: Visitor */; -val* var /* : TInteger */; -val* var1 /* : nullable AAnnotations */; +val* var /* : TId */; +val* var1 /* : TAssign */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AIntegerExpr___n_integer].val; /* _n_integer on */ +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_integer"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6451); +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, 5923); 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 */ +if (unlikely(var1 == 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, 5924); +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_value].val; /* _n_value on */ +if (unlikely(var2 == 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, 5925); +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, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AFloatExpr#init_afloatexpr for (self: AFloatExpr, nullable TFloat, nullable AAnnotations) */ -void nitc__parser_prod___AFloatExpr___init_afloatexpr(val* self, val* p0, val* p1) { -val* var_n_float /* var n_float: nullable TFloat */; -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$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 */; +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_float = p0; -var_n_annotations = p1; -if (unlikely(var_n_float == NULL)) { +var_n_id = p0; +var_n_assign_op = p1; +var_n_value = p2; +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, 6461); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5935); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AFloatExpr___n_float].val = var_n_float; /* _n_float on */ -if (var_n_float == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AVarFormExpr___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, 6462); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5936); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_float,self) on */ -if (unlikely(var_n_float == 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_float->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_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 */ +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, 5937); +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) { +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, 5938); +fatal_exit(1); } else { -var = 1; /* arg is null and recv is not */ +{ /* 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); } -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; -RET_LABEL4:(void)0; +var_n_assign_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(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, 5939); +fatal_exit(1); } +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, 5940); +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_LABEL4:(void)0; +} } RET_LABEL:; } -/* method parser_prod#AFloatExpr#replace_child for (self: AFloatExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AFloatExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TFloat */; +val* var /* : TId */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -1044,28 +1468,38 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : nullable AAnnotations */; +val* var7 /* : AAssignOp */; short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var11 /* : 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; +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__AFloatExpr___n_float].val; /* _n_float on */ +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_float"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6469); +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, 5945); 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; @@ -1078,9 +1512,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TFloat */ -cltype = type_nitc__TFloat.color; -idtype = type_nitc__TFloat.id; +/* isa TId */ +cltype = type_nitc__TId.color; +idtype = type_nitc__TId.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -1092,238 +1526,476 @@ 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`", "TFloat", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6470); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 5946); fatal_exit(1); } { -nitc__parser_prod___AFloatExpr___n_float_61d(self, var_new_child); /* Direct call parser_prod#AFloatExpr#n_float= on */ +nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AVarFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod$AVarReassignExpr$n_id= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +if (unlikely(var7 == 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, 5949); +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 */ -var13 = var7 == 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; } -var8 = var9; } if (var8){ -/* isa nullable AAnnotations */ -cltype15 = type_nullable__nitc__AAnnotations.color; -idtype16 = type_nullable__nitc__AAnnotations.id; +/* isa AAssignOp */ +cltype14 = type_nitc__AAssignOp.color; +idtype15 = type_nitc__AAssignOp.id; if(var_new_child == NULL) { -var14 = 1; +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`", "nullable AAnnotations", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6474); +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, 5950); +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 */ +} +goto RET_LABEL; +} else { +} +var17 = self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var17 == 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, 5953); +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, 5954); fatal_exit(1); } { -nitc__parser_prod___AFloatExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AFloatExpr#n_annotations= on */ +nitc__parser_prod___AVarReassignExpr___nitc__parser_nodes__AReassignFormExpr__n_value_61d(self, var_new_child); /* Direct call parser_prod$AVarReassignExpr$n_value= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AFloatExpr#n_float= for (self: AFloatExpr, TFloat) */ -void nitc__parser_prod___AFloatExpr___n_float_61d(val* self, val* p0) { -val* var_node /* var node: TFloat */; +/* 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__AFloatExpr___n_float].val = var_node; /* _n_float on */ +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 */ +{ /* 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#AFloatExpr#n_annotations= for (self: AFloatExpr, nullable AAnnotations) */ -void nitc__parser_prod___AFloatExpr___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$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__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); +self->attrs[COLOR_nitc__parser_nodes__AReassignFormExpr___n_assign_op].val = var_node; /* _n_assign_op 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){ +/* 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_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#AFloatExpr#visit_all for (self: AFloatExpr, Visitor) */ -void nitc__parser_prod___AFloatExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* 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 /* : TFloat */; -val* var1 /* : nullable AAnnotations */; +val* var /* : TId */; +val* var1 /* : AAssignOp */; +val* var2 /* : AExpr */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AFloatExpr___n_float].val; /* _n_float on */ +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_float"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6493); +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, 5978); 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__AReassignFormExpr___n_assign_op].val; /* _n_assign_op on */ +if (unlikely(var1 == 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, 5979); +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__AReassignFormExpr___n_value].val; /* _n_value on */ +if (unlikely(var2 == 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, 5980); +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, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ACharExpr#init_acharexpr for (self: ACharExpr, nullable TChar, nullable AAnnotations) */ -void nitc__parser_prod___ACharExpr___init_acharexpr(val* self, val* p0, val* p1) { -val* var_n_char /* var n_char: nullable TChar */; +/* 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 var3 /* : Bool */; +short int var7 /* : Bool */; val* var_other /* var other: nullable Object */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; +short int var9 /* : Bool */; +short int var10 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_char = p0; -var_n_annotations = p1; -if (unlikely(var_n_char == NULL)) { +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)) { +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, 6503); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6048); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ACharExpr___n_char].val = var_n_char; /* _n_char on */ -if (var_n_char == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_obra].val = var_n_obra; /* _n_obra on */ +if (var_n_obra == 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, 6504); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6049); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_char,self) on */ -if (unlikely(var_n_char == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on */ +if (unlikely(var_n_obra == 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_char->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_obra->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 */ +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, 6050); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___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, 6051); +fatal_exit(1); } else { -var = 1; /* arg is null and recv is not */ +{ /* 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); } -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_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; +} +} +if (unlikely(var_n_dotdot == 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, 6052); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val = var_n_dotdot; /* _n_dotdot on */ +if (var_n_dotdot == 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, 6053); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_dotdot,self) on */ +if (unlikely(var_n_dotdot == 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_dotdot->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_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, 6054); +fatal_exit(1); } +self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___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, 6055); +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); } -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } -/* method parser_prod#ACharExpr#replace_child for (self: ACharExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ACharExpr___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 /* : TChar */; -short int var1 /* : Bool */; -val* var_other /* var other: nullable Object */; +var_n_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL5:(void)0; +} +} +if (unlikely(var_n_cbra == 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, 6056); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_cbra].val = var_n_cbra; /* _n_cbra on */ +if (var_n_cbra == 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, 6057); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on */ +if (unlikely(var_n_cbra == 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_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; +} +} +} 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 /* : nullable AAnnotations */; +val* var7 /* : AExpr */; short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var11 /* : 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; +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__ACharExpr___n_char].val; /* _n_char on */ +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_char"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6511); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6064); 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; @@ -1336,9 +2008,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TChar */ -cltype = type_nitc__TChar.color; -idtype = type_nitc__TChar.id; +/* isa TObra */ +cltype = type_nitc__TObra.color; +idtype = type_nitc__TObra.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -1350,336 +2022,330 @@ 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`", "TChar", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6512); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6065); fatal_exit(1); } { -nitc__parser_prod___ACharExpr___n_char_61d(self, var_new_child); /* Direct call parser_prod#ACharExpr#n_char= on */ +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__Prod___n_annotations].val; /* _n_annotations on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___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, 6068); +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 */ -var13 = var7 == 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; } -var8 = var9; } if (var8){ -/* isa nullable AAnnotations */ -cltype15 = type_nullable__nitc__AAnnotations.color; -idtype16 = type_nullable__nitc__AAnnotations.id; +/* isa AExpr */ +cltype14 = type_nitc__AExpr.color; +idtype15 = type_nitc__AExpr.id; if(var_new_child == NULL) { -var14 = 1; +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`", "nullable AAnnotations", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6516); +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, 6069); fatal_exit(1); } { -nitc__parser_prod___ACharExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ACharExpr#n_annotations= on */ +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 { } -RET_LABEL:; +var17 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val; /* _n_dotdot on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6072); +fatal_exit(1); } -/* method parser_prod#ACharExpr#n_char= for (self: ACharExpr, TChar) */ -void nitc__parser_prod___ACharExpr___n_char_61d(val* self, val* p0) { -val* var_node /* var node: TChar */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACharExpr___n_char].val = var_node; /* _n_char 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#ACharExpr#n_annotations= for (self: ACharExpr, nullable AAnnotations) */ -void nitc__parser_prod___ACharExpr___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 */; -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 */ +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; } -var4 = !var3; -var1 = var4; -goto RET_LABEL2; -RET_LABEL2:(void)0; } -var = var1; +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, 6073); +fatal_exit(1); } -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; -} +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 { } -RET_LABEL:; +var27 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var27 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#ACharExpr#visit_all for (self: ACharExpr, Visitor) */ -void nitc__parser_prod___ACharExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TChar */; -val* var1 /* : nullable AAnnotations */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ACharExpr___n_char].val; /* _n_char on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_char"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6535); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6076); 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__Prod___n_annotations].val; /* _n_annotations on */ +{ /* Inline kernel$Object$== (var27,var_old_child) on */ +var_other = var_old_child; { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ +var32 = var27 == var_other; +var30 = var32; +goto RET_LABEL31; +RET_LABEL31:(void)0; } -/* method parser_prod#AStringExpr#init_astringexpr for (self: AStringExpr, nullable TString, nullable AAnnotations) */ -void nitc__parser_prod___AStringExpr___init_astringexpr(val* self, val* p0, val* p1) { -val* var_n_string /* var n_string: nullable TString */; -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; } +var28 = var30; +goto RET_LABEL29; +RET_LABEL29:(void)0; } -var_n_string = p0; -var_n_annotations = p1; -if (unlikely(var_n_string == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6545); -fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ -if (var_n_string == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6546); -fatal_exit(1); +if (var28){ +/* isa AExpr */ +cltype34 = type_nitc__AExpr.color; +idtype35 = type_nitc__AExpr.id; +if(var_new_child == NULL) { +var33 = 0; } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_string,self) on */ -if (unlikely(var_n_string == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); +if(cltype34 >= var_new_child->type->table_size) { +var33 = 0; +} else { +var33 = var_new_child->type->type_table[cltype34] == idtype35; } -var_n_string->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; } +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, 6077); +fatal_exit(1); } -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 (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; -} +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 { } -RET_LABEL:; +var37 = self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___n_cbra].val; /* _n_cbra on */ +if (unlikely(var37 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AStringExpr#replace_child for (self: AStringExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AStringExpr___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 /* : nullable AAnnotations */; -short int var8 /* : Bool */; -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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6553); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6080); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var37,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; +{ /* Inline kernel$Object$is_same_instance (var37,var_other) on */ +var42 = var37 == var_other; +var40 = var42; +goto RET_LABEL41; +RET_LABEL41:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var38 = var40; +goto RET_LABEL39; +RET_LABEL39:(void)0; } } -if (var1){ -/* isa TString */ -cltype = type_nitc__TString.color; -idtype = type_nitc__TString.id; +if (var38){ +/* isa TCbra */ +cltype44 = type_nitc__TCbra.color; +idtype45 = type_nitc__TCbra.id; if(var_new_child == NULL) { -var6 = 0; +var43 = 0; } else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +if(cltype44 >= var_new_child->type->table_size) { +var43 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var43 = var_new_child->type->type_table[cltype44] == idtype45; } } -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`", "TString", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6554); +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, 6081); fatal_exit(1); } { -nitc__parser_prod___AStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod#AStringExpr#n_string= on */ +nitc__parser_prod___ACrangeExpr___n_cbra_61d(self, var_new_child); /* Direct call parser_prod$ACrangeExpr$n_cbra= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ +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#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var47,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ -var13 = var7 == var_other; -var11 = var13; -goto RET_LABEL12; -RET_LABEL12:(void)0; +{ /* Inline kernel$Object$is_same_instance (var47,var_other) on */ +var53 = var47 == var_other; +var51 = var53; +goto RET_LABEL52; +RET_LABEL52:(void)0; } } -var9 = var11; -goto RET_LABEL10; -RET_LABEL10:(void)0; +var49 = var51; +goto RET_LABEL50; +RET_LABEL50:(void)0; } -var8 = var9; +var48 = var49; } -if (var8){ +if (var48){ /* isa nullable AAnnotations */ -cltype15 = type_nullable__nitc__AAnnotations.color; -idtype16 = type_nullable__nitc__AAnnotations.id; +cltype55 = type_nullable__nitc__AAnnotations.color; +idtype56 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var14 = 1; +var54 = 1; } else { -if(cltype15 >= var_new_child->type->table_size) { -var14 = 0; +if(cltype55 >= var_new_child->type->table_size) { +var54 = 0; } else { -var14 = var_new_child->type->type_table[cltype15] == idtype16; +var54 = var_new_child->type->type_table[cltype55] == idtype56; } } -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`", "nullable AAnnotations", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6558); +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, 6085); fatal_exit(1); } { -nitc__parser_prod___AStringExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AStringExpr#n_annotations= on */ +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#AStringExpr#n_string= for (self: AStringExpr, Token) */ -void nitc__parser_prod___AStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { -val* var_node /* var node: Token */; +/* 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__AStringFormExpr___n_string].val = var_node; /* _n_string on */ +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 */ +{ /* 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#AStringExpr#n_annotations= for (self: AStringExpr, nullable AAnnotations) */ -void nitc__parser_prod___AStringExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { +/* 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) { +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$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 */; +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$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 */; +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$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 */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ACrangeExpr___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$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 */; @@ -1687,14 +2353,14 @@ 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__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 */ +{ /* 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 */ @@ -1708,7 +2374,7 @@ var = var1; } if (var){ { -{ /* 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_LABEL5:(void)0; } @@ -1717,189 +2383,291 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStringExpr#visit_all for (self: AStringExpr, Visitor) */ -void nitc__parser_prod___AStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* 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) { val* var_v /* var v: Visitor */; -val* var /* : Token */; -val* var1 /* : nullable AAnnotations */; +val* var /* : TObra */; +val* var1 /* : AExpr */; +val* var2 /* : TDotdot */; +val* var3 /* : AExpr */; +val* var4 /* : TCbra */; +val* var5 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ +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_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6577); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6124); 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__Prod___n_annotations].val; /* _n_annotations on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var1 == 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, 6125); +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)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6126); +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)) { +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, 6127); +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)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6128); +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, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AStartStringExpr#init_astartstringexpr for (self: AStartStringExpr, nullable TStartString) */ -void nitc__parser_prod___AStartStringExpr___init_astartstringexpr(val* self, val* p0) { -val* var_n_string /* var n_string: nullable TStartString */; +/* 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 */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_string = p0; -if (unlikely(var_n_string == NULL)) { +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)) { +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, 6586); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6142); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ -if (var_n_string == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_obra].val = var_n_obra; /* _n_obra on */ +if (var_n_obra == 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, 6587); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6143); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_string,self) on */ -if (unlikely(var_n_string == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on */ +if (unlikely(var_n_obra == 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_string->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_obra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -RET_LABEL:; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AStartStringExpr#replace_child for (self: AStartStringExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AStartStringExpr___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6592); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6144); 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__ARangeExpr___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, 6145); +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); } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(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_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } -if (var1){ -/* isa TStartString */ -cltype = type_nitc__TStartString.color; -idtype = type_nitc__TStartString.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(var_n_dotdot == 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`", "TStartString", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6593); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6146); fatal_exit(1); } -{ -nitc__parser_prod___AStartStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod#AStartStringExpr#n_string= on */ +self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val = var_n_dotdot; /* _n_dotdot on */ +if (var_n_dotdot == 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, 6147); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_dotdot,self) on */ +if (unlikely(var_n_dotdot == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; -} -/* method parser_prod#AStartStringExpr#n_string= for (self: AStartStringExpr, Token) */ -void nitc__parser_prod___AStartStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_node; /* _n_string 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; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } +var_n_dotdot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } -RET_LABEL:; } -/* method parser_prod#AStartStringExpr#visit_all for (self: AStartStringExpr, Visitor) */ -void nitc__parser_prod___AStartStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6607); +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, 6148); fatal_exit(1); } -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val = var_n_expr2; /* _n_expr2 on */ +if (var_n_expr2 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6149); +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); } -/* method parser_prod#AMidStringExpr#init_amidstringexpr for (self: AMidStringExpr, nullable TMidString) */ -void nitc__parser_prod___AMidStringExpr___init_amidstringexpr(val* self, val* p0) { -val* var_n_string /* var n_string: nullable TMidString */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(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_expr2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL5:(void)0; } } -var_n_string = p0; -if (unlikely(var_n_string == NULL)) { +if (unlikely(var_n_cbra == 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, 6615); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6150); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ -if (var_n_string == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_cbra].val = var_n_cbra; /* _n_cbra on */ +if (var_n_cbra == 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, 6616); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6151); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_string,self) on */ -if (unlikely(var_n_string == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on */ +if (unlikely(var_n_cbra == 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_string->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +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; } } +} else { +} RET_LABEL:; } -/* method parser_prod#AMidStringExpr#replace_child for (self: AMidStringExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AMidStringExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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 /* : Token */; +val* var /* : TObra */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -1908,19 +2676,63 @@ 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__AStringFormExpr___n_string].val; /* _n_string on */ +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_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6621); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6158); 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; @@ -1933,9 +2745,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TMidString */ -cltype = type_nitc__TMidString.color; -idtype = type_nitc__TMidString.id; +/* isa TObra */ +cltype = type_nitc__TObra.color; +idtype = type_nitc__TObra.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -1947,322 +2759,330 @@ 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`", "TMidString", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6622); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6159); fatal_exit(1); } { -nitc__parser_prod___AMidStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod#AMidStringExpr#n_string= on */ +nitc__parser_prod___AOrangeExpr___n_obra_61d(self, var_new_child); /* Direct call parser_prod$AOrangeExpr$n_obra= on */ } goto RET_LABEL; } else { } -RET_LABEL:; +var7 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___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, 6162); +fatal_exit(1); } -/* method parser_prod#AMidStringExpr#n_string= for (self: AMidStringExpr, Token) */ -void nitc__parser_prod___AMidStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_node; /* _n_string 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#AMidStringExpr#visit_all for (self: AMidStringExpr, Visitor) */ -void nitc__parser_prod___AMidStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6636); +} +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, 6163); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AOrangeExpr$n_expr= on */ } -RET_LABEL:; +goto RET_LABEL; +} else { +} +var17 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_dotdot].val; /* _n_dotdot on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6166); +fatal_exit(1); } -/* method parser_prod#AEndStringExpr#init_aendstringexpr for (self: AEndStringExpr, nullable TEndString) */ -void nitc__parser_prod___AEndStringExpr___init_aendstringexpr(val* self, val* p0) { -val* var_n_string /* var n_string: nullable TEndString */; { -{ /* Inline kernel#Object#init (self) 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; } } -var_n_string = p0; -if (unlikely(var_n_string == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6644); -fatal_exit(1); +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } -self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ -if (var_n_string == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6645); -fatal_exit(1); +} +if (var18){ +/* isa TDotdot */ +cltype24 = type_nitc__TDotdot.color; +idtype25 = type_nitc__TDotdot.id; +if(var_new_child == NULL) { +var23 = 0; } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_string,self) on */ -if (unlikely(var_n_string == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +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, 6167); fatal_exit(1); } -var_n_string->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +{ +nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_dotdot_61d(self, var_new_child); /* Direct call parser_prod$AOrangeExpr$n_dotdot= on */ } +goto RET_LABEL; +} else { } -RET_LABEL:; +var27 = self->attrs[COLOR_nitc__parser_nodes__ARangeExpr___n_expr2].val; /* _n_expr2 on */ +if (unlikely(var27 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AEndStringExpr#replace_child for (self: AEndStringExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AEndStringExpr___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6650); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr2"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6170); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var27,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; +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ +var32 = var27 == var_other; +var30 = var32; +goto RET_LABEL31; +RET_LABEL31:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var28 = var30; +goto RET_LABEL29; +RET_LABEL29:(void)0; } } -if (var1){ -/* isa TEndString */ -cltype = type_nitc__TEndString.color; -idtype = type_nitc__TEndString.id; +if (var28){ +/* isa AExpr */ +cltype34 = type_nitc__AExpr.color; +idtype35 = type_nitc__AExpr.id; if(var_new_child == NULL) { -var6 = 0; +var33 = 0; } else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +if(cltype34 >= var_new_child->type->table_size) { +var33 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var33 = var_new_child->type->type_table[cltype34] == idtype35; } } -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`", "TEndString", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6651); +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, 6171); fatal_exit(1); } { -nitc__parser_prod___AEndStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod#AEndStringExpr#n_string= on */ +nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__ARangeExpr__n_expr2_61d(self, var_new_child); /* Direct call parser_prod$AOrangeExpr$n_expr2= on */ } goto RET_LABEL; } else { } -RET_LABEL:; +var37 = self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_cbra].val; /* _n_cbra on */ +if (unlikely(var37 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6174); +fatal_exit(1); } -/* method parser_prod#AEndStringExpr#n_string= for (self: AEndStringExpr, Token) */ -void nitc__parser_prod___AEndStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_node; /* _n_string 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$== (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; } } -RET_LABEL:; +var38 = var40; +goto RET_LABEL39; +RET_LABEL39:(void)0; } -/* method parser_prod#AEndStringExpr#visit_all for (self: AEndStringExpr, Visitor) */ -void nitc__parser_prod___AEndStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6665); -fatal_exit(1); } -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +if (var38){ +/* isa TObra */ +cltype44 = type_nitc__TObra.color; +idtype45 = type_nitc__TObra.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; } -RET_LABEL:; } -/* method parser_prod#ASuperstringExpr#init_asuperstringexpr for (self: ASuperstringExpr, Collection[Object], nullable AAnnotations) */ -void nitc__parser_prod___ASuperstringExpr___init_asuperstringexpr(val* self, val* p0, val* p1) { -val* var_n_exprs /* var n_exprs: Collection[Object] */; -val* var_n_annotations /* var n_annotations: nullable AAnnotations */; -val* var /* : ANodes[AExpr] */; -val* var3 /* : ANodes[AExpr] */; -short int var4 /* : Bool */; -short int var5 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var7 /* : Bool */; -short int var8 /* : Bool */; +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, 6175); +fatal_exit(1); +} { -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +nitc__parser_prod___AOrangeExpr___n_cbra_61d(self, var_new_child); /* Direct call parser_prod$AOrangeExpr$n_cbra= on */ } +goto RET_LABEL; +} else { } -var_n_exprs = p0; -var_n_annotations = p1; +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 parser_nodes#ASuperstringExpr#n_exprs (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__ASuperstringExpr___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, 2564); -fatal_exit(1); +{ /* Inline kernel$Object$is_same_instance (var47,var_other) on */ +var53 = var47 == var_other; +var51 = var53; +goto RET_LABEL52; +RET_LABEL52:(void)0; } -var = var3; -RET_LABEL2:(void)0; } +var49 = var51; +goto RET_LABEL50; +RET_LABEL50:(void)0; } -{ -nitc___nitc__ANodes___unsafe_add_all(var, var_n_exprs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +var48 = var49; } -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { -var4 = 0; /* is null */ +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 { -var4 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var7 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ +if(cltype55 >= var_new_child->type->table_size) { +var54 = 0; +} else { +var54 = var_new_child->type->type_table[cltype55] == idtype56; } -var8 = !var7; -var5 = var8; -goto RET_LABEL6; -RET_LABEL6:(void)0; } -var4 = var5; +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, 6179); +fatal_exit(1); } -if (var4){ { -{ /* 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_LABEL9:(void)0; -} +nitc__parser_prod___AOrangeExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AOrangeExpr$n_annotations= on */ } +goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ASuperstringExpr#replace_child for (self: ASuperstringExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ASuperstringExpr___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 /* : ANodes[AExpr] */; -val* var2 /* : ANodes[AExpr] */; -short int var3 /* : Bool */; -val* var4 /* : nullable AAnnotations */; -short int var5 /* : Bool */; -short int var6 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var11 /* : Bool */; -int cltype; -int idtype; -const char* var_class_name; -var_old_child = p0; -var_new_child = p1; +/* 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#ASuperstringExpr#n_exprs (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__ASuperstringExpr___n_exprs].val; /* _n_exprs on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2564); -fatal_exit(1); -} -var = var2; +{ /* 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 */ { -var3 = nitc___nitc__ANodes___replace_child(var, var_old_child, var_new_child); +{ /* 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 (var3){ -goto RET_LABEL; -} else { } -var4 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var4 == NULL) { -var5 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var4,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var4,var_other) on */ -var10 = var4 == var_other; -var8 = var10; -goto RET_LABEL9; -RET_LABEL9:(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; } -var6 = var8; -goto RET_LABEL7; -RET_LABEL7:(void)0; } -var5 = var6; +RET_LABEL:; } -if (var5){ -/* isa nullable AAnnotations */ -cltype = type_nullable__nitc__AAnnotations.color; -idtype = type_nullable__nitc__AAnnotations.id; -if(var_new_child == NULL) { -var11 = 1; -} else { -if(cltype >= var_new_child->type->table_size) { -var11 = 0; -} else { -var11 = var_new_child->type->type_table[cltype] == idtype; +/* 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; } } -if (unlikely(!var11)) { -var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6683); -fatal_exit(1); +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 */ { -nitc__parser_prod___ASuperstringExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ASuperstringExpr#n_annotations= 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; } -goto RET_LABEL; -} else { } RET_LABEL:; } -/* method parser_prod#ASuperstringExpr#n_annotations= for (self: ASuperstringExpr, nullable AAnnotations) */ -void nitc__parser_prod___ASuperstringExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { +/* 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 */; short int var /* : Bool */; short int var1 /* : Bool */; @@ -2270,14 +3090,14 @@ 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__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 */ +{ /* 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 */ @@ -2291,7 +3111,7 @@ var = var1; } if (var){ { -{ /* 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_LABEL5:(void)0; } @@ -2300,152 +3120,251 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#ASuperstringExpr#visit_all for (self: ASuperstringExpr, Visitor) */ -void nitc__parser_prod___ASuperstringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* 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 /* : ANodes[AExpr] */; -val* var2 /* : ANodes[AExpr] */; -val* var3 /* : nullable AAnnotations */; +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)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6218); +fatal_exit(1); +} { -{ /* Inline parser_nodes#ASuperstringExpr#n_exprs (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__ASuperstringExpr___n_exprs].val; /* _n_exprs on */ +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)) { +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, 6219); +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_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2564); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6220); fatal_exit(1); } -var = var2; -RET_LABEL1:(void)0; +{ +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)) { +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, 6221); +fatal_exit(1); } { -nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var3 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +var4 = self->attrs[COLOR_nitc__parser_nodes__AOrangeExpr___n_cbra].val; /* _n_cbra on */ +if (unlikely(var4 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6222); +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, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AParExpr#init_aparexpr for (self: AParExpr, nullable TOpar, nullable AExpr, nullable TCpar, nullable AAnnotations) */ -void nitc__parser_prod___AParExpr___init_aparexpr(val* self, val* p0, val* p1, val* p2, val* p3) { -val* var_n_opar /* var n_opar: nullable TOpar */; -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_cpar /* var n_cpar: nullable TCpar */; +/* 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 */; -short int var /* : Bool */; +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 var7 /* : Bool */; short int var8 /* : Bool */; +short int var9 /* : Bool */; +short int var12 /* : Bool */; +short int var13 /* : Bool */; +short int var15 /* : Bool */; +short int var16 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_opar = p0; -var_n_expr = p1; -var_n_cpar = p2; -var_n_annotations = p3; -if (unlikely(var_n_opar == NULL)) { +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)) { +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, 6709); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6235); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val = var_n_opar; /* _n_opar on */ -if (var_n_opar == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_obra].val = var_n_obra; /* _n_obra on */ +if (var_n_obra == 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, 6710); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6236); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_opar,self) on */ -if (unlikely(var_n_opar == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on */ +if (unlikely(var_n_obra == 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_opar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +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, 6711); -fatal_exit(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)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -self->attrs[COLOR_nitc__parser_nodes__AParExpr___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, 6712); -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); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2541); fatal_exit(1); } -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var = var4; RET_LABEL3:(void)0; } } -if (unlikely(var_n_cpar == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6713); +{ +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 */ +} +var9 = !var8; +var6 = var9; +goto RET_LABEL7; +RET_LABEL7:(void)0; +} +var5 = var6; +} +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; +} +} +} else { +} +if (unlikely(var_n_cbra == 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, 6240); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val = var_n_cpar; /* _n_cpar on */ -if (var_n_cpar == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_cbra].val = var_n_cbra; /* _n_cbra on */ +if (var_n_cbra == 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, 6714); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6241); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_cpar,self) on */ -if (unlikely(var_n_cpar == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on */ +if (unlikely(var_n_cbra == 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_cpar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; +var_n_cbra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL11:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ +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 */ +var12 = 0; /* is null */ } else { -var = 1; /* arg is null and recv is not */ +var12 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on */ var_other = ((val*)NULL); { -var7 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ +var15 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ } -var8 = !var7; -var5 = var8; -goto RET_LABEL6; -RET_LABEL6:(void)0; +var16 = !var15; +var13 = var16; +goto RET_LABEL14; +RET_LABEL14:(void)0; } -var = var5; +var12 = var13; } -if (var){ +if (var12){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_annotations,self) on */ +{ /* 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_LABEL9:(void)0; +RET_LABEL17:(void)0; } } } else { } RET_LABEL:; } -/* method parser_prod#AParExpr#replace_child for (self: AParExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AParExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : TOpar */; +val* var /* : TObra */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -2454,44 +3373,51 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AExpr */; -short int var8 /* : Bool */; +val* var7 /* : ANodes[AExpr] */; +val* var9 /* : ANodes[AExpr] */; short int var10 /* : Bool */; +val* var11 /* : nullable AType */; short int var12 /* : Bool */; short int var13 /* : Bool */; -int cltype14; -int idtype15; -const char* var_class_name16; -val* var17 /* : TCpar */; +short int var15 /* : Bool */; +short int var17 /* : Bool */; short int var18 /* : Bool */; -short int var20 /* : Bool */; -short int var22 /* : Bool */; +int cltype19; +int idtype20; +const char* var_class_name21; +val* var22 /* : TCbra */; short int var23 /* : Bool */; -int cltype24; -int idtype25; -const char* var_class_name26; -val* var27 /* : nullable AAnnotations */; +short int var25 /* : Bool */; +short int var27 /* : Bool */; short int var28 /* : Bool */; -short int var29 /* : Bool */; -short int var31 /* : Bool */; +int cltype29; +int idtype30; +const char* var_class_name31; +val* var32 /* : nullable AAnnotations */; short int var33 /* : Bool */; short int var34 /* : Bool */; -int cltype35; -int idtype36; -const char* var_class_name37; +short int var36 /* : Bool */; +short int var38 /* : Bool */; +short int var39 /* : Bool */; +int cltype40; +int idtype41; +const char* var_class_name42; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val; /* _n_opar on */ +var = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_obra].val; /* _n_obra on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6721); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6248); 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; @@ -2504,9 +3430,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TOpar */ -cltype = type_nitc__TOpar.color; -idtype = type_nitc__TOpar.id; +/* isa TObra */ +cltype = type_nitc__TObra.color; +idtype = type_nitc__TObra.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -2518,198 +3444,247 @@ 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`", "TOpar", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6722); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TObra", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6249); fatal_exit(1); } { -nitc__parser_prod___AParExpr___n_opar_61d(self, var_new_child); /* Direct call parser_prod#AParExpr#n_opar= on */ +nitc__parser_prod___AArrayExpr___n_obra_61d(self, var_new_child); /* Direct call parser_prod$AArrayExpr$n_obra= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AParExpr___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, 6725); +{ +{ /* 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)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2541); fatal_exit(1); } +var7 = var9; +RET_LABEL8:(void)0; +} +} { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +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 */ 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; +{ /* Inline kernel$Object$is_same_instance (var11,var_other) on */ +var17 = var11 == var_other; +var15 = var17; +goto RET_LABEL16; +RET_LABEL16:(void)0; } } -var8 = var10; -goto RET_LABEL9; -RET_LABEL9:(void)0; +var13 = var15; +goto RET_LABEL14; +RET_LABEL14:(void)0; } +var12 = var13; } -if (var8){ -/* isa AExpr */ -cltype14 = type_nitc__AExpr.color; -idtype15 = type_nitc__AExpr.id; +if (var12){ +/* isa nullable AType */ +cltype19 = type_nullable__nitc__AType.color; +idtype20 = type_nullable__nitc__AType.id; if(var_new_child == NULL) { -var13 = 0; +var18 = 1; } else { -if(cltype14 >= var_new_child->type->table_size) { -var13 = 0; +if(cltype19 >= var_new_child->type->table_size) { +var18 = 0; } else { -var13 = var_new_child->type->type_table[cltype14] == idtype15; +var18 = var_new_child->type->type_table[cltype19] == idtype20; } } -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, 6726); +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, 6254); fatal_exit(1); } { -nitc__parser_prod___AParExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod#AParExpr#n_expr= on */ +nitc__parser_prod___AArrayExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod$AArrayExpr$n_type= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val; /* _n_cpar on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6729); +var22 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_cbra].val; /* _n_cbra on */ +if (unlikely(var22 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6257); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var22,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 kernel$Object$is_same_instance (var22,var_other) on */ +var27 = var22 == var_other; +var25 = var27; +goto RET_LABEL26; +RET_LABEL26:(void)0; } } -var18 = var20; -goto RET_LABEL19; -RET_LABEL19:(void)0; +var23 = var25; +goto RET_LABEL24; +RET_LABEL24:(void)0; } } -if (var18){ -/* isa TCpar */ -cltype24 = type_nitc__TCpar.color; -idtype25 = type_nitc__TCpar.id; +if (var23){ +/* isa TCbra */ +cltype29 = type_nitc__TCbra.color; +idtype30 = type_nitc__TCbra.id; if(var_new_child == NULL) { -var23 = 0; +var28 = 0; } else { -if(cltype24 >= var_new_child->type->table_size) { -var23 = 0; +if(cltype29 >= var_new_child->type->table_size) { +var28 = 0; } else { -var23 = var_new_child->type->type_table[cltype24] == idtype25; +var28 = var_new_child->type->type_table[cltype29] == idtype30; } } -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`", "TCpar", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6730); +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, 6258); fatal_exit(1); } { -nitc__parser_prod___AParExpr___n_cpar_61d(self, var_new_child); /* Direct call parser_prod#AParExpr#n_cpar= on */ +nitc__parser_prod___AArrayExpr___n_cbra_61d(self, var_new_child); /* Direct call parser_prod$AArrayExpr$n_cbra= on */ } goto RET_LABEL; } else { } -var27 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var27 == NULL) { -var28 = 0; /* cannot be null */ +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#== (var27,var_old_child) on */ +{ /* Inline kernel$Object$== (var32,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ -var33 = var27 == var_other; -var31 = var33; -goto RET_LABEL32; -RET_LABEL32:(void)0; +{ /* Inline kernel$Object$is_same_instance (var32,var_other) on */ +var38 = var32 == var_other; +var36 = var38; +goto RET_LABEL37; +RET_LABEL37:(void)0; } } -var29 = var31; -goto RET_LABEL30; -RET_LABEL30:(void)0; +var34 = var36; +goto RET_LABEL35; +RET_LABEL35:(void)0; } -var28 = var29; +var33 = var34; } -if (var28){ +if (var33){ /* isa nullable AAnnotations */ -cltype35 = type_nullable__nitc__AAnnotations.color; -idtype36 = type_nullable__nitc__AAnnotations.id; +cltype40 = type_nullable__nitc__AAnnotations.color; +idtype41 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var34 = 1; +var39 = 1; } else { -if(cltype35 >= var_new_child->type->table_size) { -var34 = 0; +if(cltype40 >= var_new_child->type->table_size) { +var39 = 0; } else { -var34 = var_new_child->type->type_table[cltype35] == idtype36; +var39 = var_new_child->type->type_table[cltype40] == idtype41; } } -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`", "nullable AAnnotations", var_class_name37); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6734); +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, 6262); fatal_exit(1); } { -nitc__parser_prod___AParExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AParExpr#n_annotations= on */ +nitc__parser_prod___AArrayExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AArrayExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AParExpr#n_opar= for (self: AParExpr, TOpar) */ -void nitc__parser_prod___AParExpr___n_opar_61d(val* self, val* p0) { -val* var_node /* var node: TOpar */; +/* 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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val = var_node; /* _n_opar on */ +self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___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 */ +{ /* 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#AParExpr#n_expr= for (self: AParExpr, AExpr) */ -void nitc__parser_prod___AParExpr___n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; +/* 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__AParExpr___n_expr].val = var_node; /* _n_expr on */ +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); { -{ /* 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; +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#AParExpr#n_cpar= for (self: AParExpr, TCpar) */ -void nitc__parser_prod___AParExpr___n_cpar_61d(val* self, val* p0) { -val* var_node /* var node: TCpar */; +/* 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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val = var_node; /* _n_cpar on */ +self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___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 */ +{ /* 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#AParExpr#n_annotations= for (self: AParExpr, nullable AAnnotations) */ -void nitc__parser_prod___AParExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { +/* 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 */; @@ -2717,14 +3692,14 @@ 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__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 */ +{ /* 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 */ @@ -2738,7 +3713,7 @@ var = var1; } if (var){ { -{ /* 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_LABEL5:(void)0; } @@ -2747,522 +3722,597 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AParExpr#visit_all for (self: AParExpr, Visitor) */ -void nitc__parser_prod___AParExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* 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) { val* var_v /* var v: Visitor */; -val* var /* : TOpar */; -val* var1 /* : AExpr */; -val* var2 /* : TCpar */; -val* var3 /* : nullable AAnnotations */; +val* var /* : TObra */; +val* var1 /* : ANodes[AExpr] */; +val* var3 /* : ANodes[AExpr] */; +val* var4 /* : nullable AType */; +val* var5 /* : TCbra */; +val* var6 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val; /* _n_opar on */ +var = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_obra].val; /* _n_obra on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6763); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6291); 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__AParExpr___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, 6764); -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, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +{ /* 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)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var2 = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val; /* _n_cpar on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6765); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2541); fatal_exit(1); } +var1 = var3; +RET_LABEL2:(void)0; +} +} { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__ANodes___visit_all(var1, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } -var3 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +var4 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_type].val; /* _n_type on */ { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* 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:; +var5 = self->attrs[COLOR_nitc__parser_nodes__AArrayExpr___n_cbra].val; /* _n_cbra on */ +if (unlikely(var5 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AAsCastExpr#init_aascastexpr for (self: AAsCastExpr, nullable AExpr, nullable TKwas, nullable TOpar, nullable AType, nullable TCpar) */ -void nitc__parser_prod___AAsCastExpr___init_aascastexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4) { -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_kwas /* var n_kwas: nullable TKwas */; -val* var_n_opar /* var n_opar: nullable TOpar */; -val* var_n_type /* var n_type: nullable AType */; -val* var_n_cpar /* var n_cpar: nullable TCpar */; +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6294); +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 */ +} +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 var4 /* : Bool */; +short int var3 /* : Bool */; val* var_other /* var other: nullable Object */; +short int var5 /* : Bool */; short int var6 /* : Bool */; -short int var7 /* : Bool */; -short int var10 /* : Bool */; -short int var11 /* : Bool */; -short int var13 /* : Bool */; -short int var14 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_expr = p0; -var_n_kwas = p1; -var_n_opar = p2; -var_n_type = p3; -var_n_cpar = p4; -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6778); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 6779); -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_LABEL2:(void)0; -} +var_n_kwself = p0; +var_n_annotations = p1; +if (unlikely(var_n_kwself == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_kwas == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6780); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6304); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val = var_n_kwas; /* _n_kwas on */ -if (var_n_kwas == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ASelfExpr___n_kwself].val = var_n_kwself; /* _n_kwself on */ +if (var_n_kwself == 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, 6781); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6305); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwas,self) on */ -if (unlikely(var_n_kwas == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwself,self) on */ +if (unlikely(var_n_kwself == 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_kwas->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +var_n_kwself->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val = var_n_opar; /* _n_opar on */ -if (var_n_opar == NULL) { +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_opar,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on */ var_other = ((val*)NULL); { -var6 = ((short int(*)(val* self, val* p0))(var_n_opar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_opar, var_other); /* == on */ +var5 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ } -var7 = !var6; -var4 = var7; -goto RET_LABEL5; -RET_LABEL5:(void)0; +var6 = !var5; +var3 = var6; +goto RET_LABEL4; +RET_LABEL4:(void)0; } -var = var4; +var = var3; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_opar,self) on */ -var_n_opar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL8:(void)0; -} -} -} else { -} -if (unlikely(var_n_type == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6784); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAsCastExpr___n_type].val = var_n_type; /* _n_type on */ -if (var_n_type == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6785); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_type,self) on */ -if (unlikely(var_n_type == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL9:(void)0; -} -} -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val = var_n_cpar; /* _n_cpar on */ -if (var_n_cpar == NULL) { -var10 = 0; /* is null */ -} else { -var10 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_cpar,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var13 = ((short int(*)(val* self, val* p0))(var_n_cpar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_cpar, var_other); /* == on */ -} -var14 = !var13; -var11 = var14; -goto RET_LABEL12; -RET_LABEL12:(void)0; -} -var10 = var11; -} -if (var10){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_cpar,self) on */ -var_n_cpar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL15:(void)0; +{ /* 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; } } } else { } RET_LABEL:; } -/* method parser_prod#AAsCastExpr#replace_child for (self: AAsCastExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* 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) { val* var_old_child /* var old_child: ANode */; val* var_new_child /* var new_child: nullable ANode */; -val* var /* : AExpr */; +val* var /* : nullable TKwself */; short int var1 /* : Bool */; +short int var2 /* : Bool */; val* var_other /* var other: nullable Object */; -short int var3 /* : Bool */; -short int var5 /* : Bool */; +short int var4 /* : Bool */; short int var6 /* : Bool */; +short int var7 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TKwas */; -short int var8 /* : Bool */; +val* var8 /* : nullable AAnnotations */; +short int var9 /* : Bool */; short int var10 /* : Bool */; short int var12 /* : Bool */; -short int var13 /* : Bool */; -int cltype14; -int idtype15; -const char* var_class_name16; -val* var17 /* : nullable TOpar */; -short int var18 /* : Bool */; -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; -val* var28 /* : AType */; -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; -val* var38 /* : nullable TCpar */; -short int var39 /* : Bool */; -short int var40 /* : Bool */; -short int var42 /* : Bool */; -short int var44 /* : Bool */; -short int var45 /* : Bool */; -int cltype46; -int idtype47; -const char* var_class_name48; +short int var14 /* : Bool */; +short int var15 /* : Bool */; +int cltype16; +int idtype17; +const char* var_class_name18; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 6792); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var,var_old_child) on */ +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_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; +{ /* Inline kernel$Object$is_same_instance (var,var_other) on */ +var6 = var == var_other; +var4 = var6; +goto RET_LABEL5; +RET_LABEL5:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var2 = var4; +goto RET_LABEL3; +RET_LABEL3:(void)0; } +var1 = var2; } if (var1){ -/* isa AExpr */ -cltype = type_nitc__AExpr.color; -idtype = type_nitc__AExpr.id; +/* isa TKwself */ +cltype = type_nitc__TKwself.color; +idtype = type_nitc__TKwself.id; if(var_new_child == NULL) { -var6 = 0; +var7 = 0; } else { if(cltype >= var_new_child->type->table_size) { -var6 = 0; +var7 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var7 = var_new_child->type->type_table[cltype] == idtype; } } -if (unlikely(!var6)) { +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`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6793); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwself", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6313); fatal_exit(1); } { -nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AAsCastExpr#n_expr= on */ +nitc__parser_prod___ASelfExpr___n_kwself_61d(self, var_new_child); /* Direct call parser_prod$ASelfExpr$n_kwself= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val; /* _n_kwas on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6796); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +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 (var7,var_other) on */ -var12 = var7 == var_other; +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ +var14 = var8 == var_other; +var12 = var14; +goto RET_LABEL13; +RET_LABEL13:(void)0; +} +} var10 = var12; goto RET_LABEL11; RET_LABEL11:(void)0; } +var9 = var10; } -var8 = var10; -goto RET_LABEL9; -RET_LABEL9:(void)0; -} -} -if (var8){ -/* isa TKwas */ -cltype14 = type_nitc__TKwas.color; -idtype15 = type_nitc__TKwas.id; +if (var9){ +/* isa nullable AAnnotations */ +cltype16 = type_nullable__nitc__AAnnotations.color; +idtype17 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var13 = 0; +var15 = 1; } else { -if(cltype14 >= var_new_child->type->table_size) { -var13 = 0; +if(cltype16 >= var_new_child->type->table_size) { +var15 = 0; } else { -var13 = var_new_child->type->type_table[cltype14] == idtype15; +var15 = var_new_child->type->type_table[cltype16] == idtype17; } } -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`", "TKwas", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6797); +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, 6317); fatal_exit(1); } { -nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(self, var_new_child); /* Direct call parser_prod#AAsCastExpr#n_kwas= on */ +nitc__parser_prod___ASelfExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$ASelfExpr$n_annotations= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val; /* _n_opar on */ -if (var17 == NULL) { -var18 = 0; /* cannot be null */ +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 */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ASelfExpr___n_kwself].val = var_node; /* _n_kwself on */ +if (var_node == 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, 6325); +fatal_exit(1); } 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; +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ +if (unlikely(var_node == 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); } -var19 = var21; -goto RET_LABEL20; -RET_LABEL20:(void)0; +var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL1:(void)0; } -var18 = var19; } -if (var18){ -/* isa nullable TOpar */ -cltype25 = type_nullable__nitc__TOpar.color; -idtype26 = type_nullable__nitc__TOpar.id; -if(var_new_child == NULL) { -var24 = 1; +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 */; +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 { -if(cltype25 >= var_new_child->type->table_size) { -var24 = 0; +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 { -var24 = var_new_child->type->type_table[cltype25] == idtype26; } +RET_LABEL:; } -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 TOpar", var_class_name27); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6801); +/* 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) { +val* var_v /* var v: Visitor */; +val* var /* : nullable TKwself */; +val* var1 /* : nullable AAnnotations */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__ASelfExpr___n_kwself].val; /* _n_kwself on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +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 */ +} +RET_LABEL:; +} +/* method parser_prod$AImplicitSelfExpr$init_aimplicitselfexpr for (self: AImplicitSelfExpr) */ +void nitc__parser_prod___AImplicitSelfExpr___init_aimplicitselfexpr(val* self) { +{ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; +} +} +RET_LABEL:; +} +/* 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:; +} +/* 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:; +} +/* 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; +} +} +var_n_kwtrue = p0; +var_n_annotations = p1; +if (unlikely(var_n_kwtrue == 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, 6361); fatal_exit(1); } +self->attrs[COLOR_nitc__parser_nodes__ATrueExpr___n_kwtrue].val = var_n_kwtrue; /* _n_kwtrue on */ +if (var_n_kwtrue == 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, 6362); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwtrue,self) on */ +if (unlikely(var_n_kwtrue == 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_kwtrue->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); { -nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(self, var_new_child); /* Direct call parser_prod#AAsCastExpr#n_opar= on */ +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 (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; +} } -goto RET_LABEL; } else { } -var28 = self->attrs[COLOR_nitc__parser_nodes__AAsCastExpr___n_type].val; /* _n_type on */ -if (unlikely(var28 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6804); +RET_LABEL:; +} +/* method parser_prod$ATrueExpr$replace_child for (self: ATrueExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ATrueExpr___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 /* : TKwtrue */; +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 /* : nullable AAnnotations */; +short int var8 /* : Bool */; +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; +var_old_child = p0; +var_new_child = p1; +var = self->attrs[COLOR_nitc__parser_nodes__ATrueExpr___n_kwtrue].val; /* _n_kwtrue on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwtrue"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6369); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var28,var_old_child) on */ +{ /* Inline kernel$Object$== (var,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 (var,var_other) on */ +var5 = var == var_other; +var3 = var5; +goto RET_LABEL4; +RET_LABEL4:(void)0; } } -var29 = var31; -goto RET_LABEL30; -RET_LABEL30:(void)0; +var1 = var3; +goto RET_LABEL2; +RET_LABEL2:(void)0; } } -if (var29){ -/* isa AType */ -cltype35 = type_nitc__AType.color; -idtype36 = type_nitc__AType.id; +if (var1){ +/* isa TKwtrue */ +cltype = type_nitc__TKwtrue.color; +idtype = type_nitc__TKwtrue.id; if(var_new_child == NULL) { -var34 = 0; +var6 = 0; } else { -if(cltype35 >= var_new_child->type->table_size) { -var34 = 0; +if(cltype >= var_new_child->type->table_size) { +var6 = 0; } else { -var34 = var_new_child->type->type_table[cltype35] == idtype36; +var6 = var_new_child->type->type_table[cltype] == idtype; } } -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`", "AType", var_class_name37); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6805); +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`", "TKwtrue", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6370); fatal_exit(1); } { -nitc__parser_prod___AAsCastExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod#AAsCastExpr#n_type= on */ +nitc__parser_prod___ATrueExpr___n_kwtrue_61d(self, var_new_child); /* Direct call parser_prod$ATrueExpr$n_kwtrue= on */ } goto RET_LABEL; } else { } -var38 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val; /* _n_cpar on */ -if (var38 == NULL) { -var39 = 0; /* cannot be null */ +var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var7 == NULL) { +var8 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var38,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var38,var_other) on */ -var44 = var38 == var_other; -var42 = var44; -goto RET_LABEL43; -RET_LABEL43:(void)0; +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var13 = var7 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } } -var40 = var42; -goto RET_LABEL41; -RET_LABEL41:(void)0; +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; } -var39 = var40; +var8 = var9; } -if (var39){ -/* isa nullable TCpar */ -cltype46 = type_nullable__nitc__TCpar.color; -idtype47 = type_nullable__nitc__TCpar.id; +if (var8){ +/* isa nullable AAnnotations */ +cltype15 = type_nullable__nitc__AAnnotations.color; +idtype16 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var45 = 1; +var14 = 1; } else { -if(cltype46 >= var_new_child->type->table_size) { -var45 = 0; +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; } else { -var45 = var_new_child->type->type_table[cltype46] == idtype47; +var14 = var_new_child->type->type_table[cltype15] == idtype16; } } -if (unlikely(!var45)) { -var_class_name48 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name48); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6809); +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`", "nullable AAnnotations", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6374); fatal_exit(1); } { -nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(self, var_new_child); /* Direct call parser_prod#AAsCastExpr#n_cpar= on */ +nitc__parser_prod___ATrueExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$ATrueExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAsCastExpr#n_expr= for (self: AAsCastExpr, AExpr) */ -void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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#AAsCastExpr#n_kwas= for (self: AAsCastExpr, TKwas) */ -void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(val* self, val* p0) { -val* var_node /* var node: TKwas */; +/* method parser_prod$ATrueExpr$n_kwtrue= for (self: ATrueExpr, TKwtrue) */ +void nitc__parser_prod___ATrueExpr___n_kwtrue_61d(val* self, val* p0) { +val* var_node /* var node: TKwtrue */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val = var_node; /* _n_kwas on */ +self->attrs[COLOR_nitc__parser_nodes__ATrueExpr___n_kwtrue].val = var_node; /* _n_kwtrue 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#AAsCastExpr#n_opar= for (self: AAsCastExpr, nullable TOpar) */ -void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(val* self, val* p0) { -val* var_node /* var node: nullable TOpar */; +/* method parser_prod$ATrueExpr$n_annotations= for (self: ATrueExpr, nullable AAnnotations) */ +void nitc__parser_prod___ATrueExpr___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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val = var_node; /* _n_opar on */ +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 */ +{ /* 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; @@ -3273,8 +4323,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; } } @@ -3282,279 +4332,111 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAsCastExpr#n_type= for (self: AAsCastExpr, AType) */ -void nitc__parser_prod___AAsCastExpr___n_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsCastExpr___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#AAsCastExpr#n_cpar= for (self: AAsCastExpr, nullable TCpar) */ -void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(val* self, val* p0) { -val* var_node /* var node: nullable TCpar */; -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__AAsCastForm___n_cpar].val = var_node; /* _n_cpar 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#AAsCastExpr#visit_all for (self: AAsCastExpr, Visitor) */ -void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ATrueExpr$visit_all for (self: ATrueExpr, Visitor) */ +void nitc__parser_prod___ATrueExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : AExpr */; -val* var1 /* : TKwas */; -val* var2 /* : nullable TOpar */; -val* var3 /* : AType */; -val* var4 /* : nullable TCpar */; +val* var /* : TKwtrue */; +val* var1 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ATrueExpr___n_kwtrue].val; /* _n_kwtrue on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6843); -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__AAsCastForm___n_kwas].val; /* _n_kwas on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6844); -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__AAsCastForm___n_opar].val; /* _n_opar on */ -{ -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__AAsCastExpr___n_type].val; /* _n_type on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6846); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwtrue"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6393); 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, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var4 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val; /* _n_cpar on */ +var1 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ { -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#AAsNotnullExpr#init_aasnotnullexpr for (self: AAsNotnullExpr, nullable AExpr, nullable TKwas, nullable TOpar, nullable TKwnot, nullable TKwnull, nullable TCpar) */ -void nitc__parser_prod___AAsNotnullExpr___init_aasnotnullexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5) { -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_kwas /* var n_kwas: nullable TKwas */; -val* var_n_opar /* var n_opar: nullable TOpar */; -val* var_n_kwnot /* var n_kwnot: nullable TKwnot */; -val* var_n_kwnull /* var n_kwnull: nullable TKwnull */; -val* var_n_cpar /* var n_cpar: nullable TCpar */; +/* method parser_prod$AFalseExpr$init_afalseexpr for (self: AFalseExpr, nullable TKwfalse, nullable AAnnotations) */ +void nitc__parser_prod___AFalseExpr___init_afalseexpr(val* self, val* p0, val* p1) { +val* var_n_kwfalse /* var n_kwfalse: nullable TKwfalse */; +val* var_n_annotations /* var n_annotations: nullable AAnnotations */; short int var /* : Bool */; -short int var4 /* : Bool */; +short int var3 /* : Bool */; val* var_other /* var other: nullable Object */; +short int var5 /* : Bool */; short int var6 /* : Bool */; -short int var7 /* : Bool */; -short int var11 /* : Bool */; -short int var12 /* : Bool */; -short int var14 /* : Bool */; -short int var15 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_expr = p0; -var_n_kwas = p1; -var_n_opar = p2; -var_n_kwnot = p3; -var_n_kwnull = p4; -var_n_cpar = p5; -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6860); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 6861); -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_LABEL2:(void)0; -} +var_n_kwfalse = p0; +var_n_annotations = p1; +if (unlikely(var_n_kwfalse == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_kwas == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6862); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6403); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val = var_n_kwas; /* _n_kwas on */ -if (var_n_kwas == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AFalseExpr___n_kwfalse].val = var_n_kwfalse; /* _n_kwfalse on */ +if (var_n_kwfalse == 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, 6863); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6404); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwas,self) on */ -if (unlikely(var_n_kwas == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwfalse,self) on */ +if (unlikely(var_n_kwfalse == 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_kwas->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +var_n_kwfalse->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val = var_n_opar; /* _n_opar on */ -if (var_n_opar == NULL) { +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_opar,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on */ var_other = ((val*)NULL); { -var6 = ((short int(*)(val* self, val* p0))(var_n_opar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_opar, var_other); /* == on */ +var5 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ } -var7 = !var6; -var4 = var7; -goto RET_LABEL5; -RET_LABEL5:(void)0; +var6 = !var5; +var3 = var6; +goto RET_LABEL4; +RET_LABEL4:(void)0; } -var = var4; +var = var3; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_opar,self) on */ -var_n_opar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL8:(void)0; -} -} -} else { -} -if (unlikely(var_n_kwnot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6866); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val = var_n_kwnot; /* _n_kwnot on */ -if (var_n_kwnot == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6867); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwnot,self) on */ -if (unlikely(var_n_kwnot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwnot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL9:(void)0; -} -} -if (unlikely(var_n_kwnull == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6868); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnull].val = var_n_kwnull; /* _n_kwnull on */ -if (var_n_kwnull == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6869); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwnull,self) on */ -if (unlikely(var_n_kwnull == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwnull->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL10:(void)0; -} -} -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val = var_n_cpar; /* _n_cpar on */ -if (var_n_cpar == NULL) { -var11 = 0; /* is null */ -} else { -var11 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_cpar,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var14 = ((short int(*)(val* self, val* p0))(var_n_cpar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_cpar, var_other); /* == on */ -} -var15 = !var14; -var12 = var15; -goto RET_LABEL13; -RET_LABEL13:(void)0; -} -var11 = var12; -} -if (var11){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_cpar,self) on */ -var_n_cpar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL16:(void)0; +{ /* 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; } } } else { } RET_LABEL:; } -/* method parser_prod#AAsNotnullExpr#replace_child for (self: AAsNotnullExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AFalseExpr$replace_child for (self: AFalseExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AFalseExpr___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 /* : TKwfalse */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -3563,994 +4445,31 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TKwas */; +val* var7 /* : nullable AAnnotations */; short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var12 /* : Bool */; +short int var9 /* : Bool */; +short int var11 /* : Bool */; short int var13 /* : Bool */; -int cltype14; -int idtype15; -const char* var_class_name16; -val* var17 /* : nullable TOpar */; -short int var18 /* : Bool */; -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; -val* var28 /* : TKwnot */; -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; -val* var38 /* : TKwnull */; -short int var39 /* : Bool */; -short int var41 /* : Bool */; -short int var43 /* : Bool */; -short int var44 /* : Bool */; -int cltype45; -int idtype46; -const char* var_class_name47; -val* var48 /* : nullable TCpar */; -short int var49 /* : Bool */; -short int var50 /* : Bool */; -short int var52 /* : Bool */; -short int var54 /* : Bool */; -short int var55 /* : Bool */; -int cltype56; -int idtype57; -const char* var_class_name58; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 6876); -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 AExpr */ -cltype = type_nitc__AExpr.color; -idtype = type_nitc__AExpr.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`", "AExpr", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6877); -fatal_exit(1); -} -{ -nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AAsNotnullExpr#n_expr= on */ -} -goto RET_LABEL; -} else { -} -var7 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val; /* _n_kwas on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6880); -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 TKwas */ -cltype14 = type_nitc__TKwas.color; -idtype15 = type_nitc__TKwas.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`", "TKwas", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6881); -fatal_exit(1); -} -{ -nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(self, var_new_child); /* Direct call parser_prod#AAsNotnullExpr#n_kwas= on */ -} -goto RET_LABEL; -} else { -} -var17 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val; /* _n_opar 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 TOpar */ -cltype25 = type_nullable__nitc__TOpar.color; -idtype26 = type_nullable__nitc__TOpar.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 TOpar", var_class_name27); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6885); -fatal_exit(1); -} -{ -nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(self, var_new_child); /* Direct call parser_prod#AAsNotnullExpr#n_opar= on */ -} -goto RET_LABEL; -} else { -} -var28 = self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val; /* _n_kwnot on */ -if (unlikely(var28 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6888); -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 TKwnot */ -cltype35 = type_nitc__TKwnot.color; -idtype36 = type_nitc__TKwnot.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`", "TKwnot", var_class_name37); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6889); -fatal_exit(1); -} -{ -nitc__parser_prod___AAsNotnullExpr___n_kwnot_61d(self, var_new_child); /* Direct call parser_prod#AAsNotnullExpr#n_kwnot= on */ -} -goto RET_LABEL; -} else { -} -var38 = self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnull].val; /* _n_kwnull on */ -if (unlikely(var38 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnull"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6892); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var38,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var38,var_other) on */ -var43 = var38 == var_other; -var41 = var43; -goto RET_LABEL42; -RET_LABEL42:(void)0; -} -} -var39 = var41; -goto RET_LABEL40; -RET_LABEL40:(void)0; -} -} -if (var39){ -/* isa TKwnull */ -cltype45 = type_nitc__TKwnull.color; -idtype46 = type_nitc__TKwnull.id; -if(var_new_child == NULL) { -var44 = 0; -} else { -if(cltype45 >= var_new_child->type->table_size) { -var44 = 0; -} else { -var44 = var_new_child->type->type_table[cltype45] == idtype46; -} -} -if (unlikely(!var44)) { -var_class_name47 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnull", var_class_name47); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6893); -fatal_exit(1); -} -{ -nitc__parser_prod___AAsNotnullExpr___n_kwnull_61d(self, var_new_child); /* Direct call parser_prod#AAsNotnullExpr#n_kwnull= on */ -} -goto RET_LABEL; -} else { -} -var48 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val; /* _n_cpar on */ -if (var48 == NULL) { -var49 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var48,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var48,var_other) on */ -var54 = var48 == var_other; -var52 = var54; -goto RET_LABEL53; -RET_LABEL53:(void)0; -} -} -var50 = var52; -goto RET_LABEL51; -RET_LABEL51:(void)0; -} -var49 = var50; -} -if (var49){ -/* isa nullable TCpar */ -cltype56 = type_nullable__nitc__TCpar.color; -idtype57 = type_nullable__nitc__TCpar.id; -if(var_new_child == NULL) { -var55 = 1; -} else { -if(cltype56 >= var_new_child->type->table_size) { -var55 = 0; -} else { -var55 = var_new_child->type->type_table[cltype56] == idtype57; -} -} -if (unlikely(!var55)) { -var_class_name58 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name58); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6897); -fatal_exit(1); -} -{ -nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(self, var_new_child); /* Direct call parser_prod#AAsNotnullExpr#n_cpar= on */ -} -goto RET_LABEL; -} else { -} -RET_LABEL:; -} -/* method parser_prod#AAsNotnullExpr#n_expr= for (self: AAsNotnullExpr, AExpr) */ -void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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#AAsNotnullExpr#n_kwas= for (self: AAsNotnullExpr, TKwas) */ -void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(val* self, val* p0) { -val* var_node /* var node: TKwas */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val = var_node; /* _n_kwas 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#AAsNotnullExpr#n_opar= for (self: AAsNotnullExpr, nullable TOpar) */ -void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(val* self, val* p0) { -val* var_node /* var node: nullable TOpar */; -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__AAsCastForm___n_opar].val = var_node; /* _n_opar 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#AAsNotnullExpr#n_kwnot= for (self: AAsNotnullExpr, TKwnot) */ -void nitc__parser_prod___AAsNotnullExpr___n_kwnot_61d(val* self, val* p0) { -val* var_node /* var node: TKwnot */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val = var_node; /* _n_kwnot 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#AAsNotnullExpr#n_kwnull= for (self: AAsNotnullExpr, TKwnull) */ -void nitc__parser_prod___AAsNotnullExpr___n_kwnull_61d(val* self, val* p0) { -val* var_node /* var node: TKwnull */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnull].val = var_node; /* _n_kwnull 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#AAsNotnullExpr#n_cpar= for (self: AAsNotnullExpr, nullable TCpar) */ -void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(val* self, val* p0) { -val* var_node /* var node: nullable TCpar */; -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__AAsCastForm___n_cpar].val = var_node; /* _n_cpar 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#AAsNotnullExpr#visit_all for (self: AAsNotnullExpr, Visitor) */ -void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : AExpr */; -val* var1 /* : TKwas */; -val* var2 /* : nullable TOpar */; -val* var3 /* : TKwnot */; -val* var4 /* : TKwnull */; -val* var5 /* : nullable TCpar */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 6936); -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__AAsCastForm___n_kwas].val; /* _n_kwas on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6937); -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__AAsCastForm___n_opar].val; /* _n_opar on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var3 = self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val; /* _n_kwnot on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6939); -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__AAsNotnullExpr___n_kwnull].val; /* _n_kwnull on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnull"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6940); -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__AAsCastForm___n_cpar].val; /* _n_cpar on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#AIssetAttrExpr#init_aissetattrexpr for (self: AIssetAttrExpr, nullable TKwisset, nullable AExpr, nullable TAttrid) */ -void nitc__parser_prod___AIssetAttrExpr___init_aissetattrexpr(val* self, val* p0, val* p1, val* p2) { -val* var_n_kwisset /* var n_kwisset: nullable TKwisset */; -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_id /* var n_id: nullable TAttrid */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_kwisset = p0; -var_n_expr = p1; -var_n_id = p2; -if (unlikely(var_n_kwisset == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6951); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AIssetAttrExpr___n_kwisset].val = var_n_kwisset; /* _n_kwisset on */ -if (var_n_kwisset == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6952); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwisset,self) on */ -if (unlikely(var_n_kwisset == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwisset->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, 6953); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___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, 6954); -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_id == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6955); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6956); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AIssetAttrExpr#replace_child for (self: AIssetAttrExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AIssetAttrExpr___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 /* : TKwisset */; -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 /* : TAttrid */; -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__AIssetAttrExpr___n_kwisset].val; /* _n_kwisset on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisset"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6961); -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 TKwisset */ -cltype = type_nitc__TKwisset.color; -idtype = type_nitc__TKwisset.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`", "TKwisset", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6962); -fatal_exit(1); -} -{ -nitc__parser_prod___AIssetAttrExpr___n_kwisset_61d(self, var_new_child); /* Direct call parser_prod#AIssetAttrExpr#n_kwisset= on */ -} -goto RET_LABEL; -} else { -} -var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___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, 6965); -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, 6966); -fatal_exit(1); -} -{ -nitc__parser_prod___AIssetAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod#AIssetAttrExpr#n_expr= on */ -} -goto RET_LABEL; -} else { -} -var17 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6969); -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 TAttrid */ -cltype24 = type_nitc__TAttrid.color; -idtype25 = type_nitc__TAttrid.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`", "TAttrid", var_class_name26); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6970); -fatal_exit(1); -} -{ -nitc__parser_prod___AIssetAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod#AIssetAttrExpr#n_id= on */ -} -goto RET_LABEL; -} else { -} -RET_LABEL:; -} -/* method parser_prod#AIssetAttrExpr#n_kwisset= for (self: AIssetAttrExpr, TKwisset) */ -void nitc__parser_prod___AIssetAttrExpr___n_kwisset_61d(val* self, val* p0) { -val* var_node /* var node: TKwisset */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AIssetAttrExpr___n_kwisset].val = var_node; /* _n_kwisset 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#AIssetAttrExpr#n_expr= for (self: AIssetAttrExpr, AExpr) */ -void nitc__parser_prod___AIssetAttrExpr___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#AIssetAttrExpr#n_id= for (self: AIssetAttrExpr, TAttrid) */ -void nitc__parser_prod___AIssetAttrExpr___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#AIssetAttrExpr#visit_all for (self: AIssetAttrExpr, Visitor) */ -void nitc__parser_prod___AIssetAttrExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TKwisset */; -val* var1 /* : AExpr */; -val* var2 /* : TAttrid */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AIssetAttrExpr___n_kwisset].val; /* _n_kwisset on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisset"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6994); -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_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, 6995); -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__AAttrFormExpr___n_id].val; /* _n_id on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6996); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#ADebugTypeExpr#init_adebugtypeexpr for (self: ADebugTypeExpr, nullable TKwdebug, nullable TKwtype, nullable AExpr, nullable AType) */ -void nitc__parser_prod___ADebugTypeExpr___init_adebugtypeexpr(val* self, val* p0, val* p1, val* p2, val* p3) { -val* var_n_kwdebug /* var n_kwdebug: nullable TKwdebug */; -val* var_n_kwtype /* var n_kwtype: nullable TKwtype */; -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_type /* var n_type: nullable AType */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_kwdebug = p0; -var_n_kwtype = p1; -var_n_expr = p2; -var_n_type = p3; -if (unlikely(var_n_kwdebug == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7007); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val = var_n_kwdebug; /* _n_kwdebug on */ -if (var_n_kwdebug == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7008); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwdebug,self) on */ -if (unlikely(var_n_kwdebug == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwdebug->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} -} -if (unlikely(var_n_kwtype == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7009); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwtype].val = var_n_kwtype; /* _n_kwtype on */ -if (var_n_kwtype == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7010); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwtype,self) on */ -if (unlikely(var_n_kwtype == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwtype->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; -} -} -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7011); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___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, 7012); -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_LABEL4:(void)0; -} -} -if (unlikely(var_n_type == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7013); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_type].val = var_n_type; /* _n_type on */ -if (var_n_type == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7014); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_type,self) on */ -if (unlikely(var_n_type == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#ADebugTypeExpr#replace_child for (self: ADebugTypeExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ADebugTypeExpr___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 /* : TKwdebug */; -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 /* : TKwtype */; -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 /* : 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; -val* var27 /* : AType */; -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; +short int var14 /* : Bool */; +int cltype15; +int idtype16; +const char* var_class_name17; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val; /* _n_kwdebug on */ +var = self->attrs[COLOR_nitc__parser_nodes__AFalseExpr___n_kwfalse].val; /* _n_kwfalse on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwdebug"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7019); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwfalse"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6411); 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; @@ -4563,9 +4482,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TKwdebug */ -cltype = type_nitc__TKwdebug.color; -idtype = type_nitc__TKwdebug.id; +/* isa TKwfalse */ +cltype = type_nitc__TKwfalse.color; +idtype = type_nitc__TKwfalse.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -4577,317 +4496,220 @@ 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`", "TKwdebug", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7020); -fatal_exit(1); -} -{ -nitc__parser_prod___ADebugTypeExpr___n_kwdebug_61d(self, var_new_child); /* Direct call parser_prod#ADebugTypeExpr#n_kwdebug= on */ -} -goto RET_LABEL; -} else { -} -var7 = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwtype].val; /* _n_kwtype on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwtype"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7023); -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 TKwtype */ -cltype14 = type_nitc__TKwtype.color; -idtype15 = type_nitc__TKwtype.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`", "TKwtype", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7024); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwfalse", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6412); fatal_exit(1); } { -nitc__parser_prod___ADebugTypeExpr___n_kwtype_61d(self, var_new_child); /* Direct call parser_prod#ADebugTypeExpr#n_kwtype= on */ +nitc__parser_prod___AFalseExpr___n_kwfalse_61d(self, var_new_child); /* Direct call parser_prod$AFalseExpr$n_kwfalse= on */ } goto RET_LABEL; } else { } -var17 = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7027); -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, 7028); -fatal_exit(1); -} -{ -nitc__parser_prod___ADebugTypeExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod#ADebugTypeExpr#n_expr= on */ -} -goto RET_LABEL; +var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var7 == NULL) { +var8 = 0; /* cannot be null */ } else { -} -var27 = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_type].val; /* _n_type on */ -if (unlikely(var27 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7031); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var27,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,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 (var7,var_other) on */ +var13 = var7 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } } -var28 = var30; -goto RET_LABEL29; -RET_LABEL29:(void)0; +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; } +var8 = var9; } -if (var28){ -/* isa AType */ -cltype34 = type_nitc__AType.color; -idtype35 = type_nitc__AType.id; +if (var8){ +/* isa nullable AAnnotations */ +cltype15 = type_nullable__nitc__AAnnotations.color; +idtype16 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var33 = 0; +var14 = 1; } else { -if(cltype34 >= var_new_child->type->table_size) { -var33 = 0; +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; } else { -var33 = var_new_child->type->type_table[cltype34] == idtype35; +var14 = var_new_child->type->type_table[cltype15] == idtype16; } } -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`", "AType", var_class_name36); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7032); +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`", "nullable AAnnotations", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6416); fatal_exit(1); } { -nitc__parser_prod___ADebugTypeExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod#ADebugTypeExpr#n_type= on */ +nitc__parser_prod___AFalseExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AFalseExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ADebugTypeExpr#n_kwdebug= for (self: ADebugTypeExpr, TKwdebug) */ -void nitc__parser_prod___ADebugTypeExpr___n_kwdebug_61d(val* self, val* p0) { -val* var_node /* var node: TKwdebug */; +/* method parser_prod$AFalseExpr$n_kwfalse= for (self: AFalseExpr, TKwfalse) */ +void nitc__parser_prod___AFalseExpr___n_kwfalse_61d(val* self, val* p0) { +val* var_node /* var node: TKwfalse */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val = var_node; /* _n_kwdebug on */ +self->attrs[COLOR_nitc__parser_nodes__AFalseExpr___n_kwfalse].val = var_node; /* _n_kwfalse 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#ADebugTypeExpr#n_kwtype= for (self: ADebugTypeExpr, TKwtype) */ -void nitc__parser_prod___ADebugTypeExpr___n_kwtype_61d(val* self, val* p0) { -val* var_node /* var node: TKwtype */; +/* method parser_prod$AFalseExpr$n_annotations= for (self: AFalseExpr, nullable AAnnotations) */ +void nitc__parser_prod___AFalseExpr___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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwtype].val = var_node; /* _n_kwtype 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:; +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 */ } -/* method parser_prod#ADebugTypeExpr#n_expr= for (self: ADebugTypeExpr, AExpr) */ -void nitc__parser_prod___ADebugTypeExpr___n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_expr].val = var_node; /* _n_expr on */ +if (0) { +{ /* Inline kernel$Object$!= (var_node,((val*)NULL)) on */ +var_other = ((val*)NULL); { -{ /* 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; +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; } -RET_LABEL:; +var = var1; } -/* method parser_prod#ADebugTypeExpr#n_type= for (self: ADebugTypeExpr, AType) */ -void nitc__parser_prod___ADebugTypeExpr___n_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_type].val = var_node; /* _n_type on */ +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_LABEL1:(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_LABEL5:(void)0; +} } +} else { } RET_LABEL:; } -/* method parser_prod#ADebugTypeExpr#visit_all for (self: ADebugTypeExpr, Visitor) */ -void nitc__parser_prod___ADebugTypeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AFalseExpr$visit_all for (self: AFalseExpr, Visitor) */ +void nitc__parser_prod___AFalseExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : TKwdebug */; -val* var1 /* : TKwtype */; -val* var2 /* : AExpr */; -val* var3 /* : AType */; +val* var /* : TKwfalse */; +val* var1 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val; /* _n_kwdebug on */ +var = self->attrs[COLOR_nitc__parser_nodes__AFalseExpr___n_kwfalse].val; /* _n_kwfalse on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwdebug"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7061); -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__ADebugTypeExpr___n_kwtype].val; /* _n_kwtype on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwtype"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7062); -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__ADebugTypeExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7063); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwfalse"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6435); 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__ADebugTypeExpr___n_type].val; /* _n_type on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7064); -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__Prod___n_annotations].val; /* _n_annotations on */ { -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 */ } RET_LABEL:; } -/* method parser_prod#AVarargExpr#init_avarargexpr for (self: AVarargExpr, nullable AExpr, nullable TDotdotdot) */ -void nitc__parser_prod___AVarargExpr___init_avarargexpr(val* self, val* p0, val* p1) { -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_dotdotdot /* var n_dotdotdot: nullable TDotdotdot */; +/* method parser_prod$ANullExpr$init_anullexpr for (self: ANullExpr, nullable TKwnull, nullable AAnnotations) */ +void nitc__parser_prod___ANullExpr___init_anullexpr(val* self, val* p0, val* p1) { +val* var_n_kwnull /* var n_kwnull: nullable TKwnull */; +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 */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_expr = p0; -var_n_dotdotdot = p1; -if (unlikely(var_n_expr == NULL)) { +var_n_kwnull = p0; +var_n_annotations = p1; +if (unlikely(var_n_kwnull == 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, 7073); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6445); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val = var_n_kwnull; /* _n_kwnull on */ +if (var_n_kwnull == 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, 7074); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6446); 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_kwnull,self) on */ +if (unlikely(var_n_kwnull == 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_kwnull->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_dotdotdot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7075); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_dotdotdot].val = var_n_dotdotdot; /* _n_dotdotdot on */ -if (var_n_dotdotdot == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7076); -fatal_exit(1); +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 { -{ /* Inline parser_nodes#ANode#parent= (var_n_dotdotdot,self) on */ -if (unlikely(var_n_dotdotdot == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); +var = 1; /* arg is null and recv is not */ } -var_n_dotdotdot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +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 (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; } } +} else { +} RET_LABEL:; } -/* method parser_prod#AVarargExpr#replace_child for (self: AVarargExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AVarargExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ANullExpr$replace_child for (self: ANullExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ANullExpr___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 /* : TKwnull */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -4896,27 +4718,31 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TDotdotdot */; +val* var7 /* : nullable AAnnotations */; short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var12 /* : Bool */; +short int var9 /* : Bool */; +short int var11 /* : Bool */; short int var13 /* : Bool */; -int cltype14; -int idtype15; -const char* var_class_name16; +short int var14 /* : Bool */; +int cltype15; +int idtype16; +const char* var_class_name17; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val; /* _n_kwnull on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7081); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnull"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6453); 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; @@ -4929,9 +4755,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AExpr */ -cltype = type_nitc__AExpr.color; -idtype = type_nitc__AExpr.id; +/* isa TKwnull */ +cltype = type_nitc__TKwnull.color; +idtype = type_nitc__TKwnull.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -4943,200 +4769,220 @@ 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, 7082); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnull", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6454); fatal_exit(1); } { -nitc__parser_prod___AVarargExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod#AVarargExpr#n_expr= on */ +nitc__parser_prod___ANullExpr___n_kwnull_61d(self, var_new_child); /* Direct call parser_prod$ANullExpr$n_kwnull= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_dotdotdot].val; /* _n_dotdotdot on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdotdot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7085); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var7 == NULL) { +var8 = 0; /* cannot be null */ +} else { +{ /* 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; +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var13 = var7 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } } -var8 = var10; -goto RET_LABEL9; -RET_LABEL9:(void)0; +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; } +var8 = var9; } if (var8){ -/* isa TDotdotdot */ -cltype14 = type_nitc__TDotdotdot.color; -idtype15 = type_nitc__TDotdotdot.id; +/* isa nullable AAnnotations */ +cltype15 = type_nullable__nitc__AAnnotations.color; +idtype16 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var13 = 0; +var14 = 1; } else { -if(cltype14 >= var_new_child->type->table_size) { -var13 = 0; +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; } else { -var13 = var_new_child->type->type_table[cltype14] == idtype15; +var14 = var_new_child->type->type_table[cltype15] == idtype16; } } -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`", "TDotdotdot", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7086); +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`", "nullable AAnnotations", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6458); fatal_exit(1); } { -nitc__parser_prod___AVarargExpr___n_dotdotdot_61d(self, var_new_child); /* Direct call parser_prod#AVarargExpr#n_dotdotdot= on */ +nitc__parser_prod___ANullExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$ANullExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AVarargExpr#n_expr= for (self: AVarargExpr, AExpr) */ -void nitc__parser_prod___AVarargExpr___n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; +/* method parser_prod$ANullExpr$n_kwnull= for (self: ANullExpr, TKwnull) */ +void nitc__parser_prod___ANullExpr___n_kwnull_61d(val* self, val* p0) { +val* var_node /* var node: TKwnull */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val = var_node; /* _n_kwnull 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#AVarargExpr#n_dotdotdot= for (self: AVarargExpr, TDotdotdot) */ -void nitc__parser_prod___AVarargExpr___n_dotdotdot_61d(val* self, val* p0) { -val* var_node /* var node: TDotdotdot */; +/* method parser_prod$ANullExpr$n_annotations= for (self: ANullExpr, nullable AAnnotations) */ +void nitc__parser_prod___ANullExpr___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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_dotdotdot].val = var_node; /* _n_dotdotdot on */ +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); { -{ /* 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; +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#AVarargExpr#visit_all for (self: AVarargExpr, Visitor) */ -void nitc__parser_prod___AVarargExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ANullExpr$visit_all for (self: ANullExpr, Visitor) */ +void nitc__parser_prod___ANullExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : AExpr */; -val* var1 /* : TDotdotdot */; +val* var /* : TKwnull */; +val* var1 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ANullExpr___n_kwnull].val; /* _n_kwnull on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7105); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnull"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6477); 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__AVarargExpr___n_dotdotdot].val; /* _n_dotdotdot on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdotdot"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7106); -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__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#ANamedargExpr#init_anamedargexpr for (self: ANamedargExpr, nullable TId, nullable TAssign, nullable AExpr) */ -void nitc__parser_prod___ANamedargExpr___init_anamedargexpr(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_expr /* var n_expr: nullable AExpr */; +/* method parser_prod$AIntegerExpr$init_aintegerexpr for (self: AIntegerExpr, nullable TInteger, nullable AAnnotations) */ +void nitc__parser_prod___AIntegerExpr___init_aintegerexpr(val* self, val* p0, val* p1) { +val* var_n_integer /* var n_integer: nullable TInteger */; +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 */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_id = p0; -var_n_assign = p1; -var_n_expr = p2; -if (unlikely(var_n_id == NULL)) { +var_n_integer = p0; +var_n_annotations = p1; +if (unlikely(var_n_integer == 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, 7116); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6487); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AIntegerExpr___n_integer].val = var_n_integer; /* _n_integer on */ +if (var_n_integer == 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, 7117); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6488); 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_integer,self) on */ +if (unlikely(var_n_integer == 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_integer->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_assign == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7118); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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, 7119); -fatal_exit(1); +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 { -{ /* 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 = 1; /* arg is null and recv is not */ } -var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; +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; } -if (unlikely(var_n_expr == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7120); -fatal_exit(1); +var = var3; } -self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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, 7121); -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); +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; } -var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; } +} else { } RET_LABEL:; } -/* method parser_prod#ANamedargExpr#replace_child for (self: ANamedargExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ANamedargExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AIntegerExpr$replace_child for (self: AIntegerExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AIntegerExpr___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 /* : TInteger */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -5145,35 +4991,31 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : TAssign */; +val* var7 /* : nullable AAnnotations */; short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var12 /* : Bool */; +short int var9 /* : Bool */; +short int var11 /* : Bool */; 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; +short int var14 /* : Bool */; +int cltype15; +int idtype16; +const char* var_class_name17; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_id].val; /* _n_id on */ +var = self->attrs[COLOR_nitc__parser_nodes__AIntegerExpr___n_integer].val; /* _n_integer on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7126); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_integer"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6495); 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; @@ -5186,9 +5028,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TId */ -cltype = type_nitc__TId.color; -idtype = type_nitc__TId.id; +/* isa TInteger */ +cltype = type_nitc__TInteger.color; +idtype = type_nitc__TInteger.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -5200,224 +5042,220 @@ 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, 7127); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TInteger", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6496); fatal_exit(1); } { -nitc__parser_prod___ANamedargExpr___n_id_61d(self, var_new_child); /* Direct call parser_prod#ANamedargExpr#n_id= on */ +nitc__parser_prod___AIntegerExpr___n_integer_61d(self, var_new_child); /* Direct call parser_prod$AIntegerExpr$n_integer= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_assign].val; /* _n_assign on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7130); -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 TAssign */ -cltype14 = type_nitc__TAssign.color; -idtype15 = type_nitc__TAssign.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`", "TAssign", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7131); -fatal_exit(1); -} -{ -nitc__parser_prod___ANamedargExpr___n_assign_61d(self, var_new_child); /* Direct call parser_prod#ANamedargExpr#n_assign= on */ -} -goto RET_LABEL; +var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var7 == NULL) { +var8 = 0; /* cannot be null */ } else { -} -var17 = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var17 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7134); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,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 kernel$Object$is_same_instance (var7,var_other) on */ +var13 = var7 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } } -var18 = var20; -goto RET_LABEL19; -RET_LABEL19:(void)0; +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; } +var8 = var9; } -if (var18){ -/* isa AExpr */ -cltype24 = type_nitc__AExpr.color; -idtype25 = type_nitc__AExpr.id; +if (var8){ +/* isa nullable AAnnotations */ +cltype15 = type_nullable__nitc__AAnnotations.color; +idtype16 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var23 = 0; +var14 = 1; } else { -if(cltype24 >= var_new_child->type->table_size) { -var23 = 0; +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; } else { -var23 = var_new_child->type->type_table[cltype24] == idtype25; +var14 = var_new_child->type->type_table[cltype15] == idtype16; } } -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, 7135); +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`", "nullable AAnnotations", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6500); fatal_exit(1); } { -nitc__parser_prod___ANamedargExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod#ANamedargExpr#n_expr= on */ +nitc__parser_prod___AIntegerExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AIntegerExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ANamedargExpr#n_id= for (self: ANamedargExpr, TId) */ -void nitc__parser_prod___ANamedargExpr___n_id_61d(val* self, val* p0) { -val* var_node /* var node: TId */; +/* method parser_prod$AIntegerExpr$n_integer= for (self: AIntegerExpr, TInteger) */ +void nitc__parser_prod___AIntegerExpr___n_integer_61d(val* self, val* p0) { +val* var_node /* var node: TInteger */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_id].val = var_node; /* _n_id on */ +self->attrs[COLOR_nitc__parser_nodes__AIntegerExpr___n_integer].val = var_node; /* _n_integer 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#ANamedargExpr#n_assign= for (self: ANamedargExpr, TAssign) */ -void nitc__parser_prod___ANamedargExpr___n_assign_61d(val* self, val* p0) { -val* var_node /* var node: TAssign */; +/* method parser_prod$AIntegerExpr$n_annotations= for (self: AIntegerExpr, nullable AAnnotations) */ +void nitc__parser_prod___AIntegerExpr___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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_assign].val = var_node; /* _n_assign on */ +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); { -{ /* 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; +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; } -RET_LABEL:; +var = var1; } -/* method parser_prod#ANamedargExpr#n_expr= for (self: ANamedargExpr, AExpr) */ -void nitc__parser_prod___ANamedargExpr___n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_expr].val = var_node; /* _n_expr on */ +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_LABEL1:(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_LABEL5:(void)0; } } +} else { +} RET_LABEL:; } -/* method parser_prod#ANamedargExpr#visit_all for (self: ANamedargExpr, Visitor) */ -void nitc__parser_prod___ANamedargExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AIntegerExpr$visit_all for (self: AIntegerExpr, Visitor) */ +void nitc__parser_prod___AIntegerExpr___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 /* : TInteger */; +val* var1 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_id].val; /* _n_id on */ +var = self->attrs[COLOR_nitc__parser_nodes__AIntegerExpr___n_integer].val; /* _n_integer on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7159); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var1 = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_assign].val; /* _n_assign on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7160); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_integer"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6519); 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__ANamedargExpr___n_expr].val; /* _n_expr on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7161); -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__Prod___n_annotations].val; /* _n_annotations on */ { -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#ATypeExpr#init_atypeexpr for (self: ATypeExpr, nullable AType) */ -void nitc__parser_prod___ATypeExpr___init_atypeexpr(val* self, val* p0) { -val* var_n_type /* var n_type: nullable AType */; +/* method parser_prod$AFloatExpr$init_afloatexpr for (self: AFloatExpr, nullable TFloat, nullable AAnnotations) */ +void nitc__parser_prod___AFloatExpr___init_afloatexpr(val* self, val* p0, val* p1) { +val* var_n_float /* var n_float: nullable TFloat */; +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 */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_type = p0; -if (unlikely(var_n_type == NULL)) { +var_n_float = p0; +var_n_annotations = p1; +if (unlikely(var_n_float == 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, 7169); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6529); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ATypeExpr___n_type].val = var_n_type; /* _n_type on */ -if (var_n_type == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AFloatExpr___n_float].val = var_n_float; /* _n_float on */ +if (var_n_float == 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, 7170); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6530); 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_float,self) on */ +if (unlikely(var_n_float == 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_float->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 (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; +} +} +} else { +} RET_LABEL:; } -/* method parser_prod#ATypeExpr#replace_child for (self: ATypeExpr, ANode, nullable ANode) */ -void nitc__parser_prod___ATypeExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AFloatExpr$replace_child for (self: AFloatExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AFloatExpr___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 /* : AType */; +val* var /* : TFloat */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -5426,19 +5264,31 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; +val* var7 /* : nullable AAnnotations */; +short int var8 /* : Bool */; +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; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ATypeExpr___n_type].val; /* _n_type on */ +var = self->attrs[COLOR_nitc__parser_nodes__AFloatExpr___n_float].val; /* _n_float on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7175); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_float"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6537); 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; @@ -5451,9 +5301,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AType */ -cltype = type_nitc__AType.color; -idtype = type_nitc__AType.id; +/* isa TFloat */ +cltype = type_nitc__TFloat.color; +idtype = type_nitc__TFloat.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -5465,107 +5315,220 @@ 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`", "AType", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7176); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TFloat", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6538); +fatal_exit(1); +} +{ +nitc__parser_prod___AFloatExpr___n_float_61d(self, var_new_child); /* Direct call parser_prod$AFloatExpr$n_float= on */ +} +goto RET_LABEL; +} else { +} +var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var7 == NULL) { +var8 = 0; /* cannot be null */ +} else { +{ /* Inline kernel$Object$== (var7,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var13 = var7 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; +} +} +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; +} +var8 = var9; +} +if (var8){ +/* isa nullable AAnnotations */ +cltype15 = type_nullable__nitc__AAnnotations.color; +idtype16 = type_nullable__nitc__AAnnotations.id; +if(var_new_child == NULL) { +var14 = 1; +} else { +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; +} else { +var14 = var_new_child->type->type_table[cltype15] == idtype16; +} +} +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`", "nullable AAnnotations", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6542); fatal_exit(1); } { -nitc__parser_prod___ATypeExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod#ATypeExpr#n_type= on */ +nitc__parser_prod___AFloatExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AFloatExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ATypeExpr#n_type= for (self: ATypeExpr, AType) */ -void nitc__parser_prod___ATypeExpr___n_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; +/* method parser_prod$AFloatExpr$n_float= for (self: AFloatExpr, TFloat) */ +void nitc__parser_prod___AFloatExpr___n_float_61d(val* self, val* p0) { +val* var_node /* var node: TFloat */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ATypeExpr___n_type].val = var_node; /* _n_type on */ +self->attrs[COLOR_nitc__parser_nodes__AFloatExpr___n_float].val = var_node; /* _n_float 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#ATypeExpr#visit_all for (self: ATypeExpr, Visitor) */ -void nitc__parser_prod___ATypeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AFloatExpr$n_annotations= for (self: AFloatExpr, nullable AAnnotations) */ +void nitc__parser_prod___AFloatExpr___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 */; +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){ +{ +{ /* 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$AFloatExpr$visit_all for (self: AFloatExpr, Visitor) */ +void nitc__parser_prod___AFloatExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : AType */; +val* var /* : TFloat */; +val* var1 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ATypeExpr___n_type].val; /* _n_type on */ +var = self->attrs[COLOR_nitc__parser_nodes__AFloatExpr___n_float].val; /* _n_float on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7190); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_float"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6561); 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__Prod___n_annotations].val; /* _n_annotations on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AMethidExpr#init_amethidexpr for (self: AMethidExpr, nullable AExpr, nullable AMethid) */ -void nitc__parser_prod___AMethidExpr___init_amethidexpr(val* self, val* p0, val* p1) { -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var_n_id /* var n_id: nullable AMethid */; +/* method parser_prod$ACharExpr$init_acharexpr for (self: ACharExpr, nullable TChar, nullable AAnnotations) */ +void nitc__parser_prod___ACharExpr___init_acharexpr(val* self, val* p0, val* p1) { +val* var_n_char /* var n_char: nullable TChar */; +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 */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_expr = p0; -var_n_id = p1; -if (unlikely(var_n_expr == NULL)) { +var_n_char = p0; +var_n_annotations = p1; +if (unlikely(var_n_char == 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, 7199); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6571); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AMethidExpr___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ACharExpr___n_char].val = var_n_char; /* _n_char on */ +if (var_n_char == 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, 7200); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6572); 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_char,self) on */ +if (unlikely(var_n_char == 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_char->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -if (unlikely(var_n_id == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7201); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AMethidExpr___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7202); -fatal_exit(1); +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 { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); +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 (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; } -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL3:(void)0; } +} else { } RET_LABEL:; } -/* method parser_prod#AMethidExpr#replace_child for (self: AMethidExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AMethidExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ACharExpr$replace_child for (self: ACharExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ACharExpr___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 /* : TChar */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -5574,27 +5537,31 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : AMethid */; +val* var7 /* : nullable AAnnotations */; short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var12 /* : Bool */; +short int var9 /* : Bool */; +short int var11 /* : Bool */; short int var13 /* : Bool */; -int cltype14; -int idtype15; -const char* var_class_name16; +short int var14 /* : Bool */; +int cltype15; +int idtype16; +const char* var_class_name17; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AMethidExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ACharExpr___n_char].val; /* _n_char on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7207); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_char"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6579); 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; @@ -5607,9 +5574,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AExpr */ -cltype = type_nitc__AExpr.color; -idtype = type_nitc__AExpr.id; +/* isa TChar */ +cltype = type_nitc__TChar.color; +idtype = type_nitc__TChar.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -5621,486 +5588,458 @@ 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, 7208); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TChar", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6580); fatal_exit(1); } { -nitc__parser_prod___AMethidExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod#AMethidExpr#n_expr= on */ +nitc__parser_prod___ACharExpr___n_char_61d(self, var_new_child); /* Direct call parser_prod$ACharExpr$n_char= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AMethidExpr___n_id].val; /* _n_id on */ -if (unlikely(var7 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7211); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var7 == NULL) { +var8 = 0; /* cannot be null */ +} else { +{ /* 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; +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var13 = var7 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } } -var8 = var10; -goto RET_LABEL9; -RET_LABEL9:(void)0; +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; } +var8 = var9; } if (var8){ -/* isa AMethid */ -cltype14 = type_nitc__AMethid.color; -idtype15 = type_nitc__AMethid.id; +/* isa nullable AAnnotations */ +cltype15 = type_nullable__nitc__AAnnotations.color; +idtype16 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var13 = 0; +var14 = 1; } else { -if(cltype14 >= var_new_child->type->table_size) { -var13 = 0; +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; } else { -var13 = var_new_child->type->type_table[cltype14] == idtype15; +var14 = var_new_child->type->type_table[cltype15] == idtype16; } } -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`", "AMethid", var_class_name16); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7212); +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`", "nullable AAnnotations", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6584); fatal_exit(1); } { -nitc__parser_prod___AMethidExpr___n_id_61d(self, var_new_child); /* Direct call parser_prod#AMethidExpr#n_id= on */ +nitc__parser_prod___ACharExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$ACharExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AMethidExpr#n_expr= for (self: AMethidExpr, AExpr) */ -void nitc__parser_prod___AMethidExpr___n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; +/* method parser_prod$ACharExpr$n_char= for (self: ACharExpr, TChar) */ +void nitc__parser_prod___ACharExpr___n_char_61d(val* self, val* p0) { +val* var_node /* var node: TChar */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AMethidExpr___n_expr].val = var_node; /* _n_expr on */ +self->attrs[COLOR_nitc__parser_nodes__ACharExpr___n_char].val = var_node; /* _n_char 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#AMethidExpr#n_id= for (self: AMethidExpr, AMethid) */ -void nitc__parser_prod___AMethidExpr___n_id_61d(val* self, val* p0) { -val* var_node /* var node: AMethid */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AMethidExpr___n_id].val = var_node; /* _n_id on */ +/* method parser_prod$ACharExpr$n_annotations= for (self: ACharExpr, nullable AAnnotations) */ +void nitc__parser_prod___ACharExpr___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 */; +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){ { -{ /* 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 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#AMethidExpr#visit_all for (self: AMethidExpr, Visitor) */ -void nitc__parser_prod___AMethidExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ACharExpr$visit_all for (self: ACharExpr, Visitor) */ +void nitc__parser_prod___ACharExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : AExpr */; -val* var1 /* : AMethid */; +val* var /* : TChar */; +val* var1 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AMethidExpr___n_expr].val; /* _n_expr on */ +var = self->attrs[COLOR_nitc__parser_nodes__ACharExpr___n_char].val; /* _n_char on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7231); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_char"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6603); 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__AMethidExpr___n_id].val; /* _n_id on */ -if (unlikely(var1 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7232); -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__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#AAtExpr#init_aatexpr for (self: AAtExpr, nullable AAnnotations) */ -void nitc__parser_prod___AAtExpr___init_aatexpr(val* self, val* p0) { +/* method parser_prod$AStringExpr$init_astringexpr for (self: AStringExpr, nullable TString, nullable AAnnotations) */ +void nitc__parser_prod___AStringExpr___init_astringexpr(val* self, val* p0, val* p1) { +val* var_n_string /* var n_string: nullable TString */; 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 */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_annotations = p0; -if (unlikely(var_n_annotations == NULL)) { +var_n_string = p0; +var_n_annotations = p1; +if (unlikely(var_n_string == 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, 7240); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6613); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ +if (var_n_string == 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, 7241); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6614); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_annotations,self) on */ -if (unlikely(var_n_annotations == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_string,self) on */ +if (unlikely(var_n_string == 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_annotations->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +var_n_string->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 (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; +} +} +} else { +} RET_LABEL:; } -/* method parser_prod#AAtExpr#replace_child for (self: AAtExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AAtExpr___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AStringExpr$replace_child for (self: AStringExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AStringExpr___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 AAnnotations */; +val* var /* : Token */; 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* var7 /* : nullable AAnnotations */; +short int var8 /* : Bool */; +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; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations 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__AStringFormExpr___n_string].val; /* _n_string on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6621); +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 AAnnotations */ -cltype = type_nitc__AAnnotations.color; -idtype = type_nitc__AAnnotations.id; +/* isa TString */ +cltype = type_nitc__TString.color; +idtype = type_nitc__TString.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`", "AAnnotations", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7247); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TString", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6622); fatal_exit(1); } { -nitc__parser_prod___AAtExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AAtExpr#n_annotations= on */ +nitc__parser_prod___AStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod$AStringExpr$n_string= on */ } goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#AAtExpr#n_annotations= for (self: AAtExpr, nullable AAnnotations) */ -void nitc__parser_prod___AAtExpr___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { -val* var_node /* var node: nullable AAnnotations */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_node; /* _n_annotations on */ -if (var_node == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7255); -fatal_exit(1); +var7 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var7 == NULL) { +var8 = 0; /* cannot be null */ } 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 */ -RET_LABEL1:(void)0; -} -} -RET_LABEL:; -} -/* method parser_prod#AAtExpr#visit_all for (self: AAtExpr, Visitor) */ -void nitc__parser_prod___AAtExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : nullable AAnnotations */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#AManyExpr#init_amanyexpr for (self: AManyExpr, Collection[Object]) */ -void nitc__parser_prod___AManyExpr___init_amanyexpr(val* self, val* p0) { -val* var_n_exprs /* var n_exprs: Collection[Object] */; -val* var /* : ANodes[AExpr] */; -val* var3 /* : ANodes[AExpr] */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_exprs = p0; -{ -{ /* Inline parser_nodes#AManyExpr#n_exprs (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AManyExpr___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, 2655); -fatal_exit(1); -} -var = var3; -RET_LABEL2:(void)0; -} -} -{ -nitc___nitc__ANodes___unsafe_add_all(var, var_n_exprs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ -} -RET_LABEL:; -} -/* method parser_prod#AManyExpr#replace_child for (self: AManyExpr, ANode, nullable ANode) */ -void nitc__parser_prod___AManyExpr___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 /* : ANodes[AExpr] */; -val* var2 /* : ANodes[AExpr] */; -short int var3 /* : Bool */; -var_old_child = p0; -var_new_child = p1; +{ /* Inline kernel$Object$== (var7,var_old_child) on */ +var_other = var_old_child; { -{ /* Inline parser_nodes#AManyExpr#n_exprs (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__AManyExpr___n_exprs].val; /* _n_exprs on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2655); -fatal_exit(1); +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var13 = var7 == var_other; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } -var = var2; -RET_LABEL1:(void)0; } +var9 = var11; +goto RET_LABEL10; +RET_LABEL10:(void)0; } -{ -var3 = nitc___nitc__ANodes___replace_child(var, var_old_child, var_new_child); +var8 = var9; } -if (var3){ -goto RET_LABEL; +if (var8){ +/* isa nullable AAnnotations */ +cltype15 = type_nullable__nitc__AAnnotations.color; +idtype16 = type_nullable__nitc__AAnnotations.id; +if(var_new_child == NULL) { +var14 = 1; } else { +if(cltype15 >= var_new_child->type->table_size) { +var14 = 0; +} else { +var14 = var_new_child->type->type_table[cltype15] == idtype16; } -RET_LABEL:; -} -/* method parser_prod#AManyExpr#visit_all for (self: AManyExpr, Visitor) */ -void nitc__parser_prod___AManyExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : ANodes[AExpr] */; -val* var2 /* : ANodes[AExpr] */; -var_v = p0; -{ -{ /* Inline parser_nodes#AManyExpr#n_exprs (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__AManyExpr___n_exprs].val; /* _n_exprs on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2655); -fatal_exit(1); -} -var = var2; -RET_LABEL1:(void)0; -} -} -{ -nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ -} -RET_LABEL:; -} -/* method parser_prod#AListExprs#init_alistexprs for (self: AListExprs, Collection[Object]) */ -void nitc__parser_prod___AListExprs___init_alistexprs(val* self, val* p0) { -val* var_n_exprs /* var n_exprs: Collection[Object] */; -val* var /* : ANodes[AExpr] */; -val* var3 /* : ANodes[AExpr] */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_exprs = p0; -{ -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AExprs___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, 2709); -fatal_exit(1); -} -var = var3; -RET_LABEL2:(void)0; -} -} -{ -nitc___nitc__ANodes___unsafe_add_all(var, var_n_exprs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ -} -RET_LABEL:; -} -/* method parser_prod#AListExprs#replace_child for (self: AListExprs, ANode, nullable ANode) */ -void nitc__parser_prod___AListExprs___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 /* : ANodes[AExpr] */; -val* var2 /* : ANodes[AExpr] */; -short int var3 /* : Bool */; -var_old_child = p0; -var_new_child = p1; -{ -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__AExprs___n_exprs].val; /* _n_exprs on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2709); -fatal_exit(1); -} -var = var2; -RET_LABEL1:(void)0; } +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`", "nullable AAnnotations", var_class_name17); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6626); +fatal_exit(1); } { -var3 = nitc___nitc__ANodes___replace_child(var, var_old_child, var_new_child); +nitc__parser_prod___AStringExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AStringExpr$n_annotations= on */ } -if (var3){ goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AListExprs#visit_all for (self: AListExprs, Visitor) */ -void nitc__parser_prod___AListExprs___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : ANodes[AExpr] */; -val* var2 /* : ANodes[AExpr] */; -var_v = p0; +/* method parser_prod$AStringExpr$n_string= for (self: AStringExpr, Token) */ +void nitc__parser_prod___AStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { +val* var_node /* var node: Token */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_node; /* _n_string on */ { -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__AExprs___n_exprs].val; /* _n_exprs on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2709); -fatal_exit(1); -} -var = var2; +{ /* 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___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ -} RET_LABEL:; } -/* method parser_prod#AParExprs#init_aparexprs for (self: AParExprs, nullable TOpar, Collection[Object], nullable TCpar) */ -void nitc__parser_prod___AParExprs___init_aparexprs(val* self, val* p0, val* p1, val* p2) { -val* var_n_opar /* var n_opar: nullable TOpar */; -val* var_n_exprs /* var n_exprs: Collection[Object] */; -val* var_n_cpar /* var n_cpar: nullable TCpar */; -val* var /* : ANodes[AExpr] */; -val* var4 /* : ANodes[AExpr] */; +/* method parser_prod$AStringExpr$n_annotations= for (self: AStringExpr, nullable AAnnotations) */ +void nitc__parser_prod___AStringExpr___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 */; +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); { -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +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; } -var_n_opar = p0; -var_n_exprs = p1; -var_n_cpar = p2; -if (unlikely(var_n_opar == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7311); -fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_opar].val = var_n_opar; /* _n_opar on */ -if (var_n_opar == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7312); -fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_opar,self) on */ -if (unlikely(var_n_opar == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); } -var_n_opar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +RET_LABEL:; } +/* method parser_prod$AStringExpr$visit_all for (self: AStringExpr, Visitor) */ +void nitc__parser_prod___AStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : Token */; +val* var1 /* : nullable AAnnotations */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var4 = self->attrs[COLOR_nitc__parser_nodes__AExprs___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, 2709); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6645); fatal_exit(1); } -var = var4; -RET_LABEL3:(void)0; +{ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } +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 */ +} +RET_LABEL:; } +/* method parser_prod$AStartStringExpr$init_astartstringexpr for (self: AStartStringExpr, nullable TStartString) */ +void nitc__parser_prod___AStartStringExpr___init_astartstringexpr(val* self, val* p0) { +val* var_n_string /* var n_string: nullable TStartString */; { -nitc___nitc__ANodes___unsafe_add_all(var, var_n_exprs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; +} +} +var_n_string = p0; +if (unlikely(var_n_string == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_cpar == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7314); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6654); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_cpar].val = var_n_cpar; /* _n_cpar on */ -if (var_n_cpar == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ +if (var_n_string == 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, 7315); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6655); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_cpar,self) on */ -if (unlikely(var_n_cpar == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_string,self) on */ +if (unlikely(var_n_string == 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_cpar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL5:(void)0; +var_n_string->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } } RET_LABEL:; } -/* method parser_prod#AParExprs#replace_child for (self: AParExprs, ANode, nullable ANode) */ -void nitc__parser_prod___AParExprs___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AStartStringExpr$replace_child for (self: AStartStringExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AStartStringExpr___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 /* : TOpar */; +val* var /* : Token */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -6109,30 +6048,22 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : ANodes[AExpr] */; -val* var9 /* : ANodes[AExpr] */; -short int var10 /* : Bool */; -val* var11 /* : TCpar */; -short int var12 /* : Bool */; -short int var14 /* : Bool */; -short int var16 /* : Bool */; -short int var17 /* : Bool */; -int cltype18; -int idtype19; -const char* var_class_name20; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_opar].val; /* _n_opar on */ +var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7320); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6660); 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; @@ -6145,9 +6076,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TOpar */ -cltype = type_nitc__TOpar.color; -idtype = type_nitc__TOpar.id; +/* isa TStartString */ +cltype = type_nitc__TStartString.color; +idtype = type_nitc__TStartString.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -6159,232 +6090,236 @@ 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`", "TOpar", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7321); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TStartString", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6661); fatal_exit(1); } { -nitc__parser_prod___AParExprs___n_opar_61d(self, var_new_child); /* Direct call parser_prod#AParExprs#n_opar= on */ +nitc__parser_prod___AStartStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod$AStartStringExpr$n_string= on */ } goto RET_LABEL; } else { } -{ -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var9 = self->attrs[COLOR_nitc__parser_nodes__AExprs___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, 2709); -fatal_exit(1); +RET_LABEL:; } -var7 = var9; -RET_LABEL8:(void)0; +/* method parser_prod$AStartStringExpr$n_string= for (self: AStartStringExpr, Token) */ +void nitc__parser_prod___AStartStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { +val* var_node /* var node: Token */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_node; /* _n_string 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; } } -{ -var10 = nitc___nitc__ANodes___replace_child(var7, var_old_child, var_new_child); +RET_LABEL:; } -if (var10){ -goto RET_LABEL; -} else { +/* method parser_prod$AStartStringExpr$visit_all for (self: AStartStringExpr, Visitor) */ +void nitc__parser_prod___AStartStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : Token */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var11 = self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_cpar].val; /* _n_cpar on */ -if (unlikely(var11 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7325); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6675); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var11,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var11,var_other) on */ -var16 = var11 == var_other; -var14 = var16; -goto RET_LABEL15; -RET_LABEL15:(void)0; +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } +RET_LABEL:; } -var12 = var14; -goto RET_LABEL13; -RET_LABEL13:(void)0; -} +/* method parser_prod$AMidStringExpr$init_amidstringexpr for (self: AMidStringExpr, nullable TMidString) */ +void nitc__parser_prod___AMidStringExpr___init_amidstringexpr(val* self, val* p0) { +val* var_n_string /* var n_string: nullable TMidString */; +{ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; } -if (var12){ -/* isa TCpar */ -cltype18 = type_nitc__TCpar.color; -idtype19 = type_nitc__TCpar.id; -if(var_new_child == NULL) { -var17 = 0; -} else { -if(cltype18 >= var_new_child->type->table_size) { -var17 = 0; -} else { -var17 = var_new_child->type->type_table[cltype18] == idtype19; } +var_n_string = p0; +if (unlikely(var_n_string == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var17)) { -var_class_name20 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCpar", var_class_name20); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7326); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6683); fatal_exit(1); } -{ -nitc__parser_prod___AParExprs___n_cpar_61d(self, var_new_child); /* Direct call parser_prod#AParExprs#n_cpar= on */ +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ +if (var_n_string == 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, 6684); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_string,self) on */ +if (unlikely(var_n_string == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; -} -/* method parser_prod#AParExprs#n_opar= for (self: AParExprs, TOpar) */ -void nitc__parser_prod___AParExprs___n_opar_61d(val* self, val* p0) { -val* var_node /* var node: TOpar */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_opar].val = var_node; /* _n_opar 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:; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } -/* method parser_prod#AParExprs#n_cpar= for (self: AParExprs, TCpar) */ -void nitc__parser_prod___AParExprs___n_cpar_61d(val* self, val* p0) { -val* var_node /* var node: TCpar */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_cpar].val = var_node; /* _n_cpar 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; +var_n_string->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } } RET_LABEL:; } -/* method parser_prod#AParExprs#visit_all for (self: AParExprs, Visitor) */ -void nitc__parser_prod___AParExprs___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TOpar */; -val* var1 /* : ANodes[AExpr] */; -val* var3 /* : ANodes[AExpr] */; -val* var4 /* : TCpar */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_opar].val; /* _n_opar on */ +/* method parser_prod$AMidStringExpr$replace_child for (self: AMidStringExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AMidStringExpr___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; +var_old_child = p0; +var_new_child = p1; +var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7345); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6689); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} +{ /* Inline kernel$Object$== (var,var_old_child) on */ +var_other = var_old_child; { -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AExprs___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, 2709); -fatal_exit(1); +{ /* 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; } } -{ -nitc___nitc__ANodes___visit_all(var1, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +if (var1){ +/* isa TMidString */ +cltype = type_nitc__TMidString.color; +idtype = type_nitc__TMidString.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; } -var4 = self->attrs[COLOR_nitc__parser_nodes__AParExprs___n_cpar].val; /* _n_cpar on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7347); +} +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`", "TMidString", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6690); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc__parser_prod___AMidStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod$AMidStringExpr$n_string= on */ +} +goto RET_LABEL; +} else { } RET_LABEL:; } -/* method parser_prod#ABraExprs#init_abraexprs for (self: ABraExprs, nullable TObra, Collection[Object], nullable TCbra) */ -void nitc__parser_prod___ABraExprs___init_abraexprs(val* self, val* p0, val* p1, val* p2) { -val* var_n_obra /* var n_obra: nullable TObra */; -val* var_n_exprs /* var n_exprs: Collection[Object] */; -val* var_n_cbra /* var n_cbra: nullable TCbra */; -val* var /* : ANodes[AExpr] */; -val* var4 /* : ANodes[AExpr] */; +/* method parser_prod$AMidStringExpr$n_string= for (self: AMidStringExpr, Token) */ +void nitc__parser_prod___AMidStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { +val* var_node /* var node: Token */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_node; /* _n_string on */ { -{ /* Inline kernel#Object#init (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; } } -var_n_obra = p0; -var_n_exprs = p1; -var_n_cbra = p2; -if (unlikely(var_n_obra == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7357); -fatal_exit(1); +RET_LABEL:; } -self->attrs[COLOR_nitc__parser_nodes__ABraExprs___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, 7358); -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); +/* method parser_prod$AMidStringExpr$visit_all for (self: AMidStringExpr, Visitor) */ +void nitc__parser_prod___AMidStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : Token */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6704); fatal_exit(1); } -var_n_obra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +{ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ } +RET_LABEL:; } +/* method parser_prod$AEndStringExpr$init_aendstringexpr for (self: AEndStringExpr, nullable TEndString) */ +void nitc__parser_prod___AEndStringExpr___init_aendstringexpr(val* self, val* p0) { +val* var_n_string /* var n_string: nullable TEndString */; { -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var4 = self->attrs[COLOR_nitc__parser_nodes__AExprs___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, 2709); -fatal_exit(1); -} -var = var4; -RET_LABEL3:(void)0; +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; } } -{ -nitc___nitc__ANodes___unsafe_add_all(var, var_n_exprs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +var_n_string = p0; +if (unlikely(var_n_string == 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, 7360); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6712); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ABraExprs___n_cbra].val = var_n_cbra; /* _n_cbra on */ -if (var_n_cbra == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_n_string; /* _n_string on */ +if (var_n_string == 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, 7361); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6713); 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_string,self) on */ +if (unlikely(var_n_string == 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_LABEL5:(void)0; +var_n_string->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } } RET_LABEL:; } -/* method parser_prod#ABraExprs#replace_child for (self: ABraExprs, ANode, nullable ANode) */ -void nitc__parser_prod___ABraExprs___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AEndStringExpr$replace_child for (self: AEndStringExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AEndStringExpr___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 /* : Token */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -6393,30 +6328,22 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : ANodes[AExpr] */; -val* var9 /* : ANodes[AExpr] */; -short int var10 /* : Bool */; -val* var11 /* : TCbra */; -short int var12 /* : Bool */; -short int var14 /* : Bool */; -short int var16 /* : Bool */; -short int var17 /* : Bool */; -int cltype18; -int idtype19; -const char* var_class_name20; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ABraExprs___n_obra].val; /* _n_obra on */ +var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_obra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7366); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6718); 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; @@ -6429,9 +6356,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TObra */ -cltype = type_nitc__TObra.color; -idtype = type_nitc__TObra.id; +/* isa TEndString */ +cltype = type_nitc__TEndString.color; +idtype = type_nitc__TEndString.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -6443,315 +6370,419 @@ 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, 7367); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TEndString", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6719); fatal_exit(1); } { -nitc__parser_prod___ABraExprs___n_obra_61d(self, var_new_child); /* Direct call parser_prod#ABraExprs#n_obra= on */ +nitc__parser_prod___AEndStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(self, var_new_child); /* Direct call parser_prod$AEndStringExpr$n_string= on */ } goto RET_LABEL; } else { } +RET_LABEL:; +} +/* method parser_prod$AEndStringExpr$n_string= for (self: AEndStringExpr, Token) */ +void nitc__parser_prod___AEndStringExpr___nitc__parser_nodes__AStringFormExpr__n_string_61d(val* self, val* p0) { +val* var_node /* var node: Token */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val = var_node; /* _n_string on */ { -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var9 = self->attrs[COLOR_nitc__parser_nodes__AExprs___n_exprs].val; /* _n_exprs on */ -if (unlikely(var9 == NULL)) { +{ /* 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$AEndStringExpr$visit_all for (self: AEndStringExpr, Visitor) */ +void nitc__parser_prod___AEndStringExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : Token */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AStringFormExpr___n_string].val; /* _n_string on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_string"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6733); +fatal_exit(1); +} +{ +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +RET_LABEL:; +} +/* method parser_prod$ASuperstringExpr$init_asuperstringexpr for (self: ASuperstringExpr, Collection[Object], nullable AAnnotations) */ +void nitc__parser_prod___ASuperstringExpr___init_asuperstringexpr(val* self, val* p0, val* p1) { +val* var_n_exprs /* var n_exprs: Collection[Object] */; +val* var_n_annotations /* var n_annotations: nullable AAnnotations */; +val* var /* : ANodes[AExpr] */; +val* var3 /* : ANodes[AExpr] */; +short int var4 /* : Bool */; +short int var5 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var7 /* : Bool */; +short int var8 /* : Bool */; +{ +{ /* Inline kernel$Object$init (self) on */ +RET_LABEL1:(void)0; +} +} +var_n_exprs = p0; +var_n_annotations = p1; +{ +{ /* Inline parser_nodes$ASuperstringExpr$n_exprs (self) on */ +var3 = self->attrs[COLOR_nitc__parser_nodes__ASuperstringExpr___n_exprs].val; /* _n_exprs on */ +if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2709); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2645); fatal_exit(1); } -var7 = var9; -RET_LABEL8:(void)0; +var = var3; +RET_LABEL2:(void)0; } } { -var10 = nitc___nitc__ANodes___replace_child(var7, var_old_child, var_new_child); +nitc___nitc__ANodes___unsafe_add_all(var, var_n_exprs); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } -if (var10){ -goto RET_LABEL; +self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ +if (var_n_annotations == NULL) { +var4 = 0; /* is null */ } else { +var4 = 1; /* arg is null and recv is not */ } -var11 = self->attrs[COLOR_nitc__parser_nodes__ABraExprs___n_cbra].val; /* _n_cbra on */ -if (unlikely(var11 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cbra"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7371); +if (0) { +{ /* Inline kernel$Object$!= (var_n_annotations,((val*)NULL)) on */ +var_other = ((val*)NULL); +{ +var7 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ +} +var8 = !var7; +var5 = var8; +goto RET_LABEL6; +RET_LABEL6:(void)0; +} +var4 = var5; +} +if (var4){ +{ +{ /* 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_LABEL9:(void)0; +} +} +} else { +} +RET_LABEL:; +} +/* method parser_prod$ASuperstringExpr$replace_child for (self: ASuperstringExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ASuperstringExpr___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 /* : ANodes[AExpr] */; +val* var2 /* : ANodes[AExpr] */; +short int var3 /* : Bool */; +val* var4 /* : nullable AAnnotations */; +short int var5 /* : Bool */; +short int var6 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var8 /* : Bool */; +short int var10 /* : Bool */; +short int var11 /* : Bool */; +int cltype; +int idtype; +const char* var_class_name; +var_old_child = p0; +var_new_child = p1; +{ +{ /* Inline parser_nodes$ASuperstringExpr$n_exprs (self) on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ASuperstringExpr___n_exprs].val; /* _n_exprs on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_exprs"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2645); fatal_exit(1); } +var = var2; +RET_LABEL1:(void)0; +} +} { -{ /* Inline kernel#Object#== (var11,var_old_child) on */ +var3 = nitc___nitc__ANodes___replace_child(var, var_old_child, var_new_child); +} +if (var3){ +goto RET_LABEL; +} else { +} +var4 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var4 == NULL) { +var5 = 0; /* cannot be null */ +} else { +{ /* Inline kernel$Object$== (var4,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var11,var_other) on */ -var16 = var11 == var_other; -var14 = var16; -goto RET_LABEL15; -RET_LABEL15:(void)0; +{ /* Inline kernel$Object$is_same_instance (var4,var_other) on */ +var10 = var4 == var_other; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } } -var12 = var14; -goto RET_LABEL13; -RET_LABEL13:(void)0; +var6 = var8; +goto RET_LABEL7; +RET_LABEL7:(void)0; } +var5 = var6; } -if (var12){ -/* isa TCbra */ -cltype18 = type_nitc__TCbra.color; -idtype19 = type_nitc__TCbra.id; +if (var5){ +/* isa nullable AAnnotations */ +cltype = type_nullable__nitc__AAnnotations.color; +idtype = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var17 = 0; +var11 = 1; } else { -if(cltype18 >= var_new_child->type->table_size) { -var17 = 0; +if(cltype >= var_new_child->type->table_size) { +var11 = 0; } else { -var17 = var_new_child->type->type_table[cltype18] == idtype19; +var11 = var_new_child->type->type_table[cltype] == idtype; } } -if (unlikely(!var17)) { -var_class_name20 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TCbra", var_class_name20); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7372); +if (unlikely(!var11)) { +var_class_name = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6751); fatal_exit(1); } { -nitc__parser_prod___ABraExprs___n_cbra_61d(self, var_new_child); /* Direct call parser_prod#ABraExprs#n_cbra= on */ +nitc__parser_prod___ASuperstringExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$ASuperstringExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ABraExprs#n_obra= for (self: ABraExprs, TObra) */ -void nitc__parser_prod___ABraExprs___n_obra_61d(val* self, val* p0) { -val* var_node /* var node: TObra */; +/* method parser_prod$ASuperstringExpr$n_annotations= for (self: ASuperstringExpr, nullable AAnnotations) */ +void nitc__parser_prod___ASuperstringExpr___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 */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABraExprs___n_obra].val = var_node; /* _n_obra on */ +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); { -{ /* 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; +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; } -RET_LABEL:; +var = var1; } -/* method parser_prod#ABraExprs#n_cbra= for (self: ABraExprs, TCbra) */ -void nitc__parser_prod___ABraExprs___n_cbra_61d(val* self, val* p0) { -val* var_node /* var node: TCbra */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ABraExprs___n_cbra].val = var_node; /* _n_cbra on */ +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_LABEL1:(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_LABEL5:(void)0; } } +} else { +} RET_LABEL:; } -/* method parser_prod#ABraExprs#visit_all for (self: ABraExprs, Visitor) */ -void nitc__parser_prod___ABraExprs___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ASuperstringExpr$visit_all for (self: ASuperstringExpr, Visitor) */ +void nitc__parser_prod___ASuperstringExpr___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 /* : TCbra */; +val* var /* : ANodes[AExpr] */; +val* var2 /* : ANodes[AExpr] */; +val* var3 /* : nullable AAnnotations */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ABraExprs___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, 7391); -fatal_exit(1); -} { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +{ /* Inline parser_nodes$ASuperstringExpr$n_exprs (self) on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ASuperstringExpr___n_exprs].val; /* _n_exprs on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -{ /* Inline parser_nodes#AExprs#n_exprs (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AExprs___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, 2709); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2645); fatal_exit(1); } -var1 = var3; -RET_LABEL2:(void)0; +var = var2; +RET_LABEL1:(void)0; } } { -nitc___nitc__ANodes___visit_all(var1, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ -} -var4 = self->attrs[COLOR_nitc__parser_nodes__ABraExprs___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, 7393); -fatal_exit(1); +nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } +var3 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ { -nitc___nitc__Visitor___enter_visit(var_v, var4); /* 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#APlusAssignOp#init_aplusassignop for (self: APlusAssignOp, nullable TPluseq) */ -void nitc__parser_prod___APlusAssignOp___init_aplusassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TPluseq */; +/* method parser_prod$AParExpr$init_aparexpr for (self: AParExpr, nullable TOpar, nullable AExpr, nullable TCpar, nullable AAnnotations) */ +void nitc__parser_prod___AParExpr___init_aparexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +val* var_n_opar /* var n_opar: nullable TOpar */; +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_cpar /* var n_cpar: nullable TCpar */; +val* var_n_annotations /* var n_annotations: nullable AAnnotations */; +short int var /* : Bool */; +short int var5 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var7 /* : Bool */; +short int var8 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { +var_n_opar = p0; +var_n_expr = p1; +var_n_cpar = p2; +var_n_annotations = p3; +if (unlikely(var_n_opar == 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, 7401); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6777); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val = var_n_opar; /* _n_opar on */ +if (var_n_opar == 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, 7402); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6778); 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_opar,self) on */ +if (unlikely(var_n_opar == 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_opar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -RET_LABEL:; +if (unlikely(var_n_expr == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#APlusAssignOp#replace_child for (self: APlusAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___APlusAssignOp___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7407); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6779); 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__AParExpr___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, 6780); +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); } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(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_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } -if (var1){ -/* isa TPluseq */ -cltype = type_nitc__TPluseq.color; -idtype = type_nitc__TPluseq.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(var_n_cpar == 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`", "TPluseq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7408); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6781); fatal_exit(1); } -{ -nitc__parser_prod___APlusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#APlusAssignOp#n_op= on */ +self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val = var_n_cpar; /* _n_cpar on */ +if (var_n_cpar == 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, 6782); +fatal_exit(1); } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on */ +if (unlikely(var_n_cpar == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; -} -/* method parser_prod#APlusAssignOp#n_op= for (self: APlusAssignOp, Token) */ -void nitc__parser_prod___APlusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___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; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } +var_n_cpar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } -RET_LABEL:; } -/* method parser_prod#APlusAssignOp#visit_all for (self: APlusAssignOp, Visitor) */ -void nitc__parser_prod___APlusAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7422); -fatal_exit(1); +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); { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +var7 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ } -RET_LABEL:; +var8 = !var7; +var5 = var8; +goto RET_LABEL6; +RET_LABEL6:(void)0; } -/* method parser_prod#AMinusAssignOp#init_aminusassignop for (self: AMinusAssignOp, nullable TMinuseq) */ -void nitc__parser_prod___AMinusAssignOp___init_aminusassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TMinuseq */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +var = var5; } +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_LABEL9:(void)0; } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7430); -fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7431); -fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_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_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} } RET_LABEL:; } -/* method parser_prod#AMinusAssignOp#replace_child for (self: AMinusAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AParExpr$replace_child for (self: AParExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AParExpr___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 /* : TOpar */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -6760,19 +6791,47 @@ 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 /* : TCpar */; +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 /* : nullable AAnnotations */; +short int var28 /* : Bool */; +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__AAssignOp___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val; /* _n_opar on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7436); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6789); 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; @@ -6785,9 +6844,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TMinuseq */ -cltype = type_nitc__TMinuseq.color; -idtype = type_nitc__TMinuseq.id; +/* isa TOpar */ +cltype = type_nitc__TOpar.color; +idtype = type_nitc__TOpar.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -6799,584 +6858,470 @@ 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`", "TMinuseq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7437); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TOpar", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6790); fatal_exit(1); } { -nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#AMinusAssignOp#n_op= on */ +nitc__parser_prod___AParExpr___n_opar_61d(self, var_new_child); /* Direct call parser_prod$AParExpr$n_opar= on */ } goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#AMinusAssignOp#n_op= for (self: AMinusAssignOp, Token) */ -void nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___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#AMinusAssignOp#visit_all for (self: AMinusAssignOp, Visitor) */ -void nitc__parser_prod___AMinusAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7451); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#AStarAssignOp#init_astarassignop for (self: AStarAssignOp, nullable TStareq) */ -void nitc__parser_prod___AStarAssignOp___init_astarassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TStareq */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7459); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7460); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_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_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} -} -RET_LABEL:; +var7 = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AStarAssignOp#replace_child for (self: AStarAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___AStarAssignOp___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7465); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6793); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,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; +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var12 = var7 == var_other; +var10 = var12; +goto RET_LABEL11; +RET_LABEL11:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } } -if (var1){ -/* isa TStareq */ -cltype = type_nitc__TStareq.color; -idtype = type_nitc__TStareq.id; +if (var8){ +/* isa AExpr */ +cltype14 = type_nitc__AExpr.color; +idtype15 = type_nitc__AExpr.id; if(var_new_child == NULL) { -var6 = 0; +var13 = 0; } else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -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`", "TStareq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7466); +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, 6794); fatal_exit(1); } { -nitc__parser_prod___AStarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#AStarAssignOp#n_op= on */ +nitc__parser_prod___AParExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod$AParExpr$n_expr= on */ } goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#AStarAssignOp#n_op= for (self: AStarAssignOp, Token) */ -void nitc__parser_prod___AStarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___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:; +var17 = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val; /* _n_cpar on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AStarAssignOp#visit_all for (self: AStarAssignOp, Visitor) */ -void nitc__parser_prod___AStarAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7480); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6797); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#ASlashAssignOp#init_aslashassignop for (self: ASlashAssignOp, nullable TSlasheq) */ -void nitc__parser_prod___ASlashAssignOp___init_aslashassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TSlasheq */; +{ /* Inline kernel$Object$== (var17,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 (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7488); -fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7489); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; } +if (var18){ +/* isa TCpar */ +cltype24 = type_nitc__TCpar.color; +idtype25 = type_nitc__TCpar.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#ASlashAssignOp#replace_child for (self: ASlashAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___ASlashAssignOp___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7494); +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`", "TCpar", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6798); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +nitc__parser_prod___AParExpr___n_cpar_61d(self, var_new_child); /* Direct call parser_prod$AParExpr$n_cpar= on */ +} +goto RET_LABEL; +} else { +} +var27 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +if (var27 == NULL) { +var28 = 0; /* cannot be null */ +} else { +{ /* Inline kernel$Object$== (var27,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; +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ +var33 = var27 == var_other; +var31 = var33; +goto RET_LABEL32; +RET_LABEL32:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var29 = var31; +goto RET_LABEL30; +RET_LABEL30:(void)0; } +var28 = var29; } -if (var1){ -/* isa TSlasheq */ -cltype = type_nitc__TSlasheq.color; -idtype = type_nitc__TSlasheq.id; +if (var28){ +/* isa nullable AAnnotations */ +cltype35 = type_nullable__nitc__AAnnotations.color; +idtype36 = type_nullable__nitc__AAnnotations.id; if(var_new_child == NULL) { -var6 = 0; +var34 = 1; } else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +if(cltype35 >= var_new_child->type->table_size) { +var34 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var34 = var_new_child->type->type_table[cltype35] == idtype36; } } -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`", "TSlasheq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7495); +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`", "nullable AAnnotations", var_class_name37); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6802); fatal_exit(1); } { -nitc__parser_prod___ASlashAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#ASlashAssignOp#n_op= on */ +nitc__parser_prod___AParExpr___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AParExpr$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ASlashAssignOp#n_op= for (self: ASlashAssignOp, Token) */ -void nitc__parser_prod___ASlashAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; +/* method parser_prod$AParExpr$n_opar= for (self: AParExpr, TOpar) */ +void nitc__parser_prod___AParExpr___n_opar_61d(val* self, val* p0) { +val* var_node /* var node: TOpar */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val = var_node; /* _n_opar 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#ASlashAssignOp#visit_all for (self: ASlashAssignOp, Visitor) */ -void nitc__parser_prod___ASlashAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7509); -fatal_exit(1); -} +/* method parser_prod$AParExpr$n_expr= for (self: AParExpr, AExpr) */ +void nitc__parser_prod___AParExpr___n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_expr].val = var_node; /* _n_expr 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; +} } RET_LABEL:; } -/* method parser_prod#APercentAssignOp#init_apercentassignop for (self: APercentAssignOp, nullable TPercenteq) */ -void nitc__parser_prod___APercentAssignOp___init_apercentassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TPercenteq */; +/* method parser_prod$AParExpr$n_cpar= for (self: AParExpr, TCpar) */ +void nitc__parser_prod___AParExpr___n_cpar_61d(val* self, val* p0) { +val* var_node /* var node: TCpar */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val = var_node; /* _n_cpar on */ { -{ /* Inline kernel#Object#init (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; } } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7517); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7518); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_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_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} -} RET_LABEL:; } -/* method parser_prod#APercentAssignOp#replace_child for (self: APercentAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___APercentAssignOp___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 */; +/* method parser_prod$AParExpr$n_annotations= for (self: AParExpr, nullable AAnnotations) */ +void nitc__parser_prod___AParExpr___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 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__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7523); -fatal_exit(1); +short int var4 /* : Bool */; +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); { -{ /* 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; -} +var3 = ((short int(*)(val* self, val* p0))(var_node->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_node, var_other); /* == on */ } -var1 = var3; +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; +} } -if (var1){ -/* isa TPercenteq */ -cltype = type_nitc__TPercenteq.color; -idtype = type_nitc__TPercenteq.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; } +RET_LABEL:; } -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`", "TPercenteq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7524); +/* method parser_prod$AParExpr$visit_all for (self: AParExpr, Visitor) */ +void nitc__parser_prod___AParExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : TOpar */; +val* var1 /* : AExpr */; +val* var2 /* : TCpar */; +val* var3 /* : nullable AAnnotations */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_opar].val; /* _n_opar on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_opar"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6831); fatal_exit(1); } { -nitc__parser_prod___APercentAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#APercentAssignOp#n_op= 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__AParExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6832); +fatal_exit(1); } -/* method parser_prod#APercentAssignOp#n_op= for (self: APercentAssignOp, Token) */ -void nitc__parser_prod___APercentAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___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; -} +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } -RET_LABEL:; +var2 = self->attrs[COLOR_nitc__parser_nodes__AParExpr___n_cpar].val; /* _n_cpar on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#APercentAssignOp#visit_all for (self: APercentAssignOp, Visitor) */ -void nitc__parser_prod___APercentAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7538); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_cpar"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6833); 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, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var3 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AStarstarAssignOp#init_astarstarassignop for (self: AStarstarAssignOp, nullable TStarstareq) */ -void nitc__parser_prod___AStarstarAssignOp___init_astarstarassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TStarstareq */; +/* method parser_prod$AAsCastExpr$init_aascastexpr for (self: AAsCastExpr, nullable AExpr, nullable TKwas, nullable TOpar, nullable AType, nullable TCpar) */ +void nitc__parser_prod___AAsCastExpr___init_aascastexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_kwas /* var n_kwas: nullable TKwas */; +val* var_n_opar /* var n_opar: nullable TOpar */; +val* var_n_type /* var n_type: nullable AType */; +val* var_n_cpar /* var n_cpar: nullable TCpar */; +short int var /* : Bool */; +short int var4 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var6 /* : Bool */; +short int var7 /* : Bool */; +short int var10 /* : Bool */; +short int var11 /* : Bool */; +short int var13 /* : Bool */; +short int var14 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { +var_n_expr = p0; +var_n_kwas = p1; +var_n_opar = p2; +var_n_type = p3; +var_n_cpar = 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, 7546); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6846); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 7547); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6847); 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; } } -RET_LABEL:; +if (unlikely(var_n_kwas == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AStarstarAssignOp#replace_child for (self: AStarstarAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___AStarstarAssignOp___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7552); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6848); 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; -} +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val = var_n_kwas; /* _n_kwas on */ +if (var_n_kwas == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (var1){ -/* isa TStarstareq */ -cltype = type_nitc__TStarstareq.color; -idtype = type_nitc__TStarstareq.id; -if(var_new_child == NULL) { -var6 = 0; -} else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6849); +fatal_exit(1); } else { -var6 = var_new_child->type->type_table[cltype] == idtype; -} +{ /* Inline parser_nodes$ANode$parent= (var_n_kwas,self) on */ +if (unlikely(var_n_kwas == 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`", "TStarstareq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7553); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } -{ -nitc__parser_prod___AStarstarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#AStarstarAssignOp#n_op= on */ +var_n_kwas->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } -goto RET_LABEL; -} else { } -RET_LABEL:; +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val = var_n_opar; /* _n_opar on */ +if (var_n_opar == NULL) { +var = 0; /* is null */ +} else { +var = 1; /* arg is null and recv is not */ } -/* method parser_prod#AStarstarAssignOp#n_op= for (self: AStarstarAssignOp, Token) */ -void nitc__parser_prod___AStarstarAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_node; /* _n_op on */ +if (0) { +{ /* Inline kernel$Object$!= (var_n_opar,((val*)NULL)) on */ +var_other = ((val*)NULL); { -{ /* 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; -} +var6 = ((short int(*)(val* self, val* p0))(var_n_opar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_opar, var_other); /* == on */ } -RET_LABEL:; +var7 = !var6; +var4 = var7; +goto RET_LABEL5; +RET_LABEL5:(void)0; } -/* method parser_prod#AStarstarAssignOp#visit_all for (self: AStarstarAssignOp, Visitor) */ -void nitc__parser_prod___AStarstarAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7567); -fatal_exit(1); +var = var4; } +if (var){ { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_opar,self) on */ +var_n_opar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL8:(void)0; } -RET_LABEL:; } -/* method parser_prod#APipeAssignOp#init_apipeassignop for (self: APipeAssignOp, nullable TPipeeq) */ -void nitc__parser_prod___APipeAssignOp___init_apipeassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TPipeeq */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +} else { } +if (unlikely(var_n_type == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7575); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6852); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAsCastExpr___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, 7576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6853); 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_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_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL9:(void)0; +} +} +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val = var_n_cpar; /* _n_cpar on */ +if (var_n_cpar == NULL) { +var10 = 0; /* is null */ +} else { +var10 = 1; /* arg is null and recv is not */ +} +if (0) { +{ /* Inline kernel$Object$!= (var_n_cpar,((val*)NULL)) on */ +var_other = ((val*)NULL); +{ +var13 = ((short int(*)(val* self, val* p0))(var_n_cpar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_cpar, var_other); /* == on */ +} +var14 = !var13; +var11 = var14; +goto RET_LABEL12; +RET_LABEL12:(void)0; +} +var10 = var11; +} +if (var10){ +{ +{ /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on */ +var_n_cpar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL15:(void)0; } } +} else { +} RET_LABEL:; } -/* method parser_prod#APipeAssignOp#replace_child for (self: APipeAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AAsCastExpr$replace_child for (self: AAsCastExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AAsCastExpr___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 */; @@ -7385,19 +7330,56 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; +val* var7 /* : TKwas */; +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 /* : nullable TOpar */; +short int var18 /* : Bool */; +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; +val* var28 /* : AType */; +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; +val* var38 /* : nullable TCpar */; +short int var39 /* : Bool */; +short int var40 /* : Bool */; +short int var42 /* : Bool */; +short int var44 /* : Bool */; +short int var45 /* : Bool */; +int cltype46; +int idtype47; +const char* var_class_name48; var_old_child = p0; var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ +var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 7581); +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, 6860); 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; @@ -7410,9 +7392,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TPipeeq */ -cltype = type_nitc__TPipeeq.color; -idtype = type_nitc__TPipeeq.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -7424,1077 +7406,981 @@ 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`", "TPipeeq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7582); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6861); fatal_exit(1); } { -nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#APipeAssignOp#n_op= on */ +nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AAsCastExpr$n_expr= on */ } goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#APipeAssignOp#n_op= for (self: APipeAssignOp, Token) */ -void nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___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#APipeAssignOp#visit_all for (self: APipeAssignOp, Visitor) */ -void nitc__parser_prod___APipeAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7596); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#ACaretAssignOp#init_acaretassignop for (self: ACaretAssignOp, nullable TCareteq) */ -void nitc__parser_prod___ACaretAssignOp___init_acaretassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TCareteq */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7604); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7605); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_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_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} -} -RET_LABEL:; +var7 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val; /* _n_kwas on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#ACaretAssignOp#replace_child for (self: ACaretAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___ACaretAssignOp___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7610); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6864); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,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; +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ +var12 = var7 == var_other; +var10 = var12; +goto RET_LABEL11; +RET_LABEL11:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } } -if (var1){ -/* isa TCareteq */ -cltype = type_nitc__TCareteq.color; -idtype = type_nitc__TCareteq.id; +if (var8){ +/* isa TKwas */ +cltype14 = type_nitc__TKwas.color; +idtype15 = type_nitc__TKwas.id; if(var_new_child == NULL) { -var6 = 0; +var13 = 0; } else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -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`", "TCareteq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7611); +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`", "TKwas", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6865); fatal_exit(1); } { -nitc__parser_prod___ACaretAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#ACaretAssignOp#n_op= on */ +nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(self, var_new_child); /* Direct call parser_prod$AAsCastExpr$n_kwas= on */ } goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#ACaretAssignOp#n_op= for (self: ACaretAssignOp, Token) */ -void nitc__parser_prod___ACaretAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_node; /* _n_op on */ +var17 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val; /* _n_opar on */ +if (var17 == NULL) { +var18 = 0; /* cannot be null */ +} else { +{ /* Inline kernel$Object$== (var17,var_old_child) on */ +var_other = var_old_child; { -{ /* 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$is_same_instance (var17,var_other) on */ +var23 = var17 == var_other; +var21 = var23; +goto RET_LABEL22; +RET_LABEL22:(void)0; } } -RET_LABEL:; +var19 = var21; +goto RET_LABEL20; +RET_LABEL20:(void)0; } -/* method parser_prod#ACaretAssignOp#visit_all for (self: ACaretAssignOp, Visitor) */ -void nitc__parser_prod___ACaretAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7625); -fatal_exit(1); +var18 = var19; } -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +if (var18){ +/* isa nullable TOpar */ +cltype25 = type_nullable__nitc__TOpar.color; +idtype26 = type_nullable__nitc__TOpar.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; } -RET_LABEL:; } -/* method parser_prod#AAmpAssignOp#init_aampassignop for (self: AAmpAssignOp, nullable TAmpeq) */ -void nitc__parser_prod___AAmpAssignOp___init_aampassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TAmpeq */; +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 TOpar", var_class_name27); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6869); +fatal_exit(1); +} { -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(self, var_new_child); /* Direct call parser_prod$AAsCastExpr$n_opar= on */ } +goto RET_LABEL; +} else { } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7633); -fatal_exit(1); +var28 = self->attrs[COLOR_nitc__parser_nodes__AAsCastExpr___n_type].val; /* _n_type on */ +if (unlikely(var28 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7634); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6872); fatal_exit(1); } -var_n_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +{ +{ /* 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; } } -RET_LABEL:; +var29 = var31; +goto RET_LABEL30; +RET_LABEL30:(void)0; } -/* method parser_prod#AAmpAssignOp#replace_child for (self: AAmpAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___AAmpAssignOp___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7639); +} +if (var29){ +/* isa AType */ +cltype35 = type_nitc__AType.color; +idtype36 = type_nitc__AType.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`", "AType", var_class_name37); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6873); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +nitc__parser_prod___AAsCastExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod$AAsCastExpr$n_type= on */ +} +goto RET_LABEL; +} else { +} +var38 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val; /* _n_cpar on */ +if (var38 == NULL) { +var39 = 0; /* cannot be null */ +} else { +{ /* Inline kernel$Object$== (var38,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; +{ /* Inline kernel$Object$is_same_instance (var38,var_other) on */ +var44 = var38 == var_other; +var42 = var44; +goto RET_LABEL43; +RET_LABEL43:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var40 = var42; +goto RET_LABEL41; +RET_LABEL41:(void)0; } +var39 = var40; } -if (var1){ -/* isa TAmpeq */ -cltype = type_nitc__TAmpeq.color; -idtype = type_nitc__TAmpeq.id; +if (var39){ +/* isa nullable TCpar */ +cltype46 = type_nullable__nitc__TCpar.color; +idtype47 = type_nullable__nitc__TCpar.id; if(var_new_child == NULL) { -var6 = 0; +var45 = 1; } else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +if(cltype46 >= var_new_child->type->table_size) { +var45 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var45 = var_new_child->type->type_table[cltype46] == idtype47; } } -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`", "TAmpeq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7640); +if (unlikely(!var45)) { +var_class_name48 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name48); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6877); fatal_exit(1); } { -nitc__parser_prod___AAmpAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#AAmpAssignOp#n_op= on */ +nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(self, var_new_child); /* Direct call parser_prod$AAsCastExpr$n_cpar= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAmpAssignOp#n_op= for (self: AAmpAssignOp, Token) */ -void nitc__parser_prod___AAmpAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; +/* method parser_prod$AAsCastExpr$n_expr= for (self: AAsCastExpr, AExpr) */ +void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_node; /* _n_op on */ +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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#AAmpAssignOp#visit_all for (self: AAmpAssignOp, Visitor) */ -void nitc__parser_prod___AAmpAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7654); -fatal_exit(1); -} +/* method parser_prod$AAsCastExpr$n_kwas= for (self: AAsCastExpr, TKwas) */ +void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(val* self, val* p0) { +val* var_node /* var node: TKwas */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val = var_node; /* _n_kwas 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; +} } RET_LABEL:; } -/* method parser_prod#ALlAssignOp#init_allassignop for (self: ALlAssignOp, nullable TLleq) */ -void nitc__parser_prod___ALlAssignOp___init_allassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TLleq */; +/* method parser_prod$AAsCastExpr$n_opar= for (self: AAsCastExpr, nullable TOpar) */ +void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(val* self, val* p0) { +val* var_node /* var node: nullable TOpar */; +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__AAsCastForm___n_opar].val = var_node; /* _n_opar 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); { -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +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; } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7662); -fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7663); -fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_op,self) on */ -if (unlikely(var_n_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_op->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +RET_LABEL:; +} +/* method parser_prod$AAsCastExpr$n_type= for (self: AAsCastExpr, AType) */ +void nitc__parser_prod___AAsCastExpr___n_type_61d(val* self, val* p0) { +val* var_node /* var node: AType */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAsCastExpr___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#ALlAssignOp#replace_child for (self: ALlAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___ALlAssignOp___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 */; +/* method parser_prod$AAsCastExpr$n_cpar= for (self: AAsCastExpr, nullable TCpar) */ +void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(val* self, val* p0) { +val* var_node /* var node: nullable TCpar */; +short int var /* : Bool */; 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__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7668); -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; +short int var4 /* : Bool */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val = var_node; /* _n_cpar 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 */ } -var1 = var3; +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; +} } -if (var1){ -/* isa TLleq */ -cltype = type_nitc__TLleq.color; -idtype = type_nitc__TLleq.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; } +RET_LABEL:; } -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`", "TLleq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7669); +/* method parser_prod$AAsCastExpr$visit_all for (self: AAsCastExpr, Visitor) */ +void nitc__parser_prod___AAsCastExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : AExpr */; +val* var1 /* : TKwas */; +val* var2 /* : nullable TOpar */; +val* var3 /* : AType */; +val* var4 /* : nullable TCpar */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 6911); fatal_exit(1); } { -nitc__parser_prod___ALlAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#ALlAssignOp#n_op= 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__AAsCastForm___n_kwas].val; /* _n_kwas on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6912); +fatal_exit(1); } -/* method parser_prod#ALlAssignOp#n_op= for (self: ALlAssignOp, Token) */ -void nitc__parser_prod___ALlAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___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; +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } +var2 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val; /* _n_opar on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } -RET_LABEL:; +var3 = self->attrs[COLOR_nitc__parser_nodes__AAsCastExpr___n_type].val; /* _n_type on */ +if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#ALlAssignOp#visit_all for (self: ALlAssignOp, Visitor) */ -void nitc__parser_prod___ALlAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7683); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6914); 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 */ +} +var4 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val; /* _n_cpar on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AGgAssignOp#init_aggassignop for (self: AGgAssignOp, nullable TGgeq) */ -void nitc__parser_prod___AGgAssignOp___init_aggassignop(val* self, val* p0) { -val* var_n_op /* var n_op: nullable TGgeq */; +/* method parser_prod$AAsNotnullExpr$init_aasnotnullexpr for (self: AAsNotnullExpr, nullable AExpr, nullable TKwas, nullable TOpar, nullable TKwnot, nullable TKwnull, nullable TCpar) */ +void nitc__parser_prod___AAsNotnullExpr___init_aasnotnullexpr(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_kwas /* var n_kwas: nullable TKwas */; +val* var_n_opar /* var n_opar: nullable TOpar */; +val* var_n_kwnot /* var n_kwnot: nullable TKwnot */; +val* var_n_kwnull /* var n_kwnull: nullable TKwnull */; +val* var_n_cpar /* var n_cpar: nullable TCpar */; +short int var /* : Bool */; +short int var4 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var6 /* : Bool */; +short int var7 /* : Bool */; +short int var11 /* : Bool */; +short int var12 /* : Bool */; +short int var14 /* : Bool */; +short int var15 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_op = p0; -if (unlikely(var_n_op == NULL)) { +var_n_expr = p0; +var_n_kwas = p1; +var_n_opar = p2; +var_n_kwnot = p3; +var_n_kwnull = p4; +var_n_cpar = p5; +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, 7691); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6928); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val = var_n_op; /* _n_op on */ -if (var_n_op == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 7692); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6929); 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; } } -RET_LABEL:; +if (unlikely(var_n_kwas == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AGgAssignOp#replace_child for (self: AGgAssignOp, ANode, nullable ANode) */ -void nitc__parser_prod___AGgAssignOp___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; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7697); +PRINT_ERROR("Runtime error: %s", "Cast failed"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6930); 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 TGgeq */ -cltype = type_nitc__TGgeq.color; -idtype = type_nitc__TGgeq.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__AAsCastForm___n_kwas].val = var_n_kwas; /* _n_kwas on */ +if (var_n_kwas == 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`", "TGgeq", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7698); +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6931); fatal_exit(1); -} -{ -nitc__parser_prod___AGgAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(self, var_new_child); /* Direct call parser_prod#AGgAssignOp#n_op= on */ -} -goto RET_LABEL; } else { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwas,self) on */ +if (unlikely(var_n_kwas == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; -} -/* method parser_prod#AGgAssignOp#n_op= for (self: AGgAssignOp, Token) */ -void nitc__parser_prod___AGgAssignOp___nitc__parser_nodes__AAssignOp__n_op_61d(val* self, val* p0) { -val* var_node /* var node: Token */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AAssignOp___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; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); +fatal_exit(1); } +var_n_kwas->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } -RET_LABEL:; } -/* method parser_prod#AGgAssignOp#visit_all for (self: AGgAssignOp, Visitor) */ -void nitc__parser_prod___AGgAssignOp___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : Token */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AAssignOp___n_op].val; /* _n_op on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_op"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7712); -fatal_exit(1); +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val = var_n_opar; /* _n_opar on */ +if (var_n_opar == NULL) { +var = 0; /* is null */ +} else { +var = 1; /* arg is null and recv is not */ } +if (0) { +{ /* Inline kernel$Object$!= (var_n_opar,((val*)NULL)) on */ +var_other = ((val*)NULL); { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; +var6 = ((short int(*)(val* self, val* p0))(var_n_opar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_opar, var_other); /* == on */ } -/* method parser_prod#AForGroup#init_aforgroup for (self: AForGroup, Collection[Object], nullable TKwin, nullable AExpr) */ -void nitc__parser_prod___AForGroup___init_aforgroup(val* self, val* p0, val* p1, val* p2) { -val* var_n_ids /* var n_ids: Collection[Object] */; -val* var_n_kwin /* var n_kwin: nullable TKwin */; -val* var_n_expr /* var n_expr: nullable AExpr */; -val* var /* : ANodes[TId] */; -val* var3 /* : ANodes[TId] */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; +var7 = !var6; +var4 = var7; +goto RET_LABEL5; +RET_LABEL5:(void)0; } +var = var4; } -var_n_ids = p0; -var_n_kwin = p1; -var_n_expr = p2; +if (var){ { -{ /* Inline parser_nodes#AForGroup#n_ids (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_ids].val; /* _n_ids on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_ids"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1937); -fatal_exit(1); +{ /* Inline parser_nodes$ANode$parent= (var_n_opar,self) on */ +var_n_opar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL8:(void)0; } -var = var3; -RET_LABEL2:(void)0; } +} else { } -{ -nitc___nitc__ANodes___unsafe_add_all(var, var_n_ids); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +if (unlikely(var_n_kwnot == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_kwin == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7723); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6934); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_kwin].val = var_n_kwin; /* _n_kwin on */ -if (var_n_kwin == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val = var_n_kwnot; /* _n_kwnot on */ +if (var_n_kwnot == 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, 7724); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6935); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwin,self) on */ -if (unlikely(var_n_kwin == NULL)) { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwnot,self) on */ +if (unlikely(var_n_kwnot == 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_kwin->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL4:(void)0; +var_n_kwnot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL9:(void)0; } } -if (unlikely(var_n_expr == NULL)) { +if (unlikely(var_n_kwnull == 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, 7725); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6936); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_expr].val = var_n_expr; /* _n_expr on */ -if (var_n_expr == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnull].val = var_n_kwnull; /* _n_kwnull on */ +if (var_n_kwnull == 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, 7726); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6937); 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_kwnull,self) on */ +if (unlikely(var_n_kwnull == 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_LABEL5:(void)0; +var_n_kwnull->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL10:(void)0; +} +} +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val = var_n_cpar; /* _n_cpar on */ +if (var_n_cpar == NULL) { +var11 = 0; /* is null */ +} else { +var11 = 1; /* arg is null and recv is not */ +} +if (0) { +{ /* Inline kernel$Object$!= (var_n_cpar,((val*)NULL)) on */ +var_other = ((val*)NULL); +{ +var14 = ((short int(*)(val* self, val* p0))(var_n_cpar->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_cpar, var_other); /* == on */ +} +var15 = !var14; +var12 = var15; +goto RET_LABEL13; +RET_LABEL13:(void)0; +} +var11 = var12; +} +if (var11){ +{ +{ /* Inline parser_nodes$ANode$parent= (var_n_cpar,self) on */ +var_n_cpar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL16:(void)0; } } +} else { +} RET_LABEL:; } -/* method parser_prod#AForGroup#replace_child for (self: AForGroup, ANode, nullable ANode) */ -void nitc__parser_prod___AForGroup___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AAsNotnullExpr$replace_child for (self: AAsNotnullExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AAsNotnullExpr___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 /* : ANodes[TId] */; -val* var2 /* : ANodes[TId] */; +val* var /* : AExpr */; +short int var1 /* : Bool */; +val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; -val* var4 /* : TKwin */; short int var5 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var7 /* : Bool */; -short int var9 /* : Bool */; -short int var10 /* : Bool */; +short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var11 /* : AExpr */; -short int var12 /* : Bool */; -short int var14 /* : Bool */; -short int var16 /* : Bool */; -short int var17 /* : Bool */; -int cltype18; -int idtype19; -const char* var_class_name20; +val* var7 /* : TKwas */; +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 /* : nullable TOpar */; +short int var18 /* : Bool */; +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; +val* var28 /* : TKwnot */; +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; +val* var38 /* : TKwnull */; +short int var39 /* : Bool */; +short int var41 /* : Bool */; +short int var43 /* : Bool */; +short int var44 /* : Bool */; +int cltype45; +int idtype46; +const char* var_class_name47; +val* var48 /* : nullable TCpar */; +short int var49 /* : Bool */; +short int var50 /* : Bool */; +short int var52 /* : Bool */; +short int var54 /* : Bool */; +short int var55 /* : Bool */; +int cltype56; +int idtype57; +const char* var_class_name58; var_old_child = p0; var_new_child = p1; -{ -{ /* Inline parser_nodes#AForGroup#n_ids (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_ids].val; /* _n_ids on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_ids"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1937); -fatal_exit(1); -} -var = var2; -RET_LABEL1:(void)0; -} -} -{ -var3 = nitc___nitc__ANodes___replace_child(var, var_old_child, var_new_child); -} -if (var3){ -goto RET_LABEL; -} else { +var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_expr].val; /* _n_expr on */ +if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var4 = self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_kwin].val; /* _n_kwin on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwin"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7732); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6944); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var4,var_old_child) on */ +{ /* Inline kernel$Object$== (var,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var4,var_other) on */ -var9 = var4 == var_other; -var7 = var9; -goto RET_LABEL8; -RET_LABEL8:(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; } } -var5 = var7; -goto RET_LABEL6; -RET_LABEL6:(void)0; +var1 = var3; +goto RET_LABEL2; +RET_LABEL2:(void)0; } } -if (var5){ -/* isa TKwin */ -cltype = type_nitc__TKwin.color; -idtype = type_nitc__TKwin.id; +if (var1){ +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { -var10 = 0; +var6 = 0; } else { if(cltype >= var_new_child->type->table_size) { -var10 = 0; +var6 = 0; } else { -var10 = var_new_child->type->type_table[cltype] == idtype; +var6 = var_new_child->type->type_table[cltype] == idtype; } } -if (unlikely(!var10)) { +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`", "TKwin", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7733); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6945); fatal_exit(1); } { -nitc__parser_prod___AForGroup___n_kwin_61d(self, var_new_child); /* Direct call parser_prod#AForGroup#n_kwin= on */ +nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AAsNotnullExpr$n_expr= on */ } goto RET_LABEL; } else { } -var11 = self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_expr].val; /* _n_expr on */ -if (unlikely(var11 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7736); +var7 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val; /* _n_kwas on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6948); fatal_exit(1); } { -{ /* 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 */ -var16 = var11 == var_other; -var14 = var16; -goto RET_LABEL15; -RET_LABEL15:(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; } } -var12 = var14; -goto RET_LABEL13; -RET_LABEL13:(void)0; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } } -if (var12){ -/* isa AExpr */ -cltype18 = type_nitc__AExpr.color; -idtype19 = type_nitc__AExpr.id; +if (var8){ +/* isa TKwas */ +cltype14 = type_nitc__TKwas.color; +idtype15 = type_nitc__TKwas.id; if(var_new_child == NULL) { -var17 = 0; +var13 = 0; } else { -if(cltype18 >= var_new_child->type->table_size) { -var17 = 0; +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; } else { -var17 = var_new_child->type->type_table[cltype18] == idtype19; +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -if (unlikely(!var17)) { -var_class_name20 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name20); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7737); +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`", "TKwas", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6949); fatal_exit(1); } { -nitc__parser_prod___AForGroup___n_expr_61d(self, var_new_child); /* Direct call parser_prod#AForGroup#n_expr= on */ +nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(self, var_new_child); /* Direct call parser_prod$AAsNotnullExpr$n_kwas= on */ } goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#AForGroup#n_kwin= for (self: AForGroup, TKwin) */ -void nitc__parser_prod___AForGroup___n_kwin_61d(val* self, val* p0) { -val* var_node /* var node: TKwin */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_kwin].val = var_node; /* _n_kwin 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#AForGroup#n_expr= for (self: AForGroup, AExpr) */ -void nitc__parser_prod___AForGroup___n_expr_61d(val* self, val* p0) { -val* var_node /* var node: AExpr */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AForGroup___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#AForGroup#visit_all for (self: AForGroup, Visitor) */ -void nitc__parser_prod___AForGroup___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : ANodes[TId] */; -val* var2 /* : ANodes[TId] */; -val* var3 /* : TKwin */; -val* var4 /* : AExpr */; -var_v = p0; -{ -{ /* Inline parser_nodes#AForGroup#n_ids (self) on */ -var2 = self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_ids].val; /* _n_ids on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_ids"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1937); -fatal_exit(1); -} -var = var2; -RET_LABEL1:(void)0; -} -} -{ -nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ -} -var3 = self->attrs[COLOR_nitc__parser_nodes__AForGroup___n_kwin].val; /* _n_kwin on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwin"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7757); -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__AForGroup___n_expr].val; /* _n_expr on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7758); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#AModuleName#init_amodulename for (self: AModuleName, nullable TQuad, Collection[Object], nullable TId) */ -void nitc__parser_prod___AModuleName___init_amodulename(val* self, val* p0, val* p1, val* p2) { -val* var_n_quad /* var n_quad: nullable TQuad */; -val* var_n_path /* var n_path: Collection[Object] */; -val* var_n_id /* var n_id: nullable TId */; -short int var /* : Bool */; -short int var2 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var4 /* : Bool */; -short int var5 /* : Bool */; -val* var7 /* : ANodes[TId] */; -val* var9 /* : ANodes[TId] */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_quad = p0; -var_n_path = p1; -var_n_id = p2; -self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_quad].val = var_n_quad; /* _n_quad on */ -if (var_n_quad == NULL) { -var = 0; /* is null */ +var17 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val; /* _n_opar on */ +if (var17 == NULL) { +var18 = 0; /* cannot be null */ } else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_quad,((val*)NULL)) on */ -var_other = ((val*)NULL); +{ /* Inline kernel$Object$== (var17,var_old_child) on */ +var_other = var_old_child; { -var4 = ((short int(*)(val* self, val* p0))(var_n_quad->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_quad, var_other); /* == on */ -} -var5 = !var4; -var2 = var5; -goto RET_LABEL3; -RET_LABEL3:(void)0; +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var23 = var17 == var_other; +var21 = var23; +goto RET_LABEL22; +RET_LABEL22:(void)0; } -var = var2; } -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_quad,self) on */ -var_n_quad->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL6:(void)0; +var19 = var21; +goto RET_LABEL20; +RET_LABEL20:(void)0; } +var18 = var19; } +if (var18){ +/* isa nullable TOpar */ +cltype25 = type_nullable__nitc__TOpar.color; +idtype26 = type_nullable__nitc__TOpar.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; } -{ -{ /* Inline parser_nodes#AModuleName#n_path (self) on */ -var9 = self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_path].val; /* _n_path on */ -if (unlikely(var9 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_path"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2835); -fatal_exit(1); -} -var7 = var9; -RET_LABEL8:(void)0; } +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 TOpar", var_class_name27); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6953); +fatal_exit(1); } { -nitc___nitc__ANodes___unsafe_add_all(var7, var_n_path); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ -} -if (unlikely(var_n_id == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7771); -fatal_exit(1); +nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(self, var_new_child); /* Direct call parser_prod$AAsNotnullExpr$n_opar= on */ } -self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_id].val = var_n_id; /* _n_id on */ -if (var_n_id == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7772); -fatal_exit(1); +goto RET_LABEL; } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ -if (unlikely(var_n_id == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL10:(void)0; } +var28 = self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val; /* _n_kwnot on */ +if (unlikely(var28 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6956); +fatal_exit(1); } -/* method parser_prod#AModuleName#replace_child for (self: AModuleName, ANode, nullable ANode) */ -void nitc__parser_prod___AModuleName___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 TQuad */; -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 /* : ANodes[TId] */; -val* var10 /* : ANodes[TId] */; -short int var11 /* : Bool */; -val* var12 /* : TId */; -short int var13 /* : Bool */; -short int var15 /* : Bool */; -short int var17 /* : Bool */; -short int var18 /* : Bool */; -int cltype19; -int idtype20; -const char* var_class_name21; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_quad].val; /* _n_quad on */ -if (var == NULL) { -var1 = 0; /* cannot be null */ -} else { -{ /* 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$== (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; } } -var2 = var4; -goto RET_LABEL3; -RET_LABEL3:(void)0; +var29 = var31; +goto RET_LABEL30; +RET_LABEL30:(void)0; } -var1 = var2; } -if (var1){ -/* isa nullable TQuad */ -cltype = type_nullable__nitc__TQuad.color; -idtype = type_nullable__nitc__TQuad.id; +if (var29){ +/* isa TKwnot */ +cltype35 = type_nitc__TKwnot.color; +idtype36 = type_nitc__TKwnot.id; if(var_new_child == NULL) { -var7 = 1; +var34 = 0; } else { -if(cltype >= var_new_child->type->table_size) { -var7 = 0; +if(cltype35 >= var_new_child->type->table_size) { +var34 = 0; } else { -var7 = var_new_child->type->type_table[cltype] == idtype; +var34 = var_new_child->type->type_table[cltype35] == idtype36; } } -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 TQuad", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7778); +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`", "TKwnot", var_class_name37); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6957); fatal_exit(1); } { -nitc__parser_prod___AModuleName___n_quad_61d(self, var_new_child); /* Direct call parser_prod#AModuleName#n_quad= on */ +nitc__parser_prod___AAsNotnullExpr___n_kwnot_61d(self, var_new_child); /* Direct call parser_prod$AAsNotnullExpr$n_kwnot= on */ } goto RET_LABEL; } else { } -{ -{ /* Inline parser_nodes#AModuleName#n_path (self) on */ -var10 = self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_path].val; /* _n_path on */ -if (unlikely(var10 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_path"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2835); +var38 = self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnull].val; /* _n_kwnull on */ +if (unlikely(var38 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnull"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6960); fatal_exit(1); } -var8 = var10; -RET_LABEL9:(void)0; +{ +{ /* Inline kernel$Object$== (var38,var_old_child) on */ +var_other = var_old_child; +{ +{ /* Inline kernel$Object$is_same_instance (var38,var_other) on */ +var43 = var38 == var_other; +var41 = var43; +goto RET_LABEL42; +RET_LABEL42:(void)0; } } -{ -var11 = nitc___nitc__ANodes___replace_child(var8, var_old_child, var_new_child); +var39 = var41; +goto RET_LABEL40; +RET_LABEL40:(void)0; } -if (var11){ -goto RET_LABEL; +} +if (var39){ +/* isa TKwnull */ +cltype45 = type_nitc__TKwnull.color; +idtype46 = type_nitc__TKwnull.id; +if(var_new_child == NULL) { +var44 = 0; +} else { +if(cltype45 >= var_new_child->type->table_size) { +var44 = 0; } else { +var44 = var_new_child->type->type_table[cltype45] == idtype46; } -var12 = self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_id].val; /* _n_id on */ -if (unlikely(var12 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7782); +} +if (unlikely(!var44)) { +var_class_name47 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwnull", var_class_name47); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6961); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var12,var_old_child) on */ +nitc__parser_prod___AAsNotnullExpr___n_kwnull_61d(self, var_new_child); /* Direct call parser_prod$AAsNotnullExpr$n_kwnull= on */ +} +goto RET_LABEL; +} else { +} +var48 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val; /* _n_cpar on */ +if (var48 == NULL) { +var49 = 0; /* cannot be null */ +} else { +{ /* Inline kernel$Object$== (var48,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var12,var_other) on */ -var17 = var12 == var_other; -var15 = var17; -goto RET_LABEL16; -RET_LABEL16:(void)0; +{ /* Inline kernel$Object$is_same_instance (var48,var_other) on */ +var54 = var48 == var_other; +var52 = var54; +goto RET_LABEL53; +RET_LABEL53:(void)0; } } -var13 = var15; -goto RET_LABEL14; -RET_LABEL14:(void)0; +var50 = var52; +goto RET_LABEL51; +RET_LABEL51:(void)0; } +var49 = var50; } -if (var13){ -/* isa TId */ -cltype19 = type_nitc__TId.color; -idtype20 = type_nitc__TId.id; +if (var49){ +/* isa nullable TCpar */ +cltype56 = type_nullable__nitc__TCpar.color; +idtype57 = type_nullable__nitc__TCpar.id; if(var_new_child == NULL) { -var18 = 0; +var55 = 1; } else { -if(cltype19 >= var_new_child->type->table_size) { -var18 = 0; +if(cltype56 >= var_new_child->type->table_size) { +var55 = 0; } else { -var18 = var_new_child->type->type_table[cltype19] == idtype20; +var55 = var_new_child->type->type_table[cltype56] == idtype57; } } -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`", "TId", var_class_name21); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7783); +if (unlikely(!var55)) { +var_class_name58 = var_new_child == NULL ? "null" : var_new_child->type->name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable TCpar", var_class_name58); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 6965); fatal_exit(1); } { -nitc__parser_prod___AModuleName___n_id_61d(self, var_new_child); /* Direct call parser_prod#AModuleName#n_id= on */ +nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(self, var_new_child); /* Direct call parser_prod$AAsNotnullExpr$n_cpar= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AModuleName#n_quad= for (self: AModuleName, nullable TQuad) */ -void nitc__parser_prod___AModuleName___n_quad_61d(val* self, val* p0) { -val* var_node /* var node: nullable TQuad */; +/* method parser_prod$AAsNotnullExpr$n_expr= for (self: AAsNotnullExpr, AExpr) */ +void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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$AAsNotnullExpr$n_kwas= for (self: AAsNotnullExpr, TKwas) */ +void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_kwas_61d(val* self, val* p0) { +val* var_node /* var node: TKwas */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val = var_node; /* _n_kwas 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$AAsNotnullExpr$n_opar= for (self: AAsNotnullExpr, nullable TOpar) */ +void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_opar_61d(val* self, val* p0) { +val* var_node /* var node: nullable TOpar */; 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__AModuleName___n_quad].val = var_node; /* _n_quad on */ +self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_opar].val = var_node; /* _n_opar 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; @@ -8505,8 +8391,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; } } @@ -8514,113 +8400,249 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AModuleName#n_id= for (self: AModuleName, TId) */ -void nitc__parser_prod___AModuleName___n_id_61d(val* self, val* p0) { -val* var_node /* var node: TId */; +/* method parser_prod$AAsNotnullExpr$n_kwnot= for (self: AAsNotnullExpr, TKwnot) */ +void nitc__parser_prod___AAsNotnullExpr___n_kwnot_61d(val* self, val* p0) { +val* var_node /* var node: TKwnot */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_id].val = var_node; /* _n_id on */ +self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val = var_node; /* _n_kwnot 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$AAsNotnullExpr$n_kwnull= for (self: AAsNotnullExpr, TKwnull) */ +void nitc__parser_prod___AAsNotnullExpr___n_kwnull_61d(val* self, val* p0) { +val* var_node /* var node: TKwnull */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnull].val = var_node; /* _n_kwnull 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#AModuleName#visit_all for (self: AModuleName, Visitor) */ -void nitc__parser_prod___AModuleName___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AAsNotnullExpr$n_cpar= for (self: AAsNotnullExpr, nullable TCpar) */ +void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__AAsCastForm__n_cpar_61d(val* self, val* p0) { +val* var_node /* var node: nullable TCpar */; +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__AAsCastForm___n_cpar].val = var_node; /* _n_cpar 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$AAsNotnullExpr$visit_all for (self: AAsNotnullExpr, Visitor) */ +void nitc__parser_prod___AAsNotnullExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : nullable TQuad */; -val* var1 /* : ANodes[TId] */; -val* var3 /* : ANodes[TId] */; -val* var4 /* : TId */; +val* var /* : AExpr */; +val* var1 /* : TKwas */; +val* var2 /* : nullable TOpar */; +val* var3 /* : TKwnot */; +val* var4 /* : TKwnull */; +val* var5 /* : nullable TCpar */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_quad].val; /* _n_quad on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ +var = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___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, 7004); +fatal_exit(1); } { -{ /* Inline parser_nodes#AModuleName#n_path (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_path].val; /* _n_path on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_path"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2835); +nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var1 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_kwas].val; /* _n_kwas on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7005); fatal_exit(1); } -var1 = var3; -RET_LABEL2:(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__AAsCastForm___n_opar].val; /* _n_opar on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var3 = self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnot].val; /* _n_kwnot on */ +if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7007); +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, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } -var4 = self->attrs[COLOR_nitc__parser_nodes__AModuleName___n_id].val; /* _n_id on */ +var4 = self->attrs[COLOR_nitc__parser_nodes__AAsNotnullExpr___n_kwnull].val; /* _n_kwnull on */ if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7804); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwnull"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7008); 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, var4); /* Direct call parser_nodes$Visitor$enter_visit on */ +} +var5 = self->attrs[COLOR_nitc__parser_nodes__AAsCastForm___n_cpar].val; /* _n_cpar on */ +{ +nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AExternCalls#init_aexterncalls for (self: AExternCalls, nullable TKwimport, Collection[Object]) */ -void nitc__parser_prod___AExternCalls___init_aexterncalls(val* self, val* p0, val* p1) { -val* var_n_kwimport /* var n_kwimport: nullable TKwimport */; -val* var_n_extern_calls /* var n_extern_calls: Collection[Object] */; -val* var /* : ANodes[AExternCall] */; -val* var4 /* : ANodes[AExternCall] */; +/* method parser_prod$AIssetAttrExpr$init_aissetattrexpr for (self: AIssetAttrExpr, nullable TKwisset, nullable AExpr, nullable TAttrid) */ +void nitc__parser_prod___AIssetAttrExpr___init_aissetattrexpr(val* self, val* p0, val* p1, val* p2) { +val* var_n_kwisset /* var n_kwisset: nullable TKwisset */; +val* var_n_expr /* var n_expr: nullable AExpr */; +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_kwimport = p0; -var_n_extern_calls = p1; -if (unlikely(var_n_kwimport == NULL)) { +var_n_kwisset = p0; +var_n_expr = p1; +var_n_id = p2; +if (unlikely(var_n_kwisset == 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, 7019); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__AIssetAttrExpr___n_kwisset].val = var_n_kwisset; /* _n_kwisset on */ +if (var_n_kwisset == 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, 7020); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_kwisset,self) on */ +if (unlikely(var_n_kwisset == 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_kwisset->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, 7813); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7021); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AExternCalls___n_kwimport].val = var_n_kwimport; /* _n_kwimport on */ -if (var_n_kwimport == NULL) { +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, 7814); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7022); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwimport,self) on */ -if (unlikely(var_n_kwimport == 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_kwimport->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } -{ -{ /* Inline parser_nodes#AExternCalls#n_extern_calls (self) on */ -var4 = self->attrs[COLOR_nitc__parser_nodes__AExternCalls___n_extern_calls].val; /* _n_extern_calls on */ -if (unlikely(var4 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_calls"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1381); +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, 7023); fatal_exit(1); } -var = var4; -RET_LABEL3:(void)0; +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, 7024); +fatal_exit(1); +} else { +{ /* 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, 60); +fatal_exit(1); } +var_n_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } -{ -nitc___nitc__ANodes___unsafe_add_all(var, var_n_extern_calls); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ } RET_LABEL:; } -/* method parser_prod#AExternCalls#replace_child for (self: AExternCalls, ANode, nullable ANode) */ -void nitc__parser_prod___AExternCalls___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AIssetAttrExpr$replace_child for (self: AIssetAttrExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AIssetAttrExpr___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 /* : TKwimport */; +val* var /* : TKwisset */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -8629,22 +8651,38 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : ANodes[AExternCall] */; -val* var9 /* : ANodes[AExternCall] */; +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 /* : TAttrid */; +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__AExternCalls___n_kwimport].val; /* _n_kwimport on */ +var = self->attrs[COLOR_nitc__parser_nodes__AIssetAttrExpr___n_kwisset].val; /* _n_kwisset on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7820); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisset"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7029); 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; @@ -8657,9 +8695,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa TKwimport */ -cltype = type_nitc__TKwimport.color; -idtype = type_nitc__TKwimport.id; +/* isa TKwisset */ +cltype = type_nitc__TKwisset.color; +idtype = type_nitc__TKwisset.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -8671,428 +8709,344 @@ 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`", "TKwimport", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7821); -fatal_exit(1); -} -{ -nitc__parser_prod___AExternCalls___n_kwimport_61d(self, var_new_child); /* Direct call parser_prod#AExternCalls#n_kwimport= on */ -} -goto RET_LABEL; -} else { -} -{ -{ /* Inline parser_nodes#AExternCalls#n_extern_calls (self) on */ -var9 = self->attrs[COLOR_nitc__parser_nodes__AExternCalls___n_extern_calls].val; /* _n_extern_calls on */ -if (unlikely(var9 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_calls"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1381); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwisset", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7030); fatal_exit(1); } -var7 = var9; -RET_LABEL8:(void)0; -} -} { -var10 = nitc___nitc__ANodes___replace_child(var7, var_old_child, var_new_child); +nitc__parser_prod___AIssetAttrExpr___n_kwisset_61d(self, var_new_child); /* Direct call parser_prod$AIssetAttrExpr$n_kwisset= on */ } -if (var10){ goto RET_LABEL; } else { } -RET_LABEL:; -} -/* method parser_prod#AExternCalls#n_kwimport= for (self: AExternCalls, TKwimport) */ -void nitc__parser_prod___AExternCalls___n_kwimport_61d(val* self, val* p0) { -val* var_node /* var node: TKwimport */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AExternCalls___n_kwimport].val = var_node; /* _n_kwimport 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:; +var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#AExternCalls#visit_all for (self: AExternCalls, Visitor) */ -void nitc__parser_prod___AExternCalls___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TKwimport */; -val* var1 /* : ANodes[AExternCall] */; -val* var3 /* : ANodes[AExternCall] */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AExternCalls___n_kwimport].val; /* _n_kwimport on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7836); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7033); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} +{ /* Inline kernel$Object$== (var7,var_old_child) on */ +var_other = var_old_child; { -{ /* Inline parser_nodes#AExternCalls#n_extern_calls (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AExternCalls___n_extern_calls].val; /* _n_extern_calls on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_calls"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1381); -fatal_exit(1); -} -var1 = var3; -RET_LABEL2:(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; } -{ -nitc___nitc__ANodes___visit_all(var1, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ } -RET_LABEL:; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } -/* method parser_prod#ASuperExternCall#init_asuperexterncall for (self: ASuperExternCall, nullable TKwsuper) */ -void nitc__parser_prod___ASuperExternCall___init_asuperexterncall(val* self, val* p0) { -val* var_n_kwsuper /* var n_kwsuper: nullable TKwsuper */; -{ -{ /* Inline kernel#Object#init (self) 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; } -var_n_kwsuper = p0; -if (unlikely(var_n_kwsuper == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7860); -fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ASuperExternCall___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, 7861); -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); +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, 7034); fatal_exit(1); } -var_n_kwsuper->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; +{ +nitc__parser_prod___AIssetAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_expr_61d(self, var_new_child); /* Direct call parser_prod$AIssetAttrExpr$n_expr= on */ } +goto RET_LABEL; +} else { } -RET_LABEL:; +var17 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -/* method parser_prod#ASuperExternCall#replace_child for (self: ASuperExternCall, ANode, nullable ANode) */ -void nitc__parser_prod___ASuperExternCall___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 /* : TKwsuper */; -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__ASuperExternCall___n_kwsuper].val; /* _n_kwsuper on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7866); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7037); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,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; +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ +var22 = var17 == var_other; +var20 = var22; +goto RET_LABEL21; +RET_LABEL21:(void)0; } } -var1 = var3; -goto RET_LABEL2; -RET_LABEL2:(void)0; +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } } -if (var1){ -/* isa TKwsuper */ -cltype = type_nitc__TKwsuper.color; -idtype = type_nitc__TKwsuper.id; +if (var18){ +/* isa TAttrid */ +cltype24 = type_nitc__TAttrid.color; +idtype25 = type_nitc__TAttrid.id; if(var_new_child == NULL) { -var6 = 0; +var23 = 0; } else { -if(cltype >= var_new_child->type->table_size) { -var6 = 0; +if(cltype24 >= var_new_child->type->table_size) { +var23 = 0; } else { -var6 = var_new_child->type->type_table[cltype] == idtype; +var23 = var_new_child->type->type_table[cltype24] == idtype25; } } -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`", "TKwsuper", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7867); +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`", "TAttrid", var_class_name26); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7038); fatal_exit(1); } { -nitc__parser_prod___ASuperExternCall___n_kwsuper_61d(self, var_new_child); /* Direct call parser_prod#ASuperExternCall#n_kwsuper= on */ +nitc__parser_prod___AIssetAttrExpr___nitc__parser_nodes__AAttrFormExpr__n_id_61d(self, var_new_child); /* Direct call parser_prod$AIssetAttrExpr$n_id= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ASuperExternCall#n_kwsuper= for (self: ASuperExternCall, TKwsuper) */ -void nitc__parser_prod___ASuperExternCall___n_kwsuper_61d(val* self, val* p0) { -val* var_node /* var node: TKwsuper */; +/* method parser_prod$AIssetAttrExpr$n_kwisset= for (self: AIssetAttrExpr, TKwisset) */ +void nitc__parser_prod___AIssetAttrExpr___n_kwisset_61d(val* self, val* p0) { +val* var_node /* var node: TKwisset */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ASuperExternCall___n_kwsuper].val = var_node; /* _n_kwsuper on */ +self->attrs[COLOR_nitc__parser_nodes__AIssetAttrExpr___n_kwisset].val = var_node; /* _n_kwisset 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#ASuperExternCall#visit_all for (self: ASuperExternCall, Visitor) */ -void nitc__parser_prod___ASuperExternCall___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : TKwsuper */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ASuperExternCall___n_kwsuper].val; /* _n_kwsuper on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7881); -fatal_exit(1); -} +/* method parser_prod$AIssetAttrExpr$n_expr= for (self: AIssetAttrExpr, AExpr) */ +void nitc__parser_prod___AIssetAttrExpr___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 */ { -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; +} } RET_LABEL:; } -/* method parser_prod#ALocalPropExternCall#init_alocalpropexterncall for (self: ALocalPropExternCall, nullable AMethid) */ -void nitc__parser_prod___ALocalPropExternCall___init_alocalpropexterncall(val* self, val* p0) { -val* var_n_methid /* var n_methid: nullable AMethid */; +/* method parser_prod$AIssetAttrExpr$n_id= for (self: AIssetAttrExpr, TAttrid) */ +void nitc__parser_prod___AIssetAttrExpr___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 kernel#Object#init (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; } } -var_n_methid = p0; -if (unlikely(var_n_methid == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7889); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ALocalPropExternCall___n_methid].val = var_n_methid; /* _n_methid on */ -if (var_n_methid == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7890); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_methid,self) on */ -if (unlikely(var_n_methid == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_methid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} -} RET_LABEL:; } -/* method parser_prod#ALocalPropExternCall#replace_child for (self: ALocalPropExternCall, ANode, nullable ANode) */ -void nitc__parser_prod___ALocalPropExternCall___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 /* : AMethid */; -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__ALocalPropExternCall___n_methid].val; /* _n_methid on */ +/* method parser_prod$AIssetAttrExpr$visit_all for (self: AIssetAttrExpr, Visitor) */ +void nitc__parser_prod___AIssetAttrExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +val* var_v /* var v: Visitor */; +val* var /* : TKwisset */; +val* var1 /* : AExpr */; +val* var2 /* : TAttrid */; +var_v = p0; +var = self->attrs[COLOR_nitc__parser_nodes__AIssetAttrExpr___n_kwisset].val; /* _n_kwisset on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7895); -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 AMethid */ -cltype = type_nitc__AMethid.color; -idtype = type_nitc__AMethid.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(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`", "AMethid", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7896); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwisset"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7062); fatal_exit(1); } { -nitc__parser_prod___ALocalPropExternCall___n_methid_61d(self, var_new_child); /* Direct call parser_prod#ALocalPropExternCall#n_methid= 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__AAttrFormExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_expr"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7063); +fatal_exit(1); } -/* method parser_prod#ALocalPropExternCall#n_methid= for (self: ALocalPropExternCall, AMethid) */ -void nitc__parser_prod___ALocalPropExternCall___n_methid_61d(val* self, val* p0) { -val* var_node /* var node: AMethid */; -var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ALocalPropExternCall___n_methid].val = var_node; /* _n_methid 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___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } +var2 = self->attrs[COLOR_nitc__parser_nodes__AAttrFormExpr___n_id].val; /* _n_id on */ +if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -RET_LABEL:; -} -/* method parser_prod#ALocalPropExternCall#visit_all for (self: ALocalPropExternCall, Visitor) */ -void nitc__parser_prod___ALocalPropExternCall___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : AMethid */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ALocalPropExternCall___n_methid].val; /* _n_methid on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7910); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7064); 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, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AFullPropExternCall#init_afullpropexterncall for (self: AFullPropExternCall, nullable AType, nullable TDot, nullable AMethid) */ -void nitc__parser_prod___AFullPropExternCall___init_afullpropexterncall(val* self, val* p0, val* p1, val* p2) { +/* method parser_prod$ADebugTypeExpr$init_adebugtypeexpr for (self: ADebugTypeExpr, nullable TKwdebug, nullable TKwtype, nullable AExpr, nullable AType) */ +void nitc__parser_prod___ADebugTypeExpr___init_adebugtypeexpr(val* self, val* p0, val* p1, val* p2, val* p3) { +val* var_n_kwdebug /* var n_kwdebug: nullable TKwdebug */; +val* var_n_kwtype /* var n_kwtype: nullable TKwtype */; +val* var_n_expr /* var n_expr: nullable AExpr */; val* var_n_type /* var n_type: nullable AType */; -val* var_n_dot /* var n_dot: nullable TDot */; -val* var_n_methid /* var n_methid: nullable AMethid */; -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 */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_type = p0; -var_n_dot = p1; -var_n_methid = p2; -if (unlikely(var_n_type == NULL)) { +var_n_kwdebug = p0; +var_n_kwtype = p1; +var_n_expr = p2; +var_n_type = p3; +if (unlikely(var_n_kwdebug == 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, 7920); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7075); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_type].val = var_n_type; /* _n_type on */ -if (var_n_type == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val = var_n_kwdebug; /* _n_kwdebug on */ +if (var_n_kwdebug == 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, 7921); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7076); 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_kwdebug,self) on */ +if (unlikely(var_n_kwdebug == 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_kwdebug->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL2:(void)0; } } -self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot].val = var_n_dot; /* _n_dot on */ -if (var_n_dot == NULL) { -var = 0; /* is null */ +if (unlikely(var_n_kwtype == 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, 7077); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwtype].val = var_n_kwtype; /* _n_kwtype on */ +if (var_n_kwtype == 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, 7078); +fatal_exit(1); } else { -var = 1; /* arg is null and recv is not */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwtype,self) on */ +if (unlikely(var_n_kwtype == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (0) { -{ /* Inline kernel#Object#!= (var_n_dot,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var5 = ((short int(*)(val* self, val* p0))(var_n_dot->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_dot, 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; -RET_LABEL4:(void)0; +var_n_kwtype->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } -var = var3; } -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_dot,self) on */ -var_n_dot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL7:(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, 7079); +fatal_exit(1); } +self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___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, 7080); +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_LABEL4:(void)0; +} +} +if (unlikely(var_n_type == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(var_n_methid == NULL)) { PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7924); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7081); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid].val = var_n_methid; /* _n_methid on */ -if (var_n_methid == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___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, 7925); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7082); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_methid,self) on */ -if (unlikely(var_n_methid == 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_methid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL8:(void)0; +var_n_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL5:(void)0; } } RET_LABEL:; } -/* method parser_prod#AFullPropExternCall#replace_child for (self: AFullPropExternCall, ANode, nullable ANode) */ -void nitc__parser_prod___AFullPropExternCall___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ADebugTypeExpr$replace_child for (self: ADebugTypeExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ADebugTypeExpr___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 /* : AType */; +val* var /* : TKwdebug */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -9101,36 +9055,46 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : nullable TDot */; +val* var7 /* : TKwtype */; short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var11 /* : 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 /* : AMethid */; -short int var19 /* : Bool */; -short int var21 /* : 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 */; -short int var24 /* : Bool */; -int cltype25; -int idtype26; -const char* var_class_name27; +int cltype24; +int idtype25; +const char* var_class_name26; +val* var27 /* : AType */; +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__AFullPropExternCall___n_type].val; /* _n_type on */ +var = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val; /* _n_kwdebug on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7930); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwdebug"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7087); 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; @@ -9143,9 +9107,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AType */ -cltype = type_nitc__AType.color; -idtype = type_nitc__AType.id; +/* isa TKwdebug */ +cltype = type_nitc__TKwdebug.color; +idtype = type_nitc__TKwdebug.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -9157,243 +9121,356 @@ 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`", "AType", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7931); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwdebug", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7088); fatal_exit(1); } { -nitc__parser_prod___AFullPropExternCall___n_type_61d(self, var_new_child); /* Direct call parser_prod#AFullPropExternCall#n_type= on */ +nitc__parser_prod___ADebugTypeExpr___n_kwdebug_61d(self, var_new_child); /* Direct call parser_prod$ADebugTypeExpr$n_kwdebug= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot].val; /* _n_dot on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +var7 = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwtype].val; /* _n_kwtype on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwtype"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7091); +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 */ -var13 = var7 == 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; } -var8 = var9; } if (var8){ -/* isa nullable TDot */ -cltype15 = type_nullable__nitc__TDot.color; -idtype16 = type_nullable__nitc__TDot.id; +/* isa TKwtype */ +cltype14 = type_nitc__TKwtype.color; +idtype15 = type_nitc__TKwtype.id; if(var_new_child == NULL) { -var14 = 1; +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`", "nullable TDot", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7935); +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`", "TKwtype", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7092); fatal_exit(1); } { -nitc__parser_prod___AFullPropExternCall___n_dot_61d(self, var_new_child); /* Direct call parser_prod#AFullPropExternCall#n_dot= on */ +nitc__parser_prod___ADebugTypeExpr___n_kwtype_61d(self, var_new_child); /* Direct call parser_prod$ADebugTypeExpr$n_kwtype= on */ } goto RET_LABEL; } else { } -var18 = self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid].val; /* _n_methid on */ -if (unlikely(var18 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7938); +var17 = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var17 == 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, 7095); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var18,var_old_child) on */ +{ /* 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; -var21 = var23; -goto RET_LABEL22; -RET_LABEL22:(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; } } -var19 = var21; -goto RET_LABEL20; -RET_LABEL20:(void)0; +var18 = var20; +goto RET_LABEL19; +RET_LABEL19:(void)0; } } -if (var19){ -/* isa AMethid */ -cltype25 = type_nitc__AMethid.color; -idtype26 = type_nitc__AMethid.id; +if (var18){ +/* isa AExpr */ +cltype24 = type_nitc__AExpr.color; +idtype25 = type_nitc__AExpr.id; if(var_new_child == NULL) { -var24 = 0; +var23 = 0; } else { -if(cltype25 >= var_new_child->type->table_size) { -var24 = 0; +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, 7096); +fatal_exit(1); +} +{ +nitc__parser_prod___ADebugTypeExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod$ADebugTypeExpr$n_expr= on */ +} +goto RET_LABEL; +} else { +} +var27 = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_type].val; /* _n_type on */ +if (unlikely(var27 == 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, 7099); +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 AType */ +cltype34 = type_nitc__AType.color; +idtype35 = type_nitc__AType.id; +if(var_new_child == NULL) { +var33 = 0; } else { -var24 = var_new_child->type->type_table[cltype25] == idtype26; +if(cltype34 >= var_new_child->type->table_size) { +var33 = 0; +} else { +var33 = var_new_child->type->type_table[cltype34] == idtype35; } } -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`", "AMethid", var_class_name27); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7939); +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`", "AType", var_class_name36); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7100); fatal_exit(1); } { -nitc__parser_prod___AFullPropExternCall___n_methid_61d(self, var_new_child); /* Direct call parser_prod#AFullPropExternCall#n_methid= on */ +nitc__parser_prod___ADebugTypeExpr___n_type_61d(self, var_new_child); /* Direct call parser_prod$ADebugTypeExpr$n_type= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AFullPropExternCall#n_type= for (self: AFullPropExternCall, AType) */ -void nitc__parser_prod___AFullPropExternCall___n_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; +/* method parser_prod$ADebugTypeExpr$n_kwdebug= for (self: ADebugTypeExpr, TKwdebug) */ +void nitc__parser_prod___ADebugTypeExpr___n_kwdebug_61d(val* self, val* p0) { +val* var_node /* var node: TKwdebug */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_type].val = var_node; /* _n_type on */ +self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val = var_node; /* _n_kwdebug 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#AFullPropExternCall#n_dot= for (self: AFullPropExternCall, nullable TDot) */ -void nitc__parser_prod___AFullPropExternCall___n_dot_61d(val* self, val* p0) { -val* var_node /* var node: nullable TDot */; -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$ADebugTypeExpr$n_kwtype= for (self: ADebugTypeExpr, TKwtype) */ +void nitc__parser_prod___ADebugTypeExpr___n_kwtype_61d(val* self, val* p0) { +val* var_node /* var node: TKwtype */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot].val = var_node; /* _n_dot 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__ADebugTypeExpr___n_kwtype].val = var_node; /* _n_kwtype 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){ +/* method parser_prod$ADebugTypeExpr$n_expr= for (self: ADebugTypeExpr, AExpr) */ +void nitc__parser_prod___ADebugTypeExpr___n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___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_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#AFullPropExternCall#n_methid= for (self: AFullPropExternCall, AMethid) */ -void nitc__parser_prod___AFullPropExternCall___n_methid_61d(val* self, val* p0) { -val* var_node /* var node: AMethid */; +/* method parser_prod$ADebugTypeExpr$n_type= for (self: ADebugTypeExpr, AType) */ +void nitc__parser_prod___ADebugTypeExpr___n_type_61d(val* self, val* p0) { +val* var_node /* var node: AType */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid].val = var_node; /* _n_methid on */ +self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___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#AFullPropExternCall#visit_all for (self: AFullPropExternCall, Visitor) */ -void nitc__parser_prod___AFullPropExternCall___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$ADebugTypeExpr$visit_all for (self: ADebugTypeExpr, Visitor) */ +void nitc__parser_prod___ADebugTypeExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : AType */; -val* var1 /* : nullable TDot */; -val* var2 /* : AMethid */; +val* var /* : TKwdebug */; +val* var1 /* : TKwtype */; +val* var2 /* : AExpr */; +val* var3 /* : AType */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_type].val; /* _n_type on */ +var = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_kwdebug].val; /* _n_kwdebug on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7963); +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwdebug"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7129); 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__ADebugTypeExpr___n_kwtype].val; /* _n_kwtype on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwtype"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7130); +fatal_exit(1); } -var1 = self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_dot].val; /* _n_dot 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 */ } -var2 = self->attrs[COLOR_nitc__parser_nodes__AFullPropExternCall___n_methid].val; /* _n_methid on */ +var2 = self->attrs[COLOR_nitc__parser_nodes__ADebugTypeExpr___n_expr].val; /* _n_expr on */ if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_methid"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7965); +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, 7131); +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__ADebugTypeExpr___n_type].val; /* _n_type on */ +if (unlikely(var3 == 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, 7132); 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#AInitPropExternCall#init_ainitpropexterncall for (self: AInitPropExternCall, nullable AType) */ -void nitc__parser_prod___AInitPropExternCall___init_ainitpropexterncall(val* self, val* p0) { -val* var_n_type /* var n_type: nullable AType */; +/* method parser_prod$AVarargExpr$init_avarargexpr for (self: AVarargExpr, nullable AExpr, nullable TDotdotdot) */ +void nitc__parser_prod___AVarargExpr___init_avarargexpr(val* self, val* p0, val* p1) { +val* var_n_expr /* var n_expr: nullable AExpr */; +val* var_n_dotdotdot /* var n_dotdotdot: nullable TDotdotdot */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_type = p0; -if (unlikely(var_n_type == NULL)) { +var_n_expr = p0; +var_n_dotdotdot = 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, 7973); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7141); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__AInitPropExternCall___n_type].val = var_n_type; /* _n_type on */ -if (var_n_type == NULL) { +self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___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, 7974); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7142); 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_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_type->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_dotdotdot == 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, 7143); +fatal_exit(1); +} +self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_dotdotdot].val = var_n_dotdotdot; /* _n_dotdotdot on */ +if (var_n_dotdotdot == 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, 7144); +fatal_exit(1); +} else { +{ /* Inline parser_nodes$ANode$parent= (var_n_dotdotdot,self) on */ +if (unlikely(var_n_dotdotdot == 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_dotdotdot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; +} +} RET_LABEL:; } -/* method parser_prod#AInitPropExternCall#replace_child for (self: AInitPropExternCall, ANode, nullable ANode) */ -void nitc__parser_prod___AInitPropExternCall___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$AVarargExpr$replace_child for (self: AVarargExpr, ANode, nullable ANode) */ +void nitc__parser_prod___AVarargExpr___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 /* : AType */; +val* var /* : AExpr */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -9402,19 +9479,30 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; +val* var7 /* : TDotdotdot */; +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__AInitPropExternCall___n_type].val; /* _n_type on */ +var = self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7979); +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, 7149); 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; @@ -9427,9 +9515,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AType */ -cltype = type_nitc__AType.color; -idtype = type_nitc__AType.id; +/* isa AExpr */ +cltype = type_nitc__AExpr.color; +idtype = type_nitc__AExpr.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -9441,165 +9529,236 @@ 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`", "AType", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7980); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AExpr", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7150); +fatal_exit(1); +} +{ +nitc__parser_prod___AVarargExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod$AVarargExpr$n_expr= on */ +} +goto RET_LABEL; +} else { +} +var7 = self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_dotdotdot].val; /* _n_dotdotdot on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdotdot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7153); +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 TDotdotdot */ +cltype14 = type_nitc__TDotdotdot.color; +idtype15 = type_nitc__TDotdotdot.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`", "TDotdotdot", var_class_name16); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7154); fatal_exit(1); } { -nitc__parser_prod___AInitPropExternCall___n_type_61d(self, var_new_child); /* Direct call parser_prod#AInitPropExternCall#n_type= on */ +nitc__parser_prod___AVarargExpr___n_dotdotdot_61d(self, var_new_child); /* Direct call parser_prod$AVarargExpr$n_dotdotdot= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AInitPropExternCall#n_type= for (self: AInitPropExternCall, AType) */ -void nitc__parser_prod___AInitPropExternCall___n_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; +/* method parser_prod$AVarargExpr$n_expr= for (self: AVarargExpr, AExpr) */ +void nitc__parser_prod___AVarargExpr___n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__AInitPropExternCall___n_type].val = var_node; /* _n_type on */ +self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___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$AVarargExpr$n_dotdotdot= for (self: AVarargExpr, TDotdotdot) */ +void nitc__parser_prod___AVarargExpr___n_dotdotdot_61d(val* self, val* p0) { +val* var_node /* var node: TDotdotdot */; +var_node = p0; +self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_dotdotdot].val = var_node; /* _n_dotdotdot 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#AInitPropExternCall#visit_all for (self: AInitPropExternCall, Visitor) */ -void nitc__parser_prod___AInitPropExternCall___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { +/* method parser_prod$AVarargExpr$visit_all for (self: AVarargExpr, Visitor) */ +void nitc__parser_prod___AVarargExpr___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; -val* var /* : AType */; +val* var /* : AExpr */; +val* var1 /* : TDotdotdot */; var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__AInitPropExternCall___n_type].val; /* _n_type on */ +var = self->attrs[COLOR_nitc__parser_nodes__AVarargExpr___n_expr].val; /* _n_expr on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7994); +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, 7173); +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__AVarargExpr___n_dotdotdot].val; /* _n_dotdotdot on */ +if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_dotdotdot"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7174); 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, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ACastAsExternCall#init_acastasexterncall for (self: ACastAsExternCall, nullable AType, nullable TDot, nullable TKwas, nullable AType) */ -void nitc__parser_prod___ACastAsExternCall___init_acastasexterncall(val* self, val* p0, val* p1, val* p2, val* p3) { -val* var_n_from_type /* var n_from_type: nullable AType */; -val* var_n_dot /* var n_dot: nullable TDot */; -val* var_n_kwas /* var n_kwas: nullable TKwas */; -val* var_n_to_type /* var n_to_type: nullable AType */; -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$ANamedargExpr$init_anamedargexpr for (self: ANamedargExpr, nullable TId, nullable TAssign, nullable AExpr) */ +void nitc__parser_prod___ANamedargExpr___init_anamedargexpr(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_expr /* var n_expr: nullable AExpr */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } -var_n_from_type = p0; -var_n_dot = p1; -var_n_kwas = p2; -var_n_to_type = p3; -if (unlikely(var_n_from_type == NULL)) { +var_n_id = p0; +var_n_assign = p1; +var_n_expr = p2; +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, 8005); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7184); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_from_type].val = var_n_from_type; /* _n_from_type on */ -if (var_n_from_type == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8006); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_from_type,self) on */ -if (unlikely(var_n_from_type == NULL)) { +self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7185); fatal_exit(1); -} -var_n_from_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL2:(void)0; -} -} -self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_dot].val = var_n_dot; /* _n_dot on */ -if (var_n_dot == NULL) { -var = 0; /* is null */ } else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_dot,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var5 = ((short int(*)(val* self, val* p0))(var_n_dot->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_dot, var_other); /* == on */ -} -var6 = !var5; -var3 = var6; -goto RET_LABEL4; -RET_LABEL4:(void)0; -} -var = var3; +{ /* 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); } -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_dot,self) on */ -var_n_dot->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL7:(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_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL2:(void)0; } -} else { } -if (unlikely(var_n_kwas == 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, 8009); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7186); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas].val = var_n_kwas; /* _n_kwas on */ -if (var_n_kwas == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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, 8010); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7187); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwas,self) on */ -if (unlikely(var_n_kwas == NULL)) { +{ /* 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_kwas->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL8:(void)0; +var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL3:(void)0; } } -if (unlikely(var_n_to_type == 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, 8011); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7188); fatal_exit(1); } -self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_to_type].val = var_n_to_type; /* _n_to_type on */ -if (var_n_to_type == NULL) { +self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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, 8012); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7189); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_to_type,self) on */ -if (unlikely(var_n_to_type == 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_to_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL9:(void)0; +var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ +RET_LABEL4:(void)0; } } RET_LABEL:; } -/* method parser_prod#ACastAsExternCall#replace_child for (self: ACastAsExternCall, ANode, nullable ANode) */ -void nitc__parser_prod___ACastAsExternCall___nitc__parser_nodes__ANode__replace_child(val* self, val* p0, val* p1) { +/* method parser_prod$ANamedargExpr$replace_child for (self: ANamedargExpr, ANode, nullable ANode) */ +void nitc__parser_prod___ANamedargExpr___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 /* : AType */; +val* var /* : TId */; short int var1 /* : Bool */; val* var_other /* var other: nullable Object */; short int var3 /* : Bool */; @@ -9608,44 +9767,38 @@ short int var6 /* : Bool */; int cltype; int idtype; const char* var_class_name; -val* var7 /* : nullable TDot */; +val* var7 /* : TAssign */; short int var8 /* : Bool */; -short int var9 /* : Bool */; -short int var11 /* : 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 /* : TKwas */; -short int var19 /* : Bool */; -short int var21 /* : 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 */; -short int var24 /* : Bool */; -int cltype25; -int idtype26; -const char* var_class_name27; -val* var28 /* : AType */; -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__ACastAsExternCall___n_from_type].val; /* _n_from_type on */ +var = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_id].val; /* _n_id on */ if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_from_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8017); +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, 7194); 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; @@ -9658,9 +9811,9 @@ RET_LABEL2:(void)0; } } if (var1){ -/* isa AType */ -cltype = type_nitc__AType.color; -idtype = type_nitc__AType.id; +/* isa TId */ +cltype = type_nitc__TId.color; +idtype = type_nitc__TId.id; if(var_new_child == NULL) { var6 = 0; } else { @@ -9672,273 +9825,154 @@ 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`", "AType", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8018); +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TId", var_class_name); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7195); fatal_exit(1); } { -nitc__parser_prod___ACastAsExternCall___n_from_type_61d(self, var_new_child); /* Direct call parser_prod#ACastAsExternCall#n_from_type= on */ +nitc__parser_prod___ANamedargExpr___n_id_61d(self, var_new_child); /* Direct call parser_prod$ANamedargExpr$n_id= on */ } goto RET_LABEL; } else { } -var7 = self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_dot].val; /* _n_dot on */ -if (var7 == NULL) { -var8 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ -var13 = var7 == var_other; -var11 = var13; -goto RET_LABEL12; -RET_LABEL12:(void)0; -} -} -var9 = var11; -goto RET_LABEL10; -RET_LABEL10:(void)0; -} -var8 = var9; -} -if (var8){ -/* isa nullable TDot */ -cltype15 = type_nullable__nitc__TDot.color; -idtype16 = type_nullable__nitc__TDot.id; -if(var_new_child == NULL) { -var14 = 1; -} else { -if(cltype15 >= var_new_child->type->table_size) { -var14 = 0; -} else { -var14 = var_new_child->type->type_table[cltype15] == idtype16; -} -} -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`", "nullable TDot", var_class_name17); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8022); -fatal_exit(1); -} -{ -nitc__parser_prod___ACastAsExternCall___n_dot_61d(self, var_new_child); /* Direct call parser_prod#ACastAsExternCall#n_dot= on */ -} -goto RET_LABEL; -} else { +var7 = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_assign].val; /* _n_assign on */ +if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var18 = self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas].val; /* _n_kwas on */ -if (unlikely(var18 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8025); +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_assign"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 7198); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var18,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var18,var_other) on */ -var23 = var18 == var_other; -var21 = var23; -goto RET_LABEL22; -RET_LABEL22:(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; } } -var19 = var21; -goto RET_LABEL20; -RET_LABEL20:(void)0; +var8 = var10; +goto RET_LABEL9; +RET_LABEL9:(void)0; } } -if (var19){ -/* isa TKwas */ -cltype25 = type_nitc__TKwas.color; -idtype26 = type_nitc__TKwas.id; +if (var8){ +/* isa TAssign */ +cltype14 = type_nitc__TAssign.color; +idtype15 = type_nitc__TAssign.id; if(var_new_child == NULL) { -var24 = 0; +var13 = 0; } else { -if(cltype25 >= var_new_child->type->table_size) { -var24 = 0; +if(cltype14 >= var_new_child->type->table_size) { +var13 = 0; } else { -var24 = var_new_child->type->type_table[cltype25] == idtype26; +var13 = var_new_child->type->type_table[cltype14] == idtype15; } } -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`", "TKwas", var_class_name27); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8026); +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, 7199); fatal_exit(1); } { -nitc__parser_prod___ACastAsExternCall___n_kwas_61d(self, var_new_child); /* Direct call parser_prod#ACastAsExternCall#n_kwas= on */ +nitc__parser_prod___ANamedargExpr___n_assign_61d(self, var_new_child); /* Direct call parser_prod$ANamedargExpr$n_assign= on */ } goto RET_LABEL; } else { } -var28 = self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_to_type].val; /* _n_to_type on */ -if (unlikely(var28 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_to_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8029); +var17 = self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___n_expr].val; /* _n_expr on */ +if (unlikely(var17 == 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, 7202); 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 AType */ -cltype35 = type_nitc__AType.color; -idtype36 = type_nitc__AType.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`", "AType", var_class_name37); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8030); +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, 7203); fatal_exit(1); } { -nitc__parser_prod___ACastAsExternCall___n_to_type_61d(self, var_new_child); /* Direct call parser_prod#ACastAsExternCall#n_to_type= on */ +nitc__parser_prod___ANamedargExpr___n_expr_61d(self, var_new_child); /* Direct call parser_prod$ANamedargExpr$n_expr= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ACastAsExternCall#n_from_type= for (self: ACastAsExternCall, AType) */ -void nitc__parser_prod___ACastAsExternCall___n_from_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; +/* method parser_prod$ANamedargExpr$n_id= for (self: ANamedargExpr, TId) */ +void nitc__parser_prod___ANamedargExpr___n_id_61d(val* self, val* p0) { +val* var_node /* var node: TId */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_from_type].val = var_node; /* _n_from_type on */ +self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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#ACastAsExternCall#n_dot= for (self: ACastAsExternCall, nullable TDot) */ -void nitc__parser_prod___ACastAsExternCall___n_dot_61d(val* self, val* p0) { -val* var_node /* var node: nullable TDot */; -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__ACastAsExternCall___n_dot].val = var_node; /* _n_dot 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#ACastAsExternCall#n_kwas= for (self: ACastAsExternCall, TKwas) */ -void nitc__parser_prod___ACastAsExternCall___n_kwas_61d(val* self, val* p0) { -val* var_node /* var node: TKwas */; +/* method parser_prod$ANamedargExpr$n_assign= for (self: ANamedargExpr, TAssign) */ +void nitc__parser_prod___ANamedargExpr___n_assign_61d(val* self, val* p0) { +val* var_node /* var node: TAssign */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas].val = var_node; /* _n_kwas on */ +self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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 */ +{ /* 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#ACastAsExternCall#n_to_type= for (self: ACastAsExternCall, AType) */ -void nitc__parser_prod___ACastAsExternCall___n_to_type_61d(val* self, val* p0) { -val* var_node /* var node: AType */; +/* method parser_prod$ANamedargExpr$n_expr= for (self: ANamedargExpr, AExpr) */ +void nitc__parser_prod___ANamedargExpr___n_expr_61d(val* self, val* p0) { +val* var_node /* var node: AExpr */; var_node = p0; -self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_to_type].val = var_node; /* _n_to_type on */ +self->attrs[COLOR_nitc__parser_nodes__ANamedargExpr___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#ACastAsExternCall#visit_all for (self: ACastAsExternCall, Visitor) */ -void nitc__parser_prod___ACastAsExternCall___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : AType */; -val* var1 /* : nullable TDot */; -val* var2 /* : TKwas */; -val* var3 /* : AType */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_from_type].val; /* _n_from_type on */ -if (unlikely(var == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_from_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8059); -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__ACastAsExternCall___n_dot].val; /* _n_dot on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var2 = self->attrs[COLOR_nitc__parser_nodes__ACastAsExternCall___n_kwas].val; /* _n_kwas on */ -if (unlikely(var2 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwas"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8061); -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__ACastAsExternCall___n_to_type].val; /* _n_to_type on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_to_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 8062); -fatal_exit(1); -} -{ -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -}