public procedure_header NewProcedureHeader(attribute_list attrlist, procedure_header nprh, procedure_attribute forw, LexLocation loc) { if (nprh.proc_attributes == null) nprh.proc_attributes = new procedure_attributes_list(); nprh.proc_attributes.Add(forw, forw.source_context); nprh.attributes = attrlist; nprh.source_context = loc; return nprh; }
public void ReplaceInList(procedure_attribute el, procedure_attribute newel) { proc_attributes[FindIndexInList(el)] = newel; }
public bool Remove(procedure_attribute el) { return proc_attributes.Remove(el); }
/////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// //CreateTerminalObject /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// private Object CreateTerminalObject(int TokenSymbolIndex) { switch (TokenSymbolIndex) { case (int)SymbolConstants.SYMBOL_EOF : //(EOF) //TERMINAL:EOF return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ERROR : //(Error) //TERMINAL:Error return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_WHITESPACE : //(Whitespace) /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'Whitespace' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_COMMENTEND : //(Comment End) /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'Comment End' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_COMMENTLINE : //(Comment Line) /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'Comment Line' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_COMMENTSTART : //(Comment Start) /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'Comment Start' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKABSOLUTE : //tkAbsolute { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKABSTRACT : //tkAbstract { procedure_attribute _procedure_attribute=new procedure_attribute(proc_attribute.attr_abstract); //_procedure_attribute.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _procedure_attribute.source_context=parsertools.GetTokenSourceContext(); _procedure_attribute.name=LRParser.TokenText; return _procedure_attribute; } case (int)SymbolConstants.SYMBOL_TKADDRESSOF : //tkAddressOf { op_type_node _op_type_node=new op_type_node(Operators.AddressOf); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKAMPERSEND : //tkAmpersend { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKAND : //tkAnd { op_type_node _op_type_node=new op_type_node(Operators.LogicalAND); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKARRAY : //tkArray { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKARROW : //tkArrow {token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); pascalABC_lambda_definitions.Add(null);//tasha 7.05.2010 return _token_info;} case (int)SymbolConstants.SYMBOL_TKAS : //tkAs { op_type_node _op_type_node=new op_type_node(Operators.As); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKASCIICHAR : //tkAsciiChar return parsertools.create_sharp_char_const(this); case (int)SymbolConstants.SYMBOL_TKASMBODY : //tkAsmBody //TERMINAL:tkAsmBody return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TKASSEMBLER : //tkAssembler { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKASSIGN : //tkAssign { op_type_node _op_type_node=new op_type_node(Operators.Assignment); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKAT : //tkAt { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKAUTOMATED : //tkAutomated { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKBEGIN : //tkBegin { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKBOOLEAN : //tkBoolean { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKBYTE : //tkByte { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKCARDINAL : //tkCardinal { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKCASE : //tkCase { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKCHAR : //tkChar { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKCLASS : //tkClass { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKCOLON : //tkColon { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKCOMMA : //tkComma { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKCOMP : //tkComp { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKCONST : //tkConst { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKCONSTRUCTOR : //tkConstructor { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKCONTAINS : //tkContains { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKCSHARPSTYLEOR : //tkCSharpStyleOr { op_type_node _op_type_node=new op_type_node(Operators.LogicalOR); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKDEFAULT : //tkDefault { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKDEREF : //tkDeref { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKDESTRUCTOR : //tkDestructor { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKDIRECTIVENAME : //tkDirectiveName return parsertools.create_directive_name(this); case (int)SymbolConstants.SYMBOL_TKDISPID : //tkDispid { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKDIV : //tkDiv { op_type_node _op_type_node=new op_type_node(Operators.IntegerDivision); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKDIVEQUAL : //tkDivEqual { op_type_node _op_type_node=new op_type_node(Operators.AssignmentDivision); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKDO : //tkDo { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKDOTDOT : //tkDotDot { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKDOUBLE : //tkDouble { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKDOWNTO : //tkDownto { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKELSE : //tkElse { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKEND : //tkEnd { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKEQUAL : //tkEqual { op_type_node _op_type_node=new op_type_node(Operators.Equal); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKERROR : //tkError //TERMINAL:tkError return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TKEVENT : //tkEvent { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKEXCEPT : //tkExcept { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKEXPLICIT : //tkExplicit { op_type_node _op_type_node=new op_type_node(Operators.Explicit); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKEXPORTS : //tkExports /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'tkExports' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKEXTENDED : //tkExtended { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKEXTERNAL : //tkExternal { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKFILE : //tkFile { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKFINAL : //tkFinal { token_taginfo _token_taginfo=new token_taginfo(class_attribute.Sealed); //_token_taginfo.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_taginfo.source_context=parsertools.GetTokenSourceContext(); return _token_taginfo; } case (int)SymbolConstants.SYMBOL_TKFINALIZATION : //tkFinalization { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKFINALLY : //tkFinally { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKFLOAT : //tkFloat return parsertools.create_double_const(this); case (int)SymbolConstants.SYMBOL_TKFOR : //tkFor { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKFOREACH : //tkForeach { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKFORWARD : //tkForward { procedure_attribute _procedure_attribute=new procedure_attribute(proc_attribute.attr_forward); //_procedure_attribute.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _procedure_attribute.source_context=parsertools.GetTokenSourceContext(); _procedure_attribute.name=LRParser.TokenText; return _procedure_attribute; } case (int)SymbolConstants.SYMBOL_TKFUNCTION : //tkFunction { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKGOTO : //tkGoto { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKGREATER : //tkGreater { op_type_node _op_type_node=new op_type_node(Operators.Greater); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKGREATEREQUAL : //tkGreaterEqual { op_type_node _op_type_node=new op_type_node(Operators.GreaterEqual); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKHEX : //tkHex return parsertools.create_hex_const(this); case (int)SymbolConstants.SYMBOL_TKIDENTIFIER : //tkIdentifier return parsertools.create_ident(this); case (int)SymbolConstants.SYMBOL_TKIF : //tkIf { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKILCODE : //tkILCode case (int)SymbolConstants.SYMBOL_TKIMPLEMENTATION : //tkImplementation { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKIMPLEMENTS : //tkImplements { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKIMPLICIT : //tkImplicit { op_type_node _op_type_node=new op_type_node(Operators.Implicit); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKIN : //tkIn { op_type_node _op_type_node=new op_type_node(Operators.In); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKINDEX : //tkIndex { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKINHERITED : //tkInherited { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKINITIALIZATION : //tkInitialization { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKINLINE : //tkInline /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'tkInline' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKINT64 : //tkInt64 { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKINTEGER : //tkInteger return parsertools.create_int_const(this); case (int)SymbolConstants.SYMBOL_TKINTERFACE : //tkInterface { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKINTERNAL : //tkInternal { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKIS : //tkIs { op_type_node _op_type_node=new op_type_node(Operators.Is); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKLABEL : //tkLabel { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKLIBRARY : //tkLibrary { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKLOCK : //tkLock { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKLONGINT : //tkLongInt { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKLONGWORD : //tkLongWord { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKLOWER : //tkLower { op_type_node _op_type_node=new op_type_node(Operators.Less); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKLOWEREQUAL : //tkLowerEqual { op_type_node _op_type_node=new op_type_node(Operators.LessEqual); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKMESSAGE : //tkMessage { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKMINUS : //tkMinus { op_type_node _op_type_node=new op_type_node(Operators.Minus); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKMINUSEQUAL : //tkMinusEqual { op_type_node _op_type_node=new op_type_node(Operators.AssignmentSubtraction); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKMOD : //tkMod { op_type_node _op_type_node=new op_type_node(Operators.ModulusRemainder); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKMULTEQUAL : //tkMultEqual { op_type_node _op_type_node=new op_type_node(Operators.AssignmentMultiplication); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKNAME : //tkName { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKNIL : //tkNil { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKNODEFAULT : //tkNodefault { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKNOT : //tkNot { op_type_node _op_type_node=new op_type_node(Operators.LogicalNOT); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKNOTEQUAL : //tkNotEqual { op_type_node _op_type_node=new op_type_node(Operators.NotEqual); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKOF : //tkOf { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKOLEVARIANT : //tkOleVariant { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKON : //tkOn { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKOPERATOR : //tkOperator { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKOR : //tkOr { op_type_node _op_type_node=new op_type_node(Operators.LogicalOR); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKORDINTEGER : //tkOrdInteger { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKOUT : //tkOut { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKOVERLOAD : //tkOverload { procedure_attribute _procedure_attribute=new procedure_attribute(proc_attribute.attr_overload); //_procedure_attribute.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _procedure_attribute.source_context=parsertools.GetTokenSourceContext(); _procedure_attribute.name=LRParser.TokenText; return _procedure_attribute; } case (int)SymbolConstants.SYMBOL_TKOVERRIDE : //tkOverride { procedure_attribute _procedure_attribute=new procedure_attribute(proc_attribute.attr_override); //_procedure_attribute.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _procedure_attribute.source_context=parsertools.GetTokenSourceContext(); _procedure_attribute.name=LRParser.TokenText; return _procedure_attribute; } case (int)SymbolConstants.SYMBOL_TKPACKAGE : //tkPackage { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKPACKED : //tkPacked /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'tkPacked' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKPARAMS : //tkParams { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKPARSEMODEEXPRESSION : //tkParseModeExpression /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'tkParseModeExpression' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKPARSEMODESTATEMENT : //tkParseModeStatement /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'tkParseModeStatement' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKPCHAR : //tkPChar { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKPLUS : //tkPlus { op_type_node _op_type_node=new op_type_node(Operators.Plus); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKPLUSEQUAL : //tkPlusEqual { op_type_node _op_type_node=new op_type_node(Operators.AssignmentAddition); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKPOINT : //tkPoint { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKPRIVATE : //tkPrivate { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKPROCEDURE : //tkProcedure { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKPROGRAM : //tkProgram { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKPROPERTY : //tkProperty { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKPROTECTED : //tkProtected { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKPUBLIC : //tkPublic { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKQUESTION : //tkQuestion { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKRAISE : //tkRaise { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKREAD : //tkRead { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKREADONLY : //tkReadOnly { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKREAL : //tkReal { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKRECORD : //tkRecord { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKREINTRODUCE : //tkReintroduce { procedure_attribute _procedure_attribute=new procedure_attribute(proc_attribute.attr_reintroduce); //_procedure_attribute.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _procedure_attribute.source_context=parsertools.GetTokenSourceContext(); _procedure_attribute.name=LRParser.TokenText; return _procedure_attribute; } case (int)SymbolConstants.SYMBOL_TKREPEAT : //tkRepeat { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKREQUIRES : //tkRequires { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKRESIDENT : //tkResident { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKRESOURCESTRING : //tkResourceString /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'tkResourceString' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKROUNDCLOSE : //tkRoundClose { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKROUNDOPEN : //tkRoundOpen { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKSEMICOLON : //tkSemiColon { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKSET : //tkSet { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKSHL : //tkShl { op_type_node _op_type_node=new op_type_node(Operators.BitwiseLeftShift); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKSHORTINT : //tkShortInt { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKSHR : //tkShr { op_type_node _op_type_node=new op_type_node(Operators.BitwiseRightShift); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKSINGLE : //tkSingle { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKSIZEOF : //tkSizeOf { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKSLASH : //tkSlash { op_type_node _op_type_node=new op_type_node(Operators.Division); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKSMALLINT : //tkSmallInt { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKSQUARECLOSE : //tkSquareClose { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKSQUAREOPEN : //tkSquareOpen { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKSTAR : //tkStar { op_type_node _op_type_node=new op_type_node(Operators.Multiplication); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); return _op_type_node; } case (int)SymbolConstants.SYMBOL_TKSTATIC : //tkStatic { procedure_attribute _procedure_attribute=new procedure_attribute(proc_attribute.attr_static); //_procedure_attribute.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _procedure_attribute.source_context=parsertools.GetTokenSourceContext(); _procedure_attribute.name=LRParser.TokenText; return _procedure_attribute; } case (int)SymbolConstants.SYMBOL_TKSTORED : //tkStored { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKSTRINGLITERAL : //tkStringLiteral return parsertools.create_string_const(this); case (int)SymbolConstants.SYMBOL_TKTEMPLATE : //tkTemplate { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKTHEN : //tkThen { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKTHREADVAR : //tkThreadvar /*Console.Error.WriteLine("\n\rwarning: TerminalToken 'tkThreadvar' return NULL! \n\r");*/return null; case (int)SymbolConstants.SYMBOL_TKTO : //tkTo { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKTRY : //tkTry { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKTYPE : //tkType { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKTYPEOF : //tkTypeOf { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKUNIT : //tkUnit { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKUNTIL : //tkUntil { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKUSES : //tkUses { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKUSING : //tkUsing { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKVAR : //tkVar { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKVARIANT : //tkVariant { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKVIRTUAL : //tkVirtual { procedure_attribute _procedure_attribute=new procedure_attribute(proc_attribute.attr_virtual); //_procedure_attribute.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _procedure_attribute.source_context=parsertools.GetTokenSourceContext(); _procedure_attribute.name=LRParser.TokenText; return _procedure_attribute; } case (int)SymbolConstants.SYMBOL_TKWHERE : //tkWhere { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKWHILE : //tkWhile { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKWIDECHAR : //tkWideChar { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKWITH : //tkWith { token_info _token_info=new token_info(LRParser.TokenText); //_token_info.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _token_info.source_context=parsertools.GetTokenSourceContext(); return _token_info; } case (int)SymbolConstants.SYMBOL_TKWORD : //tkWord { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKWRITE : //tkWrite { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKWRITEONLY : //tkWriteOnly { ident _ident=new ident(LRParser.TokenText); //_ident.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _ident.source_context=parsertools.GetTokenSourceContext(); return _ident; } case (int)SymbolConstants.SYMBOL_TKXOR : //tkXor { op_type_node _op_type_node=new op_type_node(Operators.BitwiseXOR); //_op_type_node.source_context=new SourceContext(LRParser.TokenLineNumber,LRParser.TokenLinePosition,LRParser.TokenLineNumber,LRParser.TokenLinePosition+LRParser.TokenLength-1); _op_type_node.source_context=parsertools.GetTokenSourceContext(); _op_type_node.text=LRParser.TokenText; return _op_type_node; } case (int)SymbolConstants.SYMBOL_ZKCOMMA : //zkComma //TERMINAL:zkComma return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_BLOCK : //<abc_block> //TERMINAL:abc_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_CONSTRUCTOR_DECL : //<abc_constructor_decl> //TERMINAL:abc_constructor_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_DECL_SECT : //<abc_decl_sect> //TERMINAL:abc_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_DECL_SECT_LIST : //<abc_decl_sect_list> //TERMINAL:abc_decl_sect_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_DECL_SECT_LIST1 : //<abc_decl_sect_list1> //TERMINAL:abc_decl_sect_list1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_DESTRUCTOR_DECL : //<abc_destructor_decl> //TERMINAL:abc_destructor_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_EXTERNAL_DIRECTR : //<abc_external_directr> //TERMINAL:abc_external_directr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_FUNC_DECL : //<abc_func_decl> //TERMINAL:abc_func_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_FUNC_DECL_NOCLASS : //<abc_func_decl_noclass> //TERMINAL:abc_func_decl_noclass return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_INTERFACE_PART : //<abc_interface_part> //TERMINAL:abc_interface_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_METHOD_DECL : //<abc_method_decl> //TERMINAL:abc_method_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_PROC_BLOCK : //<abc_proc_block> //TERMINAL:abc_proc_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_PROC_DECL : //<abc_proc_decl> //TERMINAL:abc_proc_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ABC_PROC_DECL_NOCLASS : //<abc_proc_decl_noclass> //TERMINAL:abc_proc_decl_noclass return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ADDOP : //<addop> //TERMINAL:addop return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ALLOWABLE_EXPR_AS_STMT : //<allowable_expr_as_stmt> //TERMINAL:allowable_expr_as_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ARRAY_CONST : //<array_const> //TERMINAL:array_const return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ARRAY_NAME_FOR_NEW_EXPR : //<array_name_for_new_expr> //TERMINAL:array_name_for_new_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ARRAY_TYPE : //<array_type> //TERMINAL:array_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_AS_IS_CONSTEXPR : //<as_is_constexpr> //TERMINAL:as_is_constexpr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_AS_IS_EXPR : //<as_is_expr> //TERMINAL:as_is_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ASM_BLOCK : //<asm_block> //TERMINAL:asm_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ASM_STMT : //<asm_stmt> //TERMINAL:asm_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ASSIGN_OPERATOR : //<assign_operator> //TERMINAL:assign_operator return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ASSIGNMENT : //<assignment> //TERMINAL:assignment return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ATTR_EXPR_LIST : //<attr_expr_list> //TERMINAL:attr_expr_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ATTRIBUTE_DECLARATION : //<attribute_declaration> //TERMINAL:attribute_declaration return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ATTRIBUTE_DECLARATIONS : //<attribute_declarations> //TERMINAL:attribute_declarations return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ATTRIBUTE_VAR_SPECIFIERS : //<attribute_var_specifiers> //TERMINAL:attribute_var_specifiers return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ATTRIBUTE_VARIABLE : //<attribute_variable> //TERMINAL:attribute_variable return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_BASE_CLASS_NAME : //<base_class_name> //TERMINAL:base_class_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_BASE_CLASSES_NAMES_LIST : //<base_classes_names_list> //TERMINAL:base_classes_names_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_BLOCK : //<block> //TERMINAL:block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CASE_ITEM : //<case_item> //TERMINAL:case_item return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CASE_LABEL : //<case_label> //TERMINAL:case_label return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CASE_LABEL_LIST : //<case_label_list> //TERMINAL:case_label_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CASE_LIST : //<case_list> //TERMINAL:case_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CASE_STMT : //<case_stmt> //TERMINAL:case_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CASE_TAG_LIST : //<case_tag_list> //TERMINAL:case_tag_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CLASS_ATTRIBUTES : //<class_attributes> //TERMINAL:class_attributes return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CLASS_OR_INTERFACE_KEYWORD : //<class_or_interface_keyword> //TERMINAL:class_or_interface_keyword return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_COMPOUND_STMT : //<compound_stmt> //TERMINAL:compound_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_ADDOP : //<const_addop> //TERMINAL:const_addop return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_DECL : //<const_decl> //TERMINAL:const_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_DECL_SECT : //<const_decl_sect> //TERMINAL:const_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_ELEM : //<const_elem> //TERMINAL:const_elem return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_ELEM_LIST : //<const_elem_list> //TERMINAL:const_elem_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_ELEM_LIST1 : //<const_elem_list1> //TERMINAL:const_elem_list1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_EXPR : //<const_expr> //TERMINAL:const_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_EXPR_LIST : //<const_expr_list> //TERMINAL:const_expr_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_FACTOR : //<const_factor> //TERMINAL:const_factor return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_FIELD : //<const_field> //TERMINAL:const_field return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_FIELD_LIST : //<const_field_list> //TERMINAL:const_field_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_FIELD_LIST_1 : //<const_field_list_1> //TERMINAL:const_field_list_1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_FIELD_NAME : //<const_field_name> //TERMINAL:const_field_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_FUNC_EXPR_LIST : //<const_func_expr_list> //TERMINAL:const_func_expr_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_MULOP : //<const_mulop> //TERMINAL:const_mulop return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_NAME : //<const_name> //TERMINAL:const_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_RELOP : //<const_relop> //TERMINAL:const_relop return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_SET : //<const_set> //TERMINAL:const_set return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_SIMPLE_EXPR : //<const_simple_expr> //TERMINAL:const_simple_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_TERM : //<const_term> //TERMINAL:const_term return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_VARIABLE : //<const_variable> //TERMINAL:const_variable return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONST_VARIABLE_2 : //<const_variable_2> //TERMINAL:const_variable_2 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONSTRUCTOR_DECL : //<constructor_decl> //TERMINAL:constructor_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONSTRUCTOR_DECL_WITH_ATTR : //<constructor_decl_with_attr> //TERMINAL:constructor_decl_with_attr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_CONTAINS_CLAUSE : //<contains_clause> //TERMINAL:contains_clause return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_DECLARED_VAR_NAME : //<declared_var_name> //TERMINAL:declared_var_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_DEFAULT_EXPR : //<default_expr> //TERMINAL:default_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_DESTRUCTOR_DECL : //<destructor_decl> //TERMINAL:destructor_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_DESTRUCTOR_DECL_WITH_ATTR : //<destructor_decl_with_attr> //TERMINAL:destructor_decl_with_attr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ELEM : //<elem> //TERMINAL:elem return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ELEM_LIST : //<elem_list> //TERMINAL:elem_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ELEM_LIST1 : //<elem_list1> //TERMINAL:elem_list1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ELSE_BRANCH : //<else_branch> //TERMINAL:else_branch return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ELSE_CASE : //<else_case> //TERMINAL:else_case return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EMPTY : //<empty> //TERMINAL:empty return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ENUMERATION_ID : //<enumeration_id> //TERMINAL:enumeration_id return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ENUMERATION_ID_LIST : //<enumeration_id_list> //TERMINAL:enumeration_id_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ERROR2 : //<error> //TERMINAL:error return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXCEPTION_BLOCK : //<exception_block> //TERMINAL:exception_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXCEPTION_BLOCK_ELSE_BRANCH : //<exception_block_else_branch> //TERMINAL:exception_block_else_branch return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXCEPTION_CLASS_TYPE_IDENTIFIER : //<exception_class_type_identifier> //TERMINAL:exception_class_type_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXCEPTION_HANDLER : //<exception_handler> //TERMINAL:exception_handler return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXCEPTION_HANDLER_LIST : //<exception_handler_list> //TERMINAL:exception_handler_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXCEPTION_IDENTIFIER : //<exception_identifier> //TERMINAL:exception_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXCEPTION_VARIABLE : //<exception_variable> //TERMINAL:exception_variable return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPORT_CLAUSE : //<export_clause> //TERMINAL:export_clause return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPORTS_ENTRY : //<exports_entry> //TERMINAL:exports_entry return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPORTS_INDEX : //<exports_index> //TERMINAL:exports_index return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPORTS_LIST : //<exports_list> //TERMINAL:exports_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPORTS_NAME : //<exports_name> //TERMINAL:exports_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPORTS_RESIDENT : //<exports_resident> //TERMINAL:exports_resident return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPR : //<expr> //TERMINAL:expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPR_AS_STMT : //<expr_as_stmt> //TERMINAL:expr_as_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPR_L1 : //<expr_l1> //TERMINAL:expr_l1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXPR_LIST : //<expr_list> //TERMINAL:expr_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXTERNAL_DIRECTR : //<external_directr> //TERMINAL:external_directr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_EXTERNAL_DIRECTR_IDENT : //<external_directr_ident> //TERMINAL:external_directr_ident return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FACTOR : //<factor> //TERMINAL:factor return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FIELD_ACCESS_MODIFIER : //<field_access_modifier> //TERMINAL:field_access_modifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FIELD_LIST : //<field_list> //TERMINAL:field_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FILE_TYPE : //<file_type> //TERMINAL:file_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FILED_OR_CONST_DEFINITION : //<filed_or_const_definition> //TERMINAL:filed_or_const_definition return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FILED_OR_CONST_DEFINITION_OR_AM : //<filed_or_const_definition_or_am> //TERMINAL:filed_or_const_definition_or_am return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FIXED_PART : //<fixed_part> //TERMINAL:fixed_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FIXED_PART_2 : //<fixed_part_2> //TERMINAL:fixed_part_2 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FOR_CYCLE_TYPE : //<for_cycle_type> //TERMINAL:for_cycle_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FOR_STMT : //<for_stmt> //TERMINAL:for_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FOR_STMT_DECL_OR_ASSIGN : //<for_stmt_decl_or_assign> //TERMINAL:for_stmt_decl_or_assign return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FOREACH_STMT : //<foreach_stmt> //TERMINAL:foreach_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FOREACH_STMT_IDENT_DYPE_OPT : //<foreach_stmt_ident_dype_opt> //TERMINAL:foreach_stmt_ident_dype_opt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FORMAT_EXPR : //<format_expr> //TERMINAL:format_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FP_LIST : //<fp_list> //TERMINAL:fp_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FP_SECT : //<fp_sect> //TERMINAL:fp_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FP_SECT_LIST : //<fp_sect_list> //TERMINAL:fp_sect_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FPTYPE : //<fptype> //TERMINAL:fptype return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FPTYPE_NEW : //<fptype_new> //TERMINAL:fptype_new return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_BLOCK : //<func_block> //TERMINAL:func_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_CLASS_NAME_IDENT : //<func_class_name_ident> //TERMINAL:func_class_name_ident return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_DECL : //<func_decl> //TERMINAL:func_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_DECL_LAMBDA : //<func_decl_lambda> //TERMINAL:func_decl_lambda return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_DECL_NOCLASS : //<func_decl_noclass> //TERMINAL:func_decl_noclass return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_DECL_WITH_ATTR : //<func_decl_with_attr> //TERMINAL:func_decl_with_attr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_HEADING : //<func_heading> //TERMINAL:func_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_METH_NAME_IDENT : //<func_meth_name_ident> //TERMINAL:func_meth_name_ident return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_NAME : //<func_name> //TERMINAL:func_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_NAME_IDENT : //<func_name_ident> //TERMINAL:func_name_ident return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_FUNC_NAME_WITH_TEMPLATE_ARGS : //<func_name_with_template_args> //TERMINAL:func_name_with_template_args return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_GOTO_STMT : //<goto_stmt> //TERMINAL:goto_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_HEAD_COMPILER_DIRECTIVES : //<head_compiler_directives> //TERMINAL:head_compiler_directives return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IDENT_LIST : //<ident_list> //TERMINAL:ident_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IDENT_LIST1 : //<ident_list1> //TERMINAL:ident_list1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IDENT_LIST2 : //<ident_list2> //TERMINAL:ident_list2 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IDENT_OR_KEYWORD_POINTSEPARATOR_LIST : //<ident_or_keyword_pointseparator_list> //TERMINAL:ident_or_keyword_pointseparator_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IDENTIFIER : //<identifier> //TERMINAL:identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IDENTIFIER_KEYWORD_OPERATORNAME : //<identifier_keyword_operatorname> //TERMINAL:identifier_keyword_operatorname return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IDENTIFIER_OR_KEYWORD : //<identifier_or_keyword> //TERMINAL:identifier_or_keyword return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IF_STMT : //<if_stmt> //TERMINAL:if_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IF_THEN_ELSE_BRANCH : //<if_then_else_branch> //TERMINAL:if_then_else_branch return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IMPL_DECL_SECT : //<impl_decl_sect> //TERMINAL:impl_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IMPL_DECL_SECT_LIST : //<impl_decl_sect_list> //TERMINAL:impl_decl_sect_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IMPL_DECL_SECT_LIST1 : //<impl_decl_sect_list1> //TERMINAL:impl_decl_sect_list1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_IMPLEMENTATION_PART : //<implementation_part> //TERMINAL:implementation_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INHERITED_MESSAGE : //<inherited_message> //TERMINAL:inherited_message return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INIT_CONST_EXPR : //<init_const_expr> //TERMINAL:init_const_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INITIALIZATION_PART : //<initialization_part> //TERMINAL:initialization_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INT_DECL_SECT : //<int_decl_sect> //TERMINAL:int_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INT_DECL_SECT_LIST : //<int_decl_sect_list> //TERMINAL:int_decl_sect_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INT_DECL_SECT_LIST1 : //<int_decl_sect_list1> //TERMINAL:int_decl_sect_list1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INT_FUNC_HEADING : //<int_func_heading> //TERMINAL:int_func_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INT_PROC_HEADING : //<int_proc_heading> //TERMINAL:int_proc_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INTEGER_CONST : //<integer_const> //TERMINAL:integer_const return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_INTERFACE_PART : //<interface_part> //TERMINAL:interface_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_KEYWORD : //<keyword> //TERMINAL:keyword return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LABEL_DECL_SECT : //<label_decl_sect> //TERMINAL:label_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LABEL_LIST : //<label_list> //TERMINAL:label_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LABEL_NAME : //<label_name> //TERMINAL:label_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LAMBDA_BODY : //<lambda_body> //TERMINAL:lambda_body return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LIBRARY_BLOCK : //<library_block> //TERMINAL:library_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LIBRARY_FILE : //<library_file> //TERMINAL:library_file return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LIBRARY_HEADING : //<library_heading> //TERMINAL:library_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LIBRARY_IMPL_DECL_SECT : //<library_impl_decl_sect> //TERMINAL:library_impl_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LIBRARY_IMPL_DECL_SECT_LIST : //<library_impl_decl_sect_list> //TERMINAL:library_impl_decl_sect_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LITERAL : //<literal> //TERMINAL:literal return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LITERAL_LIST : //<literal_list> //TERMINAL:literal_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LITERAL_OR_NUMBER : //<literal_or_number> //TERMINAL:literal_or_number return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_LOCK_STMT : //<lock_stmt> //TERMINAL:lock_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_MAIN_USED_UNIT_NAME : //<main_used_unit_name> //TERMINAL:main_used_unit_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_MAIN_USED_UNITS_LIST : //<main_used_units_list> //TERMINAL:main_used_units_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_MAIN_USES_CLAUSE : //<main_uses_clause> //TERMINAL:main_uses_clause return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_MAYBE_ERROR : //<maybe_error> //TERMINAL:maybe_error return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_METH_MODIFICATOR : //<meth_modificator> //TERMINAL:meth_modificator return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_METH_MODIFICATORS : //<meth_modificators> //TERMINAL:meth_modificators return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_MULOP : //<mulop> //TERMINAL:mulop return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NEW_EXPR : //<new_expr> //TERMINAL:new_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NEW_OBJECT_TYPE : //<new_object_type> //TERMINAL:new_object_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NEW_RECORD_TYPE : //<new_record_type> //TERMINAL:new_record_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NON_RESERVED : //<non_reserved> //TERMINAL:non_reserved return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_ARRAY_DEFAULTPROPERTY : //<not_array_defaultproperty> //TERMINAL:not_array_defaultproperty return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_COMPONENT_LIST : //<not_component_list> //TERMINAL:not_component_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_COMPONENT_LIST_1 : //<not_component_list_1> //TERMINAL:not_component_list_1 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_COMPONENT_LIST_2 : //<not_component_list_2> //TERMINAL:not_component_list_2 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_COMPONENT_LIST_SEQ : //<not_component_list_seq> //TERMINAL:not_component_list_seq return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_CONSTRUCTOR_BLOCK_DECL : //<not_constructor_block_decl> //TERMINAL:not_constructor_block_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_CONSTRUCTOR_HEADING : //<not_constructor_heading> //TERMINAL:not_constructor_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_CONSTRUCTOR_HEADING_OBJECT : //<not_constructor_heading_object> //TERMINAL:not_constructor_heading_object return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_DESTRUCTOR_HEADING : //<not_destructor_heading> //TERMINAL:not_destructor_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_FIELD_DEFINITION : //<not_field_definition> //TERMINAL:not_field_definition return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_GUID : //<not_guid> //TERMINAL:not_guid return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_METHOD_DEFINITION : //<not_method_definition> //TERMINAL:not_method_definition return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_METHOD_HEADING : //<not_method_heading> //TERMINAL:not_method_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_OBJECT_TYPE : //<not_object_type> //TERMINAL:not_object_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_OBJECT_TYPE_IDENTIFIER_LIST : //<not_object_type_identifier_list> //TERMINAL:not_object_type_identifier_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PARAMETER_DECL : //<not_parameter_decl> //TERMINAL:not_parameter_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PARAMETER_DECL_LIST : //<not_parameter_decl_list> //TERMINAL:not_parameter_decl_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PARAMETER_NAME_LIST : //<not_parameter_name_list> //TERMINAL:not_parameter_name_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PROCFUNC_HEADING : //<not_procfunc_heading> //TERMINAL:not_procfunc_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PROCFUNC_HEADING_VARIANTS : //<not_procfunc_heading_variants> //TERMINAL:not_procfunc_heading_variants return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PROPERTY_DEFINITION : //<not_property_definition> //TERMINAL:not_property_definition return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PROPERTY_INTERFACE : //<not_property_interface> //TERMINAL:not_property_interface return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PROPERTY_INTERFACE_INDEX : //<not_property_interface_index> //TERMINAL:not_property_interface_index return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PROPERTY_PARAMETER_LIST : //<not_property_parameter_list> //TERMINAL:not_property_parameter_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_PROPERTY_SPECIFIERS : //<not_property_specifiers> //TERMINAL:not_property_specifiers return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_NOT_SIMPLE_PROPERTY_DEFINITION : //<not_simple_property_definition> //TERMINAL:not_simple_property_definition return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OBJECT_TYPE : //<object_type> //TERMINAL:object_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ONE_ATTRIBUTE : //<one_attribute> //TERMINAL:one_attribute return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ONE_COMPILER_DIRECTIVE : //<one_compiler_directive> //TERMINAL:one_compiler_directive return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ONE_LITERAL : //<one_literal> //TERMINAL:one_literal return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ONE_OR_SOME_ATTRIBUTE : //<one_or_some_attribute> //TERMINAL:one_or_some_attribute return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ONLY_CONST_DECL : //<only_const_decl> //TERMINAL:only_const_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_COMPONENT_LIST : //<oot_component_list> //TERMINAL:oot_component_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_CONSTRUCTOR_HEAD : //<oot_constructor_head> //TERMINAL:oot_constructor_head return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_DESTRUCTOR_HEAD : //<oot_destructor_head> //TERMINAL:oot_destructor_head return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_FIELD : //<oot_field> //TERMINAL:oot_field return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_FIELD_IDENTIFIER : //<oot_field_identifier> //TERMINAL:oot_field_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_FIELD_LIST : //<oot_field_list> //TERMINAL:oot_field_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_ID_LIST : //<oot_id_list> //TERMINAL:oot_id_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_METHOD : //<oot_method> //TERMINAL:oot_method return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_METHOD_HEAD : //<oot_method_head> //TERMINAL:oot_method_head return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_METHOD_LIST : //<oot_method_list> //TERMINAL:oot_method_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_PRIVAT_LIST : //<oot_privat_list> //TERMINAL:oot_privat_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_SUCCESSOR : //<oot_successor> //TERMINAL:oot_successor return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OOT_TYPEIDENTIFIER : //<oot_typeidentifier> //TERMINAL:oot_typeidentifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPERATOR_NAME_IDENT : //<operator_name_ident> //TERMINAL:operator_name_ident return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_AMPERSEND : //<opt_ampersend> //TERMINAL:opt_ampersend return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_ARRAY_INITIALIZER : //<opt_array_initializer> //TERMINAL:opt_array_initializer return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_ATTR_EXPR_LIST : //<opt_attr_expr_list> //TERMINAL:opt_attr_expr_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_ATTRIBUTE_DECLARATIONS : //<opt_attribute_declarations> //TERMINAL:opt_attribute_declarations return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_BASE_CLASSES : //<opt_base_classes> //TERMINAL:opt_base_classes return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_CONST_FUNC_EXPR_LIST : //<opt_const_func_expr_list> //TERMINAL:opt_const_func_expr_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_EXPR_LIST : //<opt_expr_list> //TERMINAL:opt_expr_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_EXPR_LIST_WITH_BRACKET : //<opt_expr_list_with_bracket> //TERMINAL:opt_expr_list_with_bracket return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_HEAD_COMPILER_DIRECTIVES : //<opt_head_compiler_directives> //TERMINAL:opt_head_compiler_directives return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_IDENTIFIER : //<opt_identifier> //TERMINAL:opt_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_METH_MODIFICATORS : //<opt_meth_modificators> //TERMINAL:opt_meth_modificators return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_NOT_COMPONENT_LIST_SEQ_END : //<opt_not_component_list_seq_end> //TERMINAL:opt_not_component_list_seq_end return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_PROC_NAME : //<opt_proc_name> //TERMINAL:opt_proc_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_SEMICOLON : //<opt_semicolon> //TERMINAL:opt_semicolon return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_TEMPLATE_ARGUMENTS : //<opt_template_arguments> //TERMINAL:opt_template_arguments return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_TEMPLATE_TYPE_PARAMS : //<opt_template_type_params> //TERMINAL:opt_template_type_params return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_TK_DO : //<opt_tk_do> //TERMINAL:opt_tk_do return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_TK_POINT : //<opt_tk_point> //TERMINAL:opt_tk_point return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_VAR : //<opt_var> //TERMINAL:opt_var return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPT_WHERE_SECTION : //<opt_where_section> //TERMINAL:opt_where_section return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OPTIONAL_QUALIFIED_IDENTIFIER : //<optional_qualified_identifier> //TERMINAL:optional_qualified_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_ORD_TYPE_NAME : //<ord_type_name> //TERMINAL:ord_type_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OT_VISIBILITY_SPECIFIER : //<ot_visibility_specifier> //TERMINAL:ot_visibility_specifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OTHER : //<other> //TERMINAL:other return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_OVERLOAD_OPERATOR : //<overload_operator> //TERMINAL:overload_operator return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PACKAGE_FILE : //<package_file> //TERMINAL:package_file return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PACKAGE_NAME : //<package_name> //TERMINAL:package_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PARAM_NAME : //<param_name> //TERMINAL:param_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PARAM_NAME_LIST : //<param_name_list> //TERMINAL:param_name_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PARSE_GOAL : //<parse_goal> //TERMINAL:parse_goal return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PARTS : //<parts> //TERMINAL:parts return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_POINTER_TYPE : //<pointer_type> //TERMINAL:pointer_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_BLOCK : //<proc_block> //TERMINAL:proc_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_BLOCK_DECL : //<proc_block_decl> //TERMINAL:proc_block_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_CALL : //<proc_call> //TERMINAL:proc_call return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_DECL : //<proc_decl> //TERMINAL:proc_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_DECL_NOCLASS : //<proc_decl_noclass> //TERMINAL:proc_decl_noclass return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_DECL_WITH_ATTR : //<proc_decl_with_attr> //TERMINAL:proc_decl_with_attr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_HEADING : //<proc_heading> //TERMINAL:proc_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROC_NAME : //<proc_name> //TERMINAL:proc_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROCEDURAL_TYPE : //<procedural_type> //TERMINAL:procedural_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROCEDURAL_TYPE_DECL : //<procedural_type_decl> //TERMINAL:procedural_type_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROCEDURAL_TYPE_KIND : //<procedural_type_kind> //TERMINAL:procedural_type_kind return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_BLOCK : //<program_block> //TERMINAL:program_block return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_DECL_SECT_LIST : //<program_decl_sect_list> //TERMINAL:program_decl_sect_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_FILE : //<program_file> //TERMINAL:program_file return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_HEADING : //<program_heading> //TERMINAL:program_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_HEADING_2 : //<program_heading_2> //TERMINAL:program_heading_2 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_NAME : //<program_name> //TERMINAL:program_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_PARAM : //<program_param> //TERMINAL:program_param return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROGRAM_PARAM_LIST : //<program_param_list> //TERMINAL:program_param_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_PROPERTY_SPECIFIER_DIRECTIVES : //<property_specifier_directives> //TERMINAL:property_specifier_directives return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_QUALIFIED_IDENTIFIER : //<qualified_identifier> //TERMINAL:qualified_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_QUESTION_CONSTEXPR : //<question_constexpr> //TERMINAL:question_constexpr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_QUESTION_EXPR : //<question_expr> //TERMINAL:question_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RAISE_STMT : //<raise_stmt> //TERMINAL:raise_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RANGE_EXPR : //<range_expr> //TERMINAL:range_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RANGE_FACTOR : //<range_factor> //TERMINAL:range_factor return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RANGE_METHODNAME : //<range_methodname> //TERMINAL:range_methodname return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RANGE_TERM : //<range_term> //TERMINAL:range_term return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_REAL_TYPE_NAME : //<real_type_name> //TERMINAL:real_type_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RECORD_COMPONENT_LIST : //<record_component_list> //TERMINAL:record_component_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RECORD_CONST : //<record_const> //TERMINAL:record_const return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RECORD_KEYWORD : //<record_keyword> //TERMINAL:record_keyword return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RECORD_SECTION : //<record_section> //TERMINAL:record_section return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RECORD_SECTION_ID : //<record_section_id> //TERMINAL:record_section_id return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RECORD_SECTION_ID_LIST : //<record_section_id_list> //TERMINAL:record_section_id_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RECORD_TYPE : //<record_type> //TERMINAL:record_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RELOP : //<relop> //TERMINAL:relop return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RELOP_EXPR : //<relop_expr> //TERMINAL:relop_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_REPEAT_STMT : //<repeat_stmt> //TERMINAL:repeat_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_REQUIRES_CLAUSE : //<requires_clause> //TERMINAL:requires_clause return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RES_STR_DECL_SECT : //<res_str_decl_sect> //TERMINAL:res_str_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_RESERVED_KEYWORD : //<reserved_keyword> //TERMINAL:reserved_keyword return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SET_TYPE : //<set_type> //TERMINAL:set_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIGN : //<sign> //TERMINAL:sign return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_EXPR : //<simple_expr> //TERMINAL:simple_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_FILED_OR_CONST_DEFINITION : //<simple_filed_or_const_definition> //TERMINAL:simple_filed_or_const_definition return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_FP_SECT : //<simple_fp_sect> //TERMINAL:simple_fp_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_NOT_PROPERTY_DEFINITION : //<simple_not_property_definition> //TERMINAL:simple_not_property_definition return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_OR_TEMPLATE_TYPE_REFERENCE : //<simple_or_template_type_reference> //TERMINAL:simple_or_template_type_reference return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_TYPE : //<simple_type> //TERMINAL:simple_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_TYPE_DECL : //<simple_type_decl> //TERMINAL:simple_type_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_TYPE_IDENTIFIER : //<simple_type_identifier> //TERMINAL:simple_type_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_TYPE_LIST : //<simple_type_list> //TERMINAL:simple_type_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIMPLE_TYPE_OR_EMPTY : //<simple_type_or_empty> //TERMINAL:simple_type_or_empty return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_SIZEOF_EXPR : //<sizeof_expr> //TERMINAL:sizeof_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_STMT : //<stmt> //TERMINAL:stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_STMT_LIST : //<stmt_list> //TERMINAL:stmt_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_STMT_OR_EXPRESSION : //<stmt_or_expression> //TERMINAL:stmt_or_expression return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_STRING_TYPE : //<string_type> //TERMINAL:string_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_STRUCTURED_TYPE : //<structured_type> //TERMINAL:structured_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TAG_FIELD : //<tag_field> //TERMINAL:tag_field return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TAG_FIELD_NAME : //<tag_field_name> //TERMINAL:tag_field_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TAG_FIELD_TYPENAME : //<tag_field_typename> //TERMINAL:tag_field_typename return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TEMPLATE_ARGUMENTS : //<template_arguments> //TERMINAL:template_arguments return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TEMPLATE_IDENTIFIER_WITH_EQUAL : //<template_identifier_with_equal> //TERMINAL:template_identifier_with_equal return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TEMPLATE_PARAM : //<template_param> //TERMINAL:template_param return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TEMPLATE_PARAM_LIST : //<template_param_list> //TERMINAL:template_param_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TEMPLATE_TYPE : //<template_type> //TERMINAL:template_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TEMPLATE_TYPE_BACK_VARSPECIFIERS : //<template_type_back_varspecifiers> //TERMINAL:template_type_back_varspecifiers return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TEMPLATE_TYPE_PARAMS : //<template_type_params> //TERMINAL:template_type_params return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TERM : //<term> //TERMINAL:term return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_THEN_BRANCH : //<then_branch> //TERMINAL:then_branch return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TRY_HANDLER : //<try_handler> //TERMINAL:try_handler return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TRY_STMT : //<try_stmt> //TERMINAL:try_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPE_DECL : //<type_decl> //TERMINAL:type_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPE_DECL_IDENTIFIER : //<type_decl_identifier> //TERMINAL:type_decl_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPE_DECL_SECT : //<type_decl_sect> //TERMINAL:type_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPE_DECL_TYPE : //<type_decl_type> //TERMINAL:type_decl_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPE_REF : //<type_ref> //TERMINAL:type_ref return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPE_REF_AND_SECIFIC_LIST : //<type_ref_and_secific_list> //TERMINAL:type_ref_and_secific_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPE_REF_OR_SECIFIC : //<type_ref_or_secific> //TERMINAL:type_ref_or_secific return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPECAST_OP : //<typecast_op> //TERMINAL:typecast_op return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPED_CONST : //<typed_const> //TERMINAL:typed_const return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPED_CONST_LIST : //<typed_const_list> //TERMINAL:typed_const_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPED_CONST_OR_NEW : //<typed_const_or_new> //TERMINAL:typed_const_or_new return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_TYPEOF_EXPR : //<typeof_expr> //TERMINAL:typeof_expr return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNIT_FILE : //<unit_file> //TERMINAL:unit_file return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNIT_HEADING : //<unit_heading> //TERMINAL:unit_heading return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNIT_KEY_WORD : //<unit_key_word> //TERMINAL:unit_key_word return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNIT_NAME : //<unit_name> //TERMINAL:unit_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNLABELLED_STMT : //<unlabelled_stmt> //TERMINAL:unlabelled_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNPACKED_STRUCTURED_TYPE : //<unpacked_structured_type> //TERMINAL:unpacked_structured_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNSIGNED_NUMBER : //<unsigned_number> //TERMINAL:unsigned_number return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_UNSIZED_ARRAY_TYPE : //<unsized_array_type> //TERMINAL:unsized_array_type return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_USES_CLAUSE : //<uses_clause> //TERMINAL:uses_clause return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_USING_CLAUSE : //<using_clause> //TERMINAL:using_clause return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_USING_LIST : //<using_list> //TERMINAL:using_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_USING_ONE : //<using_one> //TERMINAL:using_one return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_ADDRESS : //<var_address> //TERMINAL:var_address return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_DECL : //<var_decl> //TERMINAL:var_decl return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_DECL_PART : //<var_decl_part> //TERMINAL:var_decl_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_DECL_PART_ASSIGN : //<var_decl_part_assign> //TERMINAL:var_decl_part_assign return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_DECL_PART_IN_STMT : //<var_decl_part_in_stmt> //TERMINAL:var_decl_part_in_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_DECL_PART_NORMAL : //<var_decl_part_normal> //TERMINAL:var_decl_part_normal return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_DECL_SECT : //<var_decl_sect> //TERMINAL:var_decl_sect return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_INIT_VALUE : //<var_init_value> //TERMINAL:var_init_value return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_INIT_VALUE_TYPED : //<var_init_value_typed> //TERMINAL:var_init_value_typed return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_NAME : //<var_name> //TERMINAL:var_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_NAME_LIST : //<var_name_list> //TERMINAL:var_name_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_OR_IDENTIFIER : //<var_or_identifier> //TERMINAL:var_or_identifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_REFERENCE : //<var_reference> //TERMINAL:var_reference return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_SPECIFIERS : //<var_specifiers> //TERMINAL:var_specifiers return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VAR_STMT : //<var_stmt> //TERMINAL:var_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VARIABLE : //<variable> //TERMINAL:variable return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VARIANT : //<variant> //TERMINAL:variant return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VARIANT_FIELD_LIST : //<variant_field_list> //TERMINAL:variant_field_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VARIANT_LIST : //<variant_list> //TERMINAL:variant_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VARIANT_LIST_2 : //<variant_list_2> //TERMINAL:variant_list_2 return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VARIANT_PART : //<variant_part> //TERMINAL:variant_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VARIANT_TYPE_NAME : //<variant_type_name> //TERMINAL:variant_type_name return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_VISIBILITY_SPECIFIER : //<visibility_specifier> //TERMINAL:visibility_specifier return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_WHERE_PART : //<where_part> //TERMINAL:where_part return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_WHERE_PART_LIST : //<where_part_list> //TERMINAL:where_part_list return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_WHILE_STMT : //<while_stmt> //TERMINAL:while_stmt return null; //ENDTERMINAL case (int)SymbolConstants.SYMBOL_WITH_STMT : //<with_stmt> //TERMINAL:with_stmt return null; //ENDTERMINAL } throw new SymbolException("Unknown symbol"); }
public void visit(procedure_attribute _procedure_attribute) { bw.Write((Int16)37); write_procedure_attribute(_procedure_attribute); }
public override void visit(procedure_attribute _procedure_attribute) { throw new NotImplementedException(); }
public void read_procedure_attribute(procedure_attribute _procedure_attribute) { read_ident(_procedure_attribute); _procedure_attribute.attribute_type = (proc_attribute)br.ReadByte(); }
public override void visit(procedure_attribute _procedure_attribute) { }
// Методы списка public procedure_attributes_list Add(procedure_attribute elem, SourceContext sc = null) { proc_attributes.Add(elem); if (sc != null) source_context = sc; return this; }
// Конструкторы списка public procedure_attributes_list(procedure_attribute elem, SourceContext sc = null) { Add(elem, sc); }
public void CompareInternal(procedure_attribute left, procedure_attribute right) { if (left == null && right != null || left != null && right == null) throw_not_equal(left, right); if (left != null && right != null) { if (left.attribute_type != right.attribute_type) throw_not_equal(left, right); } }
public procedure_attributes_list Add(procedure_attribute _procedure_attribute, SourceContext sc) { proc_attributes.Add(_procedure_attribute); source_context = sc; return this; }
public procedure_attributes_list Add(procedure_attribute _procedure_attribute) { proc_attributes.Add(_procedure_attribute); return this; }
public procedure_attributes_list(procedure_attribute _procedure_attribute, SourceContext sc) { Add(_procedure_attribute,sc); }
public override void visit(procedure_attribute _procedure_attribute) { if (_procedure_attribute.source_context != null) AddPossibleComments(_procedure_attribute, true, true); }
public void ReplaceInList(procedure_attribute el, IEnumerable<procedure_attribute> newels) { var ind = FindIndexInList(el); proc_attributes.RemoveAt(ind); proc_attributes.InsertRange(ind, newels); }
public override void visit(procedure_attribute _procedure_attribute) { if (_procedure_attribute.source_context != null) switch (_procedure_attribute.attribute_type) { case proc_attribute.attr_abstract: sb.Append("abstract"); return; case proc_attribute.attr_forward: sb.Append("forward"); return; case proc_attribute.attr_overload: sb.Append("overload"); return; case proc_attribute.attr_override: sb.Append("override"); return; case proc_attribute.attr_reintroduce: sb.Append("reintroduce"); return; case proc_attribute.attr_virtual: sb.Append("virtual"); return; case proc_attribute.attr_static: sb.Append("static"); return; case proc_attribute.attr_extension: sb.Append("extensionmethod"); return; } return; }
public void AddFirst(procedure_attribute el) { proc_attributes.Insert(0, el); }
public void visit(procedure_attribute _procedure_attribute) { read_procedure_attribute(_procedure_attribute); }
private int FindIndexInList(procedure_attribute el) { var ind = proc_attributes.FindIndex(x => x == el); if (ind == -1) throw new Exception(string.Format("У списка {0} не найден элемент {1} среди дочерних\n", this, el)); return ind; }
public override void visit(procedure_attribute _procedure_attribute) { throw new Exception("The method or operation is not implemented."); }
public void InsertAfter(procedure_attribute el, procedure_attribute newel) { proc_attributes.Insert(FindIndex(el) + 1, newel); }
public void InsertBefore(procedure_attribute el, procedure_attribute newel) { proc_attributes.Insert(FindIndex(el), newel); }
public void InsertBefore(procedure_attribute el, IEnumerable<procedure_attribute> newels) { proc_attributes.InsertRange(FindIndex(el), newels); }
public void write_procedure_attribute(procedure_attribute _procedure_attribute) { write_ident(_procedure_attribute); bw.Write((byte)_procedure_attribute.attribute_type); }
public override void visit(procedure_attribute _procedure_attribute) { text="Attribute: "+_procedure_attribute.attribute_type.ToString(); }