X-Git-Url: http://nitlanguage.org diff --git a/c_src/nitc__parser_prod.sep.1.c b/c_src/nitc__parser_prod.sep.1.c index ea580a5..6c86a53 100644 --- a/c_src/nitc__parser_prod.sep.1.c +++ b/c_src/nitc__parser_prod.sep.1.c @@ -1,5 +1,5 @@ #include "nitc__parser_prod.sep.0.h" -/* method parser_prod#AModule#init_amodule for (self: AModule, nullable AModuledecl, Collection[Object], Collection[Object], Collection[Object]) */ +/* method parser_prod$AModule$init_amodule for (self: AModule, nullable AModuledecl, Collection[Object], Collection[Object], Collection[Object]) */ void nitc__parser_prod___AModule___init_amodule(val* self, val* p0, val* p1, val* p2, val* p3) { val* var_n_moduledecl /* var n_moduledecl: nullable AModuledecl */; val* var_n_imports /* var n_imports: Collection[Object] */; @@ -17,7 +17,7 @@ val* var12 /* : ANodes[AExternCodeBlock] */; val* var13 /* : ANodes[AClassdef] */; val* var15 /* : ANodes[AClassdef] */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -32,7 +32,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_moduledecl,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_moduledecl,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_moduledecl->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_moduledecl, var_other); /* == on */ @@ -46,7 +46,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_moduledecl,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_moduledecl,self) on */ var_n_moduledecl->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -54,11 +54,14 @@ RET_LABEL6:(void)0; } else { } { -{ /* Inline parser_nodes#AModule#n_imports (self) on */ +{ /* Inline parser_nodes$AModule$n_imports (self) on */ var9 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_imports].val; /* _n_imports on */ if (unlikely(var9 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_imports"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1056); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1119); fatal_exit(1); } var7 = var9; @@ -66,14 +69,17 @@ RET_LABEL8:(void)0; } } { -nitc___nitc__ANodes___unsafe_add_all(var7, var_n_imports); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +nitc___nitc__ANodes___unsafe_add_all(var7, var_n_imports); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } { -{ /* Inline parser_nodes#AModule#n_extern_code_blocks (self) on */ +{ /* Inline parser_nodes$AModule$n_extern_code_blocks (self) on */ var12 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_extern_code_blocks].val; /* _n_extern_code_blocks on */ if (unlikely(var12 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_code_blocks"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1059); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1122); fatal_exit(1); } var10 = var12; @@ -81,14 +87,17 @@ RET_LABEL11:(void)0; } } { -nitc___nitc__ANodes___unsafe_add_all(var10, var_n_extern_code_blocks); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +nitc___nitc__ANodes___unsafe_add_all(var10, var_n_extern_code_blocks); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } { -{ /* Inline parser_nodes#AModule#n_classdefs (self) on */ +{ /* Inline parser_nodes$AModule$n_classdefs (self) on */ var15 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_classdefs].val; /* _n_classdefs on */ if (unlikely(var15 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_classdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1062); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1125); fatal_exit(1); } var13 = var15; @@ -96,11 +105,11 @@ RET_LABEL14:(void)0; } } { -nitc___nitc__ANodes___unsafe_add_all(var13, var_n_classdefs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +nitc___nitc__ANodes___unsafe_add_all(var13, var_n_classdefs); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } RET_LABEL:; } -/* method parser_prod#AModule#replace_child for (self: AModule, ANode, nullable ANode) */ +/* method parser_prod$AModule$replace_child for (self: AModule, ANode, nullable ANode) */ void nitc__parser_prod___AModule___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 */; @@ -129,10 +138,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__AModule___n_moduledecl].val; /* _n_m if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -165,17 +174,20 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 27); fatal_exit(1); } { -nitc__parser_prod___AModule___n_moduledecl_61d(self, var_new_child); /* Direct call parser_prod#AModule#n_moduledecl= on */ +nitc__parser_prod___AModule___n_moduledecl_61d(self, var_new_child); /* Direct call parser_prod$AModule$n_moduledecl= on */ } goto RET_LABEL; } else { } { -{ /* Inline parser_nodes#AModule#n_imports (self) on */ +{ /* Inline parser_nodes$AModule$n_imports (self) on */ var10 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_imports].val; /* _n_imports on */ if (unlikely(var10 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_imports"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1056); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1119); fatal_exit(1); } var8 = var10; @@ -190,11 +202,14 @@ goto RET_LABEL; } else { } { -{ /* Inline parser_nodes#AModule#n_extern_code_blocks (self) on */ +{ /* Inline parser_nodes$AModule$n_extern_code_blocks (self) on */ var14 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_extern_code_blocks].val; /* _n_extern_code_blocks on */ if (unlikely(var14 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_code_blocks"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1059); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1122); fatal_exit(1); } var12 = var14; @@ -209,11 +224,14 @@ goto RET_LABEL; } else { } { -{ /* Inline parser_nodes#AModule#n_classdefs (self) on */ +{ /* Inline parser_nodes$AModule$n_classdefs (self) on */ var18 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_classdefs].val; /* _n_classdefs on */ if (unlikely(var18 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_classdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1062); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1125); fatal_exit(1); } var16 = var18; @@ -229,7 +247,7 @@ goto RET_LABEL; } RET_LABEL:; } -/* method parser_prod#AModule#n_moduledecl= for (self: AModule, nullable AModuledecl) */ +/* method parser_prod$AModule$n_moduledecl= for (self: AModule, nullable AModuledecl) */ void nitc__parser_prod___AModule___n_moduledecl_61d(val* self, val* p0) { val* var_node /* var node: nullable AModuledecl */; short int var /* : Bool */; @@ -245,7 +263,7 @@ var = 0; /* is null */ 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 */ @@ -259,7 +277,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; } @@ -268,7 +286,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AModule#visit_all for (self: AModule, Visitor) */ +/* method parser_prod$AModule$visit_all for (self: AModule, Visitor) */ void nitc__parser_prod___AModule___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : nullable AModuledecl */; @@ -281,14 +299,17 @@ val* var9 /* : ANodes[AClassdef] */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AModule___n_moduledecl].val; /* _n_moduledecl on */ { -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 */ } { -{ /* Inline parser_nodes#AModule#n_imports (self) on */ +{ /* Inline parser_nodes$AModule$n_imports (self) on */ var3 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_imports].val; /* _n_imports on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_imports"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1056); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1119); fatal_exit(1); } var1 = var3; @@ -296,14 +317,17 @@ RET_LABEL2:(void)0; } } { -nitc___nitc__ANodes___visit_all(var1, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__ANodes___visit_all(var1, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } { -{ /* Inline parser_nodes#AModule#n_extern_code_blocks (self) on */ +{ /* Inline parser_nodes$AModule$n_extern_code_blocks (self) on */ var6 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_extern_code_blocks].val; /* _n_extern_code_blocks on */ if (unlikely(var6 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_extern_code_blocks"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1059); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1122); fatal_exit(1); } var4 = var6; @@ -311,14 +335,17 @@ RET_LABEL5:(void)0; } } { -nitc___nitc__ANodes___visit_all(var4, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__ANodes___visit_all(var4, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } { -{ /* Inline parser_nodes#AModule#n_classdefs (self) on */ +{ /* Inline parser_nodes$AModule$n_classdefs (self) on */ var9 = self->attrs[COLOR_nitc__parser_nodes__AModule___n_classdefs].val; /* _n_classdefs on */ if (unlikely(var9 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_classdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1062); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1125); fatal_exit(1); } var7 = var9; @@ -326,11 +353,11 @@ RET_LABEL8:(void)0; } } { -nitc___nitc__ANodes___visit_all(var7, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__ANodes___visit_all(var7, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } RET_LABEL:; } -/* method parser_prod#AModuledecl#init_amoduledecl for (self: AModuledecl, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwmodule, nullable AModuleName, nullable AAnnotations) */ +/* method parser_prod$AModuledecl$init_amoduledecl for (self: AModuledecl, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwmodule, nullable AModuleName, nullable AAnnotations) */ void nitc__parser_prod___AModuledecl___init_amoduledecl(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5) { val* var_n_doc /* var n_doc: nullable ADoc */; val* var_n_kwredef /* var n_kwredef: nullable TKwredef */; @@ -352,7 +379,7 @@ short int var17 /* : Bool */; short int var19 /* : Bool */; short int var20 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -369,7 +396,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_doc,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_doc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_doc, var_other); /* == on */ @@ -383,7 +410,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_doc,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on */ var_n_doc->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -397,7 +424,7 @@ var7 = 0; /* is null */ var7 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwredef,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on */ var_other = ((val*)NULL); { var10 = ((short int(*)(val* self, val* p0))(var_n_kwredef->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwredef, var_other); /* == on */ @@ -411,7 +438,7 @@ var7 = var8; } if (var7){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwredef,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on */ var_n_kwredef->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL12:(void)0; } @@ -419,20 +446,29 @@ RET_LABEL12:(void)0; } else { } if (unlikely(var_n_visibility == 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, 64); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_n_visibility; /* _n_visibility on */ if (var_n_visibility == 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, 65); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on */ if (unlikely(var_n_visibility == 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_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -440,20 +476,29 @@ RET_LABEL13:(void)0; } } if (unlikely(var_n_kwmodule == 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, 66); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_kwmodule].val = var_n_kwmodule; /* _n_kwmodule on */ if (var_n_kwmodule == 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, 67); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwmodule,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwmodule,self) on */ if (unlikely(var_n_kwmodule == 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_kwmodule->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -461,20 +506,29 @@ RET_LABEL14:(void)0; } } if (unlikely(var_n_name == 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, 68); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_name].val = var_n_name; /* _n_name on */ if (var_n_name == 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, 69); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_name,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_name,self) on */ if (unlikely(var_n_name == 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_name->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -488,7 +542,7 @@ var16 = 0; /* is null */ var16 = 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); { var19 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ @@ -502,7 +556,7 @@ var16 = var17; } if (var16){ { -{ /* 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_LABEL21:(void)0; } @@ -511,7 +565,7 @@ RET_LABEL21:(void)0; } RET_LABEL:; } -/* method parser_prod#AModuledecl#replace_child for (self: AModuledecl, ANode, nullable ANode) */ +/* method parser_prod$AModuledecl$replace_child for (self: AModuledecl, ANode, nullable ANode) */ void nitc__parser_prod___AModuledecl___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 */; @@ -574,10 +628,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -610,7 +664,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 77); fatal_exit(1); } { -nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod#AModuledecl#n_doc= on */ +nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod$AModuledecl$n_doc= on */ } goto RET_LABEL; } else { @@ -619,10 +673,10 @@ var8 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n if (var8 == NULL) { var9 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ +{ /* Inline kernel$Object$== (var8,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ var14 = var8 == var_other; var12 = var14; goto RET_LABEL13; @@ -655,7 +709,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 81); fatal_exit(1); } { -nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod#AModuledecl#n_kwredef= on */ +nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod$AModuledecl$n_kwredef= on */ } goto RET_LABEL; } else { @@ -664,10 +718,10 @@ var19 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; / if (var19 == NULL) { var20 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var19,var_old_child) on */ +{ /* Inline kernel$Object$== (var19,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var19,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var19,var_other) on */ var25 = var19 == var_other; var23 = var25; goto RET_LABEL24; @@ -700,22 +754,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 85); fatal_exit(1); } { -nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#AModuledecl#n_visibility= on */ +nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod$AModuledecl$n_visibility= on */ } goto RET_LABEL; } else { } var30 = self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_kwmodule].val; /* _n_kwmodule on */ if (unlikely(var30 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwmodule"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 88); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var30,var_old_child) on */ +{ /* Inline kernel$Object$== (var30,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var30,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var30,var_other) on */ var35 = var30 == var_other; var33 = var35; goto RET_LABEL34; @@ -747,22 +804,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 89); fatal_exit(1); } { -nitc__parser_prod___AModuledecl___n_kwmodule_61d(self, var_new_child); /* Direct call parser_prod#AModuledecl#n_kwmodule= on */ +nitc__parser_prod___AModuledecl___n_kwmodule_61d(self, var_new_child); /* Direct call parser_prod$AModuledecl$n_kwmodule= on */ } goto RET_LABEL; } else { } var40 = self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_name].val; /* _n_name on */ if (unlikely(var40 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_name"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 92); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var40,var_old_child) on */ +{ /* Inline kernel$Object$== (var40,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var40,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var40,var_other) on */ var45 = var40 == var_other; var43 = var45; goto RET_LABEL44; @@ -794,7 +854,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 93); fatal_exit(1); } { -nitc__parser_prod___AModuledecl___n_name_61d(self, var_new_child); /* Direct call parser_prod#AModuledecl#n_name= on */ +nitc__parser_prod___AModuledecl___n_name_61d(self, var_new_child); /* Direct call parser_prod$AModuledecl$n_name= on */ } goto RET_LABEL; } else { @@ -803,10 +863,10 @@ var50 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_a if (var50 == NULL) { var51 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var50,var_old_child) on */ +{ /* Inline kernel$Object$== (var50,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var50,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var50,var_other) on */ var56 = var50 == var_other; var54 = var56; goto RET_LABEL55; @@ -839,14 +899,14 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 97); fatal_exit(1); } { -nitc__parser_prod___AModuledecl___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AModuledecl#n_annotations= on */ +nitc__parser_prod___AModuledecl___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AModuledecl$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AModuledecl#n_doc= for (self: AModuledecl, nullable ADoc) */ +/* method parser_prod$AModuledecl$n_doc= for (self: AModuledecl, nullable ADoc) */ void nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_doc_61d(val* self, val* p0) { val* var_node /* var node: nullable ADoc */; short int var /* : Bool */; @@ -862,7 +922,7 @@ var = 0; /* is null */ 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 */ @@ -876,7 +936,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; } @@ -885,7 +945,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AModuledecl#n_kwredef= for (self: AModuledecl, nullable TKwredef) */ +/* method parser_prod$AModuledecl$n_kwredef= for (self: AModuledecl, nullable TKwredef) */ void nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_kwredef_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwredef */; short int var /* : Bool */; @@ -901,7 +961,7 @@ var = 0; /* is null */ 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 */ @@ -915,7 +975,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; } @@ -924,20 +984,26 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AModuledecl#n_visibility= for (self: AModuledecl, nullable AVisibility) */ +/* method parser_prod$AModuledecl$n_visibility= for (self: AModuledecl, nullable AVisibility) */ void nitc__parser_prod___AModuledecl___nitc__parser_nodes__ADefinition__n_visibility_61d(val* self, val* p0) { val* var_node /* var node: nullable AVisibility */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_node; /* _n_visibility 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, 115); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* 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, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -946,33 +1012,33 @@ RET_LABEL1:(void)0; } RET_LABEL:; } -/* method parser_prod#AModuledecl#n_kwmodule= for (self: AModuledecl, TKwmodule) */ +/* method parser_prod$AModuledecl$n_kwmodule= for (self: AModuledecl, TKwmodule) */ void nitc__parser_prod___AModuledecl___n_kwmodule_61d(val* self, val* p0) { val* var_node /* var node: TKwmodule */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_kwmodule].val = var_node; /* _n_kwmodule on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AModuledecl#n_name= for (self: AModuledecl, AModuleName) */ +/* method parser_prod$AModuledecl$n_name= for (self: AModuledecl, AModuleName) */ void nitc__parser_prod___AModuledecl___n_name_61d(val* self, val* p0) { val* var_node /* var node: AModuleName */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_name].val = var_node; /* _n_name on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AModuledecl#n_annotations= for (self: AModuledecl, nullable AAnnotations) */ +/* method parser_prod$AModuledecl$n_annotations= for (self: AModuledecl, nullable AAnnotations) */ void nitc__parser_prod___AModuledecl___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { val* var_node /* var node: nullable AAnnotations */; short int var /* : Bool */; @@ -988,7 +1054,7 @@ var = 0; /* is null */ 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 */ @@ -1002,7 +1068,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; } @@ -1011,7 +1077,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AModuledecl#visit_all for (self: AModuledecl, Visitor) */ +/* method parser_prod$AModuledecl$visit_all for (self: AModuledecl, Visitor) */ void nitc__parser_prod___AModuledecl___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : nullable ADoc */; @@ -1023,41 +1089,47 @@ val* var5 /* : nullable AAnnotations */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ { -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__ADefinition___n_kwredef].val; /* _n_kwredef 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__ADefinition___n_visibility].val; /* _n_visibility on */ { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } var3 = self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_kwmodule].val; /* _n_kwmodule on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwmodule"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 139); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } var4 = self->attrs[COLOR_nitc__parser_nodes__AModuledecl___n_name].val; /* _n_name on */ if (unlikely(var4 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_name"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 140); 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__Prod___n_annotations].val; /* _n_annotations on */ { -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AStdImport#init_astdimport for (self: AStdImport, nullable AVisibility, nullable TKwimport, nullable AModuleName, nullable AAnnotations) */ +/* method parser_prod$AStdImport$init_astdimport for (self: AStdImport, nullable AVisibility, nullable TKwimport, nullable AModuleName, nullable AAnnotations) */ void nitc__parser_prod___AStdImport___init_astdimport(val* self, val* p0, val* p1, val* p2, val* p3) { val* var_n_visibility /* var n_visibility: nullable AVisibility */; val* var_n_kwimport /* var n_kwimport: nullable TKwimport */; @@ -1069,7 +1141,7 @@ 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; } } @@ -1078,20 +1150,29 @@ var_n_kwimport = p1; var_n_name = p2; var_n_annotations = p3; if (unlikely(var_n_visibility == 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, 152); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val = var_n_visibility; /* _n_visibility on */ if (var_n_visibility == 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, 153); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on */ if (unlikely(var_n_visibility == 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_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -1099,20 +1180,29 @@ RET_LABEL2:(void)0; } } if (unlikely(var_n_kwimport == 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, 154); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AImport___n_kwimport].val = var_n_kwimport; /* _n_kwimport on */ if (var_n_kwimport == 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, 155); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwimport,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwimport,self) on */ if (unlikely(var_n_kwimport == 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 */ @@ -1120,20 +1210,29 @@ RET_LABEL3:(void)0; } } if (unlikely(var_n_name == 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, 156); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AStdImport___n_name].val = var_n_name; /* _n_name on */ if (var_n_name == 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, 157); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_name,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_name,self) on */ if (unlikely(var_n_name == 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_name->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -1147,7 +1246,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_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 */ @@ -1161,7 +1260,7 @@ var = var5; } if (var){ { -{ /* 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; } @@ -1170,7 +1269,7 @@ RET_LABEL9:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdImport#replace_child for (self: AStdImport, ANode, nullable ANode) */ +/* method parser_prod$AStdImport$replace_child for (self: AStdImport, ANode, nullable ANode) */ void nitc__parser_prod___AStdImport___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 */; @@ -1212,15 +1311,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val; /* _n_visibility on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_visibility"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 164); 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; @@ -1252,22 +1354,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 165); fatal_exit(1); } { -nitc__parser_prod___AStdImport___nitc__parser_nodes__AImport__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#AStdImport#n_visibility= on */ +nitc__parser_prod___AStdImport___nitc__parser_nodes__AImport__n_visibility_61d(self, var_new_child); /* Direct call parser_prod$AStdImport$n_visibility= on */ } goto RET_LABEL; } else { } var7 = self->attrs[COLOR_nitc__parser_nodes__AImport___n_kwimport].val; /* _n_kwimport on */ if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 168); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -1299,22 +1404,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 169); fatal_exit(1); } { -nitc__parser_prod___AStdImport___nitc__parser_nodes__AImport__n_kwimport_61d(self, var_new_child); /* Direct call parser_prod#AStdImport#n_kwimport= on */ +nitc__parser_prod___AStdImport___nitc__parser_nodes__AImport__n_kwimport_61d(self, var_new_child); /* Direct call parser_prod$AStdImport$n_kwimport= on */ } goto RET_LABEL; } else { } var17 = self->attrs[COLOR_nitc__parser_nodes__AStdImport___n_name].val; /* _n_name on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_name"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 172); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -1346,7 +1454,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 173); fatal_exit(1); } { -nitc__parser_prod___AStdImport___n_name_61d(self, var_new_child); /* Direct call parser_prod#AStdImport#n_name= on */ +nitc__parser_prod___AStdImport___n_name_61d(self, var_new_child); /* Direct call parser_prod$AStdImport$n_name= on */ } goto RET_LABEL; } else { @@ -1355,10 +1463,10 @@ var27 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_a if (var27 == NULL) { var28 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var27,var_old_child) on */ +{ /* Inline kernel$Object$== (var27,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var27,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var27,var_other) on */ var33 = var27 == var_other; var31 = var33; goto RET_LABEL32; @@ -1391,53 +1499,53 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 177); fatal_exit(1); } { -nitc__parser_prod___AStdImport___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AStdImport#n_annotations= on */ +nitc__parser_prod___AStdImport___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AStdImport$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AStdImport#n_visibility= for (self: AStdImport, AVisibility) */ +/* method parser_prod$AStdImport$n_visibility= for (self: AStdImport, AVisibility) */ void nitc__parser_prod___AStdImport___nitc__parser_nodes__AImport__n_visibility_61d(val* self, val* p0) { val* var_node /* var node: AVisibility */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val = var_node; /* _n_visibility on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AStdImport#n_kwimport= for (self: AStdImport, TKwimport) */ +/* method parser_prod$AStdImport$n_kwimport= for (self: AStdImport, TKwimport) */ void nitc__parser_prod___AStdImport___nitc__parser_nodes__AImport__n_kwimport_61d(val* self, val* p0) { val* var_node /* var node: TKwimport */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AImport___n_kwimport].val = var_node; /* _n_kwimport on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AStdImport#n_name= for (self: AStdImport, AModuleName) */ +/* method parser_prod$AStdImport$n_name= for (self: AStdImport, AModuleName) */ void nitc__parser_prod___AStdImport___n_name_61d(val* self, val* p0) { val* var_node /* var node: AModuleName */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AStdImport___n_name].val = var_node; /* _n_name on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AStdImport#n_annotations= for (self: AStdImport, nullable AAnnotations) */ +/* method parser_prod$AStdImport$n_annotations= for (self: AStdImport, nullable AAnnotations) */ void nitc__parser_prod___AStdImport___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { val* var_node /* var node: nullable AAnnotations */; short int var /* : Bool */; @@ -1453,7 +1561,7 @@ var = 0; /* is null */ 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 */ @@ -1467,7 +1575,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; } @@ -1476,7 +1584,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdImport#visit_all for (self: AStdImport, Visitor) */ +/* method parser_prod$AStdImport$visit_all for (self: AStdImport, Visitor) */ void nitc__parser_prod___AStdImport___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AVisibility */; @@ -1486,44 +1594,53 @@ val* var3 /* : nullable AAnnotations */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val; /* _n_visibility on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_visibility"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 206); 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__AImport___n_kwimport].val; /* _n_kwimport on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 207); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } var2 = self->attrs[COLOR_nitc__parser_nodes__AStdImport___n_name].val; /* _n_name on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_name"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 208); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } var3 = self->attrs[COLOR_nitc__parser_nodes__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, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ANoImport#init_anoimport for (self: ANoImport, nullable AVisibility, nullable TKwimport, nullable TKwend) */ +/* method parser_prod$ANoImport$init_anoimport for (self: ANoImport, nullable AVisibility, nullable TKwimport, nullable TKwend) */ void nitc__parser_prod___ANoImport___init_anoimport(val* self, val* p0, val* p1, val* p2) { val* var_n_visibility /* var n_visibility: nullable AVisibility */; val* var_n_kwimport /* var n_kwimport: nullable TKwimport */; val* var_n_kwend /* var n_kwend: nullable TKwend */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -1531,20 +1648,29 @@ var_n_visibility = p0; var_n_kwimport = p1; var_n_kwend = p2; if (unlikely(var_n_visibility == 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, 219); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val = var_n_visibility; /* _n_visibility on */ if (var_n_visibility == 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, 220); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on */ if (unlikely(var_n_visibility == 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_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -1552,20 +1678,29 @@ RET_LABEL2:(void)0; } } if (unlikely(var_n_kwimport == 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, 221); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AImport___n_kwimport].val = var_n_kwimport; /* _n_kwimport on */ if (var_n_kwimport == 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, 222); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwimport,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwimport,self) on */ if (unlikely(var_n_kwimport == 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 */ @@ -1573,20 +1708,29 @@ RET_LABEL3:(void)0; } } if (unlikely(var_n_kwend == 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, 223); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ANoImport___n_kwend].val = var_n_kwend; /* _n_kwend on */ if (var_n_kwend == 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, 224); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwend,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwend,self) on */ if (unlikely(var_n_kwend == 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_kwend->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -1595,7 +1739,7 @@ RET_LABEL4:(void)0; } RET_LABEL:; } -/* method parser_prod#ANoImport#replace_child for (self: ANoImport, ANode, nullable ANode) */ +/* method parser_prod$ANoImport$replace_child for (self: ANoImport, ANode, nullable ANode) */ void nitc__parser_prod___ANoImport___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 */; @@ -1628,15 +1772,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val; /* _n_visibility on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_visibility"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 229); 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; @@ -1668,22 +1815,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 230); fatal_exit(1); } { -nitc__parser_prod___ANoImport___nitc__parser_nodes__AImport__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#ANoImport#n_visibility= on */ +nitc__parser_prod___ANoImport___nitc__parser_nodes__AImport__n_visibility_61d(self, var_new_child); /* Direct call parser_prod$ANoImport$n_visibility= on */ } goto RET_LABEL; } else { } var7 = self->attrs[COLOR_nitc__parser_nodes__AImport___n_kwimport].val; /* _n_kwimport on */ if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 233); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -1715,22 +1865,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 234); fatal_exit(1); } { -nitc__parser_prod___ANoImport___nitc__parser_nodes__AImport__n_kwimport_61d(self, var_new_child); /* Direct call parser_prod#ANoImport#n_kwimport= on */ +nitc__parser_prod___ANoImport___nitc__parser_nodes__AImport__n_kwimport_61d(self, var_new_child); /* Direct call parser_prod$ANoImport$n_kwimport= on */ } goto RET_LABEL; } else { } var17 = self->attrs[COLOR_nitc__parser_nodes__ANoImport___n_kwend].val; /* _n_kwend on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwend"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 237); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var17,var_old_child) on */ +{ /* Inline kernel$Object$== (var17,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var17,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var17,var_other) on */ var22 = var17 == var_other; var20 = var22; goto RET_LABEL21; @@ -1762,53 +1915,53 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 238); fatal_exit(1); } { -nitc__parser_prod___ANoImport___n_kwend_61d(self, var_new_child); /* Direct call parser_prod#ANoImport#n_kwend= on */ +nitc__parser_prod___ANoImport___n_kwend_61d(self, var_new_child); /* Direct call parser_prod$ANoImport$n_kwend= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ANoImport#n_visibility= for (self: ANoImport, AVisibility) */ +/* method parser_prod$ANoImport$n_visibility= for (self: ANoImport, AVisibility) */ void nitc__parser_prod___ANoImport___nitc__parser_nodes__AImport__n_visibility_61d(val* self, val* p0) { val* var_node /* var node: AVisibility */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val = var_node; /* _n_visibility on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ANoImport#n_kwimport= for (self: ANoImport, TKwimport) */ +/* method parser_prod$ANoImport$n_kwimport= for (self: ANoImport, TKwimport) */ void nitc__parser_prod___ANoImport___nitc__parser_nodes__AImport__n_kwimport_61d(val* self, val* p0) { val* var_node /* var node: TKwimport */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AImport___n_kwimport].val = var_node; /* _n_kwimport on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ANoImport#n_kwend= for (self: ANoImport, TKwend) */ +/* method parser_prod$ANoImport$n_kwend= for (self: ANoImport, TKwend) */ void nitc__parser_prod___ANoImport___n_kwend_61d(val* self, val* p0) { val* var_node /* var node: TKwend */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ANoImport___n_kwend].val = var_node; /* _n_kwend on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ANoImport#visit_all for (self: ANoImport, Visitor) */ +/* method parser_prod$ANoImport$visit_all for (self: ANoImport, Visitor) */ void nitc__parser_prod___ANoImport___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : AVisibility */; @@ -1817,34 +1970,43 @@ val* var2 /* : TKwend */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AImport___n_visibility].val; /* _n_visibility on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_visibility"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 262); 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__AImport___n_kwimport].val; /* _n_kwimport on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwimport"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 263); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } var2 = self->attrs[COLOR_nitc__parser_nodes__ANoImport___n_kwend].val; /* _n_kwend on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwend"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 264); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#APublicVisibility#init_apublicvisibility for (self: APublicVisibility, nullable TKwpublic) */ +/* method parser_prod$APublicVisibility$init_apublicvisibility for (self: APublicVisibility, nullable TKwpublic) */ void nitc__parser_prod___APublicVisibility___init_apublicvisibility(val* self, val* p0) { val* var_n_kwpublic /* var n_kwpublic: nullable TKwpublic */; short int var /* : Bool */; @@ -1853,7 +2015,7 @@ val* var_other /* var other: nullable Object */; short int var4 /* : Bool */; short int var5 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -1865,7 +2027,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwpublic,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwpublic,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_kwpublic->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwpublic, var_other); /* == on */ @@ -1879,7 +2041,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwpublic,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwpublic,self) on */ var_n_kwpublic->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -1888,7 +2050,7 @@ RET_LABEL6:(void)0; } RET_LABEL:; } -/* method parser_prod#APublicVisibility#replace_child for (self: APublicVisibility, ANode, nullable ANode) */ +/* method parser_prod$APublicVisibility$replace_child for (self: APublicVisibility, ANode, nullable ANode) */ void nitc__parser_prod___APublicVisibility___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 */; @@ -1908,10 +2070,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__APublicVisibility___n_kwpublic].val; if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -1944,14 +2106,14 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 279); fatal_exit(1); } { -nitc__parser_prod___APublicVisibility___n_kwpublic_61d(self, var_new_child); /* Direct call parser_prod#APublicVisibility#n_kwpublic= on */ +nitc__parser_prod___APublicVisibility___n_kwpublic_61d(self, var_new_child); /* Direct call parser_prod$APublicVisibility$n_kwpublic= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#APublicVisibility#n_kwpublic= for (self: APublicVisibility, nullable TKwpublic) */ +/* method parser_prod$APublicVisibility$n_kwpublic= for (self: APublicVisibility, nullable TKwpublic) */ void nitc__parser_prod___APublicVisibility___n_kwpublic_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwpublic */; short int var /* : Bool */; @@ -1967,7 +2129,7 @@ var = 0; /* is null */ 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 */ @@ -1981,7 +2143,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; } @@ -1990,41 +2152,50 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#APublicVisibility#visit_all for (self: APublicVisibility, Visitor) */ +/* method parser_prod$APublicVisibility$visit_all for (self: APublicVisibility, Visitor) */ void nitc__parser_prod___APublicVisibility___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : nullable TKwpublic */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__APublicVisibility___n_kwpublic].val; /* _n_kwpublic on */ { -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 */ } RET_LABEL:; } -/* method parser_prod#APrivateVisibility#init_aprivatevisibility for (self: APrivateVisibility, nullable TKwprivate) */ +/* method parser_prod$APrivateVisibility$init_aprivatevisibility for (self: APrivateVisibility, nullable TKwprivate) */ void nitc__parser_prod___APrivateVisibility___init_aprivatevisibility(val* self, val* p0) { val* var_n_kwprivate /* var n_kwprivate: nullable TKwprivate */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_kwprivate = p0; if (unlikely(var_n_kwprivate == 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, 301); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__APrivateVisibility___n_kwprivate].val = var_n_kwprivate; /* _n_kwprivate on */ if (var_n_kwprivate == 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, 302); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwprivate,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwprivate,self) on */ if (unlikely(var_n_kwprivate == 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_kwprivate->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -2033,7 +2204,7 @@ RET_LABEL2:(void)0; } RET_LABEL:; } -/* method parser_prod#APrivateVisibility#replace_child for (self: APrivateVisibility, ANode, nullable ANode) */ +/* method parser_prod$APrivateVisibility$replace_child for (self: APrivateVisibility, ANode, nullable ANode) */ void nitc__parser_prod___APrivateVisibility___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 */; @@ -2050,15 +2221,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__APrivateVisibility___n_kwprivate].val; /* _n_kwprivate on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwprivate"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 307); 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; @@ -2090,66 +2264,78 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 308); fatal_exit(1); } { -nitc__parser_prod___APrivateVisibility___n_kwprivate_61d(self, var_new_child); /* Direct call parser_prod#APrivateVisibility#n_kwprivate= on */ +nitc__parser_prod___APrivateVisibility___n_kwprivate_61d(self, var_new_child); /* Direct call parser_prod$APrivateVisibility$n_kwprivate= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#APrivateVisibility#n_kwprivate= for (self: APrivateVisibility, TKwprivate) */ +/* method parser_prod$APrivateVisibility$n_kwprivate= for (self: APrivateVisibility, TKwprivate) */ void nitc__parser_prod___APrivateVisibility___n_kwprivate_61d(val* self, val* p0) { val* var_node /* var node: TKwprivate */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__APrivateVisibility___n_kwprivate].val = var_node; /* _n_kwprivate on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#APrivateVisibility#visit_all for (self: APrivateVisibility, Visitor) */ +/* method parser_prod$APrivateVisibility$visit_all for (self: APrivateVisibility, Visitor) */ void nitc__parser_prod___APrivateVisibility___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwprivate */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__APrivateVisibility___n_kwprivate].val; /* _n_kwprivate on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwprivate"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 322); 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 */ } RET_LABEL:; } -/* method parser_prod#AProtectedVisibility#init_aprotectedvisibility for (self: AProtectedVisibility, nullable TKwprotected) */ +/* method parser_prod$AProtectedVisibility$init_aprotectedvisibility for (self: AProtectedVisibility, nullable TKwprotected) */ void nitc__parser_prod___AProtectedVisibility___init_aprotectedvisibility(val* self, val* p0) { val* var_n_kwprotected /* var n_kwprotected: nullable TKwprotected */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_kwprotected = p0; if (unlikely(var_n_kwprotected == 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, 330); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AProtectedVisibility___n_kwprotected].val = var_n_kwprotected; /* _n_kwprotected on */ if (var_n_kwprotected == 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, 331); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwprotected,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwprotected,self) on */ if (unlikely(var_n_kwprotected == 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_kwprotected->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -2158,7 +2344,7 @@ RET_LABEL2:(void)0; } RET_LABEL:; } -/* method parser_prod#AProtectedVisibility#replace_child for (self: AProtectedVisibility, ANode, nullable ANode) */ +/* method parser_prod$AProtectedVisibility$replace_child for (self: AProtectedVisibility, ANode, nullable ANode) */ void nitc__parser_prod___AProtectedVisibility___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 */; @@ -2175,15 +2361,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AProtectedVisibility___n_kwprotected].val; /* _n_kwprotected on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwprotected"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 336); 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; @@ -2215,66 +2404,78 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 337); fatal_exit(1); } { -nitc__parser_prod___AProtectedVisibility___n_kwprotected_61d(self, var_new_child); /* Direct call parser_prod#AProtectedVisibility#n_kwprotected= on */ +nitc__parser_prod___AProtectedVisibility___n_kwprotected_61d(self, var_new_child); /* Direct call parser_prod$AProtectedVisibility$n_kwprotected= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AProtectedVisibility#n_kwprotected= for (self: AProtectedVisibility, TKwprotected) */ +/* method parser_prod$AProtectedVisibility$n_kwprotected= for (self: AProtectedVisibility, TKwprotected) */ void nitc__parser_prod___AProtectedVisibility___n_kwprotected_61d(val* self, val* p0) { val* var_node /* var node: TKwprotected */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AProtectedVisibility___n_kwprotected].val = var_node; /* _n_kwprotected on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AProtectedVisibility#visit_all for (self: AProtectedVisibility, Visitor) */ +/* method parser_prod$AProtectedVisibility$visit_all for (self: AProtectedVisibility, Visitor) */ void nitc__parser_prod___AProtectedVisibility___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwprotected */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AProtectedVisibility___n_kwprotected].val; /* _n_kwprotected on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwprotected"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 351); 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 */ } RET_LABEL:; } -/* method parser_prod#AIntrudeVisibility#init_aintrudevisibility for (self: AIntrudeVisibility, nullable TKwintrude) */ +/* method parser_prod$AIntrudeVisibility$init_aintrudevisibility for (self: AIntrudeVisibility, nullable TKwintrude) */ void nitc__parser_prod___AIntrudeVisibility___init_aintrudevisibility(val* self, val* p0) { val* var_n_kwintrude /* var n_kwintrude: nullable TKwintrude */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_kwintrude = p0; if (unlikely(var_n_kwintrude == 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, 359); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AIntrudeVisibility___n_kwintrude].val = var_n_kwintrude; /* _n_kwintrude on */ if (var_n_kwintrude == 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, 360); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwintrude,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwintrude,self) on */ if (unlikely(var_n_kwintrude == 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_kwintrude->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -2283,7 +2484,7 @@ RET_LABEL2:(void)0; } RET_LABEL:; } -/* method parser_prod#AIntrudeVisibility#replace_child for (self: AIntrudeVisibility, ANode, nullable ANode) */ +/* method parser_prod$AIntrudeVisibility$replace_child for (self: AIntrudeVisibility, ANode, nullable ANode) */ void nitc__parser_prod___AIntrudeVisibility___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 */; @@ -2300,15 +2501,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AIntrudeVisibility___n_kwintrude].val; /* _n_kwintrude on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwintrude"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 365); 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; @@ -2340,43 +2544,46 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 366); fatal_exit(1); } { -nitc__parser_prod___AIntrudeVisibility___n_kwintrude_61d(self, var_new_child); /* Direct call parser_prod#AIntrudeVisibility#n_kwintrude= on */ +nitc__parser_prod___AIntrudeVisibility___n_kwintrude_61d(self, var_new_child); /* Direct call parser_prod$AIntrudeVisibility$n_kwintrude= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AIntrudeVisibility#n_kwintrude= for (self: AIntrudeVisibility, TKwintrude) */ +/* method parser_prod$AIntrudeVisibility$n_kwintrude= for (self: AIntrudeVisibility, TKwintrude) */ void nitc__parser_prod___AIntrudeVisibility___n_kwintrude_61d(val* self, val* p0) { val* var_node /* var node: TKwintrude */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AIntrudeVisibility___n_kwintrude].val = var_node; /* _n_kwintrude on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AIntrudeVisibility#visit_all for (self: AIntrudeVisibility, Visitor) */ +/* method parser_prod$AIntrudeVisibility$visit_all for (self: AIntrudeVisibility, Visitor) */ void nitc__parser_prod___AIntrudeVisibility___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwintrude */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AIntrudeVisibility___n_kwintrude].val; /* _n_kwintrude on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwintrude"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 380); 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 */ } RET_LABEL:; } -/* method parser_prod#AStdClassdef#init_astdclassdef for (self: AStdClassdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable AClasskind, nullable AQclassid, nullable TObra, Collection[Object], nullable TCbra, nullable AExternCodeBlock, Collection[Object], nullable TKwend) */ +/* method parser_prod$AStdClassdef$init_astdclassdef for (self: AStdClassdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable AClasskind, nullable AQclassid, nullable TObra, Collection[Object], nullable TCbra, nullable AExternCodeBlock, Collection[Object], nullable TKwend) */ void nitc__parser_prod___AStdClassdef___init_astdclassdef(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5, val* p6, val* p7, val* p8, val* p9, val* p10) { val* var_n_doc /* var n_doc: nullable ADoc */; val* var_n_kwredef /* var n_kwredef: nullable TKwredef */; @@ -2419,7 +2626,7 @@ short int var40 /* : Bool */; val* var42 /* : ANodes[APropdef] */; val* var44 /* : ANodes[APropdef] */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -2441,7 +2648,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_doc,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_doc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_doc, var_other); /* == on */ @@ -2455,7 +2662,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_doc,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on */ var_n_doc->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -2469,7 +2676,7 @@ var7 = 0; /* is null */ var7 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwredef,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on */ var_other = ((val*)NULL); { var10 = ((short int(*)(val* self, val* p0))(var_n_kwredef->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwredef, var_other); /* == on */ @@ -2483,7 +2690,7 @@ var7 = var8; } if (var7){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwredef,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on */ var_n_kwredef->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL12:(void)0; } @@ -2491,20 +2698,29 @@ RET_LABEL12:(void)0; } else { } if (unlikely(var_n_visibility == 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, 402); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_n_visibility; /* _n_visibility on */ if (var_n_visibility == 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, 403); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on */ if (unlikely(var_n_visibility == 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_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -2512,20 +2728,29 @@ RET_LABEL13:(void)0; } } if (unlikely(var_n_classkind == 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, 404); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_classkind].val = var_n_classkind; /* _n_classkind on */ if (var_n_classkind == 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, 405); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_classkind,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_classkind,self) on */ if (unlikely(var_n_classkind == 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_classkind->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -2539,7 +2764,7 @@ var15 = 0; /* is null */ var15 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_qid,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_qid,((val*)NULL)) on */ var_other = ((val*)NULL); { var18 = ((short int(*)(val* self, val* p0))(var_n_qid->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_qid, var_other); /* == on */ @@ -2553,7 +2778,7 @@ var15 = var16; } if (var15){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_qid,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on */ var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL20:(void)0; } @@ -2567,7 +2792,7 @@ var21 = 0; /* is null */ var21 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_obra,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_obra,((val*)NULL)) on */ var_other = ((val*)NULL); { var24 = ((short int(*)(val* self, val* p0))(var_n_obra->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_obra, var_other); /* == on */ @@ -2581,7 +2806,7 @@ var21 = var22; } if (var21){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_obra,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_obra,self) on */ var_n_obra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL26:(void)0; } @@ -2589,11 +2814,14 @@ RET_LABEL26:(void)0; } else { } { -{ /* Inline parser_nodes#AStdClassdef#n_formaldefs (self) on */ +{ /* Inline parser_nodes$AStdClassdef$n_formaldefs (self) on */ var29 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_formaldefs].val; /* _n_formaldefs on */ if (unlikely(var29 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_formaldefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1173); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1236); fatal_exit(1); } var27 = var29; @@ -2601,7 +2829,7 @@ RET_LABEL28:(void)0; } } { -nitc___nitc__ANodes___unsafe_add_all(var27, var_n_formaldefs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +nitc___nitc__ANodes___unsafe_add_all(var27, var_n_formaldefs); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_cbra].val = var_n_cbra; /* _n_cbra on */ if (var_n_cbra == NULL) { @@ -2610,7 +2838,7 @@ var30 = 0; /* is null */ var30 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_cbra,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_cbra,((val*)NULL)) on */ var_other = ((val*)NULL); { var33 = ((short int(*)(val* self, val* p0))(var_n_cbra->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_cbra, var_other); /* == on */ @@ -2624,7 +2852,7 @@ var30 = var31; } if (var30){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_cbra,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_cbra,self) on */ var_n_cbra->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL35:(void)0; } @@ -2638,7 +2866,7 @@ var36 = 0; /* is null */ var36 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_extern_code_block,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_extern_code_block,((val*)NULL)) on */ var_other = ((val*)NULL); { var39 = ((short int(*)(val* self, val* p0))(var_n_extern_code_block->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_extern_code_block, var_other); /* == on */ @@ -2652,7 +2880,7 @@ var36 = var37; } if (var36){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_extern_code_block,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_extern_code_block,self) on */ var_n_extern_code_block->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL41:(void)0; } @@ -2660,11 +2888,14 @@ RET_LABEL41:(void)0; } else { } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var44 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var44 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var42 = var44; @@ -2672,23 +2903,32 @@ RET_LABEL43:(void)0; } } { -nitc___nitc__ANodes___unsafe_add_all(var42, var_n_propdefs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +nitc___nitc__ANodes___unsafe_add_all(var42, var_n_propdefs); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } if (unlikely(var_n_kwend == 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, 416); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_kwend].val = var_n_kwend; /* _n_kwend on */ if (var_n_kwend == 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, 417); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwend,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwend,self) on */ if (unlikely(var_n_kwend == 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_kwend->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -2697,7 +2937,7 @@ RET_LABEL45:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#replace_child for (self: AStdClassdef, ANode, nullable ANode) */ +/* method parser_prod$AStdClassdef$replace_child for (self: AStdClassdef, ANode, nullable ANode) */ void nitc__parser_prod___AStdClassdef___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 */; @@ -2793,10 +3033,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -2829,7 +3069,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 423); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_doc= on */ +nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_doc= on */ } goto RET_LABEL; } else { @@ -2838,10 +3078,10 @@ var8 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n if (var8 == NULL) { var9 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ +{ /* Inline kernel$Object$== (var8,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ var14 = var8 == var_other; var12 = var14; goto RET_LABEL13; @@ -2874,7 +3114,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 427); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_kwredef= on */ +nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_kwredef= on */ } goto RET_LABEL; } else { @@ -2883,10 +3123,10 @@ var19 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; / if (var19 == NULL) { var20 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var19,var_old_child) on */ +{ /* Inline kernel$Object$== (var19,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var19,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var19,var_other) on */ var25 = var19 == var_other; var23 = var25; goto RET_LABEL24; @@ -2919,22 +3159,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 431); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_visibility= on */ +nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_visibility= on */ } goto RET_LABEL; } else { } var30 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_classkind].val; /* _n_classkind on */ if (unlikely(var30 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_classkind"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 434); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var30,var_old_child) on */ +{ /* Inline kernel$Object$== (var30,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var30,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var30,var_other) on */ var35 = var30 == var_other; var33 = var35; goto RET_LABEL34; @@ -2966,7 +3209,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 435); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___n_classkind_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_classkind= on */ +nitc__parser_prod___AStdClassdef___n_classkind_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_classkind= on */ } goto RET_LABEL; } else { @@ -2975,10 +3218,10 @@ var40 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_qid].val; /* _n_q if (var40 == NULL) { var41 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var40,var_old_child) on */ +{ /* Inline kernel$Object$== (var40,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var40,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var40,var_other) on */ var46 = var40 == var_other; var44 = var46; goto RET_LABEL45; @@ -3011,7 +3254,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 439); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___n_qid_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_qid= on */ +nitc__parser_prod___AStdClassdef___n_qid_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_qid= on */ } goto RET_LABEL; } else { @@ -3020,10 +3263,10 @@ var51 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_obra].val; /* _n_ if (var51 == NULL) { var52 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var51,var_old_child) on */ +{ /* Inline kernel$Object$== (var51,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var51,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var51,var_other) on */ var57 = var51 == var_other; var55 = var57; goto RET_LABEL56; @@ -3056,17 +3299,20 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 443); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___n_obra_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_obra= on */ +nitc__parser_prod___AStdClassdef___n_obra_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_obra= on */ } goto RET_LABEL; } else { } { -{ /* Inline parser_nodes#AStdClassdef#n_formaldefs (self) on */ +{ /* Inline parser_nodes$AStdClassdef$n_formaldefs (self) on */ var64 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_formaldefs].val; /* _n_formaldefs on */ if (unlikely(var64 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_formaldefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1173); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1236); fatal_exit(1); } var62 = var64; @@ -3084,10 +3330,10 @@ var66 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_cbra].val; /* _n_ if (var66 == NULL) { var67 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var66,var_old_child) on */ +{ /* Inline kernel$Object$== (var66,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var66,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var66,var_other) on */ var72 = var66 == var_other; var70 = var72; goto RET_LABEL71; @@ -3120,7 +3366,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 448); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___n_cbra_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_cbra= on */ +nitc__parser_prod___AStdClassdef___n_cbra_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_cbra= on */ } goto RET_LABEL; } else { @@ -3129,10 +3375,10 @@ var77 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_extern_code_block if (var77 == NULL) { var78 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var77,var_old_child) on */ +{ /* Inline kernel$Object$== (var77,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var77,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var77,var_other) on */ var83 = var77 == var_other; var81 = var83; goto RET_LABEL82; @@ -3165,17 +3411,20 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 452); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___n_extern_code_block_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_extern_code_block= on */ +nitc__parser_prod___AStdClassdef___n_extern_code_block_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_extern_code_block= on */ } goto RET_LABEL; } else { } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var90 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var90 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var88 = var90; @@ -3191,15 +3440,18 @@ goto RET_LABEL; } var92 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_kwend].val; /* _n_kwend on */ if (unlikely(var92 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwend"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 456); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var92,var_old_child) on */ +{ /* Inline kernel$Object$== (var92,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var92,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var92,var_other) on */ var97 = var92 == var_other; var95 = var97; goto RET_LABEL96; @@ -3231,14 +3483,14 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 457); fatal_exit(1); } { -nitc__parser_prod___AStdClassdef___n_kwend_61d(self, var_new_child); /* Direct call parser_prod#AStdClassdef#n_kwend= on */ +nitc__parser_prod___AStdClassdef___n_kwend_61d(self, var_new_child); /* Direct call parser_prod$AStdClassdef$n_kwend= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_doc= for (self: AStdClassdef, nullable ADoc) */ +/* method parser_prod$AStdClassdef$n_doc= for (self: AStdClassdef, nullable ADoc) */ void nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_doc_61d(val* self, val* p0) { val* var_node /* var node: nullable ADoc */; short int var /* : Bool */; @@ -3254,7 +3506,7 @@ var = 0; /* is null */ 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 */ @@ -3268,7 +3520,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; } @@ -3277,7 +3529,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_kwredef= for (self: AStdClassdef, nullable TKwredef) */ +/* method parser_prod$AStdClassdef$n_kwredef= for (self: AStdClassdef, nullable TKwredef) */ void nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwredef */; short int var /* : Bool */; @@ -3293,7 +3545,7 @@ var = 0; /* is null */ 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 */ @@ -3307,7 +3559,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; } @@ -3316,20 +3568,26 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_visibility= for (self: AStdClassdef, nullable AVisibility) */ +/* method parser_prod$AStdClassdef$n_visibility= for (self: AStdClassdef, nullable AVisibility) */ void nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ADefinition__n_visibility_61d(val* self, val* p0) { val* var_node /* var node: nullable AVisibility */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_node; /* _n_visibility 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, 475); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* 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, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -3338,20 +3596,20 @@ RET_LABEL1:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_classkind= for (self: AStdClassdef, AClasskind) */ +/* method parser_prod$AStdClassdef$n_classkind= for (self: AStdClassdef, AClasskind) */ void nitc__parser_prod___AStdClassdef___n_classkind_61d(val* self, val* p0) { val* var_node /* var node: AClasskind */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_classkind].val = var_node; /* _n_classkind on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_qid= for (self: AStdClassdef, nullable AQclassid) */ +/* method parser_prod$AStdClassdef$n_qid= for (self: AStdClassdef, nullable AQclassid) */ void nitc__parser_prod___AStdClassdef___n_qid_61d(val* self, val* p0) { val* var_node /* var node: nullable AQclassid */; short int var /* : Bool */; @@ -3367,7 +3625,7 @@ var = 0; /* is null */ 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 */ @@ -3381,7 +3639,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; } @@ -3390,7 +3648,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_obra= for (self: AStdClassdef, nullable TObra) */ +/* method parser_prod$AStdClassdef$n_obra= for (self: AStdClassdef, nullable TObra) */ void nitc__parser_prod___AStdClassdef___n_obra_61d(val* self, val* p0) { val* var_node /* var node: nullable TObra */; short int var /* : Bool */; @@ -3406,7 +3664,7 @@ var = 0; /* is null */ 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 */ @@ -3420,7 +3678,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; } @@ -3429,7 +3687,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_cbra= for (self: AStdClassdef, nullable TCbra) */ +/* method parser_prod$AStdClassdef$n_cbra= for (self: AStdClassdef, nullable TCbra) */ void nitc__parser_prod___AStdClassdef___n_cbra_61d(val* self, val* p0) { val* var_node /* var node: nullable TCbra */; short int var /* : Bool */; @@ -3445,7 +3703,7 @@ var = 0; /* is null */ 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 */ @@ -3459,7 +3717,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; } @@ -3468,7 +3726,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_extern_code_block= for (self: AStdClassdef, nullable AExternCodeBlock) */ +/* method parser_prod$AStdClassdef$n_extern_code_block= for (self: AStdClassdef, nullable AExternCodeBlock) */ void nitc__parser_prod___AStdClassdef___n_extern_code_block_61d(val* self, val* p0) { val* var_node /* var node: nullable AExternCodeBlock */; short int var /* : Bool */; @@ -3484,7 +3742,7 @@ var = 0; /* is null */ 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 */ @@ -3498,7 +3756,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; } @@ -3507,20 +3765,20 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AStdClassdef#n_kwend= for (self: AStdClassdef, TKwend) */ +/* method parser_prod$AStdClassdef$n_kwend= for (self: AStdClassdef, TKwend) */ void nitc__parser_prod___AStdClassdef___n_kwend_61d(val* self, val* p0) { val* var_node /* var node: TKwend */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_kwend].val = var_node; /* _n_kwend on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AStdClassdef#visit_all for (self: AStdClassdef, Visitor) */ +/* method parser_prod$AStdClassdef$visit_all for (self: AStdClassdef, Visitor) */ void nitc__parser_prod___AStdClassdef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : nullable ADoc */; @@ -3539,39 +3797,45 @@ val* var14 /* : TKwend */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ { -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__ADefinition___n_kwredef].val; /* _n_kwredef 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__ADefinition___n_visibility].val; /* _n_visibility on */ { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } var3 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_classkind].val; /* _n_classkind on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_classkind"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 514); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } var4 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_qid].val; /* _n_qid on */ { -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__AStdClassdef___n_obra].val; /* _n_obra on */ { -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes$Visitor$enter_visit on */ } { -{ /* Inline parser_nodes#AStdClassdef#n_formaldefs (self) on */ +{ /* Inline parser_nodes$AStdClassdef$n_formaldefs (self) on */ var8 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_formaldefs].val; /* _n_formaldefs on */ if (unlikely(var8 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_formaldefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1173); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1236); fatal_exit(1); } var6 = var8; @@ -3579,22 +3843,25 @@ RET_LABEL7:(void)0; } } { -nitc___nitc__ANodes___visit_all(var6, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__ANodes___visit_all(var6, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } var9 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_cbra].val; /* _n_cbra on */ { -nitc___nitc__Visitor___enter_visit(var_v, var9); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var9); /* Direct call parser_nodes$Visitor$enter_visit on */ } var10 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_extern_code_block].val; /* _n_extern_code_block on */ { -nitc___nitc__Visitor___enter_visit(var_v, var10); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var10); /* Direct call parser_nodes$Visitor$enter_visit on */ } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var13 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var13 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var11 = var13; @@ -3602,36 +3869,42 @@ RET_LABEL12:(void)0; } } { -nitc___nitc__ANodes___visit_all(var11, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__ANodes___visit_all(var11, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } var14 = self->attrs[COLOR_nitc__parser_nodes__AStdClassdef___n_kwend].val; /* _n_kwend on */ if (unlikely(var14 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwend"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 521); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var14); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var14); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#ATopClassdef#init_atopclassdef for (self: ATopClassdef, Collection[Object]) */ +/* method parser_prod$ATopClassdef$init_atopclassdef for (self: ATopClassdef, Collection[Object]) */ void nitc__parser_prod___ATopClassdef___init_atopclassdef(val* self, val* p0) { val* var_n_propdefs /* var n_propdefs: Collection[Object] */; val* var /* : ANodes[APropdef] */; val* var3 /* : ANodes[APropdef] */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_propdefs = p0; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var3 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var = var3; @@ -3639,11 +3912,11 @@ RET_LABEL2:(void)0; } } { -nitc___nitc__ANodes___unsafe_add_all(var, var_n_propdefs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +nitc___nitc__ANodes___unsafe_add_all(var, var_n_propdefs); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } RET_LABEL:; } -/* method parser_prod#ATopClassdef#replace_child for (self: ATopClassdef, ANode, nullable ANode) */ +/* method parser_prod$ATopClassdef$replace_child for (self: ATopClassdef, ANode, nullable ANode) */ void nitc__parser_prod___ATopClassdef___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 */; @@ -3653,11 +3926,14 @@ short int var3 /* : Bool */; var_old_child = p0; var_new_child = p1; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var2 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var = var2; @@ -3673,18 +3949,21 @@ goto RET_LABEL; } RET_LABEL:; } -/* method parser_prod#ATopClassdef#visit_all for (self: ATopClassdef, Visitor) */ +/* method parser_prod$ATopClassdef$visit_all for (self: ATopClassdef, Visitor) */ void nitc__parser_prod___ATopClassdef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : ANodes[APropdef] */; val* var2 /* : ANodes[APropdef] */; var_v = p0; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var2 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var = var2; @@ -3692,27 +3971,30 @@ RET_LABEL1:(void)0; } } { -nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } RET_LABEL:; } -/* method parser_prod#AMainClassdef#init_amainclassdef for (self: AMainClassdef, Collection[Object]) */ +/* method parser_prod$AMainClassdef$init_amainclassdef for (self: AMainClassdef, Collection[Object]) */ void nitc__parser_prod___AMainClassdef___init_amainclassdef(val* self, val* p0) { val* var_n_propdefs /* var n_propdefs: Collection[Object] */; val* var /* : ANodes[APropdef] */; val* var3 /* : ANodes[APropdef] */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_propdefs = p0; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var3 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var = var3; @@ -3720,11 +4002,11 @@ RET_LABEL2:(void)0; } } { -nitc___nitc__ANodes___unsafe_add_all(var, var_n_propdefs); /* Direct call parser_nodes#ANodes#unsafe_add_all on */ +nitc___nitc__ANodes___unsafe_add_all(var, var_n_propdefs); /* Direct call parser_nodes$ANodes$unsafe_add_all on */ } RET_LABEL:; } -/* method parser_prod#AMainClassdef#replace_child for (self: AMainClassdef, ANode, nullable ANode) */ +/* method parser_prod$AMainClassdef$replace_child for (self: AMainClassdef, ANode, nullable ANode) */ void nitc__parser_prod___AMainClassdef___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 */; @@ -3734,11 +4016,14 @@ short int var3 /* : Bool */; var_old_child = p0; var_new_child = p1; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var2 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var = var2; @@ -3754,18 +4039,21 @@ goto RET_LABEL; } RET_LABEL:; } -/* method parser_prod#AMainClassdef#visit_all for (self: AMainClassdef, Visitor) */ +/* method parser_prod$AMainClassdef$visit_all for (self: AMainClassdef, Visitor) */ void nitc__parser_prod___AMainClassdef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : ANodes[APropdef] */; val* var2 /* : ANodes[APropdef] */; var_v = p0; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (self) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (self) on */ var2 = self->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var = var2; @@ -3773,34 +4061,43 @@ RET_LABEL1:(void)0; } } { -nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes#ANodes#visit_all on */ +nitc___nitc__ANodes___visit_all(var, var_v); /* Direct call parser_nodes$ANodes$visit_all on */ } RET_LABEL:; } -/* method parser_prod#AConcreteClasskind#init_aconcreteclasskind for (self: AConcreteClasskind, nullable TKwclass) */ +/* method parser_prod$AConcreteClasskind$init_aconcreteclasskind for (self: AConcreteClasskind, nullable TKwclass) */ void nitc__parser_prod___AConcreteClasskind___init_aconcreteclasskind(val* self, val* p0) { val* var_n_kwclass /* var n_kwclass: nullable TKwclass */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_kwclass = p0; if (unlikely(var_n_kwclass == 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, 569); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AConcreteClasskind___n_kwclass].val = var_n_kwclass; /* _n_kwclass on */ if (var_n_kwclass == 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, 570); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwclass,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwclass,self) on */ if (unlikely(var_n_kwclass == 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_kwclass->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -3809,7 +4106,7 @@ RET_LABEL2:(void)0; } RET_LABEL:; } -/* method parser_prod#AConcreteClasskind#replace_child for (self: AConcreteClasskind, ANode, nullable ANode) */ +/* method parser_prod$AConcreteClasskind$replace_child for (self: AConcreteClasskind, ANode, nullable ANode) */ void nitc__parser_prod___AConcreteClasskind___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 */; @@ -3826,15 +4123,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AConcreteClasskind___n_kwclass].val; /* _n_kwclass on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwclass"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 575); 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; @@ -3866,68 +4166,80 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 576); fatal_exit(1); } { -nitc__parser_prod___AConcreteClasskind___n_kwclass_61d(self, var_new_child); /* Direct call parser_prod#AConcreteClasskind#n_kwclass= on */ +nitc__parser_prod___AConcreteClasskind___n_kwclass_61d(self, var_new_child); /* Direct call parser_prod$AConcreteClasskind$n_kwclass= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AConcreteClasskind#n_kwclass= for (self: AConcreteClasskind, TKwclass) */ +/* method parser_prod$AConcreteClasskind$n_kwclass= for (self: AConcreteClasskind, TKwclass) */ void nitc__parser_prod___AConcreteClasskind___n_kwclass_61d(val* self, val* p0) { val* var_node /* var node: TKwclass */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AConcreteClasskind___n_kwclass].val = var_node; /* _n_kwclass on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AConcreteClasskind#visit_all for (self: AConcreteClasskind, Visitor) */ +/* method parser_prod$AConcreteClasskind$visit_all for (self: AConcreteClasskind, Visitor) */ void nitc__parser_prod___AConcreteClasskind___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwclass */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AConcreteClasskind___n_kwclass].val; /* _n_kwclass on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwclass"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 590); 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 */ } RET_LABEL:; } -/* method parser_prod#AAbstractClasskind#init_aabstractclasskind for (self: AAbstractClasskind, nullable TKwabstract, nullable TKwclass) */ +/* method parser_prod$AAbstractClasskind$init_aabstractclasskind for (self: AAbstractClasskind, nullable TKwabstract, nullable TKwclass) */ void nitc__parser_prod___AAbstractClasskind___init_aabstractclasskind(val* self, val* p0, val* p1) { val* var_n_kwabstract /* var n_kwabstract: nullable TKwabstract */; val* var_n_kwclass /* var n_kwclass: nullable TKwclass */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_kwabstract = p0; var_n_kwclass = p1; if (unlikely(var_n_kwabstract == 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, 599); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AAbstractClasskind___n_kwabstract].val = var_n_kwabstract; /* _n_kwabstract on */ if (var_n_kwabstract == 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, 600); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwabstract,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwabstract,self) on */ if (unlikely(var_n_kwabstract == 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_kwabstract->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -3935,20 +4247,29 @@ RET_LABEL2:(void)0; } } if (unlikely(var_n_kwclass == 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, 601); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AAbstractClasskind___n_kwclass].val = var_n_kwclass; /* _n_kwclass on */ if (var_n_kwclass == 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, 602); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwclass,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwclass,self) on */ if (unlikely(var_n_kwclass == 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_kwclass->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -3957,7 +4278,7 @@ RET_LABEL3:(void)0; } RET_LABEL:; } -/* method parser_prod#AAbstractClasskind#replace_child for (self: AAbstractClasskind, ANode, nullable ANode) */ +/* method parser_prod$AAbstractClasskind$replace_child for (self: AAbstractClasskind, ANode, nullable ANode) */ void nitc__parser_prod___AAbstractClasskind___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 */; @@ -3982,15 +4303,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AAbstractClasskind___n_kwabstract].val; /* _n_kwabstract on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwabstract"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 607); 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; @@ -4022,22 +4346,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 608); fatal_exit(1); } { -nitc__parser_prod___AAbstractClasskind___n_kwabstract_61d(self, var_new_child); /* Direct call parser_prod#AAbstractClasskind#n_kwabstract= on */ +nitc__parser_prod___AAbstractClasskind___n_kwabstract_61d(self, var_new_child); /* Direct call parser_prod$AAbstractClasskind$n_kwabstract= on */ } goto RET_LABEL; } else { } var7 = self->attrs[COLOR_nitc__parser_nodes__AAbstractClasskind___n_kwclass].val; /* _n_kwclass on */ if (unlikely(var7 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwclass"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 611); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var12 = var7 == var_other; var10 = var12; goto RET_LABEL11; @@ -4069,40 +4396,40 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 612); fatal_exit(1); } { -nitc__parser_prod___AAbstractClasskind___n_kwclass_61d(self, var_new_child); /* Direct call parser_prod#AAbstractClasskind#n_kwclass= on */ +nitc__parser_prod___AAbstractClasskind___n_kwclass_61d(self, var_new_child); /* Direct call parser_prod$AAbstractClasskind$n_kwclass= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAbstractClasskind#n_kwabstract= for (self: AAbstractClasskind, TKwabstract) */ +/* method parser_prod$AAbstractClasskind$n_kwabstract= for (self: AAbstractClasskind, TKwabstract) */ void nitc__parser_prod___AAbstractClasskind___n_kwabstract_61d(val* self, val* p0) { val* var_node /* var node: TKwabstract */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AAbstractClasskind___n_kwabstract].val = var_node; /* _n_kwabstract on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAbstractClasskind#n_kwclass= for (self: AAbstractClasskind, TKwclass) */ +/* method parser_prod$AAbstractClasskind$n_kwclass= for (self: AAbstractClasskind, TKwclass) */ void nitc__parser_prod___AAbstractClasskind___n_kwclass_61d(val* self, val* p0) { val* var_node /* var node: TKwclass */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AAbstractClasskind___n_kwclass].val = var_node; /* _n_kwclass on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAbstractClasskind#visit_all for (self: AAbstractClasskind, Visitor) */ +/* method parser_prod$AAbstractClasskind$visit_all for (self: AAbstractClasskind, Visitor) */ void nitc__parser_prod___AAbstractClasskind___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwabstract */; @@ -4110,48 +4437,63 @@ val* var1 /* : TKwclass */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AAbstractClasskind___n_kwabstract].val; /* _n_kwabstract on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwabstract"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 631); 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__AAbstractClasskind___n_kwclass].val; /* _n_kwclass on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwclass"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 632); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AInterfaceClasskind#init_ainterfaceclasskind for (self: AInterfaceClasskind, nullable TKwinterface) */ +/* method parser_prod$AInterfaceClasskind$init_ainterfaceclasskind for (self: AInterfaceClasskind, nullable TKwinterface) */ void nitc__parser_prod___AInterfaceClasskind___init_ainterfaceclasskind(val* self, val* p0) { val* var_n_kwinterface /* var n_kwinterface: nullable TKwinterface */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_kwinterface = p0; if (unlikely(var_n_kwinterface == 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, 640); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AInterfaceClasskind___n_kwinterface].val = var_n_kwinterface; /* _n_kwinterface on */ if (var_n_kwinterface == 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, 641); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwinterface,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwinterface,self) on */ if (unlikely(var_n_kwinterface == 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_kwinterface->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -4160,7 +4502,7 @@ RET_LABEL2:(void)0; } RET_LABEL:; } -/* method parser_prod#AInterfaceClasskind#replace_child for (self: AInterfaceClasskind, ANode, nullable ANode) */ +/* method parser_prod$AInterfaceClasskind$replace_child for (self: AInterfaceClasskind, ANode, nullable ANode) */ void nitc__parser_prod___AInterfaceClasskind___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 */; @@ -4177,15 +4519,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AInterfaceClasskind___n_kwinterface].val; /* _n_kwinterface on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinterface"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 646); 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; @@ -4217,66 +4562,78 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 647); fatal_exit(1); } { -nitc__parser_prod___AInterfaceClasskind___n_kwinterface_61d(self, var_new_child); /* Direct call parser_prod#AInterfaceClasskind#n_kwinterface= on */ +nitc__parser_prod___AInterfaceClasskind___n_kwinterface_61d(self, var_new_child); /* Direct call parser_prod$AInterfaceClasskind$n_kwinterface= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AInterfaceClasskind#n_kwinterface= for (self: AInterfaceClasskind, TKwinterface) */ +/* method parser_prod$AInterfaceClasskind$n_kwinterface= for (self: AInterfaceClasskind, TKwinterface) */ void nitc__parser_prod___AInterfaceClasskind___n_kwinterface_61d(val* self, val* p0) { val* var_node /* var node: TKwinterface */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AInterfaceClasskind___n_kwinterface].val = var_node; /* _n_kwinterface on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AInterfaceClasskind#visit_all for (self: AInterfaceClasskind, Visitor) */ +/* method parser_prod$AInterfaceClasskind$visit_all for (self: AInterfaceClasskind, Visitor) */ void nitc__parser_prod___AInterfaceClasskind___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwinterface */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AInterfaceClasskind___n_kwinterface].val; /* _n_kwinterface on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwinterface"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 661); 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 */ } RET_LABEL:; } -/* method parser_prod#AEnumClasskind#init_aenumclasskind for (self: AEnumClasskind, nullable TKwenum) */ +/* method parser_prod$AEnumClasskind$init_aenumclasskind for (self: AEnumClasskind, nullable TKwenum) */ void nitc__parser_prod___AEnumClasskind___init_aenumclasskind(val* self, val* p0) { val* var_n_kwenum /* var n_kwenum: nullable TKwenum */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } var_n_kwenum = p0; if (unlikely(var_n_kwenum == 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, 669); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AEnumClasskind___n_kwenum].val = var_n_kwenum; /* _n_kwenum on */ if (var_n_kwenum == 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, 670); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwenum,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwenum,self) on */ if (unlikely(var_n_kwenum == 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_kwenum->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -4285,7 +4642,7 @@ RET_LABEL2:(void)0; } RET_LABEL:; } -/* method parser_prod#AEnumClasskind#replace_child for (self: AEnumClasskind, ANode, nullable ANode) */ +/* method parser_prod$AEnumClasskind$replace_child for (self: AEnumClasskind, ANode, nullable ANode) */ void nitc__parser_prod___AEnumClasskind___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 */; @@ -4302,15 +4659,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AEnumClasskind___n_kwenum].val; /* _n_kwenum on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwenum"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 675); 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; @@ -4342,43 +4702,46 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 676); fatal_exit(1); } { -nitc__parser_prod___AEnumClasskind___n_kwenum_61d(self, var_new_child); /* Direct call parser_prod#AEnumClasskind#n_kwenum= on */ +nitc__parser_prod___AEnumClasskind___n_kwenum_61d(self, var_new_child); /* Direct call parser_prod$AEnumClasskind$n_kwenum= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AEnumClasskind#n_kwenum= for (self: AEnumClasskind, TKwenum) */ +/* method parser_prod$AEnumClasskind$n_kwenum= for (self: AEnumClasskind, TKwenum) */ void nitc__parser_prod___AEnumClasskind___n_kwenum_61d(val* self, val* p0) { val* var_node /* var node: TKwenum */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AEnumClasskind___n_kwenum].val = var_node; /* _n_kwenum on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AEnumClasskind#visit_all for (self: AEnumClasskind, Visitor) */ +/* method parser_prod$AEnumClasskind$visit_all for (self: AEnumClasskind, Visitor) */ void nitc__parser_prod___AEnumClasskind___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwenum */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AEnumClasskind___n_kwenum].val; /* _n_kwenum on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwenum"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 690); 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 */ } RET_LABEL:; } -/* method parser_prod#AExternClasskind#init_aexternclasskind for (self: AExternClasskind, nullable TKwextern, nullable TKwclass) */ +/* method parser_prod$AExternClasskind$init_aexternclasskind for (self: AExternClasskind, nullable TKwextern, nullable TKwclass) */ void nitc__parser_prod___AExternClasskind___init_aexternclasskind(val* self, val* p0, val* p1) { val* var_n_kwextern /* var n_kwextern: nullable TKwextern */; val* var_n_kwclass /* var n_kwclass: nullable TKwclass */; @@ -4388,27 +4751,36 @@ 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_kwextern = p0; var_n_kwclass = p1; if (unlikely(var_n_kwextern == 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, 699); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AExternClasskind___n_kwextern].val = var_n_kwextern; /* _n_kwextern on */ if (var_n_kwextern == 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, 700); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwextern,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwextern,self) on */ if (unlikely(var_n_kwextern == 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_kwextern->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -4422,7 +4794,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwclass,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwclass,((val*)NULL)) on */ var_other = ((val*)NULL); { var5 = ((short int(*)(val* self, val* p0))(var_n_kwclass->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwclass, var_other); /* == on */ @@ -4436,7 +4808,7 @@ var = var3; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwclass,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwclass,self) on */ var_n_kwclass->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL7:(void)0; } @@ -4445,7 +4817,7 @@ RET_LABEL7:(void)0; } RET_LABEL:; } -/* method parser_prod#AExternClasskind#replace_child for (self: AExternClasskind, ANode, nullable ANode) */ +/* method parser_prod$AExternClasskind$replace_child for (self: AExternClasskind, ANode, nullable ANode) */ void nitc__parser_prod___AExternClasskind___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 */; @@ -4471,15 +4843,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AExternClasskind___n_kwextern].val; /* _n_kwextern on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwextern"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 707); 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; @@ -4511,7 +4886,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 708); fatal_exit(1); } { -nitc__parser_prod___AExternClasskind___n_kwextern_61d(self, var_new_child); /* Direct call parser_prod#AExternClasskind#n_kwextern= on */ +nitc__parser_prod___AExternClasskind___n_kwextern_61d(self, var_new_child); /* Direct call parser_prod$AExternClasskind$n_kwextern= on */ } goto RET_LABEL; } else { @@ -4520,10 +4895,10 @@ var7 = self->attrs[COLOR_nitc__parser_nodes__AExternClasskind___n_kwclass].val; if (var7 == NULL) { var8 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var13 = var7 == var_other; var11 = var13; goto RET_LABEL12; @@ -4556,27 +4931,27 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 712); fatal_exit(1); } { -nitc__parser_prod___AExternClasskind___n_kwclass_61d(self, var_new_child); /* Direct call parser_prod#AExternClasskind#n_kwclass= on */ +nitc__parser_prod___AExternClasskind___n_kwclass_61d(self, var_new_child); /* Direct call parser_prod$AExternClasskind$n_kwclass= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AExternClasskind#n_kwextern= for (self: AExternClasskind, TKwextern) */ +/* method parser_prod$AExternClasskind$n_kwextern= for (self: AExternClasskind, TKwextern) */ void nitc__parser_prod___AExternClasskind___n_kwextern_61d(val* self, val* p0) { val* var_node /* var node: TKwextern */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AExternClasskind___n_kwextern].val = var_node; /* _n_kwextern on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AExternClasskind#n_kwclass= for (self: AExternClasskind, nullable TKwclass) */ +/* method parser_prod$AExternClasskind$n_kwclass= for (self: AExternClasskind, nullable TKwclass) */ void nitc__parser_prod___AExternClasskind___n_kwclass_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwclass */; short int var /* : Bool */; @@ -4592,7 +4967,7 @@ var = 0; /* is null */ 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 */ @@ -4606,7 +4981,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; } @@ -4615,7 +4990,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AExternClasskind#visit_all for (self: AExternClasskind, Visitor) */ +/* method parser_prod$AExternClasskind$visit_all for (self: AExternClasskind, Visitor) */ void nitc__parser_prod___AExternClasskind___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TKwextern */; @@ -4623,20 +4998,23 @@ val* var1 /* : nullable TKwclass */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AExternClasskind___n_kwextern].val; /* _n_kwextern on */ if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwextern"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 731); 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__AExternClasskind___n_kwclass].val; /* _n_kwclass 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#AFormaldef#init_aformaldef for (self: AFormaldef, nullable TClassid, nullable AType, nullable AAnnotations) */ +/* method parser_prod$AFormaldef$init_aformaldef for (self: AFormaldef, nullable TClassid, nullable AType, nullable AAnnotations) */ void nitc__parser_prod___AFormaldef___init_aformaldef(val* self, val* p0, val* p1, val* p2) { val* var_n_id /* var n_id: nullable TClassid */; val* var_n_type /* var n_type: nullable AType */; @@ -4651,7 +5029,7 @@ short int var9 /* : Bool */; short int var11 /* : Bool */; short int var12 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -4659,20 +5037,29 @@ var_n_id = p0; var_n_type = p1; var_n_annotations = 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, 742); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AFormaldef___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, 743); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id,self) on */ +{ /* 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_id->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -4686,7 +5073,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_type,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_type,((val*)NULL)) on */ var_other = ((val*)NULL); { var5 = ((short int(*)(val* self, val* p0))(var_n_type->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_type, var_other); /* == on */ @@ -4700,7 +5087,7 @@ var = var3; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_type,self) on */ +{ /* 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_LABEL7:(void)0; } @@ -4714,7 +5101,7 @@ var8 = 0; /* is null */ var8 = 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); { var11 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ @@ -4728,7 +5115,7 @@ var8 = var9; } if (var8){ { -{ /* 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_LABEL13:(void)0; } @@ -4737,7 +5124,7 @@ RET_LABEL13:(void)0; } RET_LABEL:; } -/* method parser_prod#AFormaldef#replace_child for (self: AFormaldef, ANode, nullable ANode) */ +/* method parser_prod$AFormaldef$replace_child for (self: AFormaldef, ANode, nullable ANode) */ void nitc__parser_prod___AFormaldef___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 */; @@ -4772,15 +5159,18 @@ var_old_child = p0; var_new_child = p1; var = self->attrs[COLOR_nitc__parser_nodes__AFormaldef___n_id].val; /* _n_id on */ if (unlikely(var == NULL)) { +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, 752); 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; @@ -4812,7 +5202,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 753); fatal_exit(1); } { -nitc__parser_prod___AFormaldef___n_id_61d(self, var_new_child); /* Direct call parser_prod#AFormaldef#n_id= on */ +nitc__parser_prod___AFormaldef___n_id_61d(self, var_new_child); /* Direct call parser_prod$AFormaldef$n_id= on */ } goto RET_LABEL; } else { @@ -4821,10 +5211,10 @@ var7 = self->attrs[COLOR_nitc__parser_nodes__AFormaldef___n_type].val; /* _n_typ if (var7 == NULL) { var8 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var7,var_old_child) on */ +{ /* Inline kernel$Object$== (var7,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var7,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var7,var_other) on */ var13 = var7 == var_other; var11 = var13; goto RET_LABEL12; @@ -4857,7 +5247,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 757); fatal_exit(1); } { -nitc__parser_prod___AFormaldef___n_type_61d(self, var_new_child); /* Direct call parser_prod#AFormaldef#n_type= on */ +nitc__parser_prod___AFormaldef___n_type_61d(self, var_new_child); /* Direct call parser_prod$AFormaldef$n_type= on */ } goto RET_LABEL; } else { @@ -4866,10 +5256,10 @@ var18 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_a if (var18 == NULL) { var19 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var18,var_old_child) on */ +{ /* Inline kernel$Object$== (var18,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var18,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var18,var_other) on */ var24 = var18 == var_other; var22 = var24; goto RET_LABEL23; @@ -4902,27 +5292,27 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 761); fatal_exit(1); } { -nitc__parser_prod___AFormaldef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AFormaldef#n_annotations= on */ +nitc__parser_prod___AFormaldef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AFormaldef$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AFormaldef#n_id= for (self: AFormaldef, TClassid) */ +/* method parser_prod$AFormaldef$n_id= for (self: AFormaldef, TClassid) */ void nitc__parser_prod___AFormaldef___n_id_61d(val* self, val* p0) { val* var_node /* var node: TClassid */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AFormaldef___n_id].val = var_node; /* _n_id on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AFormaldef#n_type= for (self: AFormaldef, nullable AType) */ +/* method parser_prod$AFormaldef$n_type= for (self: AFormaldef, nullable AType) */ void nitc__parser_prod___AFormaldef___n_type_61d(val* self, val* p0) { val* var_node /* var node: nullable AType */; short int var /* : Bool */; @@ -4938,7 +5328,7 @@ var = 0; /* is null */ 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 */ @@ -4952,7 +5342,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; } @@ -4961,7 +5351,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AFormaldef#n_annotations= for (self: AFormaldef, nullable AAnnotations) */ +/* method parser_prod$AFormaldef$n_annotations= for (self: AFormaldef, nullable AAnnotations) */ void nitc__parser_prod___AFormaldef___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { val* var_node /* var node: nullable AAnnotations */; short int var /* : Bool */; @@ -4977,7 +5367,7 @@ var = 0; /* is null */ 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 */ @@ -4991,7 +5381,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; } @@ -5000,7 +5390,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AFormaldef#visit_all for (self: AFormaldef, Visitor) */ +/* method parser_prod$AFormaldef$visit_all for (self: AFormaldef, Visitor) */ void nitc__parser_prod___AFormaldef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : TClassid */; @@ -5009,24 +5399,27 @@ val* var2 /* : nullable AAnnotations */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__AFormaldef___n_id].val; /* _n_id on */ if (unlikely(var == NULL)) { +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, 785); 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__AFormaldef___n_type].val; /* _n_type 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__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, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#init_aattrpropdef for (self: AAttrPropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwvar, nullable TId, nullable AType, nullable TAssign, nullable AExpr, nullable AAnnotations, nullable TKwdo, nullable AExpr, nullable TKwend) */ +/* method parser_prod$AAttrPropdef$init_aattrpropdef for (self: AAttrPropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwvar, nullable TId, nullable AType, nullable TAssign, nullable AExpr, nullable AAnnotations, nullable TKwdo, nullable AExpr, nullable TKwend) */ void nitc__parser_prod___AAttrPropdef___init_aattrpropdef(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5, val* p6, val* p7, val* p8, val* p9, val* p10, val* p11) { val* var_n_doc /* var n_doc: nullable ADoc */; val* var_n_kwredef /* var n_kwredef: nullable TKwredef */; @@ -5078,7 +5471,7 @@ short int var53 /* : Bool */; short int var55 /* : Bool */; short int var56 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -5101,7 +5494,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_doc,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_doc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_doc, var_other); /* == on */ @@ -5115,7 +5508,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_doc,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on */ var_n_doc->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -5129,7 +5522,7 @@ var7 = 0; /* is null */ var7 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwredef,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on */ var_other = ((val*)NULL); { var10 = ((short int(*)(val* self, val* p0))(var_n_kwredef->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwredef, var_other); /* == on */ @@ -5143,7 +5536,7 @@ var7 = var8; } if (var7){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwredef,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on */ var_n_kwredef->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL12:(void)0; } @@ -5151,20 +5544,29 @@ RET_LABEL12:(void)0; } else { } if (unlikely(var_n_visibility == 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, 810); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_n_visibility; /* _n_visibility on */ if (var_n_visibility == 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, 811); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on */ if (unlikely(var_n_visibility == 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_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -5172,20 +5574,29 @@ RET_LABEL13:(void)0; } } if (unlikely(var_n_kwvar == 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, 812); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwvar].val = var_n_kwvar; /* _n_kwvar on */ if (var_n_kwvar == 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, 813); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwvar,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwvar,self) on */ if (unlikely(var_n_kwvar == 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_kwvar->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -5193,20 +5604,29 @@ RET_LABEL14:(void)0; } } if (unlikely(var_n_id2 == 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, 814); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_id2].val = var_n_id2; /* _n_id2 on */ if (var_n_id2 == 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, 815); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_id2,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_id2,self) on */ if (unlikely(var_n_id2 == 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_id2->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -5220,7 +5640,7 @@ var16 = 0; /* is null */ var16 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_type,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_type,((val*)NULL)) on */ var_other = ((val*)NULL); { var19 = ((short int(*)(val* self, val* p0))(var_n_type->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_type, var_other); /* == on */ @@ -5234,7 +5654,7 @@ var16 = var17; } if (var16){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_type,self) on */ +{ /* 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_LABEL21:(void)0; } @@ -5248,7 +5668,7 @@ var22 = 0; /* is null */ var22 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_assign,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_assign,((val*)NULL)) on */ var_other = ((val*)NULL); { var25 = ((short int(*)(val* self, val* p0))(var_n_assign->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_assign, var_other); /* == on */ @@ -5262,7 +5682,7 @@ var22 = var23; } if (var22){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_assign,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_assign,self) on */ var_n_assign->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL27:(void)0; } @@ -5276,7 +5696,7 @@ var28 = 0; /* is null */ var28 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_expr,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_expr,((val*)NULL)) on */ var_other = ((val*)NULL); { var31 = ((short int(*)(val* self, val* p0))(var_n_expr->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_expr, var_other); /* == on */ @@ -5290,7 +5710,7 @@ var28 = var29; } if (var28){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_expr,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_expr,self) on */ var_n_expr->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL33:(void)0; } @@ -5304,7 +5724,7 @@ var34 = 0; /* is null */ var34 = 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); { var37 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ @@ -5318,7 +5738,7 @@ var34 = var35; } if (var34){ { -{ /* 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_LABEL39:(void)0; } @@ -5332,7 +5752,7 @@ var40 = 0; /* is null */ var40 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwdo,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwdo,((val*)NULL)) on */ var_other = ((val*)NULL); { var43 = ((short int(*)(val* self, val* p0))(var_n_kwdo->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwdo, var_other); /* == on */ @@ -5346,7 +5766,7 @@ var40 = var41; } if (var40){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwdo,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwdo,self) on */ var_n_kwdo->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL45:(void)0; } @@ -5360,7 +5780,7 @@ var46 = 0; /* is null */ var46 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_block,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_block,((val*)NULL)) on */ var_other = ((val*)NULL); { var49 = ((short int(*)(val* self, val* p0))(var_n_block->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_block, var_other); /* == on */ @@ -5374,7 +5794,7 @@ var46 = var47; } if (var46){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_block,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_block,self) on */ var_n_block->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL51:(void)0; } @@ -5388,7 +5808,7 @@ var52 = 0; /* is null */ var52 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwend,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwend,((val*)NULL)) on */ var_other = ((val*)NULL); { var55 = ((short int(*)(val* self, val* p0))(var_n_kwend->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwend, var_other); /* == on */ @@ -5402,7 +5822,7 @@ var52 = var53; } if (var52){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwend,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwend,self) on */ var_n_kwend->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL57:(void)0; } @@ -5411,7 +5831,7 @@ RET_LABEL57:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#replace_child for (self: AAttrPropdef, ANode, nullable ANode) */ +/* method parser_prod$AAttrPropdef$replace_child for (self: AAttrPropdef, ANode, nullable ANode) */ void nitc__parser_prod___AAttrPropdef___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 */; @@ -5528,10 +5948,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -5564,7 +5984,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 835); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_doc= on */ +nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_doc= on */ } goto RET_LABEL; } else { @@ -5573,10 +5993,10 @@ var8 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n if (var8 == NULL) { var9 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ +{ /* Inline kernel$Object$== (var8,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ var14 = var8 == var_other; var12 = var14; goto RET_LABEL13; @@ -5609,7 +6029,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 839); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_kwredef= on */ +nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_kwredef= on */ } goto RET_LABEL; } else { @@ -5618,10 +6038,10 @@ var19 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; / if (var19 == NULL) { var20 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var19,var_old_child) on */ +{ /* Inline kernel$Object$== (var19,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var19,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var19,var_other) on */ var25 = var19 == var_other; var23 = var25; goto RET_LABEL24; @@ -5654,22 +6074,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 843); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_visibility= on */ +nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_visibility= on */ } goto RET_LABEL; } else { } var30 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwvar].val; /* _n_kwvar on */ if (unlikely(var30 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwvar"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 846); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var30,var_old_child) on */ +{ /* Inline kernel$Object$== (var30,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var30,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var30,var_other) on */ var35 = var30 == var_other; var33 = var35; goto RET_LABEL34; @@ -5701,22 +6124,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 847); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_kwvar_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_kwvar= on */ +nitc__parser_prod___AAttrPropdef___n_kwvar_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_kwvar= on */ } goto RET_LABEL; } else { } var40 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_id2].val; /* _n_id2 on */ if (unlikely(var40 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id2"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 850); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var40,var_old_child) on */ +{ /* Inline kernel$Object$== (var40,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var40,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var40,var_other) on */ var45 = var40 == var_other; var43 = var45; goto RET_LABEL44; @@ -5748,7 +6174,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 851); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_id2_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_id2= on */ +nitc__parser_prod___AAttrPropdef___n_id2_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_id2= on */ } goto RET_LABEL; } else { @@ -5757,10 +6183,10 @@ var50 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_type].val; /* _n_ if (var50 == NULL) { var51 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var50,var_old_child) on */ +{ /* Inline kernel$Object$== (var50,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var50,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var50,var_other) on */ var56 = var50 == var_other; var54 = var56; goto RET_LABEL55; @@ -5793,7 +6219,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 855); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_type_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_type= on */ +nitc__parser_prod___AAttrPropdef___n_type_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_type= on */ } goto RET_LABEL; } else { @@ -5802,10 +6228,10 @@ var61 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_assign].val; /* _ if (var61 == NULL) { var62 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var61,var_old_child) on */ +{ /* Inline kernel$Object$== (var61,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var61,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var61,var_other) on */ var67 = var61 == var_other; var65 = var67; goto RET_LABEL66; @@ -5838,7 +6264,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 859); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_assign_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_assign= on */ +nitc__parser_prod___AAttrPropdef___n_assign_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_assign= on */ } goto RET_LABEL; } else { @@ -5847,10 +6273,10 @@ var72 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_expr].val; /* _n_ if (var72 == NULL) { var73 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var72,var_old_child) on */ +{ /* Inline kernel$Object$== (var72,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var72,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var72,var_other) on */ var78 = var72 == var_other; var76 = var78; goto RET_LABEL77; @@ -5883,7 +6309,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 863); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_expr_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_expr= on */ +nitc__parser_prod___AAttrPropdef___n_expr_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_expr= on */ } goto RET_LABEL; } else { @@ -5892,10 +6318,10 @@ var83 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_a if (var83 == NULL) { var84 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var83,var_old_child) on */ +{ /* Inline kernel$Object$== (var83,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var83,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var83,var_other) on */ var89 = var83 == var_other; var87 = var89; goto RET_LABEL88; @@ -5928,7 +6354,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 867); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_annotations= on */ +nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_annotations= on */ } goto RET_LABEL; } else { @@ -5937,10 +6363,10 @@ var94 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwdo].val; /* _n_ if (var94 == NULL) { var95 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var94,var_old_child) on */ +{ /* Inline kernel$Object$== (var94,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var94,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var94,var_other) on */ var100 = var94 == var_other; var98 = var100; goto RET_LABEL99; @@ -5973,7 +6399,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 871); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_kwdo_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_kwdo= on */ +nitc__parser_prod___AAttrPropdef___n_kwdo_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_kwdo= on */ } goto RET_LABEL; } else { @@ -5982,10 +6408,10 @@ var105 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_block].val; /* _ if (var105 == NULL) { var106 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var105,var_old_child) on */ +{ /* Inline kernel$Object$== (var105,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var105,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var105,var_other) on */ var111 = var105 == var_other; var109 = var111; goto RET_LABEL110; @@ -6018,7 +6444,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 875); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_block_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_block= on */ +nitc__parser_prod___AAttrPropdef___n_block_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_block= on */ } goto RET_LABEL; } else { @@ -6027,10 +6453,10 @@ var116 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwend].val; /* _ if (var116 == NULL) { var117 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var116,var_old_child) on */ +{ /* Inline kernel$Object$== (var116,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var116,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var116,var_other) on */ var122 = var116 == var_other; var120 = var122; goto RET_LABEL121; @@ -6063,14 +6489,14 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 879); fatal_exit(1); } { -nitc__parser_prod___AAttrPropdef___n_kwend_61d(self, var_new_child); /* Direct call parser_prod#AAttrPropdef#n_kwend= on */ +nitc__parser_prod___AAttrPropdef___n_kwend_61d(self, var_new_child); /* Direct call parser_prod$AAttrPropdef$n_kwend= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_doc= for (self: AAttrPropdef, nullable ADoc) */ +/* method parser_prod$AAttrPropdef$n_doc= for (self: AAttrPropdef, nullable ADoc) */ void nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(val* self, val* p0) { val* var_node /* var node: nullable ADoc */; short int var /* : Bool */; @@ -6086,7 +6512,7 @@ var = 0; /* is null */ 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 */ @@ -6100,7 +6526,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; } @@ -6109,7 +6535,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_kwredef= for (self: AAttrPropdef, nullable TKwredef) */ +/* method parser_prod$AAttrPropdef$n_kwredef= for (self: AAttrPropdef, nullable TKwredef) */ void nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwredef */; short int var /* : Bool */; @@ -6125,7 +6551,7 @@ var = 0; /* is null */ 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 */ @@ -6139,7 +6565,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; } @@ -6148,20 +6574,26 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_visibility= for (self: AAttrPropdef, nullable AVisibility) */ +/* method parser_prod$AAttrPropdef$n_visibility= for (self: AAttrPropdef, nullable AVisibility) */ void nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(val* self, val* p0) { val* var_node /* var node: nullable AVisibility */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_node; /* _n_visibility 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, 897); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* 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, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -6170,33 +6602,33 @@ RET_LABEL1:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_kwvar= for (self: AAttrPropdef, TKwvar) */ +/* method parser_prod$AAttrPropdef$n_kwvar= for (self: AAttrPropdef, TKwvar) */ void nitc__parser_prod___AAttrPropdef___n_kwvar_61d(val* self, val* p0) { val* var_node /* var node: TKwvar */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwvar].val = var_node; /* _n_kwvar on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_id2= for (self: AAttrPropdef, TId) */ +/* method parser_prod$AAttrPropdef$n_id2= for (self: AAttrPropdef, TId) */ void nitc__parser_prod___AAttrPropdef___n_id2_61d(val* self, val* p0) { val* var_node /* var node: TId */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_id2].val = var_node; /* _n_id2 on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_type= for (self: AAttrPropdef, nullable AType) */ +/* method parser_prod$AAttrPropdef$n_type= for (self: AAttrPropdef, nullable AType) */ void nitc__parser_prod___AAttrPropdef___n_type_61d(val* self, val* p0) { val* var_node /* var node: nullable AType */; short int var /* : Bool */; @@ -6212,7 +6644,7 @@ var = 0; /* is null */ 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 */ @@ -6226,7 +6658,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; } @@ -6235,7 +6667,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_assign= for (self: AAttrPropdef, nullable TAssign) */ +/* method parser_prod$AAttrPropdef$n_assign= for (self: AAttrPropdef, nullable TAssign) */ void nitc__parser_prod___AAttrPropdef___n_assign_61d(val* self, val* p0) { val* var_node /* var node: nullable TAssign */; short int var /* : Bool */; @@ -6251,7 +6683,7 @@ var = 0; /* is null */ 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 */ @@ -6265,7 +6697,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; } @@ -6274,7 +6706,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_expr= for (self: AAttrPropdef, nullable AExpr) */ +/* method parser_prod$AAttrPropdef$n_expr= for (self: AAttrPropdef, nullable AExpr) */ void nitc__parser_prod___AAttrPropdef___n_expr_61d(val* self, val* p0) { val* var_node /* var node: nullable AExpr */; short int var /* : Bool */; @@ -6290,7 +6722,7 @@ var = 0; /* is null */ 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 */ @@ -6304,7 +6736,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; } @@ -6313,7 +6745,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_annotations= for (self: AAttrPropdef, nullable AAnnotations) */ +/* method parser_prod$AAttrPropdef$n_annotations= for (self: AAttrPropdef, nullable AAnnotations) */ void nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { val* var_node /* var node: nullable AAnnotations */; short int var /* : Bool */; @@ -6329,7 +6761,7 @@ var = 0; /* is null */ 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 */ @@ -6343,7 +6775,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; } @@ -6352,7 +6784,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_kwdo= for (self: AAttrPropdef, nullable TKwdo) */ +/* method parser_prod$AAttrPropdef$n_kwdo= for (self: AAttrPropdef, nullable TKwdo) */ void nitc__parser_prod___AAttrPropdef___n_kwdo_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwdo */; short int var /* : Bool */; @@ -6368,7 +6800,7 @@ var = 0; /* is null */ 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 */ @@ -6382,7 +6814,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; } @@ -6391,7 +6823,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_block= for (self: AAttrPropdef, nullable AExpr) */ +/* method parser_prod$AAttrPropdef$n_block= for (self: AAttrPropdef, nullable AExpr) */ void nitc__parser_prod___AAttrPropdef___n_block_61d(val* self, val* p0) { val* var_node /* var node: nullable AExpr */; short int var /* : Bool */; @@ -6407,7 +6839,7 @@ var = 0; /* is null */ 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 */ @@ -6421,7 +6853,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; } @@ -6430,7 +6862,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#n_kwend= for (self: AAttrPropdef, nullable TKwend) */ +/* method parser_prod$AAttrPropdef$n_kwend= for (self: AAttrPropdef, nullable TKwend) */ void nitc__parser_prod___AAttrPropdef___n_kwend_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwend */; short int var /* : Bool */; @@ -6446,7 +6878,7 @@ var = 0; /* is null */ 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 */ @@ -6460,7 +6892,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; } @@ -6469,7 +6901,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AAttrPropdef#visit_all for (self: AAttrPropdef, Visitor) */ +/* method parser_prod$AAttrPropdef$visit_all for (self: AAttrPropdef, Visitor) */ void nitc__parser_prod___AAttrPropdef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : nullable ADoc */; @@ -6487,65 +6919,71 @@ val* var11 /* : nullable TKwend */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ { -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__ADefinition___n_kwredef].val; /* _n_kwredef 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__ADefinition___n_visibility].val; /* _n_visibility on */ { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } var3 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwvar].val; /* _n_kwvar on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwvar"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 951); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } var4 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_id2].val; /* _n_id2 on */ if (unlikely(var4 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id2"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 952); 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__AAttrPropdef___n_type].val; /* _n_type on */ { -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes$Visitor$enter_visit on */ } var6 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_assign].val; /* _n_assign on */ { -nitc___nitc__Visitor___enter_visit(var_v, var6); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var6); /* Direct call parser_nodes$Visitor$enter_visit on */ } var7 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_expr].val; /* _n_expr on */ { -nitc___nitc__Visitor___enter_visit(var_v, var7); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var7); /* Direct call parser_nodes$Visitor$enter_visit on */ } var8 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ { -nitc___nitc__Visitor___enter_visit(var_v, var8); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var8); /* Direct call parser_nodes$Visitor$enter_visit on */ } var9 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwdo].val; /* _n_kwdo on */ { -nitc___nitc__Visitor___enter_visit(var_v, var9); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var9); /* Direct call parser_nodes$Visitor$enter_visit on */ } var10 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_block].val; /* _n_block on */ { -nitc___nitc__Visitor___enter_visit(var_v, var10); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var10); /* Direct call parser_nodes$Visitor$enter_visit on */ } var11 = self->attrs[COLOR_nitc__parser_nodes__AAttrPropdef___n_kwend].val; /* _n_kwend on */ { -nitc___nitc__Visitor___enter_visit(var_v, var11); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var11); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AMainMethPropdef#init_amainmethpropdef for (self: AMainMethPropdef, nullable TKwredef, nullable AExpr) */ +/* method parser_prod$AMainMethPropdef$init_amainmethpropdef for (self: AMainMethPropdef, nullable TKwredef, nullable AExpr) */ void nitc__parser_prod___AMainMethPropdef___init_amainmethpropdef(val* self, val* p0, val* p1) { val* var_n_kwredef /* var n_kwredef: nullable TKwredef */; val* var_n_block /* var n_block: nullable AExpr */; @@ -6559,7 +6997,7 @@ short int var8 /* : Bool */; short int var10 /* : Bool */; short int var11 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -6572,7 +7010,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwredef,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_kwredef->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwredef, var_other); /* == on */ @@ -6586,7 +7024,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwredef,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on */ var_n_kwredef->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -6600,7 +7038,7 @@ var7 = 0; /* is null */ var7 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_block,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_block,((val*)NULL)) on */ var_other = ((val*)NULL); { var10 = ((short int(*)(val* self, val* p0))(var_n_block->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_block, var_other); /* == on */ @@ -6614,7 +7052,7 @@ var7 = var8; } if (var7){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_block,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_block,self) on */ var_n_block->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL12:(void)0; } @@ -6623,7 +7061,7 @@ RET_LABEL12:(void)0; } RET_LABEL:; } -/* method parser_prod#AMainMethPropdef#replace_child for (self: AMainMethPropdef, ANode, nullable ANode) */ +/* method parser_prod$AMainMethPropdef$replace_child for (self: AMainMethPropdef, ANode, nullable ANode) */ void nitc__parser_prod___AMainMethPropdef___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 */; @@ -6652,10 +7090,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n_ if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -6688,7 +7126,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 977); fatal_exit(1); } { -nitc__parser_prod___AMainMethPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod#AMainMethPropdef#n_kwredef= on */ +nitc__parser_prod___AMainMethPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod$AMainMethPropdef$n_kwredef= on */ } goto RET_LABEL; } else { @@ -6697,10 +7135,10 @@ var8 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_block].val; /* _n_ if (var8 == NULL) { var9 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ +{ /* Inline kernel$Object$== (var8,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ var14 = var8 == var_other; var12 = var14; goto RET_LABEL13; @@ -6733,14 +7171,14 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 981); fatal_exit(1); } { -nitc__parser_prod___AMainMethPropdef___nitc__parser_nodes__AMethPropdef__n_block_61d(self, var_new_child); /* Direct call parser_prod#AMainMethPropdef#n_block= on */ +nitc__parser_prod___AMainMethPropdef___nitc__parser_nodes__AMethPropdef__n_block_61d(self, var_new_child); /* Direct call parser_prod$AMainMethPropdef$n_block= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AMainMethPropdef#n_kwredef= for (self: AMainMethPropdef, nullable TKwredef) */ +/* method parser_prod$AMainMethPropdef$n_kwredef= for (self: AMainMethPropdef, nullable TKwredef) */ void nitc__parser_prod___AMainMethPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwredef */; short int var /* : Bool */; @@ -6756,7 +7194,7 @@ var = 0; /* is null */ 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 */ @@ -6770,7 +7208,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; } @@ -6779,7 +7217,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMainMethPropdef#n_block= for (self: AMainMethPropdef, nullable AExpr) */ +/* method parser_prod$AMainMethPropdef$n_block= for (self: AMainMethPropdef, nullable AExpr) */ void nitc__parser_prod___AMainMethPropdef___nitc__parser_nodes__AMethPropdef__n_block_61d(val* self, val* p0) { val* var_node /* var node: nullable AExpr */; short int var /* : Bool */; @@ -6795,7 +7233,7 @@ var = 0; /* is null */ 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 */ @@ -6809,7 +7247,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; } @@ -6818,7 +7256,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMainMethPropdef#visit_all for (self: AMainMethPropdef, Visitor) */ +/* method parser_prod$AMainMethPropdef$visit_all for (self: AMainMethPropdef, Visitor) */ void nitc__parser_prod___AMainMethPropdef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : nullable TKwredef */; @@ -6826,15 +7264,15 @@ val* var1 /* : nullable AExpr */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n_kwredef on */ { -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__AMethPropdef___n_block].val; /* _n_block 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#ATypePropdef#init_atypepropdef for (self: ATypePropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwtype, nullable AQclassid, nullable AType, nullable AAnnotations) */ +/* method parser_prod$ATypePropdef$init_atypepropdef for (self: ATypePropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwtype, nullable AQclassid, nullable AType, nullable AAnnotations) */ void nitc__parser_prod___ATypePropdef___init_atypepropdef(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5, val* p6) { val* var_n_doc /* var n_doc: nullable ADoc */; val* var_n_kwredef /* var n_kwredef: nullable TKwredef */; @@ -6857,7 +7295,7 @@ short int var18 /* : Bool */; short int var20 /* : Bool */; short int var21 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -6875,7 +7313,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_doc,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_doc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_doc, var_other); /* == on */ @@ -6889,7 +7327,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_doc,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on */ var_n_doc->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -6903,7 +7341,7 @@ var7 = 0; /* is null */ var7 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwredef,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on */ var_other = ((val*)NULL); { var10 = ((short int(*)(val* self, val* p0))(var_n_kwredef->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwredef, var_other); /* == on */ @@ -6917,7 +7355,7 @@ var7 = var8; } if (var7){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwredef,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on */ var_n_kwredef->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL12:(void)0; } @@ -6925,20 +7363,29 @@ RET_LABEL12:(void)0; } else { } if (unlikely(var_n_visibility == 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, 1019); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_n_visibility; /* _n_visibility on */ if (var_n_visibility == 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, 1020); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on */ if (unlikely(var_n_visibility == 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_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -6946,20 +7393,29 @@ RET_LABEL13:(void)0; } } 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, 1021); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___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, 1022); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwtype,self) on */ +{ /* 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); +} 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_kwtype->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -6967,20 +7423,29 @@ RET_LABEL14:(void)0; } } if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1023); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_qid].val = var_n_qid; /* _n_qid on */ if (var_n_qid == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1024); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_qid,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_qid,self) on */ if (unlikely(var_n_qid == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_n_qid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -6988,20 +7453,29 @@ RET_LABEL15:(void)0; } } if (unlikely(var_n_type == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1025); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___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, 1026); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_type,self) on */ +{ /* 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_type->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -7015,7 +7489,7 @@ var17 = 0; /* is null */ var17 = 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); { var20 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ @@ -7029,7 +7503,7 @@ var17 = var18; } if (var17){ { -{ /* 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_LABEL22:(void)0; } @@ -7038,7 +7512,7 @@ RET_LABEL22:(void)0; } RET_LABEL:; } -/* method parser_prod#ATypePropdef#replace_child for (self: ATypePropdef, ANode, nullable ANode) */ +/* method parser_prod$ATypePropdef$replace_child for (self: ATypePropdef, ANode, nullable ANode) */ void nitc__parser_prod___ATypePropdef___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 */; @@ -7109,10 +7583,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -7145,7 +7619,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1034); fatal_exit(1); } { -nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod#ATypePropdef#n_doc= on */ +nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod$ATypePropdef$n_doc= on */ } goto RET_LABEL; } else { @@ -7154,10 +7628,10 @@ var8 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n if (var8 == NULL) { var9 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ +{ /* Inline kernel$Object$== (var8,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ var14 = var8 == var_other; var12 = var14; goto RET_LABEL13; @@ -7190,7 +7664,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1038); fatal_exit(1); } { -nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod#ATypePropdef#n_kwredef= on */ +nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod$ATypePropdef$n_kwredef= on */ } goto RET_LABEL; } else { @@ -7199,10 +7673,10 @@ var19 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; / if (var19 == NULL) { var20 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var19,var_old_child) on */ +{ /* Inline kernel$Object$== (var19,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var19,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var19,var_other) on */ var25 = var19 == var_other; var23 = var25; goto RET_LABEL24; @@ -7235,22 +7709,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1042); fatal_exit(1); } { -nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#ATypePropdef#n_visibility= on */ +nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod$ATypePropdef$n_visibility= on */ } goto RET_LABEL; } else { } var30 = self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_kwtype].val; /* _n_kwtype on */ if (unlikely(var30 == 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, 1045); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var30,var_old_child) on */ +{ /* Inline kernel$Object$== (var30,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var30,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var30,var_other) on */ var35 = var30 == var_other; var33 = var35; goto RET_LABEL34; @@ -7282,22 +7759,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1046); fatal_exit(1); } { -nitc__parser_prod___ATypePropdef___n_kwtype_61d(self, var_new_child); /* Direct call parser_prod#ATypePropdef#n_kwtype= on */ +nitc__parser_prod___ATypePropdef___n_kwtype_61d(self, var_new_child); /* Direct call parser_prod$ATypePropdef$n_kwtype= on */ } goto RET_LABEL; } else { } var40 = self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_qid].val; /* _n_qid on */ if (unlikely(var40 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1049); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var40,var_old_child) on */ +{ /* Inline kernel$Object$== (var40,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var40,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var40,var_other) on */ var45 = var40 == var_other; var43 = var45; goto RET_LABEL44; @@ -7329,22 +7809,25 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1050); fatal_exit(1); } { -nitc__parser_prod___ATypePropdef___n_qid_61d(self, var_new_child); /* Direct call parser_prod#ATypePropdef#n_qid= on */ +nitc__parser_prod___ATypePropdef___n_qid_61d(self, var_new_child); /* Direct call parser_prod$ATypePropdef$n_qid= on */ } goto RET_LABEL; } else { } var50 = self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_type].val; /* _n_type on */ if (unlikely(var50 == 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, 1053); fatal_exit(1); } { -{ /* Inline kernel#Object#== (var50,var_old_child) on */ +{ /* Inline kernel$Object$== (var50,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var50,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var50,var_other) on */ var55 = var50 == var_other; var53 = var55; goto RET_LABEL54; @@ -7376,7 +7859,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1054); fatal_exit(1); } { -nitc__parser_prod___ATypePropdef___n_type_61d(self, var_new_child); /* Direct call parser_prod#ATypePropdef#n_type= on */ +nitc__parser_prod___ATypePropdef___n_type_61d(self, var_new_child); /* Direct call parser_prod$ATypePropdef$n_type= on */ } goto RET_LABEL; } else { @@ -7385,10 +7868,10 @@ var60 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_a if (var60 == NULL) { var61 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var60,var_old_child) on */ +{ /* Inline kernel$Object$== (var60,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var60,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var60,var_other) on */ var66 = var60 == var_other; var64 = var66; goto RET_LABEL65; @@ -7421,14 +7904,14 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1058); fatal_exit(1); } { -nitc__parser_prod___ATypePropdef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ATypePropdef#n_annotations= on */ +nitc__parser_prod___ATypePropdef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$ATypePropdef$n_annotations= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#ATypePropdef#n_doc= for (self: ATypePropdef, nullable ADoc) */ +/* method parser_prod$ATypePropdef$n_doc= for (self: ATypePropdef, nullable ADoc) */ void nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_doc_61d(val* self, val* p0) { val* var_node /* var node: nullable ADoc */; short int var /* : Bool */; @@ -7444,7 +7927,7 @@ var = 0; /* is null */ 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 */ @@ -7458,7 +7941,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; } @@ -7467,7 +7950,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#ATypePropdef#n_kwredef= for (self: ATypePropdef, nullable TKwredef) */ +/* method parser_prod$ATypePropdef$n_kwredef= for (self: ATypePropdef, nullable TKwredef) */ void nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwredef */; short int var /* : Bool */; @@ -7483,7 +7966,7 @@ var = 0; /* is null */ 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 */ @@ -7497,7 +7980,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; } @@ -7506,20 +7989,26 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#ATypePropdef#n_visibility= for (self: ATypePropdef, nullable AVisibility) */ +/* method parser_prod$ATypePropdef$n_visibility= for (self: ATypePropdef, nullable AVisibility) */ void nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(val* self, val* p0) { val* var_node /* var node: nullable AVisibility */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_node; /* _n_visibility 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, 1076); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* 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, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -7528,46 +8017,46 @@ RET_LABEL1:(void)0; } RET_LABEL:; } -/* method parser_prod#ATypePropdef#n_kwtype= for (self: ATypePropdef, TKwtype) */ +/* method parser_prod$ATypePropdef$n_kwtype= for (self: ATypePropdef, TKwtype) */ void nitc__parser_prod___ATypePropdef___n_kwtype_61d(val* self, val* p0) { val* var_node /* var node: TKwtype */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_kwtype].val = var_node; /* _n_kwtype on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ATypePropdef#n_qid= for (self: ATypePropdef, AQclassid) */ +/* method parser_prod$ATypePropdef$n_qid= for (self: ATypePropdef, AQclassid) */ void nitc__parser_prod___ATypePropdef___n_qid_61d(val* self, val* p0) { val* var_node /* var node: AQclassid */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_qid].val = var_node; /* _n_qid on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ATypePropdef#n_type= for (self: ATypePropdef, AType) */ +/* method parser_prod$ATypePropdef$n_type= for (self: ATypePropdef, AType) */ void nitc__parser_prod___ATypePropdef___n_type_61d(val* self, val* p0) { val* var_node /* var node: AType */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_type].val = var_node; /* _n_type on */ { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_node,self) on */ var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method parser_prod#ATypePropdef#n_annotations= for (self: ATypePropdef, nullable AAnnotations) */ +/* method parser_prod$ATypePropdef$n_annotations= for (self: ATypePropdef, nullable AAnnotations) */ void nitc__parser_prod___ATypePropdef___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { val* var_node /* var node: nullable AAnnotations */; short int var /* : Bool */; @@ -7583,7 +8072,7 @@ var = 0; /* is null */ 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 */ @@ -7597,7 +8086,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; } @@ -7606,7 +8095,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#ATypePropdef#visit_all for (self: ATypePropdef, Visitor) */ +/* method parser_prod$ATypePropdef$visit_all for (self: ATypePropdef, Visitor) */ void nitc__parser_prod___ATypePropdef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { val* var_v /* var v: Visitor */; val* var /* : nullable ADoc */; @@ -7619,50 +8108,59 @@ val* var6 /* : nullable AAnnotations */; var_v = p0; var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ { -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__ADefinition___n_kwredef].val; /* _n_kwredef 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__ADefinition___n_visibility].val; /* _n_visibility on */ { -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes$Visitor$enter_visit on */ } var3 = self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_kwtype].val; /* _n_kwtype on */ if (unlikely(var3 == 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, 1105); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes$Visitor$enter_visit on */ } var4 = self->attrs[COLOR_nitc__parser_nodes__ATypePropdef___n_qid].val; /* _n_qid on */ if (unlikely(var4 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1106); 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__ATypePropdef___n_type].val; /* _n_type on */ if (unlikely(var5 == 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, 1107); fatal_exit(1); } { -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes$Visitor$enter_visit on */ } var6 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ { -nitc___nitc__Visitor___enter_visit(var_v, var6); /* Direct call parser_nodes#Visitor#enter_visit on */ +nitc___nitc__Visitor___enter_visit(var_v, var6); /* Direct call parser_nodes$Visitor$enter_visit on */ } RET_LABEL:; } -/* method parser_prod#AMethPropdef#init_amethpropdef for (self: AMethPropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwmeth, nullable TKwinit, nullable TKwnew, nullable AMethid, nullable ASignature, nullable AAnnotations, nullable AExternCalls, nullable AExternCodeBlock, nullable TKwdo, nullable AExpr, nullable TKwend) */ +/* method parser_prod$AMethPropdef$init_amethpropdef for (self: AMethPropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwmeth, nullable TKwinit, nullable TKwnew, nullable AMethid, nullable ASignature, nullable AAnnotations, nullable AExternCalls, nullable AExternCodeBlock, nullable TKwdo, nullable AExpr, nullable TKwend) */ void nitc__parser_prod___AMethPropdef___init_amethpropdef(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5, val* p6, val* p7, val* p8, val* p9, val* p10, val* p11, val* p12, val* p13) { val* var_n_doc /* var n_doc: nullable ADoc */; val* var_n_kwredef /* var n_kwredef: nullable TKwredef */; @@ -7728,7 +8226,7 @@ short int var70 /* : Bool */; short int var72 /* : Bool */; short int var73 /* : Bool */; { -{ /* Inline kernel#Object#init (self) on */ +{ /* Inline kernel$Object$init (self) on */ RET_LABEL1:(void)0; } } @@ -7753,7 +8251,7 @@ var = 0; /* is null */ var = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_doc,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_doc,((val*)NULL)) on */ var_other = ((val*)NULL); { var4 = ((short int(*)(val* self, val* p0))(var_n_doc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_doc, var_other); /* == on */ @@ -7767,7 +8265,7 @@ var = var2; } if (var){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_doc,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_doc,self) on */ var_n_doc->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL6:(void)0; } @@ -7781,7 +8279,7 @@ var7 = 0; /* is null */ var7 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwredef,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwredef,((val*)NULL)) on */ var_other = ((val*)NULL); { var10 = ((short int(*)(val* self, val* p0))(var_n_kwredef->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwredef, var_other); /* == on */ @@ -7795,7 +8293,7 @@ var7 = var8; } if (var7){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwredef,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwredef,self) on */ var_n_kwredef->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL12:(void)0; } @@ -7803,20 +8301,29 @@ RET_LABEL12:(void)0; } else { } if (unlikely(var_n_visibility == 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, 1133); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_n_visibility; /* _n_visibility on */ if (var_n_visibility == 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, 1134); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_visibility,self) on */ if (unlikely(var_n_visibility == 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_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -7830,7 +8337,7 @@ var14 = 0; /* is null */ var14 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwmeth,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwmeth,((val*)NULL)) on */ var_other = ((val*)NULL); { var17 = ((short int(*)(val* self, val* p0))(var_n_kwmeth->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwmeth, var_other); /* == on */ @@ -7844,7 +8351,7 @@ var14 = var15; } if (var14){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwmeth,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwmeth,self) on */ var_n_kwmeth->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL19:(void)0; } @@ -7858,7 +8365,7 @@ var20 = 0; /* is null */ var20 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwinit,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwinit,((val*)NULL)) on */ var_other = ((val*)NULL); { var23 = ((short int(*)(val* self, val* p0))(var_n_kwinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwinit, var_other); /* == on */ @@ -7872,7 +8379,7 @@ var20 = var21; } if (var20){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwinit,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwinit,self) on */ var_n_kwinit->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL25:(void)0; } @@ -7886,7 +8393,7 @@ var26 = 0; /* is null */ var26 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwnew,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwnew,((val*)NULL)) on */ var_other = ((val*)NULL); { var29 = ((short int(*)(val* self, val* p0))(var_n_kwnew->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwnew, var_other); /* == on */ @@ -7900,7 +8407,7 @@ var26 = var27; } if (var26){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwnew,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwnew,self) on */ var_n_kwnew->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL31:(void)0; } @@ -7914,7 +8421,7 @@ var32 = 0; /* is null */ var32 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_methid,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_methid,((val*)NULL)) on */ var_other = ((val*)NULL); { var35 = ((short int(*)(val* self, val* p0))(var_n_methid->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_methid, var_other); /* == on */ @@ -7928,7 +8435,7 @@ var32 = var33; } if (var32){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_methid,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_methid,self) on */ var_n_methid->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL37:(void)0; } @@ -7936,20 +8443,29 @@ RET_LABEL37:(void)0; } else { } if (unlikely(var_n_signature == 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, 1143); fatal_exit(1); } self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_signature].val = var_n_signature; /* _n_signature on */ if (var_n_signature == 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, 1144); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_n_signature,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_signature,self) on */ if (unlikely(var_n_signature == 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_signature->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -7963,7 +8479,7 @@ var39 = 0; /* is null */ var39 = 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); { var42 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ @@ -7977,7 +8493,7 @@ var39 = var40; } if (var39){ { -{ /* 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_LABEL44:(void)0; } @@ -7991,7 +8507,7 @@ var45 = 0; /* is null */ var45 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_extern_calls,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_extern_calls,((val*)NULL)) on */ var_other = ((val*)NULL); { var48 = ((short int(*)(val* self, val* p0))(var_n_extern_calls->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_extern_calls, var_other); /* == on */ @@ -8005,7 +8521,7 @@ var45 = var46; } if (var45){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_extern_calls,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_extern_calls,self) on */ var_n_extern_calls->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL50:(void)0; } @@ -8019,7 +8535,7 @@ var51 = 0; /* is null */ var51 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_extern_code_block,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_extern_code_block,((val*)NULL)) on */ var_other = ((val*)NULL); { var54 = ((short int(*)(val* self, val* p0))(var_n_extern_code_block->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_extern_code_block, var_other); /* == on */ @@ -8033,7 +8549,7 @@ var51 = var52; } if (var51){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_extern_code_block,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_extern_code_block,self) on */ var_n_extern_code_block->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL56:(void)0; } @@ -8047,7 +8563,7 @@ var57 = 0; /* is null */ var57 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwdo,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwdo,((val*)NULL)) on */ var_other = ((val*)NULL); { var60 = ((short int(*)(val* self, val* p0))(var_n_kwdo->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwdo, var_other); /* == on */ @@ -8061,7 +8577,7 @@ var57 = var58; } if (var57){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwdo,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwdo,self) on */ var_n_kwdo->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL62:(void)0; } @@ -8075,7 +8591,7 @@ var63 = 0; /* is null */ var63 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_block,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_block,((val*)NULL)) on */ var_other = ((val*)NULL); { var66 = ((short int(*)(val* self, val* p0))(var_n_block->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_block, var_other); /* == on */ @@ -8089,7 +8605,7 @@ var63 = var64; } if (var63){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_block,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_block,self) on */ var_n_block->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL68:(void)0; } @@ -8103,7 +8619,7 @@ var69 = 0; /* is null */ var69 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_n_kwend,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_n_kwend,((val*)NULL)) on */ var_other = ((val*)NULL); { var72 = ((short int(*)(val* self, val* p0))(var_n_kwend->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwend, var_other); /* == on */ @@ -8117,7 +8633,7 @@ var69 = var70; } if (var69){ { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwend,self) on */ +{ /* Inline parser_nodes$ANode$parent= (var_n_kwend,self) on */ var_n_kwend->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ RET_LABEL74:(void)0; } @@ -8126,7 +8642,7 @@ RET_LABEL74:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#replace_child for (self: AMethPropdef, ANode, nullable ANode) */ +/* method parser_prod$AMethPropdef$replace_child for (self: AMethPropdef, ANode, nullable ANode) */ void nitc__parser_prod___AMethPropdef___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 */; @@ -8263,10 +8779,10 @@ var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc if (var == NULL) { var1 = 0; /* cannot be null */ } else { -{ /* 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 */ var6 = var == var_other; var4 = var6; goto RET_LABEL5; @@ -8299,7 +8815,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1162); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_doc= on */ +nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_doc= on */ } goto RET_LABEL; } else { @@ -8308,10 +8824,10 @@ var8 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n if (var8 == NULL) { var9 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ +{ /* Inline kernel$Object$== (var8,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var8,var_other) on */ var14 = var8 == var_other; var12 = var14; goto RET_LABEL13; @@ -8353,10 +8869,10 @@ var19 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; / if (var19 == NULL) { var20 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var19,var_old_child) on */ +{ /* Inline kernel$Object$== (var19,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var19,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var19,var_other) on */ var25 = var19 == var_other; var23 = var25; goto RET_LABEL24; @@ -8389,7 +8905,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1170); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_visibility= on */ +nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_visibility= on */ } goto RET_LABEL; } else { @@ -8398,10 +8914,10 @@ var30 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwmeth].val; /* _ if (var30 == NULL) { var31 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var30,var_old_child) on */ +{ /* Inline kernel$Object$== (var30,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var30,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var30,var_other) on */ var36 = var30 == var_other; var34 = var36; goto RET_LABEL35; @@ -8434,7 +8950,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1174); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_kwmeth_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_kwmeth= on */ +nitc__parser_prod___AMethPropdef___n_kwmeth_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_kwmeth= on */ } goto RET_LABEL; } else { @@ -8443,10 +8959,10 @@ var41 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwinit].val; /* _ if (var41 == NULL) { var42 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var41,var_old_child) on */ +{ /* Inline kernel$Object$== (var41,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var41,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var41,var_other) on */ var47 = var41 == var_other; var45 = var47; goto RET_LABEL46; @@ -8479,7 +8995,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1178); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_kwinit_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_kwinit= on */ +nitc__parser_prod___AMethPropdef___n_kwinit_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_kwinit= on */ } goto RET_LABEL; } else { @@ -8488,10 +9004,10 @@ var52 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwnew].val; /* _n if (var52 == NULL) { var53 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var52,var_old_child) on */ +{ /* Inline kernel$Object$== (var52,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var52,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var52,var_other) on */ var58 = var52 == var_other; var56 = var58; goto RET_LABEL57; @@ -8524,7 +9040,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1182); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_kwnew_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_kwnew= on */ +nitc__parser_prod___AMethPropdef___n_kwnew_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_kwnew= on */ } goto RET_LABEL; } else { @@ -8533,10 +9049,10 @@ var63 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_methid].val; /* _ if (var63 == NULL) { var64 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var63,var_old_child) on */ +{ /* Inline kernel$Object$== (var63,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var63,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var63,var_other) on */ var69 = var63 == var_other; var67 = var69; goto RET_LABEL68; @@ -8569,7 +9085,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1186); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_methid_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_methid= on */ +nitc__parser_prod___AMethPropdef___n_methid_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_methid= on */ } goto RET_LABEL; } else { @@ -8578,10 +9094,10 @@ var74 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_signature].val; / if (var74 == NULL) { var75 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var74,var_old_child) on */ +{ /* Inline kernel$Object$== (var74,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var74,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var74,var_other) on */ var80 = var74 == var_other; var78 = var80; goto RET_LABEL79; @@ -8614,7 +9130,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1190); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_signature_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_signature= on */ +nitc__parser_prod___AMethPropdef___n_signature_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_signature= on */ } goto RET_LABEL; } else { @@ -8623,10 +9139,10 @@ var85 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_a if (var85 == NULL) { var86 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var85,var_old_child) on */ +{ /* Inline kernel$Object$== (var85,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var85,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var85,var_other) on */ var91 = var85 == var_other; var89 = var91; goto RET_LABEL90; @@ -8659,7 +9175,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1194); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_annotations= on */ +nitc__parser_prod___AMethPropdef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_annotations= on */ } goto RET_LABEL; } else { @@ -8668,10 +9184,10 @@ var96 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_extern_calls].val if (var96 == NULL) { var97 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var96,var_old_child) on */ +{ /* Inline kernel$Object$== (var96,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var96,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var96,var_other) on */ var102 = var96 == var_other; var100 = var102; goto RET_LABEL101; @@ -8704,7 +9220,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1198); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_extern_calls_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_extern_calls= on */ +nitc__parser_prod___AMethPropdef___n_extern_calls_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_extern_calls= on */ } goto RET_LABEL; } else { @@ -8713,10 +9229,10 @@ var107 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_extern_code_bloc if (var107 == NULL) { var108 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var107,var_old_child) on */ +{ /* Inline kernel$Object$== (var107,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var107,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var107,var_other) on */ var113 = var107 == var_other; var111 = var113; goto RET_LABEL112; @@ -8749,7 +9265,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1202); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_extern_code_block_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_extern_code_block= on */ +nitc__parser_prod___AMethPropdef___n_extern_code_block_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_extern_code_block= on */ } goto RET_LABEL; } else { @@ -8758,10 +9274,10 @@ var118 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwdo].val; /* _n if (var118 == NULL) { var119 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var118,var_old_child) on */ +{ /* Inline kernel$Object$== (var118,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var118,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var118,var_other) on */ var124 = var118 == var_other; var122 = var124; goto RET_LABEL123; @@ -8794,7 +9310,7 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1206); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_kwdo_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_kwdo= on */ +nitc__parser_prod___AMethPropdef___n_kwdo_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_kwdo= on */ } goto RET_LABEL; } else { @@ -8803,10 +9319,10 @@ var129 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_block].val; /* _ if (var129 == NULL) { var130 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var129,var_old_child) on */ +{ /* Inline kernel$Object$== (var129,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var129,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var129,var_other) on */ var135 = var129 == var_other; var133 = var135; goto RET_LABEL134; @@ -8848,10 +9364,10 @@ var140 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwend].val; /* _ if (var140 == NULL) { var141 = 0; /* cannot be null */ } else { -{ /* Inline kernel#Object#== (var140,var_old_child) on */ +{ /* Inline kernel$Object$== (var140,var_old_child) on */ var_other = var_old_child; { -{ /* Inline kernel#Object#is_same_instance (var140,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var140,var_other) on */ var146 = var140 == var_other; var144 = var146; goto RET_LABEL145; @@ -8884,14 +9400,14 @@ PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1214); fatal_exit(1); } { -nitc__parser_prod___AMethPropdef___n_kwend_61d(self, var_new_child); /* Direct call parser_prod#AMethPropdef#n_kwend= on */ +nitc__parser_prod___AMethPropdef___n_kwend_61d(self, var_new_child); /* Direct call parser_prod$AMethPropdef$n_kwend= on */ } goto RET_LABEL; } else { } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_doc= for (self: AMethPropdef, nullable ADoc) */ +/* method parser_prod$AMethPropdef$n_doc= for (self: AMethPropdef, nullable ADoc) */ void nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(val* self, val* p0) { val* var_node /* var node: nullable ADoc */; short int var /* : Bool */; @@ -8907,7 +9423,7 @@ var = 0; /* is null */ 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 */ @@ -8921,7 +9437,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; } @@ -8930,7 +9446,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_kwredef= for (self: AMethPropdef, nullable TKwredef) */ +/* method parser_prod$AMethPropdef$n_kwredef= for (self: AMethPropdef, nullable TKwredef) */ void nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwredef */; short int var /* : Bool */; @@ -8946,7 +9462,7 @@ var = 0; /* is null */ 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 */ @@ -8960,7 +9476,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; } @@ -8969,20 +9485,26 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_visibility= for (self: AMethPropdef, nullable AVisibility) */ +/* method parser_prod$AMethPropdef$n_visibility= for (self: AMethPropdef, nullable AVisibility) */ void nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(val* self, val* p0) { val* var_node /* var node: nullable AVisibility */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_node; /* _n_visibility 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, 1232); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* 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, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -8991,7 +9513,7 @@ RET_LABEL1:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_kwmeth= for (self: AMethPropdef, nullable TKwmeth) */ +/* method parser_prod$AMethPropdef$n_kwmeth= for (self: AMethPropdef, nullable TKwmeth) */ void nitc__parser_prod___AMethPropdef___n_kwmeth_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwmeth */; short int var /* : Bool */; @@ -9007,7 +9529,7 @@ var = 0; /* is null */ 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 */ @@ -9021,7 +9543,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; } @@ -9030,7 +9552,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_kwinit= for (self: AMethPropdef, nullable TKwinit) */ +/* method parser_prod$AMethPropdef$n_kwinit= for (self: AMethPropdef, nullable TKwinit) */ void nitc__parser_prod___AMethPropdef___n_kwinit_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwinit */; short int var /* : Bool */; @@ -9046,7 +9568,7 @@ var = 0; /* is null */ 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 */ @@ -9060,7 +9582,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; } @@ -9069,7 +9591,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_kwnew= for (self: AMethPropdef, nullable TKwnew) */ +/* method parser_prod$AMethPropdef$n_kwnew= for (self: AMethPropdef, nullable TKwnew) */ void nitc__parser_prod___AMethPropdef___n_kwnew_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwnew */; short int var /* : Bool */; @@ -9085,7 +9607,7 @@ var = 0; /* is null */ 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 */ @@ -9099,7 +9621,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; } @@ -9108,7 +9630,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_methid= for (self: AMethPropdef, nullable AMethid) */ +/* method parser_prod$AMethPropdef$n_methid= for (self: AMethPropdef, nullable AMethid) */ void nitc__parser_prod___AMethPropdef___n_methid_61d(val* self, val* p0) { val* var_node /* var node: nullable AMethid */; short int var /* : Bool */; @@ -9124,7 +9646,7 @@ var = 0; /* is null */ 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 */ @@ -9138,7 +9660,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; } @@ -9147,20 +9669,26 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_signature= for (self: AMethPropdef, nullable ASignature) */ +/* method parser_prod$AMethPropdef$n_signature= for (self: AMethPropdef, nullable ASignature) */ void nitc__parser_prod___AMethPropdef___n_signature_61d(val* self, val* p0) { val* var_node /* var node: nullable ASignature */; var_node = p0; self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_signature].val = var_node; /* _n_signature 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, 1257); fatal_exit(1); } else { -{ /* Inline parser_nodes#ANode#parent= (var_node,self) on */ +{ /* 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, 46); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 60); fatal_exit(1); } var_node->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ @@ -9169,7 +9697,7 @@ RET_LABEL1:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_annotations= for (self: AMethPropdef, nullable AAnnotations) */ +/* method parser_prod$AMethPropdef$n_annotations= for (self: AMethPropdef, nullable AAnnotations) */ void nitc__parser_prod___AMethPropdef___nitc__parser_nodes__Prod__n_annotations_61d(val* self, val* p0) { val* var_node /* var node: nullable AAnnotations */; short int var /* : Bool */; @@ -9185,7 +9713,7 @@ var = 0; /* is null */ 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 */ @@ -9199,7 +9727,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; } @@ -9208,7 +9736,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_extern_calls= for (self: AMethPropdef, nullable AExternCalls) */ +/* method parser_prod$AMethPropdef$n_extern_calls= for (self: AMethPropdef, nullable AExternCalls) */ void nitc__parser_prod___AMethPropdef___n_extern_calls_61d(val* self, val* p0) { val* var_node /* var node: nullable AExternCalls */; short int var /* : Bool */; @@ -9224,7 +9752,7 @@ var = 0; /* is null */ 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 */ @@ -9238,7 +9766,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; } @@ -9247,7 +9775,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_extern_code_block= for (self: AMethPropdef, nullable AExternCodeBlock) */ +/* method parser_prod$AMethPropdef$n_extern_code_block= for (self: AMethPropdef, nullable AExternCodeBlock) */ void nitc__parser_prod___AMethPropdef___n_extern_code_block_61d(val* self, val* p0) { val* var_node /* var node: nullable AExternCodeBlock */; short int var /* : Bool */; @@ -9263,7 +9791,7 @@ var = 0; /* is null */ 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 */ @@ -9277,7 +9805,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; } @@ -9286,7 +9814,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_kwdo= for (self: AMethPropdef, nullable TKwdo) */ +/* method parser_prod$AMethPropdef$n_kwdo= for (self: AMethPropdef, nullable TKwdo) */ void nitc__parser_prod___AMethPropdef___n_kwdo_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwdo */; short int var /* : Bool */; @@ -9302,7 +9830,7 @@ var = 0; /* is null */ 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 */ @@ -9316,7 +9844,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; } @@ -9325,7 +9853,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_block= for (self: AMethPropdef, nullable AExpr) */ +/* method parser_prod$AMethPropdef$n_block= for (self: AMethPropdef, nullable AExpr) */ void nitc__parser_prod___AMethPropdef___n_block_61d(val* self, val* p0) { val* var_node /* var node: nullable AExpr */; short int var /* : Bool */; @@ -9341,7 +9869,7 @@ var = 0; /* is null */ 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 */ @@ -9355,7 +9883,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; } @@ -9364,7 +9892,7 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#n_kwend= for (self: AMethPropdef, nullable TKwend) */ +/* method parser_prod$AMethPropdef$n_kwend= for (self: AMethPropdef, nullable TKwend) */ void nitc__parser_prod___AMethPropdef___n_kwend_61d(val* self, val* p0) { val* var_node /* var node: nullable TKwend */; short int var /* : Bool */; @@ -9380,7 +9908,7 @@ var = 0; /* is null */ 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 */ @@ -9394,7 +9922,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; } @@ -9403,595 +9931,3 @@ RET_LABEL5:(void)0; } RET_LABEL:; } -/* method parser_prod#AMethPropdef#visit_all for (self: AMethPropdef, Visitor) */ -void nitc__parser_prod___AMethPropdef___nitc__parser_nodes__ANode__visit_all(val* self, val* p0) { -val* var_v /* var v: Visitor */; -val* var /* : nullable ADoc */; -val* var1 /* : nullable TKwredef */; -val* var2 /* : nullable AVisibility */; -val* var3 /* : nullable TKwmeth */; -val* var4 /* : nullable TKwinit */; -val* var5 /* : nullable TKwnew */; -val* var6 /* : nullable AMethid */; -val* var7 /* : nullable ASignature */; -val* var8 /* : nullable AAnnotations */; -val* var9 /* : nullable AExternCalls */; -val* var10 /* : nullable AExternCodeBlock */; -val* var11 /* : nullable TKwdo */; -val* var12 /* : nullable AExpr */; -val* var13 /* : nullable TKwend */; -var_v = p0; -var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var1 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n_kwredef on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var1); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var2 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; /* _n_visibility on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var2); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var3 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwmeth].val; /* _n_kwmeth on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var3); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var4 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwinit].val; /* _n_kwinit on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var4); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var5 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwnew].val; /* _n_kwnew on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var5); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var6 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_methid].val; /* _n_methid on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var6); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var7 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_signature].val; /* _n_signature on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var7); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var8 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var8); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var9 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_extern_calls].val; /* _n_extern_calls on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var9); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var10 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_extern_code_block].val; /* _n_extern_code_block on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var10); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var11 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwdo].val; /* _n_kwdo on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var11); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var12 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_block].val; /* _n_block on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var12); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -var13 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwend].val; /* _n_kwend on */ -{ -nitc___nitc__Visitor___enter_visit(var_v, var13); /* Direct call parser_nodes#Visitor#enter_visit on */ -} -RET_LABEL:; -} -/* method parser_prod#ASuperPropdef#init_asuperpropdef for (self: ASuperPropdef, nullable ADoc, nullable TKwredef, nullable AVisibility, nullable TKwsuper, nullable AType, nullable AAnnotations) */ -void nitc__parser_prod___ASuperPropdef___init_asuperpropdef(val* self, val* p0, val* p1, val* p2, val* p3, val* p4, val* p5) { -val* var_n_doc /* var n_doc: nullable ADoc */; -val* var_n_kwredef /* var n_kwredef: nullable TKwredef */; -val* var_n_visibility /* var n_visibility: nullable AVisibility */; -val* var_n_kwsuper /* var n_kwsuper: nullable TKwsuper */; -val* var_n_type /* var n_type: nullable AType */; -val* var_n_annotations /* var n_annotations: nullable AAnnotations */; -short int var /* : Bool */; -short int var2 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var4 /* : Bool */; -short int var5 /* : Bool */; -short int var7 /* : Bool */; -short int var8 /* : Bool */; -short int var10 /* : Bool */; -short int var11 /* : Bool */; -short int var16 /* : Bool */; -short int var17 /* : Bool */; -short int var19 /* : Bool */; -short int var20 /* : Bool */; -{ -{ /* Inline kernel#Object#init (self) on */ -RET_LABEL1:(void)0; -} -} -var_n_doc = p0; -var_n_kwredef = p1; -var_n_visibility = p2; -var_n_kwsuper = p3; -var_n_type = p4; -var_n_annotations = p5; -self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val = var_n_doc; /* _n_doc on */ -if (var_n_doc == NULL) { -var = 0; /* is null */ -} else { -var = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_doc,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var4 = ((short int(*)(val* self, val* p0))(var_n_doc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_doc, var_other); /* == on */ -} -var5 = !var4; -var2 = var5; -goto RET_LABEL3; -RET_LABEL3:(void)0; -} -var = var2; -} -if (var){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_doc,self) on */ -var_n_doc->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL6:(void)0; -} -} -} else { -} -self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val = var_n_kwredef; /* _n_kwredef on */ -if (var_n_kwredef == NULL) { -var7 = 0; /* is null */ -} else { -var7 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_kwredef,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var10 = ((short int(*)(val* self, val* p0))(var_n_kwredef->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_kwredef, var_other); /* == on */ -} -var11 = !var10; -var8 = var11; -goto RET_LABEL9; -RET_LABEL9:(void)0; -} -var7 = var8; -} -if (var7){ -{ -{ /* Inline parser_nodes#ANode#parent= (var_n_kwredef,self) on */ -var_n_kwredef->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL12:(void)0; -} -} -} else { -} -if (unlikely(var_n_visibility == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1323); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val = var_n_visibility; /* _n_visibility on */ -if (var_n_visibility == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1324); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_visibility,self) on */ -if (unlikely(var_n_visibility == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_visibility->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL13:(void)0; -} -} -if (unlikely(var_n_kwsuper == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1325); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ASuperPropdef___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, 1326); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent= (var_n_kwsuper,self) on */ -if (unlikely(var_n_kwsuper == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var_n_kwsuper->attrs[COLOR_nitc__parser_nodes__ANode___parent].val = self; /* _parent on */ -RET_LABEL14:(void)0; -} -} -if (unlikely(var_n_type == NULL)) { -PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1327); -fatal_exit(1); -} -self->attrs[COLOR_nitc__parser_nodes__ASuperPropdef___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, 1328); -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_LABEL15:(void)0; -} -} -self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val = var_n_annotations; /* _n_annotations on */ -if (var_n_annotations == NULL) { -var16 = 0; /* is null */ -} else { -var16 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_n_annotations,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var19 = ((short int(*)(val* self, val* p0))(var_n_annotations->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_n_annotations, var_other); /* == on */ -} -var20 = !var19; -var17 = var20; -goto RET_LABEL18; -RET_LABEL18:(void)0; -} -var16 = var17; -} -if (var16){ -{ -{ /* 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_LABEL21:(void)0; -} -} -} else { -} -RET_LABEL:; -} -/* method parser_prod#ASuperPropdef#replace_child for (self: ASuperPropdef, ANode, nullable ANode) */ -void nitc__parser_prod___ASuperPropdef___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 ADoc */; -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 /* : nullable TKwredef */; -short int var9 /* : Bool */; -short int var10 /* : Bool */; -short int var12 /* : Bool */; -short int var14 /* : Bool */; -short int var15 /* : Bool */; -int cltype16; -int idtype17; -const char* var_class_name18; -val* var19 /* : nullable AVisibility */; -short int var20 /* : Bool */; -short int var21 /* : Bool */; -short int var23 /* : Bool */; -short int var25 /* : Bool */; -short int var26 /* : Bool */; -int cltype27; -int idtype28; -const char* var_class_name29; -val* var30 /* : TKwsuper */; -short int var31 /* : Bool */; -short int var33 /* : Bool */; -short int var35 /* : Bool */; -short int var36 /* : Bool */; -int cltype37; -int idtype38; -const char* var_class_name39; -val* var40 /* : AType */; -short int var41 /* : Bool */; -short int var43 /* : Bool */; -short int var45 /* : Bool */; -short int var46 /* : Bool */; -int cltype47; -int idtype48; -const char* var_class_name49; -val* var50 /* : nullable AAnnotations */; -short int var51 /* : Bool */; -short int var52 /* : Bool */; -short int var54 /* : Bool */; -short int var56 /* : Bool */; -short int var57 /* : Bool */; -int cltype58; -int idtype59; -const char* var_class_name60; -var_old_child = p0; -var_new_child = p1; -var = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc 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; -} -} -var2 = var4; -goto RET_LABEL3; -RET_LABEL3:(void)0; -} -var1 = var2; -} -if (var1){ -/* isa nullable ADoc */ -cltype = type_nullable__nitc__ADoc.color; -idtype = type_nullable__nitc__ADoc.id; -if(var_new_child == NULL) { -var7 = 1; -} else { -if(cltype >= var_new_child->type->table_size) { -var7 = 0; -} else { -var7 = var_new_child->type->type_table[cltype] == idtype; -} -} -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 ADoc", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1336); -fatal_exit(1); -} -{ -nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_doc_61d(self, var_new_child); /* Direct call parser_prod#ASuperPropdef#n_doc= on */ -} -goto RET_LABEL; -} else { -} -var8 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_kwredef].val; /* _n_kwredef on */ -if (var8 == NULL) { -var9 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var8,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var8,var_other) on */ -var14 = var8 == var_other; -var12 = var14; -goto RET_LABEL13; -RET_LABEL13:(void)0; -} -} -var10 = var12; -goto RET_LABEL11; -RET_LABEL11:(void)0; -} -var9 = var10; -} -if (var9){ -/* isa nullable TKwredef */ -cltype16 = type_nullable__nitc__TKwredef.color; -idtype17 = type_nullable__nitc__TKwredef.id; -if(var_new_child == NULL) { -var15 = 1; -} else { -if(cltype16 >= var_new_child->type->table_size) { -var15 = 0; -} else { -var15 = var_new_child->type->type_table[cltype16] == idtype17; -} -} -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 TKwredef", var_class_name18); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1340); -fatal_exit(1); -} -{ -nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_kwredef_61d(self, var_new_child); /* Direct call parser_prod#ASuperPropdef#n_kwredef= on */ -} -goto RET_LABEL; -} else { -} -var19 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; /* _n_visibility on */ -if (var19 == NULL) { -var20 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var19,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var19,var_other) on */ -var25 = var19 == var_other; -var23 = var25; -goto RET_LABEL24; -RET_LABEL24:(void)0; -} -} -var21 = var23; -goto RET_LABEL22; -RET_LABEL22:(void)0; -} -var20 = var21; -} -if (var20){ -/* isa AVisibility */ -cltype27 = type_nitc__AVisibility.color; -idtype28 = type_nitc__AVisibility.id; -if(var_new_child == NULL) { -var26 = 0; -} else { -if(cltype27 >= var_new_child->type->table_size) { -var26 = 0; -} else { -var26 = var_new_child->type->type_table[cltype27] == idtype28; -} -} -if (unlikely(!var26)) { -var_class_name29 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AVisibility", var_class_name29); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1344); -fatal_exit(1); -} -{ -nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__ADefinition__n_visibility_61d(self, var_new_child); /* Direct call parser_prod#ASuperPropdef#n_visibility= on */ -} -goto RET_LABEL; -} else { -} -var30 = self->attrs[COLOR_nitc__parser_nodes__ASuperPropdef___n_kwsuper].val; /* _n_kwsuper on */ -if (unlikely(var30 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_kwsuper"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1347); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var30,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var30,var_other) on */ -var35 = var30 == var_other; -var33 = var35; -goto RET_LABEL34; -RET_LABEL34:(void)0; -} -} -var31 = var33; -goto RET_LABEL32; -RET_LABEL32:(void)0; -} -} -if (var31){ -/* isa TKwsuper */ -cltype37 = type_nitc__TKwsuper.color; -idtype38 = type_nitc__TKwsuper.id; -if(var_new_child == NULL) { -var36 = 0; -} else { -if(cltype37 >= var_new_child->type->table_size) { -var36 = 0; -} else { -var36 = var_new_child->type->type_table[cltype37] == idtype38; -} -} -if (unlikely(!var36)) { -var_class_name39 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "TKwsuper", var_class_name39); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1348); -fatal_exit(1); -} -{ -nitc__parser_prod___ASuperPropdef___n_kwsuper_61d(self, var_new_child); /* Direct call parser_prod#ASuperPropdef#n_kwsuper= on */ -} -goto RET_LABEL; -} else { -} -var40 = self->attrs[COLOR_nitc__parser_nodes__ASuperPropdef___n_type].val; /* _n_type on */ -if (unlikely(var40 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1351); -fatal_exit(1); -} -{ -{ /* Inline kernel#Object#== (var40,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var40,var_other) on */ -var45 = var40 == var_other; -var43 = var45; -goto RET_LABEL44; -RET_LABEL44:(void)0; -} -} -var41 = var43; -goto RET_LABEL42; -RET_LABEL42:(void)0; -} -} -if (var41){ -/* isa AType */ -cltype47 = type_nitc__AType.color; -idtype48 = type_nitc__AType.id; -if(var_new_child == NULL) { -var46 = 0; -} else { -if(cltype47 >= var_new_child->type->table_size) { -var46 = 0; -} else { -var46 = var_new_child->type->type_table[cltype47] == idtype48; -} -} -if (unlikely(!var46)) { -var_class_name49 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AType", var_class_name49); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1352); -fatal_exit(1); -} -{ -nitc__parser_prod___ASuperPropdef___n_type_61d(self, var_new_child); /* Direct call parser_prod#ASuperPropdef#n_type= on */ -} -goto RET_LABEL; -} else { -} -var50 = self->attrs[COLOR_nitc__parser_nodes__Prod___n_annotations].val; /* _n_annotations on */ -if (var50 == NULL) { -var51 = 0; /* cannot be null */ -} else { -{ /* Inline kernel#Object#== (var50,var_old_child) on */ -var_other = var_old_child; -{ -{ /* Inline kernel#Object#is_same_instance (var50,var_other) on */ -var56 = var50 == var_other; -var54 = var56; -goto RET_LABEL55; -RET_LABEL55:(void)0; -} -} -var52 = var54; -goto RET_LABEL53; -RET_LABEL53:(void)0; -} -var51 = var52; -} -if (var51){ -/* isa nullable AAnnotations */ -cltype58 = type_nullable__nitc__AAnnotations.color; -idtype59 = type_nullable__nitc__AAnnotations.id; -if(var_new_child == NULL) { -var57 = 1; -} else { -if(cltype58 >= var_new_child->type->table_size) { -var57 = 0; -} else { -var57 = var_new_child->type->type_table[cltype58] == idtype59; -} -} -if (unlikely(!var57)) { -var_class_name60 = var_new_child == NULL ? "null" : var_new_child->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable AAnnotations", var_class_name60); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_prod, 1356); -fatal_exit(1); -} -{ -nitc__parser_prod___ASuperPropdef___nitc__parser_nodes__Prod__n_annotations_61d(self, var_new_child); /* Direct call parser_prod#ASuperPropdef#n_annotations= on */ -} -goto RET_LABEL; -} else { -} -RET_LABEL:; -}