CVersionInfo(Dr. Detlef Meyer-EltzPParsergenerator and Interpreter1.7.0.6 Tetra.exe+Copyright 2002 - 09 Dr. Detlef Meyer-Eltz Tetra.exeTextTransformernormal CHARLITERALCTokenN CHARLITERAL'({EscapeSequence}|[^'\\\r\n])' DOUBLELITERALCTokenN DOUBLELITERAL({NonIntegerNumber})[dD]?EscapeSequenceCTokenNEscapeSequence\\( \ [btnfr"'\\] \ |u[[:xdigit:]]{4,4} \ |[0-3][0-7][0-7] \ |[0-7][0-7] \ |[0-7] \ )ExponentCTokenNExponent[eE][+-]?[0-9]+ FLOATLITERALCTokenN FLOATLITERAL({NonIntegerNumber})[fF] IDENTIFIERCToken|N IDENTIFIER[[:alpha:]_$][[:alnum:]_$]*IGNORECToken]IGNOREa(\s \// spaces |//[^\n]*\n \// line comment |/\*[^*]*\*+([^/*][^*]*\*+)*/ \// block comment )+ IntegerNumberCToken G IntegerNumber 0|\d+|0[0-7]+|0[xX][[:xdigit:]]+ INTLITERALCTokenG INTLITERAL{IntegerNumber} LONGLITERALCToken_ LONGLITERAL({IntegerNumber})[lL]NonIntegerNumberCTokenp`NonIntegerNumber\d+\.\d*({Exponent})? \ |\.\d+({Exponent})? \ |\d+({Exponent}) \ |\d+ \ |0[xX][[:xdigit:]]*(\.[[:xdigit:]]*)?[pP][+-]?[0-9]+ STRINGLITERALCToken`Y STRINGLITERAL#\"({EscapeSequence}|[^\\\"\r\n])*\"additiveExpressionCProduction_LINK>>=" |">>=" assignmentOperator0CProduction_LINKTassignmentOperator0x "=" | "+=" | "-=" | "*=" | "/=" | "&=" | "|=" | "^=" | "%=" |"<" "<" "=" |">" ">" ">"? "=" //|">" ">" "=" IGNOREblockCProduction_LINKblock"{" blockStatement* "}" blockStatementCProduction_LINKblockStatementIF(!is_type_id() || is_synchronized_lparam()) statement ELSE WHILE(modifier()) modifier END ( localVariableDeclarationStatement | classOrInterfaceDeclaration ) END castExpressionCProduction_LINKcastExpression"(" ( primitiveType ( ")" unaryExpression | ( "[" "]" )+ ")" unaryExpressionNotPlusMinus ) | classOrInterfaceType ( "[" "]" )* ")" unaryExpressionNotPlusMinus ) catchClauseCProduction_LINK catchClause'"catch" "(" formalParameter ")" block catchesCProduction_LINK@catchescatchClause+ classBodyCProduction_LINK classBody!"{" classBodyDeclaration* "}" classBodyDeclarationCProduction_LINK classBodyDeclarationK IF(is_block()) "static"? block ELSE memberDecl END | ";" classCreatorRestCProduction_LINKt"classCreatorRestarguments classBody? classDeclarationCProduction_LINK0$classDeclaration: ( normalClassDeclaration | enumDeclaration ) classHeaderCProduction_LINK% classHeader4WHILE(modifier()) modifier END "class" IDENTIFIER classOrInterfaceDeclarationCProduction_LINK'classOrInterfaceDeclaration< ( classDeclaration | interfaceDeclaration ) classOrInterfaceTypeCProduction_LINKd)classOrInterfaceTypeJIDENTIFIER typeArguments? ( "." IDENTIFIER typeArguments? )* compilationUnitCProduction_LINK +compilationUnit this parser is an adaption of the ANTLR Java parser with the following license: [The "BSD licence"] Copyright (c) 2007-2008 Terence Parr All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.x IF(has_package_declaration()) ( annotations? packageDeclaration ) END importDeclaration* typeDeclaration* conditionalAndExpressionCProduction_LINK8conditionalAndExpression<inclusiveOrExpression ( "&&" inclusiveOrExpression )* conditionalExpressionCProduction_LINK:conditionalExpressionLconditionalOrExpression ( "?" expression ":" conditionalExpression )? conditionalOrExpressionCProduction_LINKt<conditionalOrExpressionBconditionalAndExpression ( "||" conditionalAndExpression )* createdNameCProduction_LINK0> createdName) classOrInterfaceType | primitiveType creatorCProduction_LINK,creator"new" ( nonWildcardTypeArguments classOrInterfaceType classCreatorRest | classOrInterfaceType ( classCreatorRest | arrayCreator ) | primitiveType arrayCreator ) dot_idCProduction_LINK.dot_id"." IDENTIFIER elementValueCProduction_LINK40 elementValueG conditionalExpression | annotation | elementValueArrayInitializer elementValueArrayInitializerCProduction_LINKNelementValueArrayInitializer"{" ( "," | elementValue ( "," // one "," only without elementValue elementValue? )* )? "}" elementValuePairCProduction_LINK|PelementValuePairIDENTIFIER "=" elementValue elementValuePairsCProduction_LINKRelementValuePairs1elementValuePair ( "," elementValuePair )* ellipsisParameterDeclCProduction_LINKTellipsisParameterDecl"..." IDENTIFIER enumBodyCProduction_LINKVenumBodyD"{" ( "," | enumConstants )? enumBodyDeclarations? "}" enumBodyDeclarationsCProduction_LINKXenumBodyDeclarations"";" ( classBodyDeclaration )* enumConstantCProduction_LINKZ enumConstant2annotations? IDENTIFIER arguments? classBody? enumConstantsCProduction_LINK\ enumConstantsWenumConstant ( "," enumConstant? // max one "," not followed by enumConstant )* enumDeclarationCProduction_LINK^enumDeclaration@ "enum" IDENTIFIER ( "implements" typeList )? enumBody enumHeaderCProduction_LINK` enumHeaderOWHILE(modifier()) modifier END ( "enum" | IDENTIFIER ) IDENTIFIER equalityExpressionCProduction_LINKbequalityExpressionTinstanceOfExpression ( ( "==" | "!=" ) instanceOfExpression )* exclusiveOrExpressionCProduction_LINKdexclusiveOrExpression+andExpression ( "^" andExpression )* explicitConstructorInvocationCProduction_LINKfexplicitConstructorInvocation nonWildcardTypeArguments ( "this" | "super" ) arguments ";" | IF(this_or_super_lparam()) ( "this" | "super" ) arguments ";" ELSE primary "." nonWildcardTypeArguments? "super" arguments ";" END expressionCProduction_LINKj expression;conditionalExpression ( assignmentOperator expression )? expressionListCProduction_LINKlexpressionList expression ("," expression )* fieldDeclarationCProduction_LINKnfieldDeclaration?type variableDeclarator ( "," variableDeclarator )* ";" fieldHeaderCProduction_LINKp fieldHeader_WHILE(modifier()) modifier END type IDENTIFIER ( "[" "]" )* ( "=" | "," | ";" ) forInitCProduction_LINKrforInitQ variableModifiers* type IDENTIFIER localVariableDeclaration | expressionList formalParameterCProduction_LINKtformalParameter1variableModifiers* type IDENTIFIER ( "[" "]" )* formalParameterDeclsCProduction_LINKvformalParameterDeclsvariableModifiers* type ( ellipsisParameterDecl | normalParameterDecl ( "," variableModifiers* type ( normalParameterDecl | ellipsisParameterDecl BREAK ) )* ) formalParametersCProduction_LINKzformalParameters"(" formalParameterDecls? ")" forstatementCProduction_LINK| forstatement"for" "(" ( variableModifiers+ type IDENTIFIER ( ":" expression | localVariableDeclaration ";" expression? ";" expressionList? ) | IF(is_type_id()) type IDENTIFIER ( ":" expression | localVariableDeclaration ";" expression? ";" expressionList? ) ELSE expressionList ";" expression? ";" expressionList? END | ";" expression? ";" expressionList? ) ")" statement has_package_declarationCProduction_LINKıNhas_package_declarationannotations? "package" id_lparamCProduction_LINKN id_lparamIDENTIFIER "(" identifierSuffixCProduction_LINKpidentifierSuffixMharmless warning, because "[" expression"]" can optionally follow as selector "[" ( "]" ("[""]" )* "." "class" | expression"]" ( "[" expression"]" )* ) | arguments | "." ( "class" | nonWildcardTypeArguments IDENTIFIER arguments | "this" | "super" arguments | innerCreator ) importDeclarationCProduction_LINKximportDeclaration"import" "static"? IDENTIFIER "." ( "*" ";" | IDENTIFIER ( "." ( IDENTIFIER | "*" BREAK ) )* ";" ) inclusiveOrExpressionCProduction_LINK4inclusiveOrExpression;exclusiveOrExpression ( "|" exclusiveOrExpression )* innerCreatorCProduction_LINK8 innerCreatorP"new" nonWildcardTypeArguments? IDENTIFIER typeArguments? classCreatorRest instanceOfExpressionCProduction_LINK<instanceOfExpression2relationalExpression ( "instanceof" type )? interfaceBodyCProduction_LINK@ interfaceBody-"{" ( interfaceBodyDeclaration )* "}" interfaceBodyDeclarationCProduction_LINKDinterfaceBodyDeclarationWHILE(modifier()) modifier END ( IF(!is_type_id_lparam()) interfaceFieldDeclaration ELSE interfaceMethodDeclaration END | interfaceDeclaration | classDeclaration ) | ";" interfaceDeclarationCProduction_LINK interfaceDeclarationJ ( normalInterfaceDeclaration | annotationTypeDeclaration ) interfaceFieldDeclarationCProduction_LINK$interfaceFieldDeclaration?type variableDeclarator ( "," variableDeclarator )* ";" interfaceHeaderCProduction_LINK$interfaceHeader8WHILE(modifier()) modifier END "interface" IDENTIFIER interfaceMethodDeclarationCProduction_LINK(interfaceMethodDeclarationtypeParameters? ( type | "void" ) IDENTIFIER formalParameters ( "[" "]" )* ( "throws" qualifiedNameList )? ";" is_annotationCProduction_LINK is_annotation"@" IDENTIFIER is_blockCProduction_LINKis_block"static"? "{" is_cast_expressionCProduction_LINKdis_cast_expression"(" ( primitiveType ( ")" | ( "[" "]" )+ ")" ) | classOrInterfaceType ( "[" "]" )* ")" ) ( // beginners of unaryExpression "!" | "(" | "+" | "++" | "-" | "--" | "boolean" | "byte" | "char" | "double" | "false" | "float" | "int" | "long" | "new" | "null" | "short" | "super" | "this" | "true" | "void" | "~" | CHARLITERAL | DOUBLELITERAL | FLOATLITERAL | IDENTIFIER | INTLITERAL | LONGLITERAL | STRINGLITERAL ) is_element_assignmentCProduction_LINKis_element_assignmentIDENTIFIER "=" is_labelCProduction_LINKطis_labelIDENTIFIER ":" is_method_declarationCProduction_LINKis_method_declarationBtype? IDENTIFIER would be wrong, because type can be an IDENTIFIER+ type IDENTIFIER? "(" | "void" | "<" is_synchronized_lparamCProduction_LINK0is_synchronized_lparam"synchronized" "(" is_type_idCProduction_LINKܼ is_type_idtype IDENTIFIER IGNOREis_type_id_lparamCProduction_LINKis_type_id_lparamtype IDENTIFIER "(" IGNOREliteralCProduction_LINKliteral} INTLITERAL | LONGLITERAL | FLOATLITERAL | DOUBLELITERAL | CHARLITERAL | STRINGLITERAL | "true" | "false" | "null" localVariableDeclarationCProduction_LINKlocalVariableDeclarationO ( "[" "]" )* ( "=" variableInitializer )? ( "," variableDeclarator )* !localVariableDeclarationStatementCProduction_LINK!localVariableDeclarationStatement.type IDENTIFIER localVariableDeclaration ";" localVariableHeaderCProduction_LINKlocalVariableHeaderRvariableModifiers* type IDENTIFIER ( "[" "]" )* ( "=" | "," | ";" ) memberDeclCProduction_LINK memberDeclWHILE(modifier()) modifier END ( IF( is_method_declaration() ) methodDeclaration ELSE ( fieldDeclaration | classDeclaration | interfaceDeclaration ) END ) methodDeclarationCProduction_LINK8methodDeclarationtypeParameters? IF(id_lparam()) IDENTIFIER formalParameters ( "throws" qualifiedNameList )? "{" IF(explicitConstructorInvocation()) explicitConstructorInvocation END blockStatement* "}" ELSE ( type | "void" ) IDENTIFIER formalParameters ( "[" "]" )* ( "throws" qualifiedNameList )? ( block | ";" ) END methodHeaderCProduction_LINKt methodHeader^WHILE(modifier()) modifier END typeParameters? ( type | "void" )? IDENTIFIER "(" modifierCProduction_LINKxmodifier) annotation | modifierNotAnnotation modifierNotAnnotationCProduction_LINK|modifierNotAnnotation( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" | "transient" | "volatile" | "strictfp" ) IGNOREmultiplicativeExpressionCProduction_LINKmultiplicativeExpressionWunaryExpression ( ( "*" | "/" | "%" ) unaryExpression )* nonWildcardTypeArgumentsCProduction_LINKnonWildcardTypeArguments"<" typeList ">" normalClassDeclarationCProduction_LINKnormalClassDeclarationi"class" IDENTIFIER typeParameters? ( "extends" type )? ( "implements" typeList )? classBody normalInterfaceDeclarationCProduction_LINKnormalInterfaceDeclarationU"interface" IDENTIFIER typeParameters? ( "extends" typeList )? interfaceBody normalParameterDeclCProduction_LINKnormalParameterDeclIDENTIFIER ( "[" "]" )* packageDeclarationCProduction_LINKpackageDeclaration"package" qualifiedName";" parExpressionCProduction_LINK parExpression"(" expression ")" IGNOREprimaryCProduction_LINK primary parExpression | "this" WHILE(dot_id()) "." IDENTIFIER END identifierSuffix? | IDENTIFIER WHILE(dot_id()) "." IDENTIFIER END identifierSuffix? | "super" superSuffix | literal | creator | primitiveType ("[""]" )* "." "class" | "void""." "class" primitiveTypeCProduction_LINK| primitiveTypeV "boolean" | "char" | "byte" | "short" | "int" | "long" | "float" | "double" qualifiedImportNameCProduction_LINK(qualifiedImportName%IDENTIFIER ( "." IDENTIFIER )* qualifiedNameCProduction_LINK qualifiedName%IDENTIFIER ( "." IDENTIFIER )* qualifiedNameListCProduction_LINKqualifiedNameList+qualifiedName ( "," qualifiedName )* relationalExpressionCProduction_LINKrelationalExpression8shiftExpression ( relationalOp shiftExpression )* relationalOpCProduction_LINK relationalOp! "<" | ">" | "<=" | ">=" relationalOp0CProduction_LINK relationalOp0 "<" "="? | ">" "="? IGNOREselectorCProduction_LINKselector "." ( IDENTIFIER arguments? | "this" | "super" superSuffix | innerCreator ) |"[" expression"]" shiftExpressionCProduction_LINK shiftExpressionTharmless warning, because conflict with relationalOp is avoided by WHILE(shiftOp() )JadditiveExpression WHILE(shiftOp() ) shiftOp additiveExpression END shiftOpCProduction_LINK shiftOp "<" "<" | ">" ">" ">"? IGNOREshiftOp1CProduction_LINKshiftOp1 "<<" | ">>" | ">>>" statementCProduction_LINK statement block | "assert" expression ( ":" expression )? ";" | "if" parExpression statement ( "else" statement )? | forstatement | "while" parExpression statement | "do" statement "while" parExpression";" | trystatement | "switch" parExpression"{" switchBlockStatementGroups "}" | "synchronized" parExpression block | "return" expression? ";" | "throw" expression";" | "break" IDENTIFIER? ";" | "continue" IDENTIFIER? ";" | IF( is_label()) IDENTIFIER ":" statement ELSE expression ";" END | ";" superSuffixCProduction_LINK4 superSuffixC arguments | "." typeArguments? IDENTIFIER arguments? switchBlockStatementGroupCProduction_LINK8switchBlockStatementGroup&switchLabel ( blockStatement )* switchBlockStatementGroupsCProduction_LINK<switchBlockStatementGroups switchBlockStatementGroup* switchLabelCProduction_LINK@ switchLabel% "case" expression":" | "default"":"this_or_super_lparamCProduction_LINKDthis_or_super_lparam( "this" | "super" ) "(" trystatementCProduction_LINKH! trystatementK "try" block ( catches ( "finally" block )? | "finally" block ) typeCProduction_LINKL#typeC classOrInterfaceType ( "[" "]" )* | primitiveType ( "[" "]" )* typeArgumentCProduction_LINKP% typeArgument? type |"?" ( ( "extends" | "super" ) type )? typeArgumentsCProduction_LINKT' typeArguments2"<" typeArgument ( "," typeArgument )* ">" typeBoundCProduction_LINKX) typeBound type ( "&" type )* typeDeclarationCProduction_LINK\+typeDeclarationH WHILE(modifier()) modifier END classOrInterfaceDeclaration | ";" typeHeaderCProduction_LINK`- typeHeaderdWHILE(modifier()) modifier END ( "class" | "enum" | ("@"? "interface" ) ) IDENTIFIER typeListCProduction_LINKd/typeListtype ( "," type )* typeParameterCProduction_LINK  typeParameter*IDENTIFIER ( "extends" typeBound )? typeParametersCProduction_LINK1typeParameters4"<" typeParameter ( "," typeParameter )* ">" unaryExpressionCProduction_LINK2unaryExpression} "+" unaryExpression | "-" unaryExpression | "++" unaryExpression | "--" unaryExpression | unaryExpressionNotPlusMinus unaryExpressionNotPlusMinusCProduction_LINKh4unaryExpressionNotPlusMinus "~" unaryExpression | "!" unaryExpression | IF( is_cast_expression() ) castExpression ELSE primary selector* ( "++" | "--" )? END variableDeclaratorCProduction_LINK6variableDeclarator<IDENTIFIER ( "[" "]" )* ( "=" variableInitializer )? variableInitializerCProduction_LINK7variableInitializer" arrayInitializer | expression variableModifiersCProduction_LINKl9variableModifiers% ( "final" | annotation ) COptionsProjectProjectOptionsProjectOptionsCOptionSectionNProjectOptions= CaseSensitiveCScript@O CaseSensitive1CharTypeTemplateCScriptOCharTypeTemplate1 CommentToCodeCScriptP CommentToCode0ComponentSupportCScriptlPComponentSupport ConfigParamCScriptP ConfigParam""CopyCodeCScript4QCopyCode0Cpp_PrjMainSourceCScriptQCpp_PrjMainSourceCpp_PrjParserHeaderCScriptQCpp_PrjParserHeaderCpp_PrjParserSourceCScript`RCpp_PrjParserSourceCreateConstProductionsCScriptRCreateConstProductions0CreateInterfaceCScript(SCreateInterface0CreateWideCharRegexCScriptSCreateWideCharRegex0DOMBOMCScriptSDOMBOM0DOMDefaultLabelCScriptTTDOMDefaultLabel default_labelDOMDocTypeNameCScriptTDOMDocTypeName DOMEncodingCScriptU DOMEncodingUTF-8DOMPrettyPrintCScriptUDOMPrettyPrint1 DOMPublicIDCScriptU DOMPublicID DOMRootLabelCScriptHV DOMRootLabelroot DOMStandaloneCScriptV DOMStandalone1 DOMSystemIDCScriptW DOMSystemIDDOMWriteDeclarationCScripttWDOMWriteDeclaration1 ExportableCScriptW Exportable1 ExtraParamCScript