as_is_expr as_is_constexpr is_type_expr as_expr power_expr power_constexpr
%type | unsized_array_type simple_type_or_ simple_type simple_type_question/*array_name_for_new_expr*/ foreach_stmt_ident_dype_opt fptype type_ref fptype_noproctype array_type
-%type | template_param template_empty_param structured_type unpacked_structured_type empty_template_type_reference simple_or_template_type_reference simple_or_template_or_question_type_reference type_ref_or_secific for_stmt_decl_or_assign type_decl_type
+%type | template_param template_empty_param structured_type empty_template_type_reference simple_or_template_type_reference simple_or_template_or_question_type_reference type_ref_or_secific for_stmt_decl_or_assign type_decl_type
%type type_ref_and_secific_list
%type type_decl_sect
%type try_handler
@@ -1511,13 +1511,6 @@ pointer_type
;
structured_type
- : unpacked_structured_type
- { $$ = $1; }
- | tkPacked unpacked_structured_type
- { $$ = $2; }
- ;
-
-unpacked_structured_type
: array_type
{ $$ = $1; }
| record_type
diff --git a/Parsers/PascalABCParserNewSaushkin/ABCPascalYacc.cs b/Parsers/PascalABCParserNewSaushkin/ABCPascalYacc.cs
index 4498997ef..72b78b9a0 100644
--- a/Parsers/PascalABCParserNewSaushkin/ABCPascalYacc.cs
+++ b/Parsers/PascalABCParserNewSaushkin/ABCPascalYacc.cs
@@ -1,9 +1,9 @@
// (see accompanying GPPGcopyright.rtf)
// GPPG version 1.3.6
-// Machine: DESKTOP-2BJCJ7I
-// DateTime: 15.04.2022 12:29:58
-// UserName: ibond
+// Machine: DESKTOP-G8V08V4
+// DateTime: 08.05.2022 19:51:10
+// UserName: ?????????
// Input file
// options: no-lines gplex
@@ -33,23 +33,23 @@ public enum Tokens {
tkOperator=43,tkProperty=44,tkRaise=45,tkRecord=46,tkSet=47,tkType=48,
tkThen=49,tkUses=50,tkVar=51,tkWhile=52,tkWith=53,tkNil=54,
tkGoto=55,tkOf=56,tkLabel=57,tkLock=58,tkProgram=59,tkEvent=60,
- tkDefault=61,tkTemplate=62,tkPacked=63,tkExports=64,tkResourceString=65,tkThreadvar=66,
- tkSealed=67,tkPartial=68,tkTo=69,tkDownto=70,tkLoop=71,tkSequence=72,
- tkYield=73,tkShortProgram=74,tkVertParen=75,tkShortSFProgram=76,tkNew=77,tkOn=78,
- tkName=79,tkPrivate=80,tkProtected=81,tkPublic=82,tkInternal=83,tkRead=84,
- tkWrite=85,tkIndex=86,tkParseModeExpression=87,tkParseModeStatement=88,tkParseModeType=89,tkBegin=90,
- tkEnd=91,tkAsmBody=92,tkILCode=93,tkError=94,INVISIBLE=95,tkRepeat=96,
- tkUntil=97,tkDo=98,tkComma=99,tkFinally=100,tkTry=101,tkInitialization=102,
- tkFinalization=103,tkUnit=104,tkLibrary=105,tkExternal=106,tkParams=107,tkNamespace=108,
- tkAssign=109,tkPlusEqual=110,tkMinusEqual=111,tkMultEqual=112,tkDivEqual=113,tkMinus=114,
- tkPlus=115,tkSlash=116,tkStar=117,tkStarStar=118,tkEqual=119,tkGreater=120,
- tkGreaterEqual=121,tkLower=122,tkLowerEqual=123,tkNotEqual=124,tkCSharpStyleOr=125,tkArrow=126,
- tkOr=127,tkXor=128,tkAnd=129,tkDiv=130,tkMod=131,tkShl=132,
- tkShr=133,tkNot=134,tkAs=135,tkIn=136,tkIs=137,tkImplicit=138,
- tkExplicit=139,tkAddressOf=140,tkDeref=141,tkIdentifier=142,tkStringLiteral=143,tkFormatStringLiteral=144,
- tkAsciiChar=145,tkAbstract=146,tkForward=147,tkOverload=148,tkReintroduce=149,tkOverride=150,
- tkVirtual=151,tkExtensionMethod=152,tkInteger=153,tkBigInteger=154,tkFloat=155,tkHex=156,
- tkUnknown=157,tkStep=158};
+ tkDefault=61,tkTemplate=62,tkExports=63,tkResourceString=64,tkThreadvar=65,tkSealed=66,
+ tkPartial=67,tkTo=68,tkDownto=69,tkLoop=70,tkSequence=71,tkYield=72,
+ tkShortProgram=73,tkVertParen=74,tkShortSFProgram=75,tkNew=76,tkOn=77,tkName=78,
+ tkPrivate=79,tkProtected=80,tkPublic=81,tkInternal=82,tkRead=83,tkWrite=84,
+ tkIndex=85,tkParseModeExpression=86,tkParseModeStatement=87,tkParseModeType=88,tkBegin=89,tkEnd=90,
+ tkAsmBody=91,tkILCode=92,tkError=93,INVISIBLE=94,tkRepeat=95,tkUntil=96,
+ tkDo=97,tkComma=98,tkFinally=99,tkTry=100,tkInitialization=101,tkFinalization=102,
+ tkUnit=103,tkLibrary=104,tkExternal=105,tkParams=106,tkNamespace=107,tkAssign=108,
+ tkPlusEqual=109,tkMinusEqual=110,tkMultEqual=111,tkDivEqual=112,tkMinus=113,tkPlus=114,
+ tkSlash=115,tkStar=116,tkStarStar=117,tkEqual=118,tkGreater=119,tkGreaterEqual=120,
+ tkLower=121,tkLowerEqual=122,tkNotEqual=123,tkCSharpStyleOr=124,tkArrow=125,tkOr=126,
+ tkXor=127,tkAnd=128,tkDiv=129,tkMod=130,tkShl=131,tkShr=132,
+ tkNot=133,tkAs=134,tkIn=135,tkIs=136,tkImplicit=137,tkExplicit=138,
+ tkAddressOf=139,tkDeref=140,tkIdentifier=141,tkStringLiteral=142,tkFormatStringLiteral=143,tkAsciiChar=144,
+ tkAbstract=145,tkForward=146,tkOverload=147,tkReintroduce=148,tkOverride=149,tkVirtual=150,
+ tkExtensionMethod=151,tkInteger=152,tkBigInteger=153,tkFloat=154,tkHex=155,tkUnknown=156,
+ tkStep=157};
// Abstract base class for GPLEX scanners
public abstract class ScanBase : AbstractScanner {
@@ -77,8 +77,8 @@ public partial class GPPGParser: ShiftReduceParser aliasses;
#pragma warning restore 649
- private static Rule[] rules = new Rule[1012];
- private static State[] states = new State[1682];
+ private static Rule[] rules = new Rule[1010];
+ private static State[] states = new State[1679];
private static string[] nonTerms = new string[] {
"parse_goal", "unit_key_word", "class_or_static", "assignment", "optional_array_initializer",
"attribute_declarations", "ot_visibility_specifier", "one_attribute", "attribute_variable",
@@ -148,9 +148,9 @@ public partial class GPPGParser: ShiftReduceParser unpacked_structured_type
+ case 266: // structured_type -> array_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 267: // structured_type -> tkPacked, unpacked_structured_type
+ case 267: // structured_type -> record_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 268: // unpacked_structured_type -> array_type
+ case 268: // structured_type -> set_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 269: // unpacked_structured_type -> record_type
+ case 269: // structured_type -> file_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 270: // unpacked_structured_type -> set_type
+ case 270: // structured_type -> sequence_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 271: // unpacked_structured_type -> file_type
-{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
- break;
- case 272: // unpacked_structured_type -> sequence_type
-{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
- break;
- case 273: // sequence_type -> tkSequence, tkOf, type_ref
+ case 271: // sequence_type -> tkSequence, tkOf, type_ref
{
CurrentSemanticValue.td = new sequence_type(ValueStack[ValueStack.Depth-1].td,CurrentLocationSpan);
}
break;
- case 274: // array_type -> tkArray, tkSquareOpen, simple_type_list, tkSquareClose, tkOf,
+ case 272: // array_type -> tkArray, tkSquareOpen, simple_type_list, tkSquareClose, tkOf,
// type_ref
{
CurrentSemanticValue.td = new array_type(ValueStack[ValueStack.Depth-4].stn as indexers_types, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 275: // array_type -> unsized_array_type
+ case 273: // array_type -> unsized_array_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 276: // unsized_array_type -> tkArray, tkOf, type_ref
+ case 274: // unsized_array_type -> tkArray, tkOf, type_ref
{
CurrentSemanticValue.td = new array_type(null, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 277: // simple_type_list -> simple_type_or_
+ case 275: // simple_type_list -> simple_type_or_
{
CurrentSemanticValue.stn = new indexers_types(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 278: // simple_type_list -> simple_type_list, tkComma, simple_type_or_
+ case 276: // simple_type_list -> simple_type_list, tkComma, simple_type_or_
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as indexers_types).Add(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 279: // simple_type_or_ -> simple_type
+ case 277: // simple_type_or_ -> simple_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 280: // simple_type_or_ -> /* empty */
+ case 278: // simple_type_or_ -> /* empty */
{ CurrentSemanticValue.td = null; }
break;
- case 281: // set_type -> tkSet, tkOf, type_ref
+ case 279: // set_type -> tkSet, tkOf, type_ref
{
CurrentSemanticValue.td = new set_type_definition(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 282: // file_type -> tkFile, tkOf, type_ref
+ case 280: // file_type -> tkFile, tkOf, type_ref
{
CurrentSemanticValue.td = new file_type(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 283: // file_type -> tkFile
+ case 281: // file_type -> tkFile
{
CurrentSemanticValue.td = new file_type();
CurrentSemanticValue.td.source_context = CurrentLocationSpan;
}
break;
- case 284: // string_type -> tkIdentifier, tkSquareOpen, const_expr, tkSquareClose
+ case 282: // string_type -> tkIdentifier, tkSquareOpen, const_expr, tkSquareClose
{
CurrentSemanticValue.td = new string_num_definition(ValueStack[ValueStack.Depth-2].ex, ValueStack[ValueStack.Depth-4].id, CurrentLocationSpan);
}
break;
- case 285: // procedural_type -> procedural_type_kind
+ case 283: // procedural_type -> procedural_type_kind
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 286: // procedural_type_kind -> proc_type_decl
+ case 284: // procedural_type_kind -> proc_type_decl
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 287: // proc_type_decl -> tkProcedure, fp_list
+ case 285: // proc_type_decl -> tkProcedure, fp_list
{
CurrentSemanticValue.td = new procedure_header(ValueStack[ValueStack.Depth-1].stn as formal_parameters,null,null,false,false,null,null,CurrentLocationSpan);
}
break;
- case 288: // proc_type_decl -> tkFunction, fp_list, tkColon, fptype
+ case 286: // proc_type_decl -> tkFunction, fp_list, tkColon, fptype
{
CurrentSemanticValue.td = new function_header(ValueStack[ValueStack.Depth-3].stn as formal_parameters, null, null, null, ValueStack[ValueStack.Depth-1].td as type_definition, CurrentLocationSpan);
}
break;
- case 289: // proc_type_decl -> simple_type_identifier, tkArrow, template_param
+ case 287: // proc_type_decl -> simple_type_identifier, tkArrow, template_param
{
CurrentSemanticValue.td = new modern_proc_type(ValueStack[ValueStack.Depth-3].td,null,ValueStack[ValueStack.Depth-1].td,CurrentLocationSpan);
}
break;
- case 290: // proc_type_decl -> template_type, tkArrow, template_param
+ case 288: // proc_type_decl -> template_type, tkArrow, template_param
{
CurrentSemanticValue.td = new modern_proc_type(ValueStack[ValueStack.Depth-3].td,null,ValueStack[ValueStack.Depth-1].td,CurrentLocationSpan);
}
break;
- case 291: // proc_type_decl -> tkRoundOpen, tkRoundClose, tkArrow, template_param
+ case 289: // proc_type_decl -> tkRoundOpen, tkRoundClose, tkArrow, template_param
{
CurrentSemanticValue.td = new modern_proc_type(null,null,ValueStack[ValueStack.Depth-1].td,CurrentLocationSpan);
}
break;
- case 292: // proc_type_decl -> tkRoundOpen, enumeration_id_list, tkRoundClose, tkArrow,
+ case 290: // proc_type_decl -> tkRoundOpen, enumeration_id_list, tkRoundClose, tkArrow,
// template_param
{
CurrentSemanticValue.td = new modern_proc_type(null,ValueStack[ValueStack.Depth-4].stn as enumerator_list,ValueStack[ValueStack.Depth-1].td,CurrentLocationSpan);
}
break;
- case 293: // proc_type_decl -> simple_type_identifier, tkArrow, tkRoundOpen, tkRoundClose
+ case 291: // proc_type_decl -> simple_type_identifier, tkArrow, tkRoundOpen, tkRoundClose
{
CurrentSemanticValue.td = new modern_proc_type(ValueStack[ValueStack.Depth-4].td,null,null,CurrentLocationSpan);
}
break;
- case 294: // proc_type_decl -> template_type, tkArrow, tkRoundOpen, tkRoundClose
+ case 292: // proc_type_decl -> template_type, tkArrow, tkRoundOpen, tkRoundClose
{
CurrentSemanticValue.td = new modern_proc_type(ValueStack[ValueStack.Depth-4].td,null,null,CurrentLocationSpan);
}
break;
- case 295: // proc_type_decl -> tkRoundOpen, tkRoundClose, tkArrow, tkRoundOpen, tkRoundClose
+ case 293: // proc_type_decl -> tkRoundOpen, tkRoundClose, tkArrow, tkRoundOpen, tkRoundClose
{
CurrentSemanticValue.td = new modern_proc_type(null,null,null,CurrentLocationSpan);
}
break;
- case 296: // proc_type_decl -> tkRoundOpen, enumeration_id_list, tkRoundClose, tkArrow,
+ case 294: // proc_type_decl -> tkRoundOpen, enumeration_id_list, tkRoundClose, tkArrow,
// tkRoundOpen, tkRoundClose
{
CurrentSemanticValue.td = new modern_proc_type(null,ValueStack[ValueStack.Depth-5].stn as enumerator_list,null,CurrentLocationSpan);
}
break;
- case 297: // object_type -> class_attributes, class_or_interface_keyword,
+ case 295: // object_type -> class_attributes, class_or_interface_keyword,
// optional_base_classes, optional_where_section,
// optional_component_list_seq_end
{
@@ -4237,7 +4226,7 @@ public partial class GPPGParser: ShiftReduceParser tkRecord, optional_base_classes, optional_where_section,
+ case 296: // record_type -> tkRecord, optional_base_classes, optional_where_section,
// member_list_section, tkEnd
{
var nnrt = new class_definition(ValueStack[ValueStack.Depth-4].stn as named_type_reference_list, ValueStack[ValueStack.Depth-2].stn as class_body_list, class_keyword.Record, null, ValueStack[ValueStack.Depth-3].stn as where_definition_list, class_attribute.None, false, CurrentLocationSpan);
@@ -4250,37 +4239,37 @@ public partial class GPPGParser: ShiftReduceParser tkSealed
+ case 297: // class_attribute -> tkSealed
{ CurrentSemanticValue.ob = class_attribute.Sealed; }
break;
- case 300: // class_attribute -> tkPartial
+ case 298: // class_attribute -> tkPartial
{ CurrentSemanticValue.ob = class_attribute.Partial; }
break;
- case 301: // class_attribute -> tkAbstract
+ case 299: // class_attribute -> tkAbstract
{ CurrentSemanticValue.ob = class_attribute.Abstract; }
break;
- case 302: // class_attribute -> tkAuto
+ case 300: // class_attribute -> tkAuto
{ CurrentSemanticValue.ob = class_attribute.Auto; }
break;
- case 303: // class_attribute -> tkStatic
+ case 301: // class_attribute -> tkStatic
{ CurrentSemanticValue.ob = class_attribute.Static; }
break;
- case 304: // class_attributes -> /* empty */
+ case 302: // class_attributes -> /* empty */
{
CurrentSemanticValue.ob = class_attribute.None;
}
break;
- case 305: // class_attributes -> class_attributes1
+ case 303: // class_attributes -> class_attributes1
{
CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-1].ob;
}
break;
- case 306: // class_attributes1 -> class_attribute
+ case 304: // class_attributes1 -> class_attribute
{
CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-1].ob;
}
break;
- case 307: // class_attributes1 -> class_attributes1, class_attribute
+ case 305: // class_attributes1 -> class_attributes1, class_attribute
{
if (((class_attribute)ValueStack[ValueStack.Depth-2].ob & (class_attribute)ValueStack[ValueStack.Depth-1].ob) == (class_attribute)ValueStack[ValueStack.Depth-1].ob)
parsertools.AddErrorFromResource("ATTRIBUTE_REDECLARED",LocationStack[LocationStack.Depth-1]);
@@ -4288,123 +4277,123 @@ public partial class GPPGParser: ShiftReduceParser tkClass
+ case 306: // class_or_interface_keyword -> tkClass
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 309: // class_or_interface_keyword -> tkInterface
+ case 307: // class_or_interface_keyword -> tkInterface
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 310: // class_or_interface_keyword -> tkTemplate
+ case 308: // class_or_interface_keyword -> tkTemplate
{
CurrentSemanticValue.ti = NewClassOrInterfaceKeyword(ValueStack[ValueStack.Depth-1].ti);
}
break;
- case 311: // class_or_interface_keyword -> tkTemplate, tkClass
+ case 309: // class_or_interface_keyword -> tkTemplate, tkClass
{
CurrentSemanticValue.ti = NewClassOrInterfaceKeyword(ValueStack[ValueStack.Depth-2].ti, "c", CurrentLocationSpan);
}
break;
- case 312: // class_or_interface_keyword -> tkTemplate, tkRecord
+ case 310: // class_or_interface_keyword -> tkTemplate, tkRecord
{
CurrentSemanticValue.ti = NewClassOrInterfaceKeyword(ValueStack[ValueStack.Depth-2].ti, "r", CurrentLocationSpan);
}
break;
- case 313: // class_or_interface_keyword -> tkTemplate, tkInterface
+ case 311: // class_or_interface_keyword -> tkTemplate, tkInterface
{
CurrentSemanticValue.ti = NewClassOrInterfaceKeyword(ValueStack[ValueStack.Depth-2].ti, "i", CurrentLocationSpan);
}
break;
- case 314: // optional_component_list_seq_end -> /* empty */
+ case 312: // optional_component_list_seq_end -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 315: // optional_component_list_seq_end -> member_list_section, tkEnd
+ case 313: // optional_component_list_seq_end -> member_list_section, tkEnd
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn;
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 317: // optional_base_classes -> tkRoundOpen, base_classes_names_list, tkRoundClose
+ case 315: // optional_base_classes -> tkRoundOpen, base_classes_names_list, tkRoundClose
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn; }
break;
- case 318: // base_classes_names_list -> base_class_name
+ case 316: // base_classes_names_list -> base_class_name
{
CurrentSemanticValue.stn = new named_type_reference_list(ValueStack[ValueStack.Depth-1].stn as named_type_reference, CurrentLocationSpan);
}
break;
- case 319: // base_classes_names_list -> base_classes_names_list, tkComma, base_class_name
+ case 317: // base_classes_names_list -> base_classes_names_list, tkComma, base_class_name
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as named_type_reference_list).Add(ValueStack[ValueStack.Depth-1].stn as named_type_reference, CurrentLocationSpan);
}
break;
- case 320: // base_class_name -> simple_type_identifier
+ case 318: // base_class_name -> simple_type_identifier
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].td; }
break;
- case 321: // base_class_name -> template_type
+ case 319: // base_class_name -> template_type
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].td; }
break;
- case 322: // template_arguments -> tkLower, ident_list, tkGreater
+ case 320: // template_arguments -> tkLower, ident_list, tkGreater
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn;
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 323: // optional_where_section -> /* empty */
+ case 321: // optional_where_section -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 324: // optional_where_section -> where_part_list
+ case 322: // optional_where_section -> where_part_list
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 325: // where_part_list -> where_part
+ case 323: // where_part_list -> where_part
{
CurrentSemanticValue.stn = new where_definition_list(ValueStack[ValueStack.Depth-1].stn as where_definition, CurrentLocationSpan);
}
break;
- case 326: // where_part_list -> where_part_list, where_part
+ case 324: // where_part_list -> where_part_list, where_part
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-2].stn as where_definition_list).Add(ValueStack[ValueStack.Depth-1].stn as where_definition, CurrentLocationSpan);
}
break;
- case 327: // where_part -> tkWhere, ident_list, tkColon, type_ref_and_secific_list,
+ case 325: // where_part -> tkWhere, ident_list, tkColon, type_ref_and_secific_list,
// tkSemiColon
{
CurrentSemanticValue.stn = new where_definition(ValueStack[ValueStack.Depth-4].stn as ident_list, ValueStack[ValueStack.Depth-2].stn as where_type_specificator_list, CurrentLocationSpan);
}
break;
- case 328: // type_ref_and_secific_list -> type_ref_or_secific
+ case 326: // type_ref_and_secific_list -> type_ref_or_secific
{
CurrentSemanticValue.stn = new where_type_specificator_list(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 329: // type_ref_and_secific_list -> type_ref_and_secific_list, tkComma,
+ case 327: // type_ref_and_secific_list -> type_ref_and_secific_list, tkComma,
// type_ref_or_secific
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as where_type_specificator_list).Add(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 330: // type_ref_or_secific -> type_ref
+ case 328: // type_ref_or_secific -> type_ref
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 331: // type_ref_or_secific -> tkClass
+ case 329: // type_ref_or_secific -> tkClass
{
CurrentSemanticValue.td = new declaration_specificator(DeclarationSpecificator.WhereDefClass, ValueStack[ValueStack.Depth-1].ti.text, CurrentLocationSpan);
}
break;
- case 332: // type_ref_or_secific -> tkRecord
+ case 330: // type_ref_or_secific -> tkRecord
{
CurrentSemanticValue.td = new declaration_specificator(DeclarationSpecificator.WhereDefValueType, ValueStack[ValueStack.Depth-1].ti.text, CurrentLocationSpan);
}
break;
- case 333: // type_ref_or_secific -> tkConstructor
+ case 331: // type_ref_or_secific -> tkConstructor
{
CurrentSemanticValue.td = new declaration_specificator(DeclarationSpecificator.WhereDefConstructor, ValueStack[ValueStack.Depth-1].ti.text, CurrentLocationSpan);
}
break;
- case 334: // member_list_section -> member_list
+ case 332: // member_list_section -> member_list
{
CurrentSemanticValue.stn = new class_body_list(ValueStack[ValueStack.Depth-1].stn as class_members, CurrentLocationSpan);
}
break;
- case 335: // member_list_section -> member_list_section, ot_visibility_specifier,
+ case 333: // member_list_section -> member_list_section, ot_visibility_specifier,
// member_list
{
(ValueStack[ValueStack.Depth-1].stn as class_members).access_mod = ValueStack[ValueStack.Depth-2].stn as access_modifer_node;
@@ -4416,121 +4405,121 @@ public partial class GPPGParser: ShiftReduceParser tkInternal
+ case 334: // ot_visibility_specifier -> tkInternal
{ CurrentSemanticValue.stn = new access_modifer_node(access_modifer.internal_modifer, CurrentLocationSpan); }
break;
- case 337: // ot_visibility_specifier -> tkPublic
+ case 335: // ot_visibility_specifier -> tkPublic
{ CurrentSemanticValue.stn = new access_modifer_node(access_modifer.public_modifer, CurrentLocationSpan); }
break;
- case 338: // ot_visibility_specifier -> tkProtected
+ case 336: // ot_visibility_specifier -> tkProtected
{ CurrentSemanticValue.stn = new access_modifer_node(access_modifer.protected_modifer, CurrentLocationSpan); }
break;
- case 339: // ot_visibility_specifier -> tkPrivate
+ case 337: // ot_visibility_specifier -> tkPrivate
{ CurrentSemanticValue.stn = new access_modifer_node(access_modifer.private_modifer, CurrentLocationSpan); }
break;
- case 340: // member_list -> /* empty */
+ case 338: // member_list -> /* empty */
{ CurrentSemanticValue.stn = new class_members(); }
break;
- case 341: // member_list -> field_or_const_definition_list, optional_semicolon
+ case 339: // member_list -> field_or_const_definition_list, optional_semicolon
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn; }
break;
- case 342: // member_list -> method_decl_list
+ case 340: // member_list -> method_decl_list
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 343: // member_list -> field_or_const_definition_list, tkSemiColon, method_decl_list
+ case 341: // member_list -> field_or_const_definition_list, tkSemiColon, method_decl_list
{
(ValueStack[ValueStack.Depth-3].stn as class_members).members.AddRange((ValueStack[ValueStack.Depth-1].stn as class_members).members);
(ValueStack[ValueStack.Depth-3].stn as class_members).source_context = CurrentLocationSpan;
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-3].stn;
}
break;
- case 344: // ident_list -> identifier
+ case 342: // ident_list -> identifier
{
CurrentSemanticValue.stn = new ident_list(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan);
}
break;
- case 345: // ident_list -> ident_list, tkComma, identifier
+ case 343: // ident_list -> ident_list, tkComma, identifier
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as ident_list).Add(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan);
}
break;
- case 346: // optional_semicolon -> /* empty */
+ case 344: // optional_semicolon -> /* empty */
{ CurrentSemanticValue.ob = null; }
break;
- case 347: // optional_semicolon -> tkSemiColon
+ case 345: // optional_semicolon -> tkSemiColon
{ CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 348: // field_or_const_definition_list -> field_or_const_definition
+ case 346: // field_or_const_definition_list -> field_or_const_definition
{
CurrentSemanticValue.stn = new class_members(ValueStack[ValueStack.Depth-1].stn as declaration, CurrentLocationSpan);
}
break;
- case 349: // field_or_const_definition_list -> field_or_const_definition_list, tkSemiColon,
+ case 347: // field_or_const_definition_list -> field_or_const_definition_list, tkSemiColon,
// field_or_const_definition
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as class_members).Add(ValueStack[ValueStack.Depth-1].stn as declaration, CurrentLocationSpan);
}
break;
- case 350: // field_or_const_definition -> attribute_declarations,
+ case 348: // field_or_const_definition -> attribute_declarations,
// simple_field_or_const_definition
{
(ValueStack[ValueStack.Depth-1].stn as declaration).attributes = ValueStack[ValueStack.Depth-2].stn as attribute_list;
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 351: // method_decl_list -> method_or_property_decl
+ case 349: // method_decl_list -> method_or_property_decl
{
CurrentSemanticValue.stn = new class_members(ValueStack[ValueStack.Depth-1].stn as declaration, CurrentLocationSpan);
}
break;
- case 352: // method_decl_list -> method_decl_list, method_or_property_decl
+ case 350: // method_decl_list -> method_decl_list, method_or_property_decl
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-2].stn as class_members).Add(ValueStack[ValueStack.Depth-1].stn as declaration, CurrentLocationSpan);
}
break;
- case 353: // method_or_property_decl -> method_decl_withattr
+ case 351: // method_or_property_decl -> method_decl_withattr
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 354: // method_or_property_decl -> property_definition
+ case 352: // method_or_property_decl -> property_definition
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 355: // simple_field_or_const_definition -> tkConst, only_const_decl
+ case 353: // simple_field_or_const_definition -> tkConst, only_const_decl
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 356: // simple_field_or_const_definition -> field_definition
+ case 354: // simple_field_or_const_definition -> field_definition
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 357: // simple_field_or_const_definition -> class_or_static, field_definition
+ case 355: // simple_field_or_const_definition -> class_or_static, field_definition
{
(ValueStack[ValueStack.Depth-1].stn as var_def_statement).var_attr = definition_attribute.Static;
(ValueStack[ValueStack.Depth-1].stn as var_def_statement).source_context = CurrentLocationSpan;
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 358: // class_or_static -> tkStatic
+ case 356: // class_or_static -> tkStatic
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 359: // class_or_static -> tkClass
+ case 357: // class_or_static -> tkClass
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 360: // field_definition -> var_decl_part
+ case 358: // field_definition -> var_decl_part
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 361: // field_definition -> tkEvent, ident_list, tkColon, type_ref
+ case 359: // field_definition -> tkEvent, ident_list, tkColon, type_ref
{
CurrentSemanticValue.stn = new var_def_statement(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, null, definition_attribute.None, true, CurrentLocationSpan);
}
break;
- case 362: // method_decl_withattr -> attribute_declarations, method_header
+ case 360: // method_decl_withattr -> attribute_declarations, method_header
{
(ValueStack[ValueStack.Depth-1].td as declaration).attributes = ValueStack[ValueStack.Depth-2].stn as attribute_list;
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].td;
}
break;
- case 363: // method_decl_withattr -> attribute_declarations, method_decl
+ case 361: // method_decl_withattr -> attribute_declarations, method_decl
{
(ValueStack[ValueStack.Depth-1].stn as declaration).attributes = ValueStack[ValueStack.Depth-2].stn as attribute_list;
if (ValueStack[ValueStack.Depth-1].stn is procedure_definition && (ValueStack[ValueStack.Depth-1].stn as procedure_definition).proc_header != null)
@@ -4538,72 +4527,72 @@ public partial class GPPGParser: ShiftReduceParser inclass_proc_func_decl
+ case 362: // method_decl -> inclass_proc_func_decl
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 365: // method_decl -> inclass_constr_destr_decl
+ case 363: // method_decl -> inclass_constr_destr_decl
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 366: // method_header -> class_or_static, method_procfunc_header
+ case 364: // method_header -> class_or_static, method_procfunc_header
{
(ValueStack[ValueStack.Depth-1].td as procedure_header).class_keyword = true;
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
}
break;
- case 367: // method_header -> method_procfunc_header
+ case 365: // method_header -> method_procfunc_header
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 368: // method_header -> constr_destr_header
+ case 366: // method_header -> constr_destr_header
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 369: // method_procfunc_header -> proc_func_header
+ case 367: // method_procfunc_header -> proc_func_header
{
CurrentSemanticValue.td = NewProcfuncHeading(ValueStack[ValueStack.Depth-1].td as procedure_header);
}
break;
- case 370: // proc_func_header -> proc_header
+ case 368: // proc_func_header -> proc_header
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 371: // proc_func_header -> func_header
+ case 369: // proc_func_header -> func_header
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 372: // constr_destr_header -> tkConstructor, optional_proc_name, fp_list,
+ case 370: // constr_destr_header -> tkConstructor, optional_proc_name, fp_list,
// optional_method_modificators
{
CurrentSemanticValue.td = new constructor(null,ValueStack[ValueStack.Depth-2].stn as formal_parameters,ValueStack[ValueStack.Depth-1].stn as procedure_attributes_list,ValueStack[ValueStack.Depth-3].stn as method_name,false,false,null,null,CurrentLocationSpan);
}
break;
- case 373: // constr_destr_header -> class_or_static, tkConstructor, optional_proc_name,
+ case 371: // constr_destr_header -> class_or_static, tkConstructor, optional_proc_name,
// fp_list, optional_method_modificators
{
CurrentSemanticValue.td = new constructor(null,ValueStack[ValueStack.Depth-2].stn as formal_parameters,ValueStack[ValueStack.Depth-1].stn as procedure_attributes_list,ValueStack[ValueStack.Depth-3].stn as method_name,false,true,null,null,CurrentLocationSpan);
}
break;
- case 374: // constr_destr_header -> tkDestructor, optional_proc_name, fp_list,
+ case 372: // constr_destr_header -> tkDestructor, optional_proc_name, fp_list,
// optional_method_modificators
{
CurrentSemanticValue.td = new destructor(null,ValueStack[ValueStack.Depth-2].stn as formal_parameters,ValueStack[ValueStack.Depth-1].stn as procedure_attributes_list,ValueStack[ValueStack.Depth-3].stn as method_name, false,false,null,null,CurrentLocationSpan);
}
break;
- case 375: // optional_proc_name -> proc_name
+ case 373: // optional_proc_name -> proc_name
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 376: // optional_proc_name -> /* empty */
+ case 374: // optional_proc_name -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 377: // property_definition -> attribute_declarations, simple_property_definition
+ case 375: // property_definition -> attribute_declarations, simple_property_definition
{
CurrentSemanticValue.stn = NewPropertyDefinition(ValueStack[ValueStack.Depth-2].stn as attribute_list, ValueStack[ValueStack.Depth-1].stn as declaration, LocationStack[LocationStack.Depth-1]);
}
break;
- case 378: // simple_property_definition -> tkProperty, func_name, property_interface,
+ case 376: // simple_property_definition -> tkProperty, func_name, property_interface,
// property_specifiers, tkSemiColon,
// array_defaultproperty
{
CurrentSemanticValue.stn = NewSimplePropertyDefinition(ValueStack[ValueStack.Depth-5].stn as method_name, ValueStack[ValueStack.Depth-4].stn as property_interface, ValueStack[ValueStack.Depth-3].stn as property_accessors, proc_attribute.attr_none, ValueStack[ValueStack.Depth-1].stn as property_array_default, CurrentLocationSpan);
}
break;
- case 379: // simple_property_definition -> tkProperty, func_name, property_interface,
+ case 377: // simple_property_definition -> tkProperty, func_name, property_interface,
// property_specifiers, tkSemiColon,
// property_modificator, tkSemiColon,
// array_defaultproperty
@@ -4618,7 +4607,7 @@ public partial class GPPGParser: ShiftReduceParser class_or_static, tkProperty, func_name,
+ case 378: // simple_property_definition -> class_or_static, tkProperty, func_name,
// property_interface, property_specifiers,
// tkSemiColon, array_defaultproperty
{
@@ -4626,7 +4615,7 @@ public partial class GPPGParser: ShiftReduceParser class_or_static, tkProperty, func_name,
+ case 379: // simple_property_definition -> class_or_static, tkProperty, func_name,
// property_interface, property_specifiers,
// tkSemiColon, property_modificator, tkSemiColon,
// array_defaultproperty
@@ -4634,7 +4623,7 @@ public partial class GPPGParser: ShiftReduceParser tkAuto, tkProperty, func_name, property_interface,
+ case 380: // simple_property_definition -> tkAuto, tkProperty, func_name, property_interface,
// optional_property_initialization, tkSemiColon
{
CurrentSemanticValue.stn = NewSimplePropertyDefinition(ValueStack[ValueStack.Depth-4].stn as method_name, ValueStack[ValueStack.Depth-3].stn as property_interface, null, proc_attribute.attr_none, null, CurrentLocationSpan);
@@ -4642,7 +4631,7 @@ public partial class GPPGParser: ShiftReduceParser class_or_static, tkAuto, tkProperty, func_name,
+ case 381: // simple_property_definition -> class_or_static, tkAuto, tkProperty, func_name,
// property_interface,
// optional_property_initialization, tkSemiColon
{
@@ -4652,54 +4641,54 @@ public partial class GPPGParser: ShiftReduceParser tkAssign, expr
+ case 382: // optional_property_initialization -> tkAssign, expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 385: // optional_property_initialization -> /* empty */
+ case 383: // optional_property_initialization -> /* empty */
{ CurrentSemanticValue.ex = null; }
break;
- case 386: // array_defaultproperty -> /* empty */
+ case 384: // array_defaultproperty -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 387: // array_defaultproperty -> tkDefault, tkSemiColon
+ case 385: // array_defaultproperty -> tkDefault, tkSemiColon
{
CurrentSemanticValue.stn = new property_array_default();
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 388: // property_interface -> property_parameter_list, tkColon, fptype
+ case 386: // property_interface -> property_parameter_list, tkColon, fptype
{
CurrentSemanticValue.stn = new property_interface(ValueStack[ValueStack.Depth-3].stn as property_parameter_list, ValueStack[ValueStack.Depth-1].td, null, CurrentLocationSpan);
}
break;
- case 389: // property_parameter_list -> /* empty */
+ case 387: // property_parameter_list -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 390: // property_parameter_list -> tkSquareOpen, parameter_decl_list, tkSquareClose
+ case 388: // property_parameter_list -> tkSquareOpen, parameter_decl_list, tkSquareClose
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn; }
break;
- case 391: // parameter_decl_list -> parameter_decl
+ case 389: // parameter_decl_list -> parameter_decl
{
CurrentSemanticValue.stn = new property_parameter_list(ValueStack[ValueStack.Depth-1].stn as property_parameter, CurrentLocationSpan);
}
break;
- case 392: // parameter_decl_list -> parameter_decl_list, tkSemiColon, parameter_decl
+ case 390: // parameter_decl_list -> parameter_decl_list, tkSemiColon, parameter_decl
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as property_parameter_list).Add(ValueStack[ValueStack.Depth-1].stn as property_parameter, CurrentLocationSpan);
}
break;
- case 393: // parameter_decl -> ident_list, tkColon, fptype
+ case 391: // parameter_decl -> ident_list, tkColon, fptype
{
CurrentSemanticValue.stn = new property_parameter(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 394: // optional_read_expr -> expr_with_func_decl_lambda
+ case 392: // optional_read_expr -> expr_with_func_decl_lambda
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 395: // optional_read_expr -> /* empty */
+ case 393: // optional_read_expr -> /* empty */
{ CurrentSemanticValue.ex = null; }
break;
- case 397: // property_specifiers -> tkRead, optional_read_expr, write_property_specifiers
+ case 395: // property_specifiers -> tkRead, optional_read_expr, write_property_specifiers
{
if (ValueStack[ValueStack.Depth-2].ex == null || ValueStack[ValueStack.Depth-2].ex is ident) // ����������� ��������
{
@@ -4715,7 +4704,7 @@ public partial class GPPGParser: ShiftReduceParser tkWrite, unlabelled_stmt, read_property_specifiers
+ case 396: // property_specifiers -> tkWrite, unlabelled_stmt, read_property_specifiers
{
if (ValueStack[ValueStack.Depth-2].stn is empty_statement)
{
@@ -4739,7 +4728,7 @@ public partial class GPPGParser: ShiftReduceParser tkWrite, unlabelled_stmt
+ case 398: // write_property_specifiers -> tkWrite, unlabelled_stmt
{
if (ValueStack[ValueStack.Depth-1].stn is empty_statement)
{
@@ -4762,7 +4751,7 @@ public partial class GPPGParser: ShiftReduceParser tkRead, optional_read_expr
+ case 400: // read_property_specifiers -> tkRead, optional_read_expr
{
if (ValueStack[ValueStack.Depth-1].ex == null || ValueStack[ValueStack.Depth-1].ex is ident)
{
@@ -4778,29 +4767,29 @@ public partial class GPPGParser: ShiftReduceParser var_decl_part, tkSemiColon
+ case 401: // var_decl -> var_decl_part, tkSemiColon
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn; }
break;
- case 406: // var_decl_part -> ident_list, tkColon, type_ref
+ case 404: // var_decl_part -> ident_list, tkColon, type_ref
{
CurrentSemanticValue.stn = new var_def_statement(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, null, definition_attribute.None, false, CurrentLocationSpan);
}
break;
- case 407: // var_decl_part -> ident_list, tkAssign, expr_with_func_decl_lambda
+ case 405: // var_decl_part -> ident_list, tkAssign, expr_with_func_decl_lambda
{
CurrentSemanticValue.stn = new var_def_statement(ValueStack[ValueStack.Depth-3].stn as ident_list, null, ValueStack[ValueStack.Depth-1].ex, definition_attribute.None, false, CurrentLocationSpan);
}
break;
- case 408: // var_decl_part -> ident_list, tkColon, type_ref, tkAssignOrEqual,
+ case 406: // var_decl_part -> ident_list, tkColon, type_ref, tkAssignOrEqual,
// typed_var_init_expression
{
CurrentSemanticValue.stn = new var_def_statement(ValueStack[ValueStack.Depth-5].stn as ident_list, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].ex, definition_attribute.None, false, CurrentLocationSpan);
}
break;
- case 409: // typed_var_init_expression -> typed_const_plus
+ case 407: // typed_var_init_expression -> typed_const_plus
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 410: // typed_var_init_expression -> const_simple_expr, tkDotDot, const_term
+ case 408: // typed_var_init_expression -> const_simple_expr, tkDotDot, const_term
{
if (parsertools.build_tree_for_formatter)
CurrentSemanticValue.ex = new diapason_expr(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].ex,CurrentLocationSpan);
@@ -4808,23 +4797,23 @@ public partial class GPPGParser: ShiftReduceParser expl_func_decl_lambda
+ case 409: // typed_var_init_expression -> expl_func_decl_lambda
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 412: // typed_var_init_expression -> identifier, tkArrow, lambda_function_body
+ case 410: // typed_var_init_expression -> identifier, tkArrow, lambda_function_body
{
var idList = new ident_list(ValueStack[ValueStack.Depth-3].id, LocationStack[LocationStack.Depth-3]);
var formalPars = new formal_parameters(new typed_parameters(idList, new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), LocationStack[LocationStack.Depth-3]), parametr_kind.none, null, LocationStack[LocationStack.Depth-3]), LocationStack[LocationStack.Depth-3]);
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), formalPars, new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), LocationStack[LocationStack.Depth-3]), ValueStack[ValueStack.Depth-1].stn as statement_list, CurrentLocationSpan);
}
break;
- case 413: // typed_var_init_expression -> tkRoundOpen, tkRoundClose, lambda_type_ref,
+ case 411: // typed_var_init_expression -> tkRoundOpen, tkRoundClose, lambda_type_ref,
// tkArrow, lambda_function_body
{
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, CurrentLocationSpan);
}
break;
- case 414: // typed_var_init_expression -> tkRoundOpen, typed_const_list, tkRoundClose,
+ case 412: // typed_var_init_expression -> tkRoundOpen, typed_const_list, tkRoundClose,
// tkArrow, lambda_function_body
{
var el = ValueStack[ValueStack.Depth-4].stn as expression_list;
@@ -4846,15 +4835,15 @@ public partial class GPPGParser: ShiftReduceParser typed_const
+ case 413: // typed_const_plus -> typed_const
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 416: // constr_destr_decl -> constr_destr_header, block
+ case 414: // constr_destr_decl -> constr_destr_header, block
{
CurrentSemanticValue.stn = new procedure_definition(ValueStack[ValueStack.Depth-2].td as procedure_header, ValueStack[ValueStack.Depth-1].stn as block, CurrentLocationSpan);
}
break;
- case 417: // constr_destr_decl -> tkConstructor, optional_proc_name, fp_list, tkAssign,
+ case 415: // constr_destr_decl -> tkConstructor, optional_proc_name, fp_list, tkAssign,
// unlabelled_stmt, tkSemiColon
{
if (ValueStack[ValueStack.Depth-2].stn is empty_statement)
@@ -4865,7 +4854,7 @@ public partial class GPPGParser: ShiftReduceParser class_or_static, tkConstructor, optional_proc_name,
+ case 416: // constr_destr_decl -> class_or_static, tkConstructor, optional_proc_name,
// fp_list, tkAssign, unlabelled_stmt, tkSemiColon
{
if (ValueStack[ValueStack.Depth-2].stn is empty_statement)
@@ -4876,12 +4865,12 @@ public partial class GPPGParser: ShiftReduceParser constr_destr_header, inclass_block
+ case 417: // inclass_constr_destr_decl -> constr_destr_header, inclass_block
{
CurrentSemanticValue.stn = new procedure_definition(ValueStack[ValueStack.Depth-2].td as procedure_header, ValueStack[ValueStack.Depth-1].stn as block, CurrentLocationSpan);
}
break;
- case 420: // inclass_constr_destr_decl -> tkConstructor, optional_proc_name, fp_list,
+ case 418: // inclass_constr_destr_decl -> tkConstructor, optional_proc_name, fp_list,
// tkAssign, unlabelled_stmt, tkSemiColon
{
if (ValueStack[ValueStack.Depth-2].stn is empty_statement)
@@ -4892,7 +4881,7 @@ public partial class GPPGParser: ShiftReduceParser class_or_static, tkConstructor, optional_proc_name,
+ case 419: // inclass_constr_destr_decl -> class_or_static, tkConstructor, optional_proc_name,
// fp_list, tkAssign, unlabelled_stmt, tkSemiColon
{
if (ValueStack[ValueStack.Depth-2].stn is empty_statement)
@@ -4903,28 +4892,28 @@ public partial class GPPGParser: ShiftReduceParser proc_func_decl_noclass
+ case 420: // proc_func_decl -> proc_func_decl_noclass
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 423: // proc_func_decl -> class_or_static, proc_func_decl_noclass
+ case 421: // proc_func_decl -> class_or_static, proc_func_decl_noclass
{
(ValueStack[ValueStack.Depth-1].stn as procedure_definition).proc_header.class_keyword = true;
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 424: // proc_func_decl_noclass -> proc_func_header, proc_func_external_block
+ case 422: // proc_func_decl_noclass -> proc_func_header, proc_func_external_block
{
CurrentSemanticValue.stn = new procedure_definition(ValueStack[ValueStack.Depth-2].td as procedure_header, ValueStack[ValueStack.Depth-1].stn as proc_block, CurrentLocationSpan);
}
break;
- case 425: // proc_func_decl_noclass -> tkFunction, func_name, fp_list, tkColon, fptype,
+ case 423: // proc_func_decl_noclass -> tkFunction, func_name, fp_list, tkColon, fptype,
// optional_method_modificators1, tkAssign, expr_l1,
// tkSemiColon
{
CurrentSemanticValue.stn = SyntaxTreeBuilder.BuildShortFuncDefinition(ValueStack[ValueStack.Depth-7].stn as formal_parameters, ValueStack[ValueStack.Depth-4].stn as procedure_attributes_list, ValueStack[ValueStack.Depth-8].stn as method_name, ValueStack[ValueStack.Depth-5].td as type_definition, ValueStack[ValueStack.Depth-2].ex, LocationStack[LocationStack.Depth-9].Merge(LocationStack[LocationStack.Depth-4]));
}
break;
- case 426: // proc_func_decl_noclass -> tkFunction, func_name, fp_list,
+ case 424: // proc_func_decl_noclass -> tkFunction, func_name, fp_list,
// optional_method_modificators1, tkAssign, expr_l1,
// tkSemiColon
{
@@ -4934,21 +4923,21 @@ public partial class GPPGParser: ShiftReduceParser tkFunction, func_name, fp_list, tkColon, fptype,
+ case 425: // proc_func_decl_noclass -> tkFunction, func_name, fp_list, tkColon, fptype,
// optional_method_modificators1, tkAssign,
// func_decl_lambda, tkSemiColon
{
CurrentSemanticValue.stn = SyntaxTreeBuilder.BuildShortFuncDefinition(ValueStack[ValueStack.Depth-7].stn as formal_parameters, ValueStack[ValueStack.Depth-4].stn as procedure_attributes_list, ValueStack[ValueStack.Depth-8].stn as method_name, ValueStack[ValueStack.Depth-5].td as type_definition, ValueStack[ValueStack.Depth-2].ex, LocationStack[LocationStack.Depth-9].Merge(LocationStack[LocationStack.Depth-4]));
}
break;
- case 428: // proc_func_decl_noclass -> tkFunction, func_name, fp_list,
+ case 426: // proc_func_decl_noclass -> tkFunction, func_name, fp_list,
// optional_method_modificators1, tkAssign,
// func_decl_lambda, tkSemiColon
{
CurrentSemanticValue.stn = SyntaxTreeBuilder.BuildShortFuncDefinition(ValueStack[ValueStack.Depth-5].stn as formal_parameters, ValueStack[ValueStack.Depth-4].stn as procedure_attributes_list, ValueStack[ValueStack.Depth-6].stn as method_name, null, ValueStack[ValueStack.Depth-2].ex, LocationStack[LocationStack.Depth-7].Merge(LocationStack[LocationStack.Depth-4]));
}
break;
- case 429: // proc_func_decl_noclass -> tkProcedure, proc_name, fp_list,
+ case 427: // proc_func_decl_noclass -> tkProcedure, proc_name, fp_list,
// optional_method_modificators1, tkAssign,
// unlabelled_stmt, tkSemiColon
{
@@ -4957,30 +4946,30 @@ public partial class GPPGParser: ShiftReduceParser proc_func_header, tkForward, tkSemiColon
+ case 428: // proc_func_decl_noclass -> proc_func_header, tkForward, tkSemiColon
{
CurrentSemanticValue.stn = new procedure_definition(ValueStack[ValueStack.Depth-3].td as procedure_header, null, CurrentLocationSpan);
(CurrentSemanticValue.stn as procedure_definition).proc_header.proc_attributes.Add((procedure_attribute)ValueStack[ValueStack.Depth-2].id, ValueStack[ValueStack.Depth-2].id.source_context);
}
break;
- case 431: // inclass_proc_func_decl -> inclass_proc_func_decl_noclass
+ case 429: // inclass_proc_func_decl -> inclass_proc_func_decl_noclass
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 432: // inclass_proc_func_decl -> class_or_static, inclass_proc_func_decl_noclass
+ case 430: // inclass_proc_func_decl -> class_or_static, inclass_proc_func_decl_noclass
{
if ((ValueStack[ValueStack.Depth-1].stn as procedure_definition).proc_header != null)
(ValueStack[ValueStack.Depth-1].stn as procedure_definition).proc_header.class_keyword = true;
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 433: // inclass_proc_func_decl_noclass -> proc_func_header, inclass_block
+ case 431: // inclass_proc_func_decl_noclass -> proc_func_header, inclass_block
{
CurrentSemanticValue.stn = new procedure_definition(ValueStack[ValueStack.Depth-2].td as procedure_header, ValueStack[ValueStack.Depth-1].stn as proc_block, CurrentLocationSpan);
}
break;
- case 434: // inclass_proc_func_decl_noclass -> tkFunction, func_name, fp_list, tkColon,
+ case 432: // inclass_proc_func_decl_noclass -> tkFunction, func_name, fp_list, tkColon,
// fptype, optional_method_modificators1,
// tkAssign, expr_l1_func_decl_lambda,
// tkSemiColon
@@ -4990,7 +4979,7 @@ public partial class GPPGParser: ShiftReduceParser tkFunction, func_name, fp_list,
+ case 433: // inclass_proc_func_decl_noclass -> tkFunction, func_name, fp_list,
// optional_method_modificators1, tkAssign,
// expr_l1_func_decl_lambda, tkSemiColon
{
@@ -4999,7 +4988,7 @@ public partial class GPPGParser: ShiftReduceParser tkProcedure, proc_name, fp_list,
+ case 434: // inclass_proc_func_decl_noclass -> tkProcedure, proc_name, fp_list,
// optional_method_modificators1, tkAssign,
// unlabelled_stmt, tkSemiColon
{
@@ -5008,21 +4997,21 @@ public partial class GPPGParser: ShiftReduceParser block
+ case 435: // proc_func_external_block -> block
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 438: // proc_func_external_block -> external_block
+ case 436: // proc_func_external_block -> external_block
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 439: // proc_name -> func_name
+ case 437: // proc_name -> func_name
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 440: // func_name -> func_meth_name_ident
+ case 438: // func_name -> func_meth_name_ident
{
CurrentSemanticValue.stn = new method_name(null,null, ValueStack[ValueStack.Depth-1].id, null, CurrentLocationSpan);
}
break;
- case 441: // func_name -> func_class_name_ident_list, tkPoint, func_meth_name_ident
+ case 439: // func_name -> func_class_name_ident_list, tkPoint, func_meth_name_ident
{
var ln = ValueStack[ValueStack.Depth-3].ob as List;
var cnt = ln.Count;
@@ -5032,290 +5021,290 @@ public partial class GPPGParser: ShiftReduceParser func_name_with_template_args
+ case 440: // func_class_name_ident -> func_name_with_template_args
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 443: // func_class_name_ident_list -> func_class_name_ident
+ case 441: // func_class_name_ident_list -> func_class_name_ident
{
CurrentSemanticValue.ob = new List();
(CurrentSemanticValue.ob as List).Add(ValueStack[ValueStack.Depth-1].id);
}
break;
- case 444: // func_class_name_ident_list -> func_class_name_ident_list, tkPoint,
+ case 442: // func_class_name_ident_list -> func_class_name_ident_list, tkPoint,
// func_class_name_ident
{
(ValueStack[ValueStack.Depth-3].ob as List).Add(ValueStack[ValueStack.Depth-1].id);
CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-3].ob;
}
break;
- case 445: // func_meth_name_ident -> func_name_with_template_args
+ case 443: // func_meth_name_ident -> func_name_with_template_args
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 446: // func_meth_name_ident -> operator_name_ident
+ case 444: // func_meth_name_ident -> operator_name_ident
{ CurrentSemanticValue.id = (ident)ValueStack[ValueStack.Depth-1].ex; }
break;
- case 447: // func_meth_name_ident -> operator_name_ident, template_arguments
+ case 445: // func_meth_name_ident -> operator_name_ident, template_arguments
{ CurrentSemanticValue.id = new template_operator_name(null, ValueStack[ValueStack.Depth-1].stn as ident_list, ValueStack[ValueStack.Depth-2].ex as operator_name_ident, CurrentLocationSpan); }
break;
- case 448: // func_name_with_template_args -> func_name_ident
+ case 446: // func_name_with_template_args -> func_name_ident
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 449: // func_name_with_template_args -> func_name_ident, template_arguments
+ case 447: // func_name_with_template_args -> func_name_ident, template_arguments
{
CurrentSemanticValue.id = new template_type_name(ValueStack[ValueStack.Depth-2].id.name, ValueStack[ValueStack.Depth-1].stn as ident_list, CurrentLocationSpan);
}
break;
- case 450: // func_name_ident -> identifier
+ case 448: // func_name_ident -> identifier
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 451: // proc_header -> tkProcedure, proc_name, fp_list, optional_method_modificators,
+ case 449: // proc_header -> tkProcedure, proc_name, fp_list, optional_method_modificators,
// optional_where_section
{
CurrentSemanticValue.td = new procedure_header(ValueStack[ValueStack.Depth-3].stn as formal_parameters, ValueStack[ValueStack.Depth-2].stn as procedure_attributes_list, ValueStack[ValueStack.Depth-4].stn as method_name, ValueStack[ValueStack.Depth-1].stn as where_definition_list, CurrentLocationSpan);
}
break;
- case 452: // func_header -> tkFunction, func_name, fp_list, optional_method_modificators,
+ case 450: // func_header -> tkFunction, func_name, fp_list, optional_method_modificators,
// optional_where_section
{
CurrentSemanticValue.td = new function_header(ValueStack[ValueStack.Depth-3].stn as formal_parameters, ValueStack[ValueStack.Depth-2].stn as procedure_attributes_list, ValueStack[ValueStack.Depth-4].stn as method_name, ValueStack[ValueStack.Depth-1].stn as where_definition_list, null, CurrentLocationSpan);
}
break;
- case 453: // func_header -> tkFunction, func_name, fp_list, tkColon, fptype,
+ case 451: // func_header -> tkFunction, func_name, fp_list, tkColon, fptype,
// optional_method_modificators, optional_where_section
{
CurrentSemanticValue.td = new function_header(ValueStack[ValueStack.Depth-5].stn as formal_parameters, ValueStack[ValueStack.Depth-2].stn as procedure_attributes_list, ValueStack[ValueStack.Depth-6].stn as method_name, ValueStack[ValueStack.Depth-1].stn as where_definition_list, ValueStack[ValueStack.Depth-3].td as type_definition, CurrentLocationSpan);
}
break;
- case 454: // external_block -> tkExternal, external_directive_ident, tkName,
+ case 452: // external_block -> tkExternal, external_directive_ident, tkName,
// external_directive_ident, tkSemiColon
{
CurrentSemanticValue.stn = new external_directive(ValueStack[ValueStack.Depth-4].ex, ValueStack[ValueStack.Depth-2].ex, CurrentLocationSpan);
}
break;
- case 455: // external_block -> tkExternal, external_directive_ident, tkSemiColon
+ case 453: // external_block -> tkExternal, external_directive_ident, tkSemiColon
{
CurrentSemanticValue.stn = new external_directive(ValueStack[ValueStack.Depth-2].ex, null, CurrentLocationSpan);
}
break;
- case 456: // external_block -> tkExternal, tkSemiColon
+ case 454: // external_block -> tkExternal, tkSemiColon
{
CurrentSemanticValue.stn = new external_directive(null, null, CurrentLocationSpan);
}
break;
- case 457: // external_directive_ident -> identifier
+ case 455: // external_directive_ident -> identifier
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].id; }
break;
- case 458: // external_directive_ident -> literal
+ case 456: // external_directive_ident -> literal
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 459: // block -> decl_sect_list, compound_stmt, tkSemiColon
+ case 457: // block -> decl_sect_list, compound_stmt, tkSemiColon
{
CurrentSemanticValue.stn = new block(ValueStack[ValueStack.Depth-3].stn as declarations, ValueStack[ValueStack.Depth-2].stn as statement_list, CurrentLocationSpan);
}
break;
- case 460: // inclass_block -> inclass_decl_sect_list, compound_stmt, tkSemiColon
+ case 458: // inclass_block -> inclass_decl_sect_list, compound_stmt, tkSemiColon
{
CurrentSemanticValue.stn = new block(ValueStack[ValueStack.Depth-3].stn as declarations, ValueStack[ValueStack.Depth-2].stn as statement_list, CurrentLocationSpan);
}
break;
- case 461: // inclass_block -> external_block
+ case 459: // inclass_block -> external_block
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 462: // fp_list -> /* empty */
+ case 460: // fp_list -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 463: // fp_list -> tkRoundOpen, tkRoundClose
+ case 461: // fp_list -> tkRoundOpen, tkRoundClose
{
CurrentSemanticValue.stn = null;
}
break;
- case 464: // fp_list -> tkRoundOpen, fp_sect_list, tkRoundClose
+ case 462: // fp_list -> tkRoundOpen, fp_sect_list, tkRoundClose
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn;
if (CurrentSemanticValue.stn != null)
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 465: // fp_sect_list -> fp_sect
+ case 463: // fp_sect_list -> fp_sect
{
CurrentSemanticValue.stn = new formal_parameters(ValueStack[ValueStack.Depth-1].stn as typed_parameters, CurrentLocationSpan);
}
break;
- case 466: // fp_sect_list -> fp_sect_list, tkSemiColon, fp_sect
+ case 464: // fp_sect_list -> fp_sect_list, tkSemiColon, fp_sect
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as formal_parameters).Add(ValueStack[ValueStack.Depth-1].stn as typed_parameters, CurrentLocationSpan);
}
break;
- case 467: // fp_sect -> attribute_declarations, simple_fp_sect
+ case 465: // fp_sect -> attribute_declarations, simple_fp_sect
{
(ValueStack[ValueStack.Depth-1].stn as declaration).attributes = ValueStack[ValueStack.Depth-2].stn as attribute_list;
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 468: // simple_fp_sect -> param_name_list, tkColon, fptype
+ case 466: // simple_fp_sect -> param_name_list, tkColon, fptype
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, parametr_kind.none, null, CurrentLocationSpan);
}
break;
- case 469: // simple_fp_sect -> tkVar, param_name_list, tkColon, fptype
+ case 467: // simple_fp_sect -> tkVar, param_name_list, tkColon, fptype
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, parametr_kind.var_parametr, null, CurrentLocationSpan);
}
break;
- case 470: // simple_fp_sect -> tkConst, param_name_list, tkColon, fptype
+ case 468: // simple_fp_sect -> tkConst, param_name_list, tkColon, fptype
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, parametr_kind.const_parametr, null, CurrentLocationSpan);
}
break;
- case 471: // simple_fp_sect -> tkParams, param_name_list, tkColon, fptype
+ case 469: // simple_fp_sect -> tkParams, param_name_list, tkColon, fptype
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td,parametr_kind.params_parametr,null, CurrentLocationSpan);
}
break;
- case 472: // simple_fp_sect -> param_name_list, tkColon, fptype, tkAssign, expr
+ case 470: // simple_fp_sect -> param_name_list, tkColon, fptype, tkAssign, expr
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-5].stn as ident_list, ValueStack[ValueStack.Depth-3].td, parametr_kind.none, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 473: // simple_fp_sect -> tkVar, param_name_list, tkColon, fptype, tkAssign, expr
+ case 471: // simple_fp_sect -> tkVar, param_name_list, tkColon, fptype, tkAssign, expr
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-5].stn as ident_list, ValueStack[ValueStack.Depth-3].td, parametr_kind.var_parametr, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 474: // simple_fp_sect -> tkConst, param_name_list, tkColon, fptype, tkAssign, expr
+ case 472: // simple_fp_sect -> tkConst, param_name_list, tkColon, fptype, tkAssign, expr
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-5].stn as ident_list, ValueStack[ValueStack.Depth-3].td, parametr_kind.const_parametr, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 475: // param_name_list -> param_name
+ case 473: // param_name_list -> param_name
{
CurrentSemanticValue.stn = new ident_list(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan);
}
break;
- case 476: // param_name_list -> param_name_list, tkComma, param_name
+ case 474: // param_name_list -> param_name_list, tkComma, param_name
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as ident_list).Add(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan);
}
break;
- case 477: // param_name -> identifier
+ case 475: // param_name -> identifier
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 478: // fptype -> type_ref
+ case 476: // fptype -> type_ref
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 479: // fptype_noproctype -> simple_type
+ case 477: // fptype_noproctype -> simple_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 480: // fptype_noproctype -> string_type
+ case 478: // fptype_noproctype -> string_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 481: // fptype_noproctype -> pointer_type
+ case 479: // fptype_noproctype -> pointer_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 482: // fptype_noproctype -> structured_type
+ case 480: // fptype_noproctype -> structured_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 483: // fptype_noproctype -> template_type
+ case 481: // fptype_noproctype -> template_type
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 484: // stmt -> unlabelled_stmt
+ case 482: // stmt -> unlabelled_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 485: // stmt -> label_name, tkColon, stmt
+ case 483: // stmt -> label_name, tkColon, stmt
{
CurrentSemanticValue.stn = new labeled_statement(ValueStack[ValueStack.Depth-3].id, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 486: // unlabelled_stmt -> /* empty */
+ case 484: // unlabelled_stmt -> /* empty */
{
CurrentSemanticValue.stn = new empty_statement();
CurrentSemanticValue.stn.source_context = null;
}
break;
- case 487: // unlabelled_stmt -> assignment
+ case 485: // unlabelled_stmt -> assignment
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 488: // unlabelled_stmt -> proc_call
+ case 486: // unlabelled_stmt -> proc_call
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 489: // unlabelled_stmt -> goto_stmt
+ case 487: // unlabelled_stmt -> goto_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 490: // unlabelled_stmt -> compound_stmt
+ case 488: // unlabelled_stmt -> compound_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 491: // unlabelled_stmt -> if_stmt
+ case 489: // unlabelled_stmt -> if_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 492: // unlabelled_stmt -> case_stmt
+ case 490: // unlabelled_stmt -> case_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 493: // unlabelled_stmt -> repeat_stmt
+ case 491: // unlabelled_stmt -> repeat_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 494: // unlabelled_stmt -> while_stmt
+ case 492: // unlabelled_stmt -> while_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 495: // unlabelled_stmt -> for_stmt
+ case 493: // unlabelled_stmt -> for_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 496: // unlabelled_stmt -> with_stmt
+ case 494: // unlabelled_stmt -> with_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 497: // unlabelled_stmt -> inherited_message
+ case 495: // unlabelled_stmt -> inherited_message
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 498: // unlabelled_stmt -> try_stmt
+ case 496: // unlabelled_stmt -> try_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 499: // unlabelled_stmt -> raise_stmt
+ case 497: // unlabelled_stmt -> raise_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 500: // unlabelled_stmt -> foreach_stmt
+ case 498: // unlabelled_stmt -> foreach_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 501: // unlabelled_stmt -> var_stmt
+ case 499: // unlabelled_stmt -> var_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 502: // unlabelled_stmt -> expr_as_stmt
+ case 500: // unlabelled_stmt -> expr_as_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 503: // unlabelled_stmt -> lock_stmt
+ case 501: // unlabelled_stmt -> lock_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 504: // unlabelled_stmt -> yield_stmt
+ case 502: // unlabelled_stmt -> yield_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 505: // unlabelled_stmt -> yield_sequence_stmt
+ case 503: // unlabelled_stmt -> yield_sequence_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 506: // unlabelled_stmt -> loop_stmt
+ case 504: // unlabelled_stmt -> loop_stmt
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 507: // unlabelled_stmt -> match_with
+ case 505: // unlabelled_stmt -> match_with
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 508: // loop_stmt -> tkLoop, expr_l1, tkDo, unlabelled_stmt
+ case 506: // loop_stmt -> tkLoop, expr_l1, tkDo, unlabelled_stmt
{
CurrentSemanticValue.stn = new loop_stmt(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].stn as statement,CurrentLocationSpan);
}
break;
- case 509: // yield_stmt -> tkYield, expr_l1_func_decl_lambda
+ case 507: // yield_stmt -> tkYield, expr_l1_func_decl_lambda
{
CurrentSemanticValue.stn = new yield_node(ValueStack[ValueStack.Depth-1].ex,CurrentLocationSpan);
}
break;
- case 510: // yield_sequence_stmt -> tkYield, tkSequence, expr_l1_func_decl_lambda
+ case 508: // yield_sequence_stmt -> tkYield, tkSequence, expr_l1_func_decl_lambda
{
CurrentSemanticValue.stn = new yield_sequence_node(ValueStack[ValueStack.Depth-1].ex,CurrentLocationSpan);
}
break;
- case 511: // var_stmt -> tkVar, var_decl_part
+ case 509: // var_stmt -> tkVar, var_decl_part
{
CurrentSemanticValue.stn = new var_statement(ValueStack[ValueStack.Depth-1].stn as var_def_statement, CurrentLocationSpan);
}
break;
- case 512: // var_stmt -> tkRoundOpen, tkVar, identifier, tkComma, var_ident_list,
+ case 510: // var_stmt -> tkRoundOpen, tkVar, identifier, tkComma, var_ident_list,
// tkRoundClose, tkAssign, expr
{
(ValueStack[ValueStack.Depth-4].ob as ident_list).Insert(0,ValueStack[ValueStack.Depth-6].id);
@@ -5323,7 +5312,7 @@ public partial class GPPGParser: ShiftReduceParser tkVar, tkRoundOpen, identifier, tkComma, ident_list, tkRoundClose,
+ case 511: // var_stmt -> tkVar, tkRoundOpen, identifier, tkComma, ident_list, tkRoundClose,
// tkAssign, expr
{
(ValueStack[ValueStack.Depth-4].stn as ident_list).Insert(0,ValueStack[ValueStack.Depth-6].id);
@@ -5331,14 +5320,14 @@ public partial class GPPGParser: ShiftReduceParser var_reference, assign_operator, expr_with_func_decl_lambda
+ case 512: // assignment -> var_reference, assign_operator, expr_with_func_decl_lambda
{
if (!(ValueStack[ValueStack.Depth-3].ex is addressed_value))
parsertools.AddErrorFromResource("LEFT_SIDE_CANNOT_BE_ASSIGNED_TO",CurrentLocationSpan);
CurrentSemanticValue.stn = new assign(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan);
}
break;
- case 515: // assignment -> tkRoundOpen, variable, tkComma, variable_list, tkRoundClose,
+ case 513: // assignment -> tkRoundOpen, variable, tkComma, variable_list, tkRoundClose,
// assign_operator, expr
{
if (ValueStack[ValueStack.Depth-2].op.type != Operators.Assignment)
@@ -5348,41 +5337,41 @@ public partial class GPPGParser: ShiftReduceParser variable
+ case 514: // variable_list -> variable
{
CurrentSemanticValue.ob = new addressed_value_list(ValueStack[ValueStack.Depth-1].ex as addressed_value,LocationStack[LocationStack.Depth-1]);
}
break;
- case 517: // variable_list -> variable_list, tkComma, variable
+ case 515: // variable_list -> variable_list, tkComma, variable
{
(ValueStack[ValueStack.Depth-3].ob as addressed_value_list).Add(ValueStack[ValueStack.Depth-1].ex as addressed_value);
(ValueStack[ValueStack.Depth-3].ob as syntax_tree_node).source_context = LexLocation.MergeAll(LocationStack[LocationStack.Depth-3],LocationStack[LocationStack.Depth-2],LocationStack[LocationStack.Depth-1]);
CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-3].ob;
}
break;
- case 518: // var_ident_list -> tkVar, identifier
+ case 516: // var_ident_list -> tkVar, identifier
{
CurrentSemanticValue.ob = new ident_list(ValueStack[ValueStack.Depth-1].id,CurrentLocationSpan);
}
break;
- case 519: // var_ident_list -> var_ident_list, tkComma, tkVar, identifier
+ case 517: // var_ident_list -> var_ident_list, tkComma, tkVar, identifier
{
(ValueStack[ValueStack.Depth-4].ob as ident_list).Add(ValueStack[ValueStack.Depth-1].id);
(ValueStack[ValueStack.Depth-4].ob as ident_list).source_context = LexLocation.MergeAll(LocationStack[LocationStack.Depth-4],LocationStack[LocationStack.Depth-3],LocationStack[LocationStack.Depth-2],LocationStack[LocationStack.Depth-1]);
CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-4].ob;
}
break;
- case 520: // proc_call -> var_reference
+ case 518: // proc_call -> var_reference
{
CurrentSemanticValue.stn = new procedure_call(ValueStack[ValueStack.Depth-1].ex as addressed_value, ValueStack[ValueStack.Depth-1].ex is ident, CurrentLocationSpan);
}
break;
- case 521: // goto_stmt -> tkGoto, label_name
+ case 519: // goto_stmt -> tkGoto, label_name
{
CurrentSemanticValue.stn = new goto_statement(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan);
}
break;
- case 522: // compound_stmt -> tkBegin, stmt_list, tkEnd
+ case 520: // compound_stmt -> tkBegin, stmt_list, tkEnd
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn;
(CurrentSemanticValue.stn as statement_list).left_logical_bracket = ValueStack[ValueStack.Depth-3].ti;
@@ -5390,124 +5379,124 @@ public partial class GPPGParser: ShiftReduceParser stmt
+ case 521: // stmt_list -> stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, LocationStack[LocationStack.Depth-1]);
}
break;
- case 524: // stmt_list -> stmt_list, tkSemiColon, stmt
+ case 522: // stmt_list -> stmt_list, tkSemiColon, stmt
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as statement_list).Add(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 525: // if_stmt -> tkIf, expr_l1, tkThen, unlabelled_stmt
+ case 523: // if_stmt -> tkIf, expr_l1, tkThen, unlabelled_stmt
{
CurrentSemanticValue.stn = new if_node(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].stn as statement, null, CurrentLocationSpan);
}
break;
- case 526: // if_stmt -> tkIf, expr_l1, tkThen, unlabelled_stmt, tkElse, unlabelled_stmt
+ case 524: // if_stmt -> tkIf, expr_l1, tkThen, unlabelled_stmt, tkElse, unlabelled_stmt
{
CurrentSemanticValue.stn = new if_node(ValueStack[ValueStack.Depth-5].ex, ValueStack[ValueStack.Depth-3].stn as statement, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 527: // match_with -> tkMatch, expr_l1, tkWith, pattern_cases, else_case, tkEnd
+ case 525: // match_with -> tkMatch, expr_l1, tkWith, pattern_cases, else_case, tkEnd
{
CurrentSemanticValue.stn = new match_with(ValueStack[ValueStack.Depth-5].ex, ValueStack[ValueStack.Depth-3].stn as pattern_cases, ValueStack[ValueStack.Depth-2].stn as statement, CurrentLocationSpan);
}
break;
- case 528: // match_with -> tkMatch, expr_l1, tkWith, pattern_cases, tkSemiColon, else_case,
+ case 526: // match_with -> tkMatch, expr_l1, tkWith, pattern_cases, tkSemiColon, else_case,
// tkEnd
{
CurrentSemanticValue.stn = new match_with(ValueStack[ValueStack.Depth-6].ex, ValueStack[ValueStack.Depth-4].stn as pattern_cases, ValueStack[ValueStack.Depth-2].stn as statement, CurrentLocationSpan);
}
break;
- case 529: // pattern_cases -> pattern_case
+ case 527: // pattern_cases -> pattern_case
{
CurrentSemanticValue.stn = new pattern_cases(ValueStack[ValueStack.Depth-1].stn as pattern_case);
}
break;
- case 530: // pattern_cases -> pattern_cases, tkSemiColon, pattern_case
+ case 528: // pattern_cases -> pattern_cases, tkSemiColon, pattern_case
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as pattern_cases).Add(ValueStack[ValueStack.Depth-1].stn as pattern_case);
}
break;
- case 531: // pattern_case -> pattern_optional_var, tkWhen, expr_l1, tkColon, unlabelled_stmt
+ case 529: // pattern_case -> pattern_optional_var, tkWhen, expr_l1, tkColon, unlabelled_stmt
{
CurrentSemanticValue.stn = new pattern_case(ValueStack[ValueStack.Depth-5].stn as pattern_node, ValueStack[ValueStack.Depth-1].stn as statement, ValueStack[ValueStack.Depth-3].ex, CurrentLocationSpan);
}
break;
- case 532: // pattern_case -> deconstruction_or_const_pattern, tkColon, unlabelled_stmt
+ case 530: // pattern_case -> deconstruction_or_const_pattern, tkColon, unlabelled_stmt
{
CurrentSemanticValue.stn = new pattern_case(ValueStack[ValueStack.Depth-3].stn as pattern_node, ValueStack[ValueStack.Depth-1].stn as statement, null, CurrentLocationSpan);
}
break;
- case 533: // pattern_case -> collection_pattern, tkColon, unlabelled_stmt
+ case 531: // pattern_case -> collection_pattern, tkColon, unlabelled_stmt
{
CurrentSemanticValue.stn = new pattern_case(ValueStack[ValueStack.Depth-3].stn as pattern_node, ValueStack[ValueStack.Depth-1].stn as statement, null, CurrentLocationSpan);
}
break;
- case 534: // pattern_case -> tuple_pattern, tkWhen, expr_l1, tkColon, unlabelled_stmt
+ case 532: // pattern_case -> tuple_pattern, tkWhen, expr_l1, tkColon, unlabelled_stmt
{
CurrentSemanticValue.stn = new pattern_case(ValueStack[ValueStack.Depth-5].stn as pattern_node, ValueStack[ValueStack.Depth-1].stn as statement, ValueStack[ValueStack.Depth-3].ex, CurrentLocationSpan);
}
break;
- case 535: // pattern_case -> tuple_pattern, tkColon, unlabelled_stmt
+ case 533: // pattern_case -> tuple_pattern, tkColon, unlabelled_stmt
{
CurrentSemanticValue.stn = new pattern_case(ValueStack[ValueStack.Depth-3].stn as pattern_node, ValueStack[ValueStack.Depth-1].stn as statement, null, CurrentLocationSpan);
}
break;
- case 536: // case_stmt -> tkCase, expr_l1, tkOf, case_list, else_case, tkEnd
+ case 534: // case_stmt -> tkCase, expr_l1, tkOf, case_list, else_case, tkEnd
{
CurrentSemanticValue.stn = new case_node(ValueStack[ValueStack.Depth-5].ex, ValueStack[ValueStack.Depth-3].stn as case_variants, ValueStack[ValueStack.Depth-2].stn as statement, CurrentLocationSpan);
}
break;
- case 537: // case_stmt -> tkCase, expr_l1, tkOf, case_list, tkSemiColon, else_case, tkEnd
+ case 535: // case_stmt -> tkCase, expr_l1, tkOf, case_list, tkSemiColon, else_case, tkEnd
{
CurrentSemanticValue.stn = new case_node(ValueStack[ValueStack.Depth-6].ex, ValueStack[ValueStack.Depth-4].stn as case_variants, ValueStack[ValueStack.Depth-2].stn as statement, CurrentLocationSpan);
}
break;
- case 538: // case_stmt -> tkCase, expr_l1, tkOf, else_case, tkEnd
+ case 536: // case_stmt -> tkCase, expr_l1, tkOf, else_case, tkEnd
{
CurrentSemanticValue.stn = new case_node(ValueStack[ValueStack.Depth-4].ex, NewCaseItem(new empty_statement(), null), ValueStack[ValueStack.Depth-2].stn as statement, CurrentLocationSpan);
}
break;
- case 539: // case_list -> case_item
+ case 537: // case_list -> case_item
{
if (ValueStack[ValueStack.Depth-1].stn is empty_statement)
CurrentSemanticValue.stn = NewCaseItem(ValueStack[ValueStack.Depth-1].stn, null);
else CurrentSemanticValue.stn = NewCaseItem(ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 540: // case_list -> case_list, tkSemiColon, case_item
+ case 538: // case_list -> case_list, tkSemiColon, case_item
{
CurrentSemanticValue.stn = AddCaseItem(ValueStack[ValueStack.Depth-3].stn as case_variants, ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 541: // case_item -> case_label_list, tkColon, unlabelled_stmt
+ case 539: // case_item -> case_label_list, tkColon, unlabelled_stmt
{
CurrentSemanticValue.stn = new case_variant(ValueStack[ValueStack.Depth-3].stn as expression_list, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 542: // case_label_list -> case_label
+ case 540: // case_label_list -> case_label
{
CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 543: // case_label_list -> case_label_list, tkComma, case_label
+ case 541: // case_label_list -> case_label_list, tkComma, case_label
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as expression_list).Add(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 544: // case_label -> const_elem
+ case 542: // case_label -> const_elem
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 545: // else_case -> /* empty */
+ case 543: // else_case -> /* empty */
{ CurrentSemanticValue.stn = null;}
break;
- case 546: // else_case -> tkElse, stmt_list
+ case 544: // else_case -> tkElse, stmt_list
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 547: // repeat_stmt -> tkRepeat, stmt_list, tkUntil, expr
+ case 545: // repeat_stmt -> tkRepeat, stmt_list, tkUntil, expr
{
CurrentSemanticValue.stn = new repeat_node(ValueStack[ValueStack.Depth-3].stn as statement_list, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
(ValueStack[ValueStack.Depth-3].stn as statement_list).left_logical_bracket = ValueStack[ValueStack.Depth-4].ti;
@@ -5515,29 +5504,29 @@ public partial class GPPGParser: ShiftReduceParser tkWhile, expr_l1, optional_tk_do, unlabelled_stmt
+ case 546: // while_stmt -> tkWhile, expr_l1, optional_tk_do, unlabelled_stmt
{
CurrentSemanticValue.stn = NewWhileStmt(ValueStack[ValueStack.Depth-4].ti, ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-2].ti, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 549: // optional_tk_do -> tkDo
+ case 547: // optional_tk_do -> tkDo
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 550: // optional_tk_do -> /* empty */
+ case 548: // optional_tk_do -> /* empty */
{ CurrentSemanticValue.ti = null; }
break;
- case 551: // lock_stmt -> tkLock, expr_l1, tkDo, unlabelled_stmt
+ case 549: // lock_stmt -> tkLock, expr_l1, tkDo, unlabelled_stmt
{
CurrentSemanticValue.stn = new lock_stmt(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 552: // index_or_nothing -> tkIndex, tkIdentifier
+ case 550: // index_or_nothing -> tkIndex, tkIdentifier
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 553: // index_or_nothing -> /* empty */
+ case 551: // index_or_nothing -> /* empty */
{ CurrentSemanticValue.id = null; }
break;
- case 554: // foreach_stmt -> tkForeach, identifier, foreach_stmt_ident_dype_opt, tkIn,
+ case 552: // foreach_stmt -> tkForeach, identifier, foreach_stmt_ident_dype_opt, tkIn,
// expr_l1, index_or_nothing, tkDo, unlabelled_stmt
{
CurrentSemanticValue.stn = new foreach_stmt(ValueStack[ValueStack.Depth-7].id, ValueStack[ValueStack.Depth-6].td, ValueStack[ValueStack.Depth-4].ex, ValueStack[ValueStack.Depth-1].stn as statement, ValueStack[ValueStack.Depth-3].id, CurrentLocationSpan);
@@ -5545,19 +5534,19 @@ public partial class GPPGParser: ShiftReduceParser tkForeach, tkVar, identifier, tkColon, type_ref, tkIn, expr_l1,
+ case 553: // foreach_stmt -> tkForeach, tkVar, identifier, tkColon, type_ref, tkIn, expr_l1,
// index_or_nothing, tkDo, unlabelled_stmt
{
CurrentSemanticValue.stn = new foreach_stmt(ValueStack[ValueStack.Depth-8].id, ValueStack[ValueStack.Depth-6].td, ValueStack[ValueStack.Depth-4].ex, ValueStack[ValueStack.Depth-1].stn as statement, ValueStack[ValueStack.Depth-3].id, CurrentLocationSpan);
}
break;
- case 556: // foreach_stmt -> tkForeach, tkVar, identifier, tkIn, expr_l1, index_or_nothing,
+ case 554: // foreach_stmt -> tkForeach, tkVar, identifier, tkIn, expr_l1, index_or_nothing,
// tkDo, unlabelled_stmt
{
CurrentSemanticValue.stn = new foreach_stmt(ValueStack[ValueStack.Depth-6].id, new no_type_foreach(), ValueStack[ValueStack.Depth-4].ex, (statement)ValueStack[ValueStack.Depth-1].stn, ValueStack[ValueStack.Depth-3].id, CurrentLocationSpan);
}
break;
- case 557: // foreach_stmt -> tkForeach, tkVar, tkRoundOpen, ident_list, tkRoundClose, tkIn,
+ case 555: // foreach_stmt -> tkForeach, tkVar, tkRoundOpen, ident_list, tkRoundClose, tkIn,
// expr_l1, index_or_nothing, tkDo, unlabelled_stmt
{
if (parsertools.build_tree_for_formatter)
@@ -5581,63 +5570,63 @@ public partial class GPPGParser: ShiftReduceParser tkColon, type_ref
+ case 556: // foreach_stmt_ident_dype_opt -> tkColon, type_ref
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 560: // for_stmt -> tkFor, optional_var, identifier, for_stmt_decl_or_assign, expr_l1,
+ case 558: // for_stmt -> tkFor, optional_var, identifier, for_stmt_decl_or_assign, expr_l1,
// for_cycle_type, expr_l1, optional_tk_do, unlabelled_stmt
{
CurrentSemanticValue.stn = NewForStmt((bool)ValueStack[ValueStack.Depth-8].ob, ValueStack[ValueStack.Depth-7].id, ValueStack[ValueStack.Depth-6].td, ValueStack[ValueStack.Depth-5].ex, (for_cycle_type)ValueStack[ValueStack.Depth-4].ob, ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-2].ti, ValueStack[ValueStack.Depth-1].stn as statement, null, CurrentLocationSpan);
}
break;
- case 561: // for_stmt -> tkFor, optional_var, identifier, for_stmt_decl_or_assign, expr_l1,
+ case 559: // for_stmt -> tkFor, optional_var, identifier, for_stmt_decl_or_assign, expr_l1,
// for_cycle_type, expr_l1, tkStep, expr_l1, optional_tk_do,
// unlabelled_stmt
{
CurrentSemanticValue.stn = NewForStmt((bool)ValueStack[ValueStack.Depth-10].ob, ValueStack[ValueStack.Depth-9].id, ValueStack[ValueStack.Depth-8].td, ValueStack[ValueStack.Depth-7].ex, (for_cycle_type)ValueStack[ValueStack.Depth-6].ob, ValueStack[ValueStack.Depth-5].ex, ValueStack[ValueStack.Depth-4].ti, ValueStack[ValueStack.Depth-1].stn as statement, ValueStack[ValueStack.Depth-3].ex, CurrentLocationSpan);
}
break;
- case 562: // optional_var -> tkVar
+ case 560: // optional_var -> tkVar
{ CurrentSemanticValue.ob = true; }
break;
- case 563: // optional_var -> /* empty */
+ case 561: // optional_var -> /* empty */
{ CurrentSemanticValue.ob = false; }
break;
- case 565: // for_stmt_decl_or_assign -> tkColon, simple_type_identifier, tkAssign
+ case 563: // for_stmt_decl_or_assign -> tkColon, simple_type_identifier, tkAssign
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-2].td; }
break;
- case 566: // for_cycle_type -> tkTo
+ case 564: // for_cycle_type -> tkTo
{ CurrentSemanticValue.ob = for_cycle_type.to; }
break;
- case 567: // for_cycle_type -> tkDownto
+ case 565: // for_cycle_type -> tkDownto
{ CurrentSemanticValue.ob = for_cycle_type.downto; }
break;
- case 568: // with_stmt -> tkWith, expr_list, tkDo, unlabelled_stmt
+ case 566: // with_stmt -> tkWith, expr_list, tkDo, unlabelled_stmt
{
CurrentSemanticValue.stn = new with_statement(ValueStack[ValueStack.Depth-1].stn as statement, ValueStack[ValueStack.Depth-3].stn as expression_list, CurrentLocationSpan);
}
break;
- case 569: // inherited_message -> tkInherited
+ case 567: // inherited_message -> tkInherited
{
CurrentSemanticValue.stn = new inherited_message();
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 570: // try_stmt -> tkTry, stmt_list, try_handler
+ case 568: // try_stmt -> tkTry, stmt_list, try_handler
{
CurrentSemanticValue.stn = new try_stmt(ValueStack[ValueStack.Depth-2].stn as statement_list, ValueStack[ValueStack.Depth-1].stn as try_handler, CurrentLocationSpan);
(ValueStack[ValueStack.Depth-2].stn as statement_list).left_logical_bracket = ValueStack[ValueStack.Depth-3].ti;
ValueStack[ValueStack.Depth-2].stn.source_context = LocationStack[LocationStack.Depth-3].Merge(LocationStack[LocationStack.Depth-2]);
}
break;
- case 571: // try_handler -> tkFinally, stmt_list, tkEnd
+ case 569: // try_handler -> tkFinally, stmt_list, tkEnd
{
CurrentSemanticValue.stn = new try_handler_finally(ValueStack[ValueStack.Depth-2].stn as statement_list, CurrentLocationSpan);
(ValueStack[ValueStack.Depth-2].stn as statement_list).left_logical_bracket = ValueStack[ValueStack.Depth-3].ti;
(ValueStack[ValueStack.Depth-2].stn as statement_list).right_logical_bracket = ValueStack[ValueStack.Depth-1].ti;
}
break;
- case 572: // try_handler -> tkExcept, exception_block, tkEnd
+ case 570: // try_handler -> tkExcept, exception_block, tkEnd
{
CurrentSemanticValue.stn = new try_handler_except((exception_block)ValueStack[ValueStack.Depth-2].stn, CurrentLocationSpan);
if ((ValueStack[ValueStack.Depth-2].stn as exception_block).stmt_list != null)
@@ -5647,166 +5636,166 @@ public partial class GPPGParser: ShiftReduceParser exception_handler_list, exception_block_else_branch
+ case 571: // exception_block -> exception_handler_list, exception_block_else_branch
{
CurrentSemanticValue.stn = new exception_block(null, (exception_handler_list)ValueStack[ValueStack.Depth-2].stn, (statement_list)ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 574: // exception_block -> exception_handler_list, tkSemiColon,
+ case 572: // exception_block -> exception_handler_list, tkSemiColon,
// exception_block_else_branch
{
CurrentSemanticValue.stn = new exception_block(null, (exception_handler_list)ValueStack[ValueStack.Depth-3].stn, (statement_list)ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 575: // exception_block -> stmt_list
+ case 573: // exception_block -> stmt_list
{
CurrentSemanticValue.stn = new exception_block(ValueStack[ValueStack.Depth-1].stn as statement_list, null, null, LocationStack[LocationStack.Depth-1]);
}
break;
- case 576: // exception_handler_list -> exception_handler
+ case 574: // exception_handler_list -> exception_handler
{
CurrentSemanticValue.stn = new exception_handler_list(ValueStack[ValueStack.Depth-1].stn as exception_handler, CurrentLocationSpan);
}
break;
- case 577: // exception_handler_list -> exception_handler_list, tkSemiColon,
+ case 575: // exception_handler_list -> exception_handler_list, tkSemiColon,
// exception_handler
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as exception_handler_list).Add(ValueStack[ValueStack.Depth-1].stn as exception_handler, CurrentLocationSpan);
}
break;
- case 578: // exception_block_else_branch -> /* empty */
+ case 576: // exception_block_else_branch -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 579: // exception_block_else_branch -> tkElse, stmt_list
+ case 577: // exception_block_else_branch -> tkElse, stmt_list
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 580: // exception_handler -> tkOn, exception_identifier, tkDo, unlabelled_stmt
+ case 578: // exception_handler -> tkOn, exception_identifier, tkDo, unlabelled_stmt
{
CurrentSemanticValue.stn = new exception_handler((ValueStack[ValueStack.Depth-3].stn as exception_ident).variable, (ValueStack[ValueStack.Depth-3].stn as exception_ident).type_name, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 581: // exception_identifier -> exception_class_type_identifier
+ case 579: // exception_identifier -> exception_class_type_identifier
{
CurrentSemanticValue.stn = new exception_ident(null, (named_type_reference)ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 582: // exception_identifier -> exception_variable, tkColon,
+ case 580: // exception_identifier -> exception_variable, tkColon,
// exception_class_type_identifier
{
CurrentSemanticValue.stn = new exception_ident(ValueStack[ValueStack.Depth-3].id, (named_type_reference)ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 583: // exception_class_type_identifier -> simple_type_identifier
+ case 581: // exception_class_type_identifier -> simple_type_identifier
{ CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; }
break;
- case 584: // exception_variable -> identifier
+ case 582: // exception_variable -> identifier
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 585: // raise_stmt -> tkRaise
+ case 583: // raise_stmt -> tkRaise
{
CurrentSemanticValue.stn = new raise_stmt();
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 586: // raise_stmt -> tkRaise, expr
+ case 584: // raise_stmt -> tkRaise, expr
{
CurrentSemanticValue.stn = new raise_stmt(ValueStack[ValueStack.Depth-1].ex, null, CurrentLocationSpan);
}
break;
- case 587: // expr_list -> expr_with_func_decl_lambda
+ case 585: // expr_list -> expr_with_func_decl_lambda
{
CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 588: // expr_list -> expr_list, tkComma, expr_with_func_decl_lambda
+ case 586: // expr_list -> expr_list, tkComma, expr_with_func_decl_lambda
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as expression_list).Add(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 589: // expr_as_stmt -> allowable_expr_as_stmt
+ case 587: // expr_as_stmt -> allowable_expr_as_stmt
{
CurrentSemanticValue.stn = new expression_as_statement(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 590: // allowable_expr_as_stmt -> new_expr
+ case 588: // allowable_expr_as_stmt -> new_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 591: // expr_with_func_decl_lambda -> expr
+ case 589: // expr_with_func_decl_lambda -> expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 592: // expr_with_func_decl_lambda -> func_decl_lambda
+ case 590: // expr_with_func_decl_lambda -> func_decl_lambda
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 593: // expr_with_func_decl_lambda -> tkInherited
+ case 591: // expr_with_func_decl_lambda -> tkInherited
{ CurrentSemanticValue.ex = new inherited_ident("", CurrentLocationSpan); }
break;
- case 594: // expr -> expr_l1
+ case 592: // expr -> expr_l1
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 595: // expr -> format_expr
+ case 593: // expr -> format_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 596: // expr_l1 -> expr_dq
+ case 594: // expr_l1 -> expr_dq
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 597: // expr_l1 -> question_expr
+ case 595: // expr_l1 -> question_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 598: // expr_l1 -> new_question_expr
+ case 596: // expr_l1 -> new_question_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 599: // expr_l1_for_question_expr -> expr_dq
+ case 597: // expr_l1_for_question_expr -> expr_dq
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 600: // expr_l1_for_question_expr -> question_expr
+ case 598: // expr_l1_for_question_expr -> question_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 601: // expr_l1_for_new_question_expr -> expr_dq
+ case 599: // expr_l1_for_new_question_expr -> expr_dq
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 602: // expr_l1_for_new_question_expr -> new_question_expr
+ case 600: // expr_l1_for_new_question_expr -> new_question_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 603: // expr_l1_func_decl_lambda -> expr_l1
+ case 601: // expr_l1_func_decl_lambda -> expr_l1
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 604: // expr_l1_func_decl_lambda -> func_decl_lambda
+ case 602: // expr_l1_func_decl_lambda -> func_decl_lambda
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 605: // expr_l1_for_lambda -> expr_dq
+ case 603: // expr_l1_for_lambda -> expr_dq
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 606: // expr_l1_for_lambda -> question_expr
+ case 604: // expr_l1_for_lambda -> question_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 607: // expr_l1_for_lambda -> func_decl_lambda
+ case 605: // expr_l1_for_lambda -> func_decl_lambda
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 608: // expr_dq -> relop_expr
+ case 606: // expr_dq -> relop_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 609: // expr_dq -> expr_dq, tkDoubleQuestion, relop_expr
+ case 607: // expr_dq -> expr_dq, tkDoubleQuestion, relop_expr
{ CurrentSemanticValue.ex = new double_question_node(ValueStack[ValueStack.Depth-3].ex as expression, ValueStack[ValueStack.Depth-1].ex as expression, CurrentLocationSpan);}
break;
- case 610: // sizeof_expr -> tkSizeOf, tkRoundOpen, simple_or_template_type_reference,
+ case 608: // sizeof_expr -> tkSizeOf, tkRoundOpen, simple_or_template_type_reference,
// tkRoundClose
{
CurrentSemanticValue.ex = new sizeof_operator((named_type_reference)ValueStack[ValueStack.Depth-2].td, null, CurrentLocationSpan);
}
break;
- case 611: // typeof_expr -> tkTypeOf, tkRoundOpen, simple_or_template_type_reference,
+ case 609: // typeof_expr -> tkTypeOf, tkRoundOpen, simple_or_template_type_reference,
// tkRoundClose
{
CurrentSemanticValue.ex = new typeof_operator((named_type_reference)ValueStack[ValueStack.Depth-2].td, CurrentLocationSpan);
}
break;
- case 612: // typeof_expr -> tkTypeOf, tkRoundOpen, empty_template_type_reference,
+ case 610: // typeof_expr -> tkTypeOf, tkRoundOpen, empty_template_type_reference,
// tkRoundClose
{
CurrentSemanticValue.ex = new typeof_operator((named_type_reference)ValueStack[ValueStack.Depth-2].td, CurrentLocationSpan);
}
break;
- case 613: // question_expr -> expr_l1_for_question_expr, tkQuestion,
+ case 611: // question_expr -> expr_l1_for_question_expr, tkQuestion,
// expr_l1_for_question_expr, tkColon,
// expr_l1_for_question_expr
{
@@ -5815,7 +5804,7 @@ public partial class GPPGParser: ShiftReduceParser tkIf, expr_l1_for_new_question_expr, tkThen,
+ case 612: // new_question_expr -> tkIf, expr_l1_for_new_question_expr, tkThen,
// expr_l1_for_new_question_expr, tkElse,
// expr_l1_for_new_question_expr
{
@@ -5831,58 +5820,58 @@ public partial class GPPGParser: ShiftReduceParser simple_type_identifier,
+ case 613: // empty_template_type_reference -> simple_type_identifier,
// template_type_empty_params
{
CurrentSemanticValue.td = new template_type_reference((named_type_reference)ValueStack[ValueStack.Depth-2].td, (template_param_list)ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 616: // empty_template_type_reference -> simple_type_identifier, tkAmpersend,
+ case 614: // empty_template_type_reference -> simple_type_identifier, tkAmpersend,
// template_type_empty_params
{
CurrentSemanticValue.td = new template_type_reference((named_type_reference)ValueStack[ValueStack.Depth-3].td, (template_param_list)ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 617: // simple_or_template_type_reference -> simple_type_identifier
+ case 615: // simple_or_template_type_reference -> simple_type_identifier
{
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
}
break;
- case 618: // simple_or_template_type_reference -> simple_type_identifier,
+ case 616: // simple_or_template_type_reference -> simple_type_identifier,
// template_type_params
{
CurrentSemanticValue.td = new template_type_reference((named_type_reference)ValueStack[ValueStack.Depth-2].td, (template_param_list)ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 619: // simple_or_template_type_reference -> simple_type_identifier, tkAmpersend,
+ case 617: // simple_or_template_type_reference -> simple_type_identifier, tkAmpersend,
// template_type_params
{
CurrentSemanticValue.td = new template_type_reference((named_type_reference)ValueStack[ValueStack.Depth-3].td, (template_param_list)ValueStack[ValueStack.Depth-1].stn, CurrentLocationSpan);
}
break;
- case 620: // simple_or_template_or_question_type_reference ->
+ case 618: // simple_or_template_or_question_type_reference ->
// simple_or_template_type_reference
{
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
}
break;
- case 621: // simple_or_template_or_question_type_reference -> simple_type_question
+ case 619: // simple_or_template_or_question_type_reference -> simple_type_question
{
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
}
break;
- case 622: // optional_array_initializer -> tkRoundOpen, typed_const_list, tkRoundClose
+ case 620: // optional_array_initializer -> tkRoundOpen, typed_const_list, tkRoundClose
{
CurrentSemanticValue.stn = new array_const((expression_list)ValueStack[ValueStack.Depth-2].stn, CurrentLocationSpan);
}
break;
- case 624: // new_expr -> tkNew, simple_or_template_type_reference,
+ case 622: // new_expr -> tkNew, simple_or_template_type_reference,
// optional_expr_list_with_bracket
{
CurrentSemanticValue.ex = new new_expr(ValueStack[ValueStack.Depth-2].td, ValueStack[ValueStack.Depth-1].stn as expression_list, false, null, CurrentLocationSpan);
}
break;
- case 625: // new_expr -> tkNew, simple_or_template_type_reference, tkSquareOpen,
+ case 623: // new_expr -> tkNew, simple_or_template_type_reference, tkSquareOpen,
// optional_expr_list, tkSquareClose, optional_array_initializer
{
var el = ValueStack[ValueStack.Depth-3].stn as expression_list;
@@ -5898,7 +5887,7 @@ public partial class GPPGParser: ShiftReduceParser tkNew, tkClass, tkRoundOpen, list_fields_in_unnamed_object,
+ case 624: // new_expr -> tkNew, tkClass, tkRoundOpen, list_fields_in_unnamed_object,
// tkRoundClose
{
// sugared node
@@ -5913,14 +5902,14 @@ public partial class GPPGParser: ShiftReduceParser identifier, tkAssign, expr_l1
+ case 625: // field_in_unnamed_object -> identifier, tkAssign, expr_l1
{
if (ValueStack[ValueStack.Depth-1].ex is nil_const)
parsertools.AddErrorFromResource("NIL_IN_UNNAMED_OBJECT",CurrentLocationSpan);
CurrentSemanticValue.ob = new name_assign_expr(ValueStack[ValueStack.Depth-3].id,ValueStack[ValueStack.Depth-1].ex,CurrentLocationSpan);
}
break;
- case 628: // field_in_unnamed_object -> expr_l1
+ case 626: // field_in_unnamed_object -> expr_l1
{
ident name = null;
var id = ValueStack[ValueStack.Depth-1].ex as ident;
@@ -5940,13 +5929,13 @@ public partial class GPPGParser: ShiftReduceParser field_in_unnamed_object
+ case 627: // list_fields_in_unnamed_object -> field_in_unnamed_object
{
var l = new name_assign_expr_list();
CurrentSemanticValue.ob = l.Add(ValueStack[ValueStack.Depth-1].ob as name_assign_expr);
}
break;
- case 630: // list_fields_in_unnamed_object -> list_fields_in_unnamed_object, tkComma,
+ case 628: // list_fields_in_unnamed_object -> list_fields_in_unnamed_object, tkComma,
// field_in_unnamed_object
{
var nel = ValueStack[ValueStack.Depth-3].ob as name_assign_expr_list;
@@ -5957,17 +5946,17 @@ public partial class GPPGParser: ShiftReduceParser /* empty */
+ case 629: // optional_expr_list_with_bracket -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 632: // optional_expr_list_with_bracket -> tkRoundOpen, optional_expr_list,
+ case 630: // optional_expr_list_with_bracket -> tkRoundOpen, optional_expr_list,
// tkRoundClose
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn; }
break;
- case 633: // relop_expr -> simple_expr
+ case 631: // relop_expr -> simple_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 634: // relop_expr -> relop_expr, relop, simple_expr
+ case 632: // relop_expr -> relop_expr, relop, simple_expr
{
if (ValueStack[ValueStack.Depth-2].op.type == Operators.NotIn)
CurrentSemanticValue.ex = new un_expr(new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, Operators.In, CurrentLocationSpan),Operators.LogicalNOT,CurrentLocationSpan);
@@ -5975,7 +5964,7 @@ public partial class GPPGParser: ShiftReduceParser relop_expr, relop, new_question_expr
+ case 633: // relop_expr -> relop_expr, relop, new_question_expr
{
if (ValueStack[ValueStack.Depth-2].op.type == Operators.NotIn)
CurrentSemanticValue.ex = new un_expr(new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, Operators.In, CurrentLocationSpan),Operators.LogicalNOT,CurrentLocationSpan);
@@ -5983,26 +5972,26 @@ public partial class GPPGParser: ShiftReduceParser is_type_expr, tkRoundOpen, pattern_out_param_list, tkRoundClose
+ case 634: // relop_expr -> is_type_expr, tkRoundOpen, pattern_out_param_list, tkRoundClose
{
var isTypeCheck = ValueStack[ValueStack.Depth-4].ex as typecast_node;
var deconstructorPattern = new deconstructor_pattern(ValueStack[ValueStack.Depth-2].ob as List, isTypeCheck.type_def, null, CurrentLocationSpan);
CurrentSemanticValue.ex = new is_pattern_expr(isTypeCheck.expr, deconstructorPattern, CurrentLocationSpan);
}
break;
- case 637: // pattern -> simple_or_template_type_reference, tkRoundOpen,
+ case 635: // pattern -> simple_or_template_type_reference, tkRoundOpen,
// pattern_out_param_list, tkRoundClose
{
CurrentSemanticValue.stn = new deconstructor_pattern(ValueStack[ValueStack.Depth-2].ob as List, ValueStack[ValueStack.Depth-4].td, null, CurrentLocationSpan);
}
break;
- case 638: // pattern_optional_var -> simple_or_template_type_reference, tkRoundOpen,
+ case 636: // pattern_optional_var -> simple_or_template_type_reference, tkRoundOpen,
// pattern_out_param_list_optional_var, tkRoundClose
{
CurrentSemanticValue.stn = new deconstructor_pattern(ValueStack[ValueStack.Depth-2].ob as List, ValueStack[ValueStack.Depth-4].td, null, CurrentLocationSpan);
}
break;
- case 639: // deconstruction_or_const_pattern -> simple_or_template_type_reference,
+ case 637: // deconstruction_or_const_pattern -> simple_or_template_type_reference,
// tkRoundOpen,
// pattern_out_param_list_optional_var,
// tkRoundClose
@@ -6010,18 +5999,18 @@ public partial class GPPGParser: ShiftReduceParser, ValueStack[ValueStack.Depth-4].td, null, CurrentLocationSpan);
}
break;
- case 640: // deconstruction_or_const_pattern -> const_pattern_expr_list
+ case 638: // deconstruction_or_const_pattern -> const_pattern_expr_list
{
CurrentSemanticValue.stn = new const_pattern(ValueStack[ValueStack.Depth-1].ob as List, CurrentLocationSpan);
}
break;
- case 641: // const_pattern_expr_list -> const_pattern_expression
+ case 639: // const_pattern_expr_list -> const_pattern_expression
{
CurrentSemanticValue.ob = new List();
(CurrentSemanticValue.ob as List).Add(ValueStack[ValueStack.Depth-1].stn);
}
break;
- case 642: // const_pattern_expr_list -> const_pattern_expr_list, tkComma,
+ case 640: // const_pattern_expr_list -> const_pattern_expr_list, tkComma,
// const_pattern_expression
{
var list = ValueStack[ValueStack.Depth-3].ob as List;
@@ -6029,36 +6018,36 @@ public partial class GPPGParser: ShiftReduceParser literal_or_number
+ case 641: // const_pattern_expression -> literal_or_number
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 644: // const_pattern_expression -> simple_or_template_type_reference
+ case 642: // const_pattern_expression -> simple_or_template_type_reference
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].td; }
break;
- case 645: // const_pattern_expression -> tkNil
+ case 643: // const_pattern_expression -> tkNil
{
CurrentSemanticValue.stn = new nil_const();
CurrentSemanticValue.stn.source_context = CurrentLocationSpan;
}
break;
- case 646: // const_pattern_expression -> sizeof_expr
+ case 644: // const_pattern_expression -> sizeof_expr
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 647: // const_pattern_expression -> typeof_expr
+ case 645: // const_pattern_expression -> typeof_expr
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 648: // collection_pattern -> tkSquareOpen, collection_pattern_expr_list, tkSquareClose
+ case 646: // collection_pattern -> tkSquareOpen, collection_pattern_expr_list, tkSquareClose
{
CurrentSemanticValue.stn = new collection_pattern(ValueStack[ValueStack.Depth-2].ob as List, CurrentLocationSpan);
}
break;
- case 649: // collection_pattern_expr_list -> collection_pattern_list_item
+ case 647: // collection_pattern_expr_list -> collection_pattern_list_item
{
CurrentSemanticValue.ob = new List();
(CurrentSemanticValue.ob as List).Add(ValueStack[ValueStack.Depth-1].stn as pattern_parameter);
}
break;
- case 650: // collection_pattern_expr_list -> collection_pattern_expr_list, tkComma,
+ case 648: // collection_pattern_expr_list -> collection_pattern_expr_list, tkComma,
// collection_pattern_list_item
{
var list = ValueStack[ValueStack.Depth-3].ob as List;
@@ -6066,108 +6055,108 @@ public partial class GPPGParser: ShiftReduceParser literal_or_number
+ case 649: // collection_pattern_list_item -> literal_or_number
{
CurrentSemanticValue.stn = new const_pattern_parameter(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 652: // collection_pattern_list_item -> collection_pattern_var_item
+ case 650: // collection_pattern_list_item -> collection_pattern_var_item
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 653: // collection_pattern_list_item -> tkUnderscore
+ case 651: // collection_pattern_list_item -> tkUnderscore
{
CurrentSemanticValue.stn = new collection_pattern_wild_card(CurrentLocationSpan);
}
break;
- case 654: // collection_pattern_list_item -> pattern_optional_var
+ case 652: // collection_pattern_list_item -> pattern_optional_var
{
CurrentSemanticValue.stn = new recursive_deconstructor_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 655: // collection_pattern_list_item -> collection_pattern
+ case 653: // collection_pattern_list_item -> collection_pattern
{
CurrentSemanticValue.stn = new recursive_collection_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 656: // collection_pattern_list_item -> tuple_pattern
+ case 654: // collection_pattern_list_item -> tuple_pattern
{
CurrentSemanticValue.stn = new recursive_tuple_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 657: // collection_pattern_list_item -> tkDotDot
+ case 655: // collection_pattern_list_item -> tkDotDot
{
CurrentSemanticValue.stn = new collection_pattern_gap_parameter(CurrentLocationSpan);
}
break;
- case 658: // collection_pattern_var_item -> tkVar, identifier
+ case 656: // collection_pattern_var_item -> tkVar, identifier
{
CurrentSemanticValue.stn = new collection_pattern_var_parameter(ValueStack[ValueStack.Depth-1].id, null, CurrentLocationSpan);
}
break;
- case 659: // tuple_pattern -> tkRoundOpen, tuple_pattern_item_list, tkRoundClose
+ case 657: // tuple_pattern -> tkRoundOpen, tuple_pattern_item_list, tkRoundClose
{
if ((ValueStack[ValueStack.Depth-2].ob as List).Count>6)
parsertools.AddErrorFromResource("TUPLE_ELEMENTS_COUNT_MUST_BE_LESSEQUAL_7",CurrentLocationSpan);
CurrentSemanticValue.stn = new tuple_pattern(ValueStack[ValueStack.Depth-2].ob as List, CurrentLocationSpan);
}
break;
- case 660: // tuple_pattern_item -> tkUnderscore
+ case 658: // tuple_pattern_item -> tkUnderscore
{
CurrentSemanticValue.stn = new tuple_pattern_wild_card(CurrentLocationSpan);
}
break;
- case 661: // tuple_pattern_item -> literal_or_number
+ case 659: // tuple_pattern_item -> literal_or_number
{
CurrentSemanticValue.stn = new const_pattern_parameter(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 662: // tuple_pattern_item -> sign, literal_or_number
+ case 660: // tuple_pattern_item -> sign, literal_or_number
{
CurrentSemanticValue.stn = new const_pattern_parameter(new un_expr(ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan), CurrentLocationSpan);
}
break;
- case 663: // tuple_pattern_item -> tkVar, identifier
+ case 661: // tuple_pattern_item -> tkVar, identifier
{
CurrentSemanticValue.stn = new tuple_pattern_var_parameter(ValueStack[ValueStack.Depth-1].id, null, CurrentLocationSpan);
}
break;
- case 664: // tuple_pattern_item -> pattern_optional_var
+ case 662: // tuple_pattern_item -> pattern_optional_var
{
CurrentSemanticValue.stn = new recursive_deconstructor_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 665: // tuple_pattern_item -> collection_pattern
+ case 663: // tuple_pattern_item -> collection_pattern
{
CurrentSemanticValue.stn = new recursive_collection_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 666: // tuple_pattern_item -> tuple_pattern
+ case 664: // tuple_pattern_item -> tuple_pattern
{
CurrentSemanticValue.stn = new recursive_tuple_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 667: // tuple_pattern_item_list -> tuple_pattern_item
+ case 665: // tuple_pattern_item_list -> tuple_pattern_item
{
CurrentSemanticValue.ob = new List();
(CurrentSemanticValue.ob as List).Add(ValueStack[ValueStack.Depth-1].stn as pattern_parameter);
}
break;
- case 668: // tuple_pattern_item_list -> tuple_pattern_item_list, tkComma, tuple_pattern_item
+ case 666: // tuple_pattern_item_list -> tuple_pattern_item_list, tkComma, tuple_pattern_item
{
var list = ValueStack[ValueStack.Depth-3].ob as List;
list.Add(ValueStack[ValueStack.Depth-1].stn as pattern_parameter);
CurrentSemanticValue.ob = list;
}
break;
- case 669: // pattern_out_param_list_optional_var -> pattern_out_param_optional_var
+ case 667: // pattern_out_param_list_optional_var -> pattern_out_param_optional_var
{
CurrentSemanticValue.ob = new List();
(CurrentSemanticValue.ob as List).Add(ValueStack[ValueStack.Depth-1].stn as pattern_parameter);
}
break;
- case 670: // pattern_out_param_list_optional_var -> pattern_out_param_list_optional_var,
+ case 668: // pattern_out_param_list_optional_var -> pattern_out_param_list_optional_var,
// tkSemiColon,
// pattern_out_param_optional_var
{
@@ -6176,7 +6165,7 @@ public partial class GPPGParser: ShiftReduceParser pattern_out_param_list_optional_var,
+ case 669: // pattern_out_param_list_optional_var -> pattern_out_param_list_optional_var,
// tkComma,
// pattern_out_param_optional_var
{
@@ -6185,13 +6174,13 @@ public partial class GPPGParser: ShiftReduceParser pattern_out_param
+ case 670: // pattern_out_param_list -> pattern_out_param
{
CurrentSemanticValue.ob = new List();
(CurrentSemanticValue.ob as List).Add(ValueStack[ValueStack.Depth-1].stn as pattern_parameter);
}
break;
- case 673: // pattern_out_param_list -> pattern_out_param_list, tkSemiColon,
+ case 671: // pattern_out_param_list -> pattern_out_param_list, tkSemiColon,
// pattern_out_param
{
var list = ValueStack[ValueStack.Depth-3].ob as List;
@@ -6199,182 +6188,182 @@ public partial class GPPGParser: ShiftReduceParser pattern_out_param_list, tkComma, pattern_out_param
+ case 672: // pattern_out_param_list -> pattern_out_param_list, tkComma, pattern_out_param
{
var list = ValueStack[ValueStack.Depth-3].ob as List;
list.Add(ValueStack[ValueStack.Depth-1].stn as pattern_parameter);
CurrentSemanticValue.ob = list;
}
break;
- case 675: // pattern_out_param -> tkUnderscore
+ case 673: // pattern_out_param -> tkUnderscore
{
CurrentSemanticValue.stn = new wild_card_deconstructor_parameter(CurrentLocationSpan);
}
break;
- case 676: // pattern_out_param -> literal_or_number
+ case 674: // pattern_out_param -> literal_or_number
{
CurrentSemanticValue.stn = new const_pattern_parameter(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 677: // pattern_out_param -> tkVar, identifier, tkColon, type_ref
+ case 675: // pattern_out_param -> tkVar, identifier, tkColon, type_ref
{
CurrentSemanticValue.stn = new var_deconstructor_parameter(ValueStack[ValueStack.Depth-3].id, ValueStack[ValueStack.Depth-1].td, true, CurrentLocationSpan);
}
break;
- case 678: // pattern_out_param -> tkVar, identifier
+ case 676: // pattern_out_param -> tkVar, identifier
{
CurrentSemanticValue.stn = new var_deconstructor_parameter(ValueStack[ValueStack.Depth-1].id, null, true, CurrentLocationSpan);
}
break;
- case 679: // pattern_out_param -> pattern
+ case 677: // pattern_out_param -> pattern
{
CurrentSemanticValue.stn = new recursive_deconstructor_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 680: // pattern_out_param -> collection_pattern
+ case 678: // pattern_out_param -> collection_pattern
{
CurrentSemanticValue.stn = new recursive_collection_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 681: // pattern_out_param -> tuple_pattern
+ case 679: // pattern_out_param -> tuple_pattern
{
CurrentSemanticValue.stn = new recursive_tuple_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 682: // pattern_out_param_optional_var -> tkUnderscore
+ case 680: // pattern_out_param_optional_var -> tkUnderscore
{
CurrentSemanticValue.stn = new wild_card_deconstructor_parameter(CurrentLocationSpan);
}
break;
- case 683: // pattern_out_param_optional_var -> literal_or_number
+ case 681: // pattern_out_param_optional_var -> literal_or_number
{
CurrentSemanticValue.stn = new const_pattern_parameter(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 684: // pattern_out_param_optional_var -> sign, literal_or_number
+ case 682: // pattern_out_param_optional_var -> sign, literal_or_number
{
CurrentSemanticValue.stn = new const_pattern_parameter(new un_expr(ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan), CurrentLocationSpan);
}
break;
- case 685: // pattern_out_param_optional_var -> identifier, tkColon, type_ref
+ case 683: // pattern_out_param_optional_var -> identifier, tkColon, type_ref
{
CurrentSemanticValue.stn = new var_deconstructor_parameter(ValueStack[ValueStack.Depth-3].id, ValueStack[ValueStack.Depth-1].td, false, CurrentLocationSpan);
}
break;
- case 686: // pattern_out_param_optional_var -> identifier
+ case 684: // pattern_out_param_optional_var -> identifier
{
CurrentSemanticValue.stn = new var_deconstructor_parameter(ValueStack[ValueStack.Depth-1].id, null, false, CurrentLocationSpan);
}
break;
- case 687: // pattern_out_param_optional_var -> tkVar, identifier, tkColon, type_ref
+ case 685: // pattern_out_param_optional_var -> tkVar, identifier, tkColon, type_ref
{
CurrentSemanticValue.stn = new var_deconstructor_parameter(ValueStack[ValueStack.Depth-3].id, ValueStack[ValueStack.Depth-1].td, true, CurrentLocationSpan);
}
break;
- case 688: // pattern_out_param_optional_var -> tkVar, identifier
+ case 686: // pattern_out_param_optional_var -> tkVar, identifier
{
CurrentSemanticValue.stn = new var_deconstructor_parameter(ValueStack[ValueStack.Depth-1].id, null, true, CurrentLocationSpan);
}
break;
- case 689: // pattern_out_param_optional_var -> pattern_optional_var
+ case 687: // pattern_out_param_optional_var -> pattern_optional_var
{
CurrentSemanticValue.stn = new recursive_deconstructor_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 690: // pattern_out_param_optional_var -> collection_pattern
+ case 688: // pattern_out_param_optional_var -> collection_pattern
{
CurrentSemanticValue.stn = new recursive_collection_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 691: // pattern_out_param_optional_var -> tuple_pattern
+ case 689: // pattern_out_param_optional_var -> tuple_pattern
{
CurrentSemanticValue.stn = new recursive_tuple_parameter(ValueStack[ValueStack.Depth-1].stn as pattern_node, CurrentLocationSpan);
}
break;
- case 692: // simple_expr_or_nothing -> simple_expr
+ case 690: // simple_expr_or_nothing -> simple_expr
{
CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex;
}
break;
- case 693: // simple_expr_or_nothing -> /* empty */
+ case 691: // simple_expr_or_nothing -> /* empty */
{
CurrentSemanticValue.ex = null;
}
break;
- case 694: // const_expr_or_nothing -> const_expr
+ case 692: // const_expr_or_nothing -> const_expr
{
CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex;
}
break;
- case 695: // const_expr_or_nothing -> /* empty */
+ case 693: // const_expr_or_nothing -> /* empty */
{
CurrentSemanticValue.ex = null;
}
break;
- case 696: // format_expr -> simple_expr, tkColon, simple_expr_or_nothing
+ case 694: // format_expr -> simple_expr, tkColon, simple_expr_or_nothing
{
CurrentSemanticValue.ex = new format_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, null, CurrentLocationSpan);
}
break;
- case 697: // format_expr -> tkColon, simple_expr_or_nothing
+ case 695: // format_expr -> tkColon, simple_expr_or_nothing
{
CurrentSemanticValue.ex = new format_expr(null, ValueStack[ValueStack.Depth-1].ex, null, CurrentLocationSpan);
}
break;
- case 698: // format_expr -> simple_expr, tkColon, simple_expr_or_nothing, tkColon,
+ case 696: // format_expr -> simple_expr, tkColon, simple_expr_or_nothing, tkColon,
// simple_expr
{
CurrentSemanticValue.ex = new format_expr(ValueStack[ValueStack.Depth-5].ex, ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 699: // format_expr -> tkColon, simple_expr_or_nothing, tkColon, simple_expr
+ case 697: // format_expr -> tkColon, simple_expr_or_nothing, tkColon, simple_expr
{
CurrentSemanticValue.ex = new format_expr(null, ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 700: // format_const_expr -> const_expr, tkColon, const_expr_or_nothing
+ case 698: // format_const_expr -> const_expr, tkColon, const_expr_or_nothing
{
CurrentSemanticValue.ex = new format_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, null, CurrentLocationSpan);
}
break;
- case 701: // format_const_expr -> tkColon, const_expr_or_nothing
+ case 699: // format_const_expr -> tkColon, const_expr_or_nothing
{
CurrentSemanticValue.ex = new format_expr(null, ValueStack[ValueStack.Depth-1].ex, null, CurrentLocationSpan);
}
break;
- case 702: // format_const_expr -> const_expr, tkColon, const_expr_or_nothing, tkColon,
+ case 700: // format_const_expr -> const_expr, tkColon, const_expr_or_nothing, tkColon,
// const_expr
{
CurrentSemanticValue.ex = new format_expr(ValueStack[ValueStack.Depth-5].ex, ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 703: // format_const_expr -> tkColon, const_expr_or_nothing, tkColon, const_expr
+ case 701: // format_const_expr -> tkColon, const_expr_or_nothing, tkColon, const_expr
{
CurrentSemanticValue.ex = new format_expr(null, ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 704: // relop -> tkEqual
+ case 702: // relop -> tkEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 705: // relop -> tkNotEqual
+ case 703: // relop -> tkNotEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 706: // relop -> tkLower
+ case 704: // relop -> tkLower
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 707: // relop -> tkGreater
+ case 705: // relop -> tkGreater
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 708: // relop -> tkLowerEqual
+ case 706: // relop -> tkLowerEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 709: // relop -> tkGreaterEqual
+ case 707: // relop -> tkGreaterEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 710: // relop -> tkIn
+ case 708: // relop -> tkIn
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 711: // relop -> tkNot, tkIn
+ case 709: // relop -> tkNot, tkIn
{
if (parsertools.build_tree_for_formatter)
CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op;
@@ -6385,10 +6374,10 @@ public partial class GPPGParser: ShiftReduceParser term1
+ case 710: // simple_expr -> term1
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 713: // simple_expr -> simple_expr, tkDotDot, term1
+ case 711: // simple_expr -> simple_expr, tkDotDot, term1
{
if (parsertools.build_tree_for_formatter)
CurrentSemanticValue.ex = new diapason_expr(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].ex,CurrentLocationSpan);
@@ -6396,128 +6385,128 @@ public partial class GPPGParser: ShiftReduceParser term
+ case 712: // term1 -> term
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 715: // term1 -> term1, addop, term
+ case 713: // term1 -> term1, addop, term
{
CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan);
}
break;
- case 716: // term1 -> term1, addop, new_question_expr
+ case 714: // term1 -> term1, addop, new_question_expr
{
CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan);
}
break;
- case 717: // addop -> tkPlus
+ case 715: // addop -> tkPlus
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 718: // addop -> tkMinus
+ case 716: // addop -> tkMinus
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 719: // addop -> tkOr
+ case 717: // addop -> tkOr
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 720: // addop -> tkXor
+ case 718: // addop -> tkXor
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 721: // addop -> tkCSharpStyleOr
+ case 719: // addop -> tkCSharpStyleOr
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 722: // typecast_op -> tkAs
+ case 720: // typecast_op -> tkAs
{
CurrentSemanticValue.ob = op_typecast.as_op;
}
break;
- case 723: // typecast_op -> tkIs
+ case 721: // typecast_op -> tkIs
{
CurrentSemanticValue.ob = op_typecast.is_op;
}
break;
- case 724: // as_is_expr -> is_type_expr
+ case 722: // as_is_expr -> is_type_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 725: // as_is_expr -> as_expr
+ case 723: // as_is_expr -> as_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 726: // as_expr -> term, tkAs, simple_or_template_type_reference
+ case 724: // as_expr -> term, tkAs, simple_or_template_type_reference
{
CurrentSemanticValue.ex = NewAsIsExpr(ValueStack[ValueStack.Depth-3].ex, op_typecast.as_op, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 727: // as_expr -> term, tkAs, array_type
+ case 725: // as_expr -> term, tkAs, array_type
{
CurrentSemanticValue.ex = NewAsIsExpr(ValueStack[ValueStack.Depth-3].ex, op_typecast.as_op, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 728: // is_type_expr -> term, tkIs, simple_or_template_type_reference
+ case 726: // is_type_expr -> term, tkIs, simple_or_template_type_reference
{
CurrentSemanticValue.ex = NewAsIsExpr(ValueStack[ValueStack.Depth-3].ex, op_typecast.is_op, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 729: // is_type_expr -> term, tkIs, array_type
+ case 727: // is_type_expr -> term, tkIs, array_type
{
CurrentSemanticValue.ex = NewAsIsExpr(ValueStack[ValueStack.Depth-3].ex, op_typecast.is_op, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan);
}
break;
- case 730: // power_expr -> factor_without_unary_op, tkStarStar, factor
+ case 728: // power_expr -> factor_without_unary_op, tkStarStar, factor
{ CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].ex,(ValueStack[ValueStack.Depth-2].op).type, CurrentLocationSpan); }
break;
- case 731: // power_expr -> factor_without_unary_op, tkStarStar, power_expr
+ case 729: // power_expr -> factor_without_unary_op, tkStarStar, power_expr
{ CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].ex,(ValueStack[ValueStack.Depth-2].op).type, CurrentLocationSpan); }
break;
- case 732: // power_expr -> sign, power_expr
+ case 730: // power_expr -> sign, power_expr
{ CurrentSemanticValue.ex = new un_expr(ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); }
break;
- case 733: // term -> factor
+ case 731: // term -> factor
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 734: // term -> new_expr
+ case 732: // term -> new_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 735: // term -> power_expr
+ case 733: // term -> power_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 736: // term -> term, mulop, factor
+ case 734: // term -> term, mulop, factor
{ CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].ex,(ValueStack[ValueStack.Depth-2].op).type, CurrentLocationSpan); }
break;
- case 737: // term -> term, mulop, power_expr
+ case 735: // term -> term, mulop, power_expr
{ CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].ex,(ValueStack[ValueStack.Depth-2].op).type, CurrentLocationSpan); }
break;
- case 738: // term -> term, mulop, new_question_expr
+ case 736: // term -> term, mulop, new_question_expr
{ CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex,ValueStack[ValueStack.Depth-1].ex,(ValueStack[ValueStack.Depth-2].op).type, CurrentLocationSpan); }
break;
- case 739: // term -> as_is_expr
+ case 737: // term -> as_is_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 740: // mulop -> tkStar
+ case 738: // mulop -> tkStar
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 741: // mulop -> tkSlash
+ case 739: // mulop -> tkSlash
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 742: // mulop -> tkDiv
+ case 740: // mulop -> tkDiv
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 743: // mulop -> tkMod
+ case 741: // mulop -> tkMod
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 744: // mulop -> tkShl
+ case 742: // mulop -> tkShl
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 745: // mulop -> tkShr
+ case 743: // mulop -> tkShr
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 746: // mulop -> tkAnd
+ case 744: // mulop -> tkAnd
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 747: // default_expr -> tkDefault, tkRoundOpen,
+ case 745: // default_expr -> tkDefault, tkRoundOpen,
// simple_or_template_or_question_type_reference, tkRoundClose
{
CurrentSemanticValue.ex = new default_operator(ValueStack[ValueStack.Depth-2].td as named_type_reference, CurrentLocationSpan);
}
break;
- case 748: // tuple -> tkRoundOpen, expr_l1_or_unpacked, tkComma, expr_l1_or_unpacked_list,
+ case 746: // tuple -> tkRoundOpen, expr_l1_or_unpacked, tkComma, expr_l1_or_unpacked_list,
// lambda_type_ref, optional_full_lambda_fp_list, tkRoundClose
{
if (ValueStack[ValueStack.Depth-6].ex is unpacked_list_of_ident_or_list)
@@ -6536,35 +6525,35 @@ public partial class GPPGParser: ShiftReduceParser literal_or_number
+ case 747: // factor_without_unary_op -> literal_or_number
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 750: // factor_without_unary_op -> var_reference
+ case 748: // factor_without_unary_op -> var_reference
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 751: // factor -> tkNil
+ case 749: // factor -> tkNil
{
CurrentSemanticValue.ex = new nil_const();
CurrentSemanticValue.ex.source_context = CurrentLocationSpan;
}
break;
- case 752: // factor -> literal_or_number
+ case 750: // factor -> literal_or_number
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 753: // factor -> default_expr
+ case 751: // factor -> default_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 754: // factor -> tkSquareOpen, elem_list, tkSquareClose
+ case 752: // factor -> tkSquareOpen, elem_list, tkSquareClose
{
CurrentSemanticValue.ex = new pascal_set_constant(ValueStack[ValueStack.Depth-2].stn as expression_list, CurrentLocationSpan);
}
break;
- case 755: // factor -> tkNot, factor
+ case 753: // factor -> tkNot, factor
{
CurrentSemanticValue.ex = new un_expr(ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan);
}
break;
- case 756: // factor -> sign, factor
+ case 754: // factor -> sign, factor
{
if (ValueStack[ValueStack.Depth-2].op.type == Operators.Minus)
{
@@ -6590,116 +6579,116 @@ public partial class GPPGParser: ShiftReduceParser tkDeref, factor
+ case 755: // factor -> tkDeref, factor
{
CurrentSemanticValue.ex = new index(ValueStack[ValueStack.Depth-1].ex, true, CurrentLocationSpan);
}
break;
- case 758: // factor -> var_reference
+ case 756: // factor -> var_reference
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 759: // factor -> tuple
+ case 757: // factor -> tuple
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 760: // literal_or_number -> literal
+ case 758: // literal_or_number -> literal
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 761: // literal_or_number -> unsigned_number
+ case 759: // literal_or_number -> unsigned_number
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 762: // var_question_point -> variable, tkQuestionPoint, variable
+ case 760: // var_question_point -> variable, tkQuestionPoint, variable
{
CurrentSemanticValue.ex = new dot_question_node(ValueStack[ValueStack.Depth-3].ex as addressed_value,ValueStack[ValueStack.Depth-1].ex as addressed_value,CurrentLocationSpan);
}
break;
- case 763: // var_question_point -> variable, tkQuestionPoint, var_question_point
+ case 761: // var_question_point -> variable, tkQuestionPoint, var_question_point
{
CurrentSemanticValue.ex = new dot_question_node(ValueStack[ValueStack.Depth-3].ex as addressed_value,ValueStack[ValueStack.Depth-1].ex as addressed_value,CurrentLocationSpan);
}
break;
- case 764: // var_reference -> var_address, variable
+ case 762: // var_reference -> var_address, variable
{
CurrentSemanticValue.ex = NewVarReference(ValueStack[ValueStack.Depth-2].stn as get_address, ValueStack[ValueStack.Depth-1].ex as addressed_value, CurrentLocationSpan);
}
break;
- case 765: // var_reference -> variable
+ case 763: // var_reference -> variable
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 766: // var_reference -> var_question_point
+ case 764: // var_reference -> var_question_point
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 767: // var_address -> tkAddressOf
+ case 765: // var_address -> tkAddressOf
{
CurrentSemanticValue.stn = NewVarAddress(CurrentLocationSpan);
}
break;
- case 768: // var_address -> var_address, tkAddressOf
+ case 766: // var_address -> var_address, tkAddressOf
{
CurrentSemanticValue.stn = NewVarAddress(ValueStack[ValueStack.Depth-2].stn as get_address, CurrentLocationSpan);
}
break;
- case 769: // attribute_variable -> simple_type_identifier, optional_expr_list_with_bracket
+ case 767: // attribute_variable -> simple_type_identifier, optional_expr_list_with_bracket
{
CurrentSemanticValue.stn = new attribute(null, ValueStack[ValueStack.Depth-2].td as named_type_reference, ValueStack[ValueStack.Depth-1].stn as expression_list, CurrentLocationSpan);
}
break;
- case 770: // attribute_variable -> template_type, optional_expr_list_with_bracket
+ case 768: // attribute_variable -> template_type, optional_expr_list_with_bracket
{
CurrentSemanticValue.stn = new attribute(null, ValueStack[ValueStack.Depth-2].td as named_type_reference, ValueStack[ValueStack.Depth-1].stn as expression_list, CurrentLocationSpan);
}
break;
- case 771: // dotted_identifier -> identifier
+ case 769: // dotted_identifier -> identifier
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].id; }
break;
- case 772: // dotted_identifier -> dotted_identifier, tkPoint, identifier_or_keyword
+ case 770: // dotted_identifier -> dotted_identifier, tkPoint, identifier_or_keyword
{
if (ValueStack[ValueStack.Depth-3].ex is index)
parsertools.AddErrorFromResource("UNEXPECTED_SYMBOL{0}", LocationStack[LocationStack.Depth-3], "^");
CurrentSemanticValue.ex = new dot_node(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].id as addressed_value, CurrentLocationSpan);
}
break;
- case 773: // variable_as_type -> dotted_identifier
+ case 771: // variable_as_type -> dotted_identifier
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex;}
break;
- case 774: // variable_as_type -> dotted_identifier, template_type_params
+ case 772: // variable_as_type -> dotted_identifier, template_type_params
{ CurrentSemanticValue.ex = new ident_with_templateparams(ValueStack[ValueStack.Depth-2].ex as addressed_value, ValueStack[ValueStack.Depth-1].stn as template_param_list, CurrentLocationSpan); }
break;
- case 775: // variable_or_literal_or_number -> variable
+ case 773: // variable_or_literal_or_number -> variable
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 776: // variable_or_literal_or_number -> literal_or_number
+ case 774: // variable_or_literal_or_number -> literal_or_number
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 777: // var_with_init_for_expr_with_let -> tkVar, identifier, tkAssign, expr,
+ case 775: // var_with_init_for_expr_with_let -> tkVar, identifier, tkAssign, expr,
// tkSemiColon
{
CurrentSemanticValue.stn = new assign(ValueStack[ValueStack.Depth-4].id as addressed_value, ValueStack[ValueStack.Depth-2].ex, Operators.Assignment, CurrentLocationSpan);
}
break;
- case 778: // var_with_init_for_expr_with_let_list -> var_with_init_for_expr_with_let
+ case 776: // var_with_init_for_expr_with_let_list -> var_with_init_for_expr_with_let
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 779: // var_with_init_for_expr_with_let_list -> var_with_init_for_expr_with_let_list,
+ case 777: // var_with_init_for_expr_with_let_list -> var_with_init_for_expr_with_let_list,
// var_with_init_for_expr_with_let
{
ValueStack[ValueStack.Depth-2].stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn;
}
break;
- case 780: // variable -> identifier
+ case 778: // variable -> identifier
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].id; }
break;
- case 781: // variable -> operator_name_ident
+ case 779: // variable -> operator_name_ident
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 782: // variable -> tkInherited, identifier
+ case 780: // variable -> tkInherited, identifier
{
CurrentSemanticValue.ex = new inherited_ident(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan);
}
break;
- case 783: // variable -> tkRoundOpen, expr, tkRoundClose
+ case 781: // variable -> tkRoundOpen, expr, tkRoundClose
{
if (!parsertools.build_tree_for_formatter)
{
@@ -6709,7 +6698,7 @@ public partial class GPPGParser: ShiftReduceParser tkRoundOpen, var_with_init_for_expr_with_let_list, expr,
+ case 782: // variable -> tkRoundOpen, var_with_init_for_expr_with_let_list, expr,
// tkRoundClose
{
if (!parsertools.build_tree_for_formatter)
@@ -6720,20 +6709,20 @@ public partial class GPPGParser: ShiftReduceParser sizeof_expr
+ case 783: // variable -> sizeof_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 786: // variable -> typeof_expr
+ case 784: // variable -> typeof_expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 787: // variable -> literal_or_number, tkPoint, identifier_or_keyword
+ case 785: // variable -> literal_or_number, tkPoint, identifier_or_keyword
{
if (ValueStack[ValueStack.Depth-3].ex is index)
parsertools.AddErrorFromResource("UNEXPECTED_SYMBOL{0}", LocationStack[LocationStack.Depth-3], "^");
CurrentSemanticValue.ex = new dot_node(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].id as addressed_value, CurrentLocationSpan);
}
break;
- case 788: // variable -> variable_or_literal_or_number, tkSquareOpen, expr_list,
+ case 786: // variable -> variable_or_literal_or_number, tkSquareOpen, expr_list,
// tkSquareClose
{
var el = ValueStack[ValueStack.Depth-2].stn as expression_list; // SSM 10/03/16
@@ -6779,7 +6768,7 @@ public partial class GPPGParser: ShiftReduceParser variable_or_literal_or_number, tkQuestionSquareOpen, format_expr,
+ case 787: // variable -> variable_or_literal_or_number, tkQuestionSquareOpen, format_expr,
// tkSquareClose
{
var fe = ValueStack[ValueStack.Depth-2].ex as format_expr; // SSM 9/01/17
@@ -6793,80 +6782,80 @@ public partial class GPPGParser: ShiftReduceParser tkVertParen, elem_list, tkVertParen
+ case 788: // variable -> tkVertParen, elem_list, tkVertParen
{
CurrentSemanticValue.ex = new array_const_new(ValueStack[ValueStack.Depth-2].stn as expression_list, CurrentLocationSpan);
}
break;
- case 791: // variable -> variable, tkRoundOpen, optional_expr_list, tkRoundClose
+ case 789: // variable -> variable, tkRoundOpen, optional_expr_list, tkRoundClose
{
if (ValueStack[ValueStack.Depth-4].ex is index)
parsertools.AddErrorFromResource("UNEXPECTED_SYMBOL{0}", LocationStack[LocationStack.Depth-4], "^");
CurrentSemanticValue.ex = new method_call(ValueStack[ValueStack.Depth-4].ex as addressed_value,ValueStack[ValueStack.Depth-2].stn as expression_list, CurrentLocationSpan);
}
break;
- case 792: // variable -> variable, tkPoint, identifier_keyword_operatorname
+ case 790: // variable -> variable, tkPoint, identifier_keyword_operatorname
{
if (ValueStack[ValueStack.Depth-3].ex is index)
parsertools.AddErrorFromResource("UNEXPECTED_SYMBOL{0}", LocationStack[LocationStack.Depth-3], "^");
CurrentSemanticValue.ex = new dot_node(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].id as addressed_value, CurrentLocationSpan);
}
break;
- case 793: // variable -> tuple, tkPoint, identifier_keyword_operatorname
+ case 791: // variable -> tuple, tkPoint, identifier_keyword_operatorname
{
CurrentSemanticValue.ex = new dot_node(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].id as addressed_value, CurrentLocationSpan);
}
break;
- case 794: // variable -> variable, tkDeref
+ case 792: // variable -> variable, tkDeref
{
CurrentSemanticValue.ex = new roof_dereference(ValueStack[ValueStack.Depth-2].ex as addressed_value,CurrentLocationSpan);
}
break;
- case 795: // variable -> variable, tkAmpersend, template_type_params
+ case 793: // variable -> variable, tkAmpersend, template_type_params
{
CurrentSemanticValue.ex = new ident_with_templateparams(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].stn as template_param_list, CurrentLocationSpan);
}
break;
- case 796: // optional_expr_list -> expr_list
+ case 794: // optional_expr_list -> expr_list
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 797: // optional_expr_list -> /* empty */
+ case 795: // optional_expr_list -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 798: // elem_list -> elem_list1
+ case 796: // elem_list -> elem_list1
{ CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; }
break;
- case 799: // elem_list -> /* empty */
+ case 797: // elem_list -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 800: // elem_list1 -> elem
+ case 798: // elem_list1 -> elem
{
CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 801: // elem_list1 -> elem_list1, tkComma, elem
+ case 799: // elem_list1 -> elem_list1, tkComma, elem
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as expression_list).Add(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 802: // elem -> expr
+ case 800: // elem -> expr
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 803: // elem -> expr, tkDotDot, expr
+ case 801: // elem -> expr, tkDotDot, expr
{ CurrentSemanticValue.ex = new diapason_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); }
break;
- case 804: // one_literal -> tkStringLiteral
+ case 802: // one_literal -> tkStringLiteral
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].stn as literal; }
break;
- case 805: // one_literal -> tkAsciiChar
+ case 803: // one_literal -> tkAsciiChar
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].stn as literal; }
break;
- case 806: // literal -> literal_list
+ case 804: // literal -> literal_list
{
CurrentSemanticValue.ex = NewLiteral(ValueStack[ValueStack.Depth-1].stn as literal_const_line);
}
break;
- case 807: // literal -> tkFormatStringLiteral
+ case 805: // literal -> tkFormatStringLiteral
{
if (parsertools.build_tree_for_formatter)
{
@@ -6878,12 +6867,12 @@ public partial class GPPGParser: ShiftReduceParser one_literal
+ case 806: // literal_list -> one_literal
{
CurrentSemanticValue.stn = new literal_const_line(ValueStack[ValueStack.Depth-1].ex as literal, CurrentLocationSpan);
}
break;
- case 809: // literal_list -> literal_list, one_literal
+ case 807: // literal_list -> literal_list, one_literal
{
var line = ValueStack[ValueStack.Depth-2].stn as literal_const_line;
if (line.literals.Last() is string_const && ValueStack[ValueStack.Depth-1].ex is string_const)
@@ -6891,481 +6880,481 @@ public partial class GPPGParser: ShiftReduceParser tkOperator, overload_operator
+ case 808: // operator_name_ident -> tkOperator, overload_operator
{
CurrentSemanticValue.ex = new operator_name_ident((ValueStack[ValueStack.Depth-1].op as op_type_node).text, (ValueStack[ValueStack.Depth-1].op as op_type_node).type, CurrentLocationSpan);
}
break;
- case 811: // optional_method_modificators -> tkSemiColon
+ case 809: // optional_method_modificators -> tkSemiColon
{
CurrentSemanticValue.stn = new procedure_attributes_list(new List(),CurrentLocationSpan);
}
break;
- case 812: // optional_method_modificators -> tkSemiColon, meth_modificators, tkSemiColon
+ case 810: // optional_method_modificators -> tkSemiColon, meth_modificators, tkSemiColon
{
//parsertools.AddModifier((procedure_attributes_list)$2, proc_attribute.attr_overload);
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn;
}
break;
- case 813: // optional_method_modificators1 -> /* empty */
+ case 811: // optional_method_modificators1 -> /* empty */
{
CurrentSemanticValue.stn = new procedure_attributes_list(new List(),CurrentLocationSpan);
}
break;
- case 814: // optional_method_modificators1 -> tkSemiColon, meth_modificators
+ case 812: // optional_method_modificators1 -> tkSemiColon, meth_modificators
{
//parsertools.AddModifier((procedure_attributes_list)$2, proc_attribute.attr_overload);
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 815: // meth_modificators -> meth_modificator
+ case 813: // meth_modificators -> meth_modificator
{
CurrentSemanticValue.stn = new procedure_attributes_list(ValueStack[ValueStack.Depth-1].id as procedure_attribute, CurrentLocationSpan);
}
break;
- case 816: // meth_modificators -> meth_modificators, tkSemiColon, meth_modificator
+ case 814: // meth_modificators -> meth_modificators, tkSemiColon, meth_modificator
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as procedure_attributes_list).Add(ValueStack[ValueStack.Depth-1].id as procedure_attribute, CurrentLocationSpan);
}
break;
- case 817: // identifier -> tkIdentifier
+ case 815: // identifier -> tkIdentifier
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 818: // identifier -> property_specifier_directives
+ case 816: // identifier -> property_specifier_directives
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 819: // identifier -> non_reserved
+ case 817: // identifier -> non_reserved
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 820: // identifier -> tkStep
+ case 818: // identifier -> tkStep
{ CurrentSemanticValue.id = new ident(ValueStack[ValueStack.Depth-1].ti.text, CurrentLocationSpan); }
break;
- case 821: // identifier -> tkIndex
+ case 819: // identifier -> tkIndex
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 822: // identifier_or_keyword -> identifier
+ case 820: // identifier_or_keyword -> identifier
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 823: // identifier_or_keyword -> keyword
+ case 821: // identifier_or_keyword -> keyword
{ CurrentSemanticValue.id = new ident(ValueStack[ValueStack.Depth-1].ti.text, CurrentLocationSpan); }
break;
- case 824: // identifier_or_keyword -> reserved_keyword
+ case 822: // identifier_or_keyword -> reserved_keyword
{ CurrentSemanticValue.id = new ident(ValueStack[ValueStack.Depth-1].ti.text, CurrentLocationSpan); }
break;
- case 825: // identifier_keyword_operatorname -> identifier
+ case 823: // identifier_keyword_operatorname -> identifier
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 826: // identifier_keyword_operatorname -> keyword
+ case 824: // identifier_keyword_operatorname -> keyword
{ CurrentSemanticValue.id = new ident(ValueStack[ValueStack.Depth-1].ti.text, CurrentLocationSpan); }
break;
- case 827: // identifier_keyword_operatorname -> operator_name_ident
+ case 825: // identifier_keyword_operatorname -> operator_name_ident
{ CurrentSemanticValue.id = (ident)ValueStack[ValueStack.Depth-1].ex; }
break;
- case 828: // meth_modificator -> tkAbstract
+ case 826: // meth_modificator -> tkAbstract
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 829: // meth_modificator -> tkOverload
+ case 827: // meth_modificator -> tkOverload
{
CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id;
parsertools.AddWarningFromResource("OVERLOAD_IS_NOT_USED", ValueStack[ValueStack.Depth-1].id.source_context);
}
break;
- case 830: // meth_modificator -> tkReintroduce
+ case 828: // meth_modificator -> tkReintroduce
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 831: // meth_modificator -> tkOverride
+ case 829: // meth_modificator -> tkOverride
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 832: // meth_modificator -> tkExtensionMethod
+ case 830: // meth_modificator -> tkExtensionMethod
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 833: // meth_modificator -> tkVirtual
+ case 831: // meth_modificator -> tkVirtual
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 834: // property_modificator -> tkVirtual
+ case 832: // property_modificator -> tkVirtual
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 835: // property_modificator -> tkOverride
+ case 833: // property_modificator -> tkOverride
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 836: // property_modificator -> tkAbstract
+ case 834: // property_modificator -> tkAbstract
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 837: // property_modificator -> tkReintroduce
+ case 835: // property_modificator -> tkReintroduce
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 838: // property_specifier_directives -> tkRead
+ case 836: // property_specifier_directives -> tkRead
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 839: // property_specifier_directives -> tkWrite
+ case 837: // property_specifier_directives -> tkWrite
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 840: // non_reserved -> tkName
+ case 838: // non_reserved -> tkName
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 841: // non_reserved -> tkNew
+ case 839: // non_reserved -> tkNew
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 842: // visibility_specifier -> tkInternal
+ case 840: // visibility_specifier -> tkInternal
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 843: // visibility_specifier -> tkPublic
+ case 841: // visibility_specifier -> tkPublic
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 844: // visibility_specifier -> tkProtected
+ case 842: // visibility_specifier -> tkProtected
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 845: // visibility_specifier -> tkPrivate
+ case 843: // visibility_specifier -> tkPrivate
{ CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; }
break;
- case 846: // keyword -> visibility_specifier
+ case 844: // keyword -> visibility_specifier
{
CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan);
}
break;
- case 847: // keyword -> tkSealed
+ case 845: // keyword -> tkSealed
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 848: // keyword -> tkTemplate
+ case 846: // keyword -> tkTemplate
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 849: // keyword -> tkOr
+ case 847: // keyword -> tkOr
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 850: // keyword -> tkTypeOf
+ case 848: // keyword -> tkTypeOf
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 851: // keyword -> tkSizeOf
+ case 849: // keyword -> tkSizeOf
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 852: // keyword -> tkDefault
+ case 850: // keyword -> tkDefault
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 853: // keyword -> tkWhere
+ case 851: // keyword -> tkWhere
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 854: // keyword -> tkXor
+ case 852: // keyword -> tkXor
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 855: // keyword -> tkAnd
+ case 853: // keyword -> tkAnd
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 856: // keyword -> tkDiv
+ case 854: // keyword -> tkDiv
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 857: // keyword -> tkMod
+ case 855: // keyword -> tkMod
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 858: // keyword -> tkShl
+ case 856: // keyword -> tkShl
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 859: // keyword -> tkShr
+ case 857: // keyword -> tkShr
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 860: // keyword -> tkNot
+ case 858: // keyword -> tkNot
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 861: // keyword -> tkAs
+ case 859: // keyword -> tkAs
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 862: // keyword -> tkIn
+ case 860: // keyword -> tkIn
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 863: // keyword -> tkIs
+ case 861: // keyword -> tkIs
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 864: // keyword -> tkArray
+ case 862: // keyword -> tkArray
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 865: // keyword -> tkSequence
+ case 863: // keyword -> tkSequence
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 866: // keyword -> tkBegin
+ case 864: // keyword -> tkBegin
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 867: // keyword -> tkCase
+ case 865: // keyword -> tkCase
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 868: // keyword -> tkClass
+ case 866: // keyword -> tkClass
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 869: // keyword -> tkConst
+ case 867: // keyword -> tkConst
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 870: // keyword -> tkConstructor
+ case 868: // keyword -> tkConstructor
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 871: // keyword -> tkDestructor
+ case 869: // keyword -> tkDestructor
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 872: // keyword -> tkDownto
+ case 870: // keyword -> tkDownto
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 873: // keyword -> tkDo
+ case 871: // keyword -> tkDo
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 874: // keyword -> tkElse
+ case 872: // keyword -> tkElse
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 875: // keyword -> tkEnd
+ case 873: // keyword -> tkEnd
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 876: // keyword -> tkExcept
+ case 874: // keyword -> tkExcept
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 877: // keyword -> tkFile
+ case 875: // keyword -> tkFile
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 878: // keyword -> tkAuto
+ case 876: // keyword -> tkAuto
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 879: // keyword -> tkFinalization
+ case 877: // keyword -> tkFinalization
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 880: // keyword -> tkFinally
+ case 878: // keyword -> tkFinally
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 881: // keyword -> tkFor
+ case 879: // keyword -> tkFor
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 882: // keyword -> tkForeach
+ case 880: // keyword -> tkForeach
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 883: // keyword -> tkFunction
+ case 881: // keyword -> tkFunction
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 884: // keyword -> tkIf
+ case 882: // keyword -> tkIf
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 885: // keyword -> tkImplementation
+ case 883: // keyword -> tkImplementation
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 886: // keyword -> tkInherited
+ case 884: // keyword -> tkInherited
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 887: // keyword -> tkInitialization
+ case 885: // keyword -> tkInitialization
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 888: // keyword -> tkInterface
+ case 886: // keyword -> tkInterface
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 889: // keyword -> tkProcedure
+ case 887: // keyword -> tkProcedure
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 890: // keyword -> tkProperty
+ case 888: // keyword -> tkProperty
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 891: // keyword -> tkRaise
+ case 889: // keyword -> tkRaise
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 892: // keyword -> tkRecord
+ case 890: // keyword -> tkRecord
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 893: // keyword -> tkRepeat
+ case 891: // keyword -> tkRepeat
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 894: // keyword -> tkSet
+ case 892: // keyword -> tkSet
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 895: // keyword -> tkTry
+ case 893: // keyword -> tkTry
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 896: // keyword -> tkType
+ case 894: // keyword -> tkType
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 897: // keyword -> tkStatic
+ case 895: // keyword -> tkStatic
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 898: // keyword -> tkThen
+ case 896: // keyword -> tkThen
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 899: // keyword -> tkTo
+ case 897: // keyword -> tkTo
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 900: // keyword -> tkUntil
+ case 898: // keyword -> tkUntil
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 901: // keyword -> tkUses
+ case 899: // keyword -> tkUses
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 902: // keyword -> tkVar
+ case 900: // keyword -> tkVar
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 903: // keyword -> tkWhile
+ case 901: // keyword -> tkWhile
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 904: // keyword -> tkWith
+ case 902: // keyword -> tkWith
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 905: // keyword -> tkNil
+ case 903: // keyword -> tkNil
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 906: // keyword -> tkGoto
+ case 904: // keyword -> tkGoto
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 907: // keyword -> tkOf
+ case 905: // keyword -> tkOf
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 908: // keyword -> tkLabel
+ case 906: // keyword -> tkLabel
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 909: // keyword -> tkProgram
+ case 907: // keyword -> tkProgram
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 910: // keyword -> tkUnit
+ case 908: // keyword -> tkUnit
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 911: // keyword -> tkLibrary
+ case 909: // keyword -> tkLibrary
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 912: // keyword -> tkNamespace
+ case 910: // keyword -> tkNamespace
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 913: // keyword -> tkExternal
+ case 911: // keyword -> tkExternal
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 914: // keyword -> tkParams
+ case 912: // keyword -> tkParams
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 915: // keyword -> tkEvent
+ case 913: // keyword -> tkEvent
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 916: // keyword -> tkYield
+ case 914: // keyword -> tkYield
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 917: // keyword -> tkMatch
+ case 915: // keyword -> tkMatch
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 918: // keyword -> tkWhen
+ case 916: // keyword -> tkWhen
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 919: // keyword -> tkPartial
+ case 917: // keyword -> tkPartial
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 920: // keyword -> tkAbstract
+ case 918: // keyword -> tkAbstract
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 921: // keyword -> tkLock
+ case 919: // keyword -> tkLock
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 922: // keyword -> tkImplicit
+ case 920: // keyword -> tkImplicit
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 923: // keyword -> tkExplicit
+ case 921: // keyword -> tkExplicit
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].op; }
break;
- case 924: // keyword -> tkOn
+ case 922: // keyword -> tkOn
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 925: // keyword -> tkVirtual
+ case 923: // keyword -> tkVirtual
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 926: // keyword -> tkOverride
+ case 924: // keyword -> tkOverride
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 927: // keyword -> tkLoop
+ case 925: // keyword -> tkLoop
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 928: // keyword -> tkExtensionMethod
+ case 926: // keyword -> tkExtensionMethod
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 929: // keyword -> tkOverload
+ case 927: // keyword -> tkOverload
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 930: // keyword -> tkReintroduce
+ case 928: // keyword -> tkReintroduce
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 931: // keyword -> tkForward
+ case 929: // keyword -> tkForward
{ CurrentSemanticValue.ti = new token_info(ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); }
break;
- case 932: // reserved_keyword -> tkOperator
+ case 930: // reserved_keyword -> tkOperator
{ CurrentSemanticValue.ti = ValueStack[ValueStack.Depth-1].ti; }
break;
- case 933: // overload_operator -> tkMinus
+ case 931: // overload_operator -> tkMinus
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 934: // overload_operator -> tkPlus
+ case 932: // overload_operator -> tkPlus
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 935: // overload_operator -> tkSlash
+ case 933: // overload_operator -> tkSlash
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 936: // overload_operator -> tkStar
+ case 934: // overload_operator -> tkStar
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 937: // overload_operator -> tkEqual
+ case 935: // overload_operator -> tkEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 938: // overload_operator -> tkGreater
+ case 936: // overload_operator -> tkGreater
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 939: // overload_operator -> tkGreaterEqual
+ case 937: // overload_operator -> tkGreaterEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 940: // overload_operator -> tkLower
+ case 938: // overload_operator -> tkLower
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 941: // overload_operator -> tkLowerEqual
+ case 939: // overload_operator -> tkLowerEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 942: // overload_operator -> tkNotEqual
+ case 940: // overload_operator -> tkNotEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 943: // overload_operator -> tkOr
+ case 941: // overload_operator -> tkOr
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 944: // overload_operator -> tkXor
+ case 942: // overload_operator -> tkXor
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 945: // overload_operator -> tkAnd
+ case 943: // overload_operator -> tkAnd
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 946: // overload_operator -> tkDiv
+ case 944: // overload_operator -> tkDiv
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 947: // overload_operator -> tkMod
+ case 945: // overload_operator -> tkMod
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 948: // overload_operator -> tkShl
+ case 946: // overload_operator -> tkShl
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 949: // overload_operator -> tkShr
+ case 947: // overload_operator -> tkShr
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 950: // overload_operator -> tkNot
+ case 948: // overload_operator -> tkNot
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 951: // overload_operator -> tkIn
+ case 949: // overload_operator -> tkIn
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 952: // overload_operator -> tkImplicit
+ case 950: // overload_operator -> tkImplicit
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 953: // overload_operator -> tkExplicit
+ case 951: // overload_operator -> tkExplicit
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 954: // overload_operator -> assign_operator
+ case 952: // overload_operator -> assign_operator
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 955: // overload_operator -> tkStarStar
+ case 953: // overload_operator -> tkStarStar
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 956: // assign_operator -> tkAssign
+ case 954: // assign_operator -> tkAssign
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 957: // assign_operator -> tkPlusEqual
+ case 955: // assign_operator -> tkPlusEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 958: // assign_operator -> tkMinusEqual
+ case 956: // assign_operator -> tkMinusEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 959: // assign_operator -> tkMultEqual
+ case 957: // assign_operator -> tkMultEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 960: // assign_operator -> tkDivEqual
+ case 958: // assign_operator -> tkDivEqual
{ CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; }
break;
- case 961: // lambda_unpacked_params -> tkBackSlashRoundOpen,
+ case 959: // lambda_unpacked_params -> tkBackSlashRoundOpen,
// lambda_list_of_unpacked_params_or_id, tkComma,
// lambda_unpacked_params_or_id, tkRoundClose
{
@@ -7374,24 +7363,24 @@ public partial class GPPGParser: ShiftReduceParser lambda_unpacked_params
+ case 960: // lambda_unpacked_params_or_id -> lambda_unpacked_params
{
CurrentSemanticValue.ob = new ident_or_list(ValueStack[ValueStack.Depth-1].ex as unpacked_list_of_ident_or_list);
}
break;
- case 963: // lambda_unpacked_params_or_id -> identifier
+ case 961: // lambda_unpacked_params_or_id -> identifier
{
CurrentSemanticValue.ob = new ident_or_list(ValueStack[ValueStack.Depth-1].id as ident);
}
break;
- case 964: // lambda_list_of_unpacked_params_or_id -> lambda_unpacked_params_or_id
+ case 962: // lambda_list_of_unpacked_params_or_id -> lambda_unpacked_params_or_id
{
CurrentSemanticValue.ob = new unpacked_list_of_ident_or_list();
(CurrentSemanticValue.ob as unpacked_list_of_ident_or_list).Add(ValueStack[ValueStack.Depth-1].ob as ident_or_list);
(CurrentSemanticValue.ob as unpacked_list_of_ident_or_list).source_context = LocationStack[LocationStack.Depth-1];
}
break;
- case 965: // lambda_list_of_unpacked_params_or_id -> lambda_list_of_unpacked_params_or_id,
+ case 963: // lambda_list_of_unpacked_params_or_id -> lambda_list_of_unpacked_params_or_id,
// tkComma, lambda_unpacked_params_or_id
{
CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-3].ob;
@@ -7399,24 +7388,24 @@ public partial class GPPGParser: ShiftReduceParser expr_l1
+ case 964: // expr_l1_or_unpacked -> expr_l1
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 967: // expr_l1_or_unpacked -> lambda_unpacked_params
+ case 965: // expr_l1_or_unpacked -> lambda_unpacked_params
{ CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; }
break;
- case 968: // expr_l1_or_unpacked_list -> expr_l1_or_unpacked
+ case 966: // expr_l1_or_unpacked_list -> expr_l1_or_unpacked
{
CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 969: // expr_l1_or_unpacked_list -> expr_l1_or_unpacked_list, tkComma,
+ case 967: // expr_l1_or_unpacked_list -> expr_l1_or_unpacked_list, tkComma,
// expr_l1_or_unpacked
{
CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as expression_list).Add(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan);
}
break;
- case 970: // func_decl_lambda -> identifier, tkArrow, lambda_function_body
+ case 968: // func_decl_lambda -> identifier, tkArrow, lambda_function_body
{
var idList = new ident_list(ValueStack[ValueStack.Depth-3].id, LocationStack[LocationStack.Depth-3]);
var formalPars = new formal_parameters(new typed_parameters(idList, new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), LocationStack[LocationStack.Depth-3]), parametr_kind.none, null, LocationStack[LocationStack.Depth-3]), LocationStack[LocationStack.Depth-3]);
@@ -7427,7 +7416,7 @@ public partial class GPPGParser: ShiftReduceParser tkRoundOpen, tkRoundClose, lambda_type_ref_noproctype,
+ case 969: // func_decl_lambda -> tkRoundOpen, tkRoundClose, lambda_type_ref_noproctype,
// tkArrow, lambda_function_body
{
// ����� ���� ������������� �� ���� � ���� ��������� lambda_inferred_type, ���� ������ ��� null!
@@ -7437,7 +7426,7 @@ public partial class GPPGParser: ShiftReduceParser tkRoundOpen, identifier, tkColon, fptype, tkRoundClose,
+ case 970: // func_decl_lambda -> tkRoundOpen, identifier, tkColon, fptype, tkRoundClose,
// lambda_type_ref_noproctype, tkArrow, lambda_function_body
{
var idList = new ident_list(ValueStack[ValueStack.Depth-7].id, LocationStack[LocationStack.Depth-7]);
@@ -7449,7 +7438,7 @@ public partial class GPPGParser: ShiftReduceParser tkRoundOpen, identifier, tkSemiColon, full_lambda_fp_list,
+ case 971: // func_decl_lambda -> tkRoundOpen, identifier, tkSemiColon, full_lambda_fp_list,
// tkRoundClose, lambda_type_ref_noproctype, tkArrow,
// lambda_function_body
{
@@ -7463,7 +7452,7 @@ public partial class GPPGParser: ShiftReduceParser tkRoundOpen, identifier, tkColon, fptype, tkSemiColon,
+ case 972: // func_decl_lambda -> tkRoundOpen, identifier, tkColon, fptype, tkSemiColon,
// full_lambda_fp_list, tkRoundClose,
// lambda_type_ref_noproctype, tkArrow, lambda_function_body
{
@@ -7478,7 +7467,7 @@ public partial class GPPGParser: ShiftReduceParser tkRoundOpen, expr_l1_or_unpacked, tkComma,
+ case 973: // func_decl_lambda -> tkRoundOpen, expr_l1_or_unpacked, tkComma,
// expr_l1_or_unpacked_list, lambda_type_ref,
// optional_full_lambda_fp_list, tkRoundClose, rem_lambda
{
@@ -7588,7 +7577,7 @@ public partial class GPPGParser: ShiftReduceParser lambda_unpacked_params, rem_lambda
+ case 974: // func_decl_lambda -> lambda_unpacked_params, rem_lambda
{
var pair = ValueStack[ValueStack.Depth-1].ob as pair_type_stlist;
// ���� ���������� ��������� - null. �������� �� �������� ���������
@@ -7600,62 +7589,62 @@ public partial class GPPGParser: ShiftReduceParser expl_func_decl_lambda
+ case 975: // func_decl_lambda -> expl_func_decl_lambda
{
CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex;
}
break;
- case 978: // optional_full_lambda_fp_list -> /* empty */
+ case 976: // optional_full_lambda_fp_list -> /* empty */
{ CurrentSemanticValue.stn = null; }
break;
- case 979: // optional_full_lambda_fp_list -> tkSemiColon, full_lambda_fp_list
+ case 977: // optional_full_lambda_fp_list -> tkSemiColon, full_lambda_fp_list
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 980: // rem_lambda -> lambda_type_ref_noproctype, tkArrow, lambda_function_body
+ case 978: // rem_lambda -> lambda_type_ref_noproctype, tkArrow, lambda_function_body
{
CurrentSemanticValue.ob = new pair_type_stlist(ValueStack[ValueStack.Depth-3].td,ValueStack[ValueStack.Depth-1].stn as statement_list);
}
break;
- case 981: // expl_func_decl_lambda -> tkFunction, lambda_type_ref_noproctype, tkArrow,
+ case 979: // expl_func_decl_lambda -> tkFunction, lambda_type_ref_noproctype, tkArrow,
// lambda_function_body
{
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, 1, CurrentLocationSpan);
}
break;
- case 982: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, tkRoundClose,
+ case 980: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, tkRoundClose,
// lambda_type_ref_noproctype, tkArrow,
// lambda_function_body
{
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, 1, CurrentLocationSpan);
}
break;
- case 983: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, full_lambda_fp_list,
+ case 981: // expl_func_decl_lambda -> tkFunction, tkRoundOpen, full_lambda_fp_list,
// tkRoundClose, lambda_type_ref_noproctype, tkArrow,
// lambda_function_body
{
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), ValueStack[ValueStack.Depth-5].stn as formal_parameters, ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].stn as statement_list, 1, CurrentLocationSpan);
}
break;
- case 984: // expl_func_decl_lambda -> tkProcedure, tkArrow, lambda_procedure_body
+ case 982: // expl_func_decl_lambda -> tkProcedure, tkArrow, lambda_procedure_body
{
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, null, ValueStack[ValueStack.Depth-1].stn as statement_list, 2, CurrentLocationSpan);
}
break;
- case 985: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, tkRoundClose, tkArrow,
+ case 983: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, tkRoundClose, tkArrow,
// lambda_procedure_body
{
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), null, null, ValueStack[ValueStack.Depth-1].stn as statement_list, 2, CurrentLocationSpan);
}
break;
- case 986: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, full_lambda_fp_list,
+ case 984: // expl_func_decl_lambda -> tkProcedure, tkRoundOpen, full_lambda_fp_list,
// tkRoundClose, tkArrow, lambda_procedure_body
{
CurrentSemanticValue.ex = new function_lambda_definition(lambdaHelper.CreateLambdaName(), ValueStack[ValueStack.Depth-4].stn as formal_parameters, null, ValueStack[ValueStack.Depth-1].stn as statement_list, 2, CurrentLocationSpan);
}
break;
- case 987: // full_lambda_fp_list -> lambda_simple_fp_sect
+ case 985: // full_lambda_fp_list -> lambda_simple_fp_sect
{
var typed_pars = ValueStack[ValueStack.Depth-1].stn as typed_parameters;
if (typed_pars.vars_type is lambda_inferred_type)
@@ -7675,102 +7664,102 @@ public partial class GPPGParser: ShiftReduceParser full_lambda_fp_list, tkSemiColon, lambda_simple_fp_sect
+ case 986: // full_lambda_fp_list -> full_lambda_fp_list, tkSemiColon, lambda_simple_fp_sect
{
CurrentSemanticValue.stn =(ValueStack[ValueStack.Depth-3].stn as formal_parameters).Add(ValueStack[ValueStack.Depth-1].stn as typed_parameters, CurrentLocationSpan);
}
break;
- case 989: // lambda_simple_fp_sect -> ident_list, lambda_type_ref
+ case 987: // lambda_simple_fp_sect -> ident_list, lambda_type_ref
{
CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-2].stn as ident_list, ValueStack[ValueStack.Depth-1].td, parametr_kind.none, null, CurrentLocationSpan);
}
break;
- case 990: // lambda_type_ref -> /* empty */
+ case 988: // lambda_type_ref -> /* empty */
{
CurrentSemanticValue.td = new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), null);
}
break;
- case 991: // lambda_type_ref -> tkColon, fptype
+ case 989: // lambda_type_ref -> tkColon, fptype
{
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
}
break;
- case 992: // lambda_type_ref_noproctype -> /* empty */
+ case 990: // lambda_type_ref_noproctype -> /* empty */
{
CurrentSemanticValue.td = new lambda_inferred_type(new PascalABCCompiler.TreeRealization.lambda_any_type_node(), null);
}
break;
- case 993: // lambda_type_ref_noproctype -> tkColon, fptype_noproctype
+ case 991: // lambda_type_ref_noproctype -> tkColon, fptype_noproctype
{
CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td;
}
break;
- case 994: // common_lambda_body -> compound_stmt
+ case 992: // common_lambda_body -> compound_stmt
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 995: // common_lambda_body -> if_stmt
+ case 993: // common_lambda_body -> if_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 996: // common_lambda_body -> while_stmt
+ case 994: // common_lambda_body -> while_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 997: // common_lambda_body -> repeat_stmt
+ case 995: // common_lambda_body -> repeat_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 998: // common_lambda_body -> for_stmt
+ case 996: // common_lambda_body -> for_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 999: // common_lambda_body -> foreach_stmt
+ case 997: // common_lambda_body -> foreach_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1000: // common_lambda_body -> loop_stmt
+ case 998: // common_lambda_body -> loop_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1001: // common_lambda_body -> case_stmt
+ case 999: // common_lambda_body -> case_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1002: // common_lambda_body -> try_stmt
+ case 1000: // common_lambda_body -> try_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1003: // common_lambda_body -> lock_stmt
+ case 1001: // common_lambda_body -> lock_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1004: // common_lambda_body -> raise_stmt
+ case 1002: // common_lambda_body -> raise_stmt
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1005: // common_lambda_body -> yield_stmt
+ case 1003: // common_lambda_body -> yield_stmt
{
parsertools.AddErrorFromResource("YIELD_STATEMENT_CANNOT_BE_USED_IN_LAMBDA_BODY", CurrentLocationSpan);
}
break;
- case 1006: // common_lambda_body -> tkRoundOpen, assignment, tkRoundClose
+ case 1004: // common_lambda_body -> tkRoundOpen, assignment, tkRoundClose
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-2].stn as statement, LocationStack[LocationStack.Depth-2]);
}
break;
- case 1007: // lambda_function_body -> expr_l1_for_lambda
+ case 1005: // lambda_function_body -> expr_l1_for_lambda
{
var id = SyntaxVisitors.HasNameVisitor.HasName(ValueStack[ValueStack.Depth-1].ex, "Result");
if (id != null)
@@ -7782,22 +7771,22 @@ public partial class GPPGParser: ShiftReduceParser common_lambda_body
+ case 1006: // lambda_function_body -> common_lambda_body
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
break;
- case 1009: // lambda_procedure_body -> proc_call
+ case 1007: // lambda_procedure_body -> proc_call
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1010: // lambda_procedure_body -> assignment
+ case 1008: // lambda_procedure_body -> assignment
{
CurrentSemanticValue.stn = new statement_list(ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan);
}
break;
- case 1011: // lambda_procedure_body -> common_lambda_body
+ case 1009: // lambda_procedure_body -> common_lambda_body
{
CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn;
}
diff --git a/Parsers/PascalABCParserNewSaushkin/Keywords.cs b/Parsers/PascalABCParserNewSaushkin/Keywords.cs
index e504a835f..781ac185f 100644
--- a/Parsers/PascalABCParserNewSaushkin/Keywords.cs
+++ b/Parsers/PascalABCParserNewSaushkin/Keywords.cs
@@ -113,7 +113,6 @@ namespace GPPGParserScanner
keywords.Add(Convert("with"), (int)Tokens.tkWith);
keywords.Add(Convert("program"), (int)Tokens.tkProgram);
keywords.Add(Convert("template"), (int)Tokens.tkTemplate);
- keywords.Add(Convert("packed"), (int)Tokens.tkPacked);
keywords.Add(Convert("resourcestring"), (int)Tokens.tkResourceString);
keywords.Add(Convert("threadvar"), (int)Tokens.tkThreadvar);
keywords.Add(Convert("sealed"), (int)Tokens.tkSealed);
diff --git a/Parsers/PascalABCParserNewSaushkin/PABC.tags b/Parsers/PascalABCParserNewSaushkin/PABC.tags
index fce80be70..8cbf0e7e4 100644
--- a/Parsers/PascalABCParserNewSaushkin/PABC.tags
+++ b/Parsers/PascalABCParserNewSaushkin/PABC.tags
@@ -225,7 +225,6 @@
-
diff --git a/Parsers/PascalABCParserNewSaushkin/PABC.ymc b/Parsers/PascalABCParserNewSaushkin/PABC.ymc
index 63d955009..431fca478 100644
--- a/Parsers/PascalABCParserNewSaushkin/PABC.ymc
+++ b/Parsers/PascalABCParserNewSaushkin/PABC.ymc
@@ -357,5 +357,6 @@ script=
+
diff --git a/Release/pabcversion.txt b/Release/pabcversion.txt
index 5ac32ca8c..b79c95ac3 100644
--- a/Release/pabcversion.txt
+++ b/Release/pabcversion.txt
@@ -1 +1 @@
-3.8.3.3116
+3.8.3.3119
diff --git a/ReleaseGenerators/PascalABCNET_version.nsh b/ReleaseGenerators/PascalABCNET_version.nsh
index 8d3970f34..83524f143 100644
--- a/ReleaseGenerators/PascalABCNET_version.nsh
+++ b/ReleaseGenerators/PascalABCNET_version.nsh
@@ -1 +1 @@
-!define VERSION '3.8.3.3116'
+!define VERSION '3.8.3.3119'
|