From 996bc47de58ddde3b38c4e6f00bb6ad1d8afae09 Mon Sep 17 00:00:00 2001 From: kpouer Date: Thu, 28 Aug 2003 21:38:05 +0000 Subject: [PATCH] first step for parsing double quoted strings --- net.sourceforge.phpeclipse/src/test/PHPParser.java | 1765 +++++++++++--------- net.sourceforge.phpeclipse/src/test/PHPParser.jj | 110 ++- .../src/test/PHPParserConstants.java | 102 +- .../src/test/PHPParserTokenManager.java | 1558 +++++++++++------- 4 files changed, 2085 insertions(+), 1450 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/test/PHPParser.java b/net.sourceforge.phpeclipse/src/test/PHPParser.java index eac7b50..d559705 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParser.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParser.java @@ -64,7 +64,7 @@ public final class PHPParser extends PHPParserSuperclass implements PHPParserCon /** The cursor in expression stack. */ private static int nodePtr; - public static final boolean PARSER_DEBUG = true; + public static final boolean PARSER_DEBUG = false; public final void setFileToParse(final IFile fileToParse) { PHPParser.fileToParse = fileToParse; @@ -396,6 +396,7 @@ public final class PHPParser extends PHPParserSuperclass implements PHPParserCon case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -473,6 +474,7 @@ public final class PHPParser extends PHPParserSuperclass implements PHPParserCon case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -593,6 +595,7 @@ public final class PHPParser extends PHPParserSuperclass implements PHPParserCon case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -971,6 +974,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: expr = Literal(); {if (true) return expr;} break; @@ -1066,6 +1070,7 @@ final Expression expr,expr2; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -1336,6 +1341,7 @@ final Expression expr,expr2; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -1970,6 +1976,7 @@ final Expression expr,expr2; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2015,6 +2022,7 @@ final Expression expr,expr2; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2061,6 +2069,7 @@ final Expression expr,expr2; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2119,6 +2128,7 @@ final Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: expr = Literal(); {if (true) return expr;} break; @@ -2452,6 +2462,7 @@ final Token token,token1; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2474,6 +2485,7 @@ final Token token,token1; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2545,6 +2557,7 @@ final Token token,token1; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2567,6 +2580,7 @@ final Token token,token1; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2617,6 +2631,7 @@ final Token token,token1; static final public Literal Literal() throws ParseException { final Token token; + StringLiteral literal; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INTEGER_LITERAL: token = jj_consume_token(INTEGER_LITERAL); @@ -2642,6 +2657,10 @@ final Token token,token1; token = jj_consume_token(NULL); {if (true) return new NullLiteral(token);} break; + case DOUBLEQUOTE: + literal = evaluableString(); + {if (true) return literal;} + break; default: jj_la1[71] = jj_gen; jj_consume_token(-1); @@ -2650,6 +2669,55 @@ final Token token,token1; throw new Error("Missing return statement in function"); } + static final public StringLiteral evaluableString() throws ParseException { + ArrayList list = new ArrayList(); + Token start,end; + Token token,lbrace,rbrace; + AbstractVariable var; + Expression expr; + start = jj_consume_token(DOUBLEQUOTE); + label_20: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case DOLLARS: + ; + break; + default: + jj_la1[72] = jj_gen; + break label_20; + } + jj_consume_token(DOLLARS); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + token = jj_consume_token(IDENTIFIER); + list.add(new Variable(token.image, + token.sourceStart, + token.sourceEnd)); + break; + case LBRACE1: + lbrace = jj_consume_token(LBRACE1); + token = jj_consume_token(ID); + list.add(new Variable(token.image, + token.sourceStart, + token.sourceEnd)); + rbrace = jj_consume_token(RBRACE1); + break; + default: + jj_la1[73] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + end = jj_consume_token(DOUBLEQUOTE2); + AbstractVariable[] vars = new AbstractVariable[list.size()]; + list.toArray(vars); + {if (true) return new StringLiteral(SimpleCharStream.currentBuffer.substring(start.sourceEnd,end.sourceStart), + start.sourceStart, + end.sourceEnd, + vars);} + throw new Error("Missing return statement in function"); + } + static final public FunctionCall Arguments(final Expression func) throws ParseException { Expression[] args = null; final Token token; @@ -2673,13 +2741,14 @@ final Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: args = ArgumentList(); break; default: - jj_la1[72] = jj_gen; + jj_la1[74] = jj_gen; ; } try { @@ -2708,15 +2777,15 @@ int pos; Token token; arg = Expression(); list.add(arg);pos = arg.sourceEnd; - label_20: + label_21: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[73] = jj_gen; - break label_20; + jj_la1[75] = jj_gen; + break label_21; } token = jj_consume_token(COMMA); pos = token.sourceEnd; @@ -2808,7 +2877,7 @@ Token token; token = jj_consume_token(AT); break; default: - jj_la1[74] = jj_gen; + jj_la1[76] = jj_gen; ; } statement = IncludeStatement(); @@ -2831,7 +2900,7 @@ Token token; currentSegment.add((Outlineable)statement);{if (true) return statement;} break; default: - jj_la1[75] = jj_gen; + jj_la1[77] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -2971,6 +3040,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -2984,7 +3054,7 @@ Token token; {if (true) return statement;} break; default: - jj_la1[76] = jj_gen; + jj_la1[78] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3001,15 +3071,15 @@ Token token; final Token phpEnd; phpEnd = jj_consume_token(PHPEND); htmlStart = phpEnd.sourceEnd; - label_21: + label_22: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PHPECHOSTART: ; break; default: - jj_la1[77] = jj_gen; - break label_21; + jj_la1[79] = jj_gen; + break label_22; } phpEchoBlock(); } @@ -3022,7 +3092,7 @@ Token token; jj_consume_token(PHPSTARTSHORT); break; default: - jj_la1[78] = jj_gen; + jj_la1[80] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3072,7 +3142,7 @@ Token token; keyword = InclusionStatement.INCLUDE_ONCE;pos=token.sourceEnd; break; default: - jj_la1[79] = jj_gen; + jj_la1[81] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3144,19 +3214,19 @@ Token token; list.add(expr);pos = expr.sourceEnd; break; default: - jj_la1[80] = jj_gen; + jj_la1[82] = jj_gen; ; } if (expr == null) list.add(null); - label_22: + label_23: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[81] = jj_gen; - break label_22; + jj_la1[83] = jj_gen; + break label_23; } try { token = jj_consume_token(COMMA); @@ -3174,7 +3244,7 @@ Token token; list.add(expr);pos = expr.sourceEnd; break; default: - jj_la1[82] = jj_gen; + jj_la1[84] = jj_gen; ; } } @@ -3200,7 +3270,7 @@ Token token; expression.sourceEnd);} break; default: - jj_la1[83] = jj_gen; + jj_la1[85] = jj_gen; ; } final AbstractVariable[] vars = new AbstractVariable[list.size()]; @@ -3221,15 +3291,15 @@ Token token; token = jj_consume_token(ECHO); expr = Expression(); expressions.add(expr); - label_23: + label_24: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[84] = jj_gen; - break label_23; + jj_la1[86] = jj_gen; + break label_24; } jj_consume_token(COMMA); expr = Expression(); @@ -3264,15 +3334,15 @@ Token token; token = jj_consume_token(GLOBAL); expr = Variable(); vars.add(expr);pos = expr.sourceEnd+1; - label_24: + label_25: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[85] = jj_gen; - break label_24; + jj_la1[87] = jj_gen; + break label_25; } jj_consume_token(COMMA); expr = Variable(); @@ -3307,15 +3377,15 @@ Token token; token = jj_consume_token(STATIC); expr = VariableDeclarator(); vars.add(expr);pos = expr.sourceEnd+1; - label_25: + label_26: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[86] = jj_gen; - break label_25; + jj_la1[88] = jj_gen; + break label_26; } jj_consume_token(COMMA); expr = VariableDeclarator(); @@ -3373,7 +3443,7 @@ Token token; errorEnd = pos; processParseExceptionDebug(e); } - label_26: + label_27: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PHPEND: @@ -3414,6 +3484,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -3422,8 +3493,8 @@ Token token; ; break; default: - jj_la1[87] = jj_gen; - break label_26; + jj_la1[89] = jj_gen; + break label_27; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CLASS: @@ -3463,6 +3534,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -3480,7 +3552,7 @@ Token token; pos = PHPParser.token.sourceEnd+1; break; default: - jj_la1[88] = jj_gen; + jj_la1[90] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3539,6 +3611,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -3568,7 +3641,7 @@ Token token; {if (true) return statement;} break; default: - jj_la1[89] = jj_gen; + jj_la1[91] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3615,6 +3688,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -3634,7 +3708,7 @@ Token token; {if (true) return statement;} break; default: - jj_la1[90] = jj_gen; + jj_la1[92] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3649,15 +3723,15 @@ Token token; Expression var; var = Expression(); list.add(var); - label_27: + label_28: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[91] = jj_gen; - break label_27; + jj_la1[93] = jj_gen; + break label_28; } jj_consume_token(COMMA); var = Expression(); @@ -3682,7 +3756,7 @@ Token token; initializer = Expression(); break; default: - jj_la1[92] = jj_gen; + jj_la1[94] = jj_gen; ; } if (initializer == null) { @@ -3741,19 +3815,19 @@ Token token; operator.sourceEnd);} break; default: - jj_la1[93] = jj_gen; + jj_la1[95] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: - jj_la1[94] = jj_gen; + jj_la1[96] = jj_gen; ; } {if (true) return expr;} break; default: - jj_la1[95] = jj_gen; + jj_la1[97] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3809,7 +3883,7 @@ Token token; cases = switchStatementColon(switchToken.sourceStart, switchToken.sourceEnd); break; default: - jj_la1[96] = jj_gen; + jj_la1[98] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -3827,7 +3901,7 @@ Token token; int pos; token = jj_consume_token(LBRACE); pos = token.sourceEnd; - label_28: + label_29: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CASE: @@ -3835,8 +3909,8 @@ Token token; ; break; default: - jj_la1[97] = jj_gen; - break label_28; + jj_la1[99] = jj_gen; + break label_29; } cas = switchLabel0(); cases.add(cas);pos = cas.sourceEnd; @@ -3879,7 +3953,7 @@ Token token; } catch (CoreException e) { PHPeclipsePlugin.log(e); } - label_29: + label_30: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CASE: @@ -3887,8 +3961,8 @@ Token token; ; break; default: - jj_la1[98] = jj_gen; - break label_29; + jj_la1[100] = jj_gen; + break label_30; } cas = switchLabel0(); cases.add(cas);pos = cas.sourceEnd; @@ -3925,7 +3999,7 @@ Token token; final ArrayList stmts = new ArrayList(); final Token token = PHPParser.token; expr = SwitchLabel(); - label_30: + label_31: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PHPEND: @@ -3966,6 +4040,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -3974,8 +4049,8 @@ Token token; ; break; default: - jj_la1[99] = jj_gen; - break label_30; + jj_la1[101] = jj_gen; + break label_31; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CLASS: @@ -4014,6 +4089,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4031,7 +4107,7 @@ Token token; stmts.add(statement); break; default: - jj_la1[100] = jj_gen; + jj_la1[102] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -4096,7 +4172,7 @@ Token token; } break; default: - jj_la1[101] = jj_gen; + jj_la1[103] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -4128,6 +4204,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4135,7 +4212,7 @@ Token token; pos = expression.sourceEnd+1; break; default: - jj_la1[102] = jj_gen; + jj_la1[104] = jj_gen; ; } try { @@ -4203,7 +4280,7 @@ Token token; case COLON: jj_consume_token(COLON); stmts = new ArrayList(); - label_31: + label_32: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PHPEND: @@ -4242,6 +4319,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4250,8 +4328,8 @@ Token token; ; break; default: - jj_la1[103] = jj_gen; - break label_31; + jj_la1[105] = jj_gen; + break label_32; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IF: @@ -4289,6 +4367,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4302,21 +4381,21 @@ Token token; if (statement != null) {stmts.add(statement);} break; default: - jj_la1[104] = jj_gen; + jj_la1[106] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } endStatements = SimpleCharStream.getPosition(); - label_32: + label_33: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSEIF: ; break; default: - jj_la1[105] = jj_gen; - break label_32; + jj_la1[107] = jj_gen; + break label_33; } elseifStatement = ElseIfStatementColon(); elseIfList.add(elseifStatement); @@ -4326,7 +4405,7 @@ Token token; elseStatement = ElseStatementColon(); break; default: - jj_la1[106] = jj_gen; + jj_la1[108] = jj_gen; ; } try { @@ -4413,6 +4492,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4454,6 +4534,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4465,19 +4546,19 @@ Token token; stmt = htmlBlock(); break; default: - jj_la1[107] = jj_gen; + jj_la1[109] = jj_gen; jj_consume_token(-1); throw new ParseException(); } - label_33: + label_34: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSEIF: ; break; default: - jj_la1[108] = jj_gen; - break label_33; + jj_la1[110] = jj_gen; + break label_34; } elseifStatement = ElseIfStatement(); elseIfList.add(elseifStatement); @@ -4501,7 +4582,7 @@ Token token; } break; default: - jj_la1[109] = jj_gen; + jj_la1[111] = jj_gen; ; } elseIfs = new ElseIf[elseIfList.size()]; @@ -4514,7 +4595,7 @@ Token token; SimpleCharStream.getPosition());} break; default: - jj_la1[110] = jj_gen; + jj_la1[112] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -4529,7 +4610,7 @@ Token token; elseifToken = jj_consume_token(ELSEIF); condition = Condition("elseif"); jj_consume_token(COLON); - label_34: + label_35: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PHPEND: @@ -4568,6 +4649,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4576,8 +4658,8 @@ Token token; ; break; default: - jj_la1[111] = jj_gen; - break label_34; + jj_la1[113] = jj_gen; + break label_35; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IF: @@ -4615,6 +4697,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4628,7 +4711,7 @@ Token token; if (statement != null) {list.add(statement);} break; default: - jj_la1[112] = jj_gen; + jj_la1[114] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -4648,7 +4731,7 @@ Token token; final Token elseToken; elseToken = jj_consume_token(ELSE); jj_consume_token(COLON); - label_35: + label_36: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PHPEND: @@ -4687,6 +4770,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4695,8 +4779,8 @@ Token token; ; break; default: - jj_la1[113] = jj_gen; - break label_35; + jj_la1[115] = jj_gen; + break label_36; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IF: @@ -4734,6 +4818,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4747,7 +4832,7 @@ Token token; if (statement != null) {list.add(statement);} break; default: - jj_la1[114] = jj_gen; + jj_la1[116] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -4789,7 +4874,7 @@ Token token; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COLON: jj_consume_token(COLON); - label_36: + label_37: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IF: @@ -4827,6 +4912,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4835,8 +4921,8 @@ Token token; ; break; default: - jj_la1[115] = jj_gen; - break label_36; + jj_la1[117] = jj_gen; + break label_37; } statement = Statement(); stmts.add(statement); @@ -4908,6 +4994,7 @@ Token token; case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -4917,7 +5004,7 @@ Token token; {if (true) return statement;} break; default: - jj_la1[116] = jj_gen; + jj_la1[118] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -5071,13 +5158,14 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: initializations = ForInit(); break; default: - jj_la1[117] = jj_gen; + jj_la1[119] = jj_gen; ; } jj_consume_token(SEMICOLON); @@ -5100,13 +5188,14 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: condition = Expression(); break; default: - jj_la1[118] = jj_gen; + jj_la1[120] = jj_gen; ; } jj_consume_token(SEMICOLON); @@ -5129,13 +5218,14 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: increments = StatementExpressionList(); break; default: - jj_la1[119] = jj_gen; + jj_la1[121] = jj_gen; ; } jj_consume_token(RPAREN); @@ -5175,6 +5265,7 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -5191,7 +5282,7 @@ final ArrayList list = new ArrayList(); case COLON: tokenColon = jj_consume_token(COLON); pos = tokenColon.sourceEnd+1; - label_37: + label_38: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IF: @@ -5229,6 +5320,7 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -5237,8 +5329,8 @@ final ArrayList list = new ArrayList(); ; break; default: - jj_la1[120] = jj_gen; - break label_37; + jj_la1[122] = jj_gen; + break label_38; } action = Statement(); list.add(action);pos = action.sourceEnd+1; @@ -5285,7 +5377,7 @@ final ArrayList list = new ArrayList(); pos);} break; default: - jj_la1[121] = jj_gen; + jj_la1[123] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -5317,6 +5409,7 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: @@ -5324,7 +5417,7 @@ final ArrayList list = new ArrayList(); {if (true) return exprs;} break; default: - jj_la1[122] = jj_gen; + jj_la1[124] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -5337,15 +5430,15 @@ final ArrayList list = new ArrayList(); final Expression expr; expr = Expression(); list.add(expr); - label_38: + label_39: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[123] = jj_gen; - break label_38; + jj_la1[125] = jj_gen; + break label_39; } jj_consume_token(COMMA); Expression(); @@ -5381,13 +5474,14 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: expr = Expression(); break; default: - jj_la1[124] = jj_gen; + jj_la1[126] = jj_gen; ; } try { @@ -5438,13 +5532,14 @@ final ArrayList list = new ArrayList(); case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: + case DOUBLEQUOTE: case DOLLAR: case IDENTIFIER: case LPAREN: expr = Expression(); break; default: - jj_la1[125] = jj_gen; + jj_la1[127] = jj_gen; ; } try { @@ -5506,668 +5601,294 @@ final ArrayList list = new ArrayList(); return retval; } - static final private boolean jj_3R_136() { - if (jj_scan_token(LE)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_135() { - if (jj_scan_token(GT)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_134() { - if (jj_scan_token(LT)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_123() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_134()) { - jj_scanpos = xsp; - if (jj_3R_135()) { - jj_scanpos = xsp; - if (jj_3R_136()) { - jj_scanpos = xsp; - if (jj_3R_137()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_122()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_119() { - if (jj_3R_122()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_123()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - return false; - } - - static final private boolean jj_3R_71() { - if (jj_3R_49()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_70() { - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_55() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_70()) { - jj_scanpos = xsp; - if (jj_3R_71()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_47() { - if (jj_scan_token(LBRACE)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_55()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(RBRACE)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_202() { - if (jj_scan_token(COMMA)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3_2() { - if (jj_scan_token(COMMA)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_40()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_69() { - if (jj_3R_49()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_54() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_68()) { - jj_scanpos = xsp; - if (jj_3R_69()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_68() { - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_112() { - if (jj_scan_token(ASSIGN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_201() { - if (jj_3R_40()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3_2()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - return false; - } - - static final private boolean jj_3R_46() { - if (jj_scan_token(LBRACKET)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_54()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(RBRACKET)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_128() { - if (jj_scan_token(TRIPLEEQUAL)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_127() { - if (jj_scan_token(BANGDOUBLEEQUAL)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_126() { - if (jj_scan_token(NOT_EQUAL)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_195() { - if (jj_scan_token(LPAREN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_201()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - xsp = jj_scanpos; - if (jj_3R_202()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(RPAREN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_125() { - if (jj_scan_token(DIF)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_124() { - if (jj_scan_token(EQUAL_EQUAL)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_53() { - if (jj_3R_67()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_116() { - if (jj_3R_115()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_120() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_124()) { - jj_scanpos = xsp; - if (jj_3R_125()) { - jj_scanpos = xsp; - if (jj_3R_126()) { - jj_scanpos = xsp; - if (jj_3R_127()) { - jj_scanpos = xsp; - if (jj_3R_128()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_119()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_52() { - if (jj_scan_token(IDENTIFIER)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_117() { - if (jj_3R_119()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_120()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - return false; - } - - static final private boolean jj_3R_208() { - if (jj_scan_token(ARRAYASSIGN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_111() { - if (jj_scan_token(COMMA)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_116()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_40() { - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_208()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_51() { - if (jj_scan_token(LBRACE)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(RBRACE)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_110() { - if (jj_3R_115()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_118() { - if (jj_scan_token(BIT_AND)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_117()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_45() { - if (jj_scan_token(CLASSACCESS)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_51()) { - jj_scanpos = xsp; - if (jj_3R_52()) { - jj_scanpos = xsp; - if (jj_3R_53()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_39() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_45()) { - jj_scanpos = xsp; - if (jj_3R_46()) { - jj_scanpos = xsp; - if (jj_3R_47()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_113() { - if (jj_3R_117()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_118()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - return false; - } - - static final private boolean jj_3R_103() { - if (jj_scan_token(LIST)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(LPAREN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_110()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - while (true) { - xsp = jj_scanpos; - if (jj_3R_111()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - if (jj_scan_token(RPAREN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - xsp = jj_scanpos; - if (jj_3R_112()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_114() { + static final private boolean jj_3R_115() { if (jj_scan_token(XOR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_113()) return true; + if (jj_3R_114()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_206() { - if (jj_3R_115()) return true; + static final private boolean jj_3R_210() { + if (jj_3R_116()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_205() { - if (jj_3R_49()) return true; + static final private boolean jj_3R_209() { + if (jj_3R_50()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_108() { - if (jj_3R_113()) return true; + static final private boolean jj_3R_109() { + if (jj_3R_114()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_114()) { jj_scanpos = xsp; break; } + if (jj_3R_115()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_204() { + static final private boolean jj_3R_208() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_199() { + static final private boolean jj_3R_203() { Token xsp; xsp = jj_scanpos; - if (jj_3R_204()) { + if (jj_3R_208()) { jj_scanpos = xsp; - if (jj_3R_205()) { + if (jj_3R_209()) { jj_scanpos = xsp; - if (jj_3R_206()) return true; + if (jj_3R_210()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_104() { - if (jj_scan_token(PRINT)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_109() { + static final private boolean jj_3R_110() { if (jj_scan_token(BIT_OR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_108()) return true; + if (jj_3R_109()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_102() { - if (jj_3R_108()) return true; + static final private boolean jj_3R_103() { + if (jj_3R_109()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_109()) { jj_scanpos = xsp; break; } + if (jj_3R_110()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_186() { + static final private boolean jj_3R_188() { if (jj_scan_token(ARRAY)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_195()) return true; + if (jj_3R_198()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_131() { + static final private boolean jj_3R_132() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_130() { + static final private boolean jj_3R_131() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; + if (jj_3R_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_105() { + static final private boolean jj_3R_106() { if (jj_scan_token(DOT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_102()) return true; + if (jj_3R_103()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_121() { + static final private boolean jj_3R_122() { Token xsp; xsp = jj_scanpos; - if (jj_3R_129()) { - jj_scanpos = xsp; if (jj_3R_130()) { jj_scanpos = xsp; - if (jj_3R_131()) return true; + if (jj_3R_131()) { + jj_scanpos = xsp; + if (jj_3R_132()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_129() { + static final private boolean jj_3R_130() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_121()) return true; + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_96() { - if (jj_3R_102()) return true; + static final private boolean jj_3R_97() { + if (jj_3R_103()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_105()) { jj_scanpos = xsp; break; } + if (jj_3R_106()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_200() { - if (jj_3R_203()) return true; + static final private boolean jj_3R_204() { + if (jj_3R_207()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_107() { + static final private boolean jj_3R_108() { if (jj_scan_token(_ANDL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_106() { + static final private boolean jj_3R_107() { if (jj_scan_token(AND_AND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_67() { + static final private boolean jj_3R_68() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_121()) return true; + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_99() { + static final private boolean jj_3R_100() { Token xsp; xsp = jj_scanpos; - if (jj_3R_106()) { + if (jj_3R_107()) { jj_scanpos = xsp; - if (jj_3R_107()) return true; + if (jj_3R_108()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_96()) return true; + if (jj_3R_97()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_80() { - if (jj_3R_96()) return true; + static final private boolean jj_3R_81() { + if (jj_3R_97()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_99()) { jj_scanpos = xsp; break; } + if (jj_3R_100()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_78() { + static final private boolean jj_3R_79() { if (jj_scan_token(HOOK)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; + if (jj_3R_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(COLON)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_72()) return true; + if (jj_3R_73()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_192() { + static final private boolean jj_3R_195() { if (jj_scan_token(NEW)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_199()) return true; + if (jj_3R_203()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_200()) jj_scanpos = xsp; + if (jj_3R_204()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_198() { - if (jj_3R_203()) return true; + static final private boolean jj_3R_202() { + if (jj_3R_207()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_191() { - if (jj_3R_115()) return true; + static final private boolean jj_3R_194() { + if (jj_3R_116()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_198()) jj_scanpos = xsp; + if (jj_3R_202()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_101() { + static final private boolean jj_3R_102() { if (jj_scan_token(_ORL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_100() { + static final private boolean jj_3R_101() { if (jj_scan_token(OR_OR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_82() { + static final private boolean jj_3R_83() { Token xsp; xsp = jj_scanpos; - if (jj_3R_100()) { + if (jj_3R_101()) { jj_scanpos = xsp; - if (jj_3R_101()) return true; + if (jj_3R_102()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_80()) return true; + if (jj_3R_81()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3_1() { - if (jj_3R_39()) return true; + if (jj_3R_40()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_197() { - if (jj_3R_203()) return true; + static final private boolean jj_3R_201() { + if (jj_3R_207()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_75() { - if (jj_3R_80()) return true; + static final private boolean jj_3R_76() { + if (jj_3R_81()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_82()) { jj_scanpos = xsp; break; } + if (jj_3R_83()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_196() { + static final private boolean jj_3R_200() { if (jj_scan_token(STATICCLASSACCESS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_199()) return true; + if (jj_3R_203()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_115() { - if (jj_3R_67()) return true; + static final private boolean jj_3R_116() { + if (jj_3R_68()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { @@ -6178,161 +5899,185 @@ final ArrayList list = new ArrayList(); return false; } - static final private boolean jj_3R_190() { + static final private boolean jj_3R_51() { + if (jj_scan_token(COMMA)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_193() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_196()) { jj_scanpos = xsp; break; } + if (jj_3R_200()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } xsp = jj_scanpos; - if (jj_3R_197()) jj_scanpos = xsp; + if (jj_3R_201()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_185() { + static final private boolean jj_3R_187() { Token xsp; xsp = jj_scanpos; - if (jj_3R_190()) { + if (jj_3R_193()) { jj_scanpos = xsp; - if (jj_3R_191()) { + if (jj_3R_194()) { jj_scanpos = xsp; - if (jj_3R_192()) return true; + if (jj_3R_195()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_72() { - if (jj_3R_75()) return true; + static final private boolean jj_3R_73() { + if (jj_3R_76()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_78()) jj_scanpos = xsp; + if (jj_3R_79()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_177() { - if (jj_3R_186()) return true; + static final private boolean jj_3R_45() { + if (jj_3R_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_51()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } return false; } - static final private boolean jj_3R_184() { + static final private boolean jj_3R_178() { + if (jj_3R_188()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_186() { if (jj_scan_token(BIT_AND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_95() { + static final private boolean jj_3R_96() { if (jj_scan_token(TILDEEQUAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_94() { + static final private boolean jj_3R_95() { if (jj_scan_token(DOTASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_172() { + static final private boolean jj_3R_173() { Token xsp; xsp = jj_scanpos; - if (jj_3R_176()) { + if (jj_3R_177()) { jj_scanpos = xsp; - if (jj_3R_177()) return true; + if (jj_3R_178()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_176() { + static final private boolean jj_3R_177() { Token xsp; xsp = jj_scanpos; - if (jj_3R_184()) jj_scanpos = xsp; + if (jj_3R_186()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_185()) return true; + if (jj_3R_187()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_93() { + static final private boolean jj_3R_94() { if (jj_scan_token(ORASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_92() { + static final private boolean jj_3R_93() { if (jj_scan_token(XORASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_91() { + static final private boolean jj_3R_92() { if (jj_scan_token(ANDASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_90() { + static final private boolean jj_3R_91() { if (jj_scan_token(RSIGNEDSHIFTASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_89() { + static final private boolean jj_3R_90() { if (jj_scan_token(LSHIFTASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_88() { + static final private boolean jj_3R_89() { if (jj_scan_token(MINUSASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_87() { + static final private boolean jj_3R_88() { if (jj_scan_token(PLUSASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_86() { + static final private boolean jj_3_5() { + if (jj_3R_45()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_87() { if (jj_scan_token(REMASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_85() { + static final private boolean jj_3R_86() { if (jj_scan_token(SLASHASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_84() { + static final private boolean jj_3R_85() { if (jj_scan_token(STARASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_83() { + static final private boolean jj_3R_84() { if (jj_scan_token(ASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_79() { + static final private boolean jj_3R_80() { Token xsp; xsp = jj_scanpos; - if (jj_3R_83()) { - jj_scanpos = xsp; if (jj_3R_84()) { jj_scanpos = xsp; if (jj_3R_85()) { @@ -6355,7 +6100,9 @@ final ArrayList list = new ArrayList(); jj_scanpos = xsp; if (jj_3R_94()) { jj_scanpos = xsp; - if (jj_3R_95()) return true; + if (jj_3R_95()) { + jj_scanpos = xsp; + if (jj_3R_96()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -6372,156 +6119,130 @@ final ArrayList list = new ArrayList(); return false; } - static final private boolean jj_3R_194() { + static final private boolean jj_3R_197() { if (jj_scan_token(MINUS_MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_193() { + static final private boolean jj_3R_196() { if (jj_scan_token(PLUS_PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_189() { + static final private boolean jj_3R_191() { Token xsp; xsp = jj_scanpos; - if (jj_3R_193()) { + if (jj_3R_196()) { jj_scanpos = xsp; - if (jj_3R_194()) return true; + if (jj_3R_197()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_174() { - if (jj_3R_172()) return true; + static final private boolean jj_3R_175() { + if (jj_3R_173()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_189()) jj_scanpos = xsp; + if (jj_3R_191()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_98() { - if (jj_3R_104()) return true; + static final private boolean jj_3R_99() { + if (jj_3R_105()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_97() { - if (jj_3R_103()) return true; + static final private boolean jj_3R_98() { + if (jj_3R_104()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_81() { + static final private boolean jj_3R_82() { Token xsp; xsp = jj_scanpos; - if (jj_3R_97()) { + if (jj_3R_98()) { jj_scanpos = xsp; - if (jj_3R_98()) return true; + if (jj_3R_99()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_50() { - if (jj_scan_token(COMMA)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_44() { - if (jj_3R_48()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_50()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - return false; - } - - static final private boolean jj_3R_188() { + static final private boolean jj_3R_190() { if (jj_scan_token(ARRAY)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_187() { - if (jj_3R_49()) return true; + static final private boolean jj_3R_189() { + if (jj_3R_50()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_77() { - if (jj_3R_81()) return true; + static final private boolean jj_3R_78() { + if (jj_3R_82()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_42() { + static final private boolean jj_3R_43() { if (jj_scan_token(ARRAY)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_76() { + static final private boolean jj_3R_77() { if (jj_scan_token(BANG)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_73()) return true; + if (jj_3R_74()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_73() { + static final private boolean jj_3R_74() { Token xsp; xsp = jj_scanpos; - if (jj_3R_76()) { + if (jj_3R_77()) { jj_scanpos = xsp; - if (jj_3R_77()) return true; + if (jj_3R_78()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_173() { + static final private boolean jj_3R_174() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_187()) { + if (jj_3R_189()) { jj_scanpos = xsp; - if (jj_3R_188()) return true; + if (jj_3R_190()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_143()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_41() { - if (jj_3R_49()) return true; + if (jj_3R_144()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_57() { - if (jj_3R_73()) return true; + static final private boolean jj_3R_42() { + if (jj_3R_50()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3_5() { - if (jj_3R_44()) return true; + static final private boolean jj_3R_58() { + if (jj_3R_74()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } @@ -6531,9 +6252,9 @@ final ArrayList list = new ArrayList(); if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_41()) { + if (jj_3R_42()) { jj_scanpos = xsp; - if (jj_3R_42()) return true; + if (jj_3R_43()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; @@ -6541,38 +6262,38 @@ final ArrayList list = new ArrayList(); return false; } - static final private boolean jj_3R_171() { + static final private boolean jj_3R_172() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; + if (jj_3R_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_170() { - if (jj_3R_175()) return true; + static final private boolean jj_3R_171() { + if (jj_3R_176()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_169() { - if (jj_3R_174()) return true; + static final private boolean jj_3R_170() { + if (jj_3R_175()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_165() { + static final private boolean jj_3R_166() { Token xsp; xsp = jj_scanpos; - if (jj_3R_168()) { - jj_scanpos = xsp; if (jj_3R_169()) { jj_scanpos = xsp; if (jj_3R_170()) { jj_scanpos = xsp; - if (jj_3R_171()) return true; + if (jj_3R_171()) { + jj_scanpos = xsp; + if (jj_3R_172()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -6580,139 +6301,145 @@ final ArrayList list = new ArrayList(); return false; } - static final private boolean jj_3R_168() { - if (jj_3R_173()) return true; + static final private boolean jj_3R_169() { + if (jj_3R_174()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_167() { + static final private boolean jj_3R_168() { if (jj_scan_token(MINUS_MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_166() { + static final private boolean jj_3R_167() { if (jj_scan_token(PLUS_PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_74() { - if (jj_3R_79()) return true; + static final private boolean jj_3R_75() { + if (jj_3R_80()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; + if (jj_3R_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_164() { + static final private boolean jj_3R_44() { + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(SEMICOLON)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_165() { Token xsp; xsp = jj_scanpos; - if (jj_3R_166()) { + if (jj_3R_167()) { jj_scanpos = xsp; - if (jj_3R_167()) return true; + if (jj_3R_168()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_172()) return true; + if (jj_3R_173()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_48() { + static final private boolean jj_3R_49() { Token xsp; xsp = jj_scanpos; - if (jj_3R_56()) { + if (jj_3R_57()) { jj_scanpos = xsp; - if (jj_3R_57()) return true; + if (jj_3R_58()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_56() { - if (jj_3R_72()) return true; + static final private boolean jj_3R_57() { + if (jj_3R_73()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_74()) jj_scanpos = xsp; + if (jj_3R_75()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_66() { + static final private boolean jj_3R_67() { if (jj_scan_token(OBJECT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_160() { - if (jj_3R_165()) return true; + static final private boolean jj_3R_161() { + if (jj_3R_166()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_65() { + static final private boolean jj_3R_66() { if (jj_scan_token(INTEGER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_64() { + static final private boolean jj_3R_65() { if (jj_scan_token(INT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_63() { + static final private boolean jj_3R_64() { if (jj_scan_token(FLOAT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_159() { - if (jj_3R_164()) return true; + static final private boolean jj_3R_160() { + if (jj_3R_165()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_62() { + static final private boolean jj_3R_63() { if (jj_scan_token(DOUBLE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_61() { + static final private boolean jj_3R_62() { if (jj_scan_token(REAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_60() { + static final private boolean jj_3R_61() { if (jj_scan_token(BOOLEAN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_59() { + static final private boolean jj_3R_60() { if (jj_scan_token(BOOL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_158() { + static final private boolean jj_3R_159() { if (jj_scan_token(MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_147()) return true; + if (jj_3R_148()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_49() { + static final private boolean jj_3R_50() { Token xsp; xsp = jj_scanpos; - if (jj_3R_58()) { - jj_scanpos = xsp; if (jj_3R_59()) { jj_scanpos = xsp; if (jj_3R_60()) { @@ -6727,7 +6454,9 @@ final ArrayList list = new ArrayList(); jj_scanpos = xsp; if (jj_3R_65()) { jj_scanpos = xsp; - if (jj_3R_66()) return true; + if (jj_3R_66()) { + jj_scanpos = xsp; + if (jj_3R_67()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -6740,22 +6469,22 @@ final ArrayList list = new ArrayList(); return false; } - static final private boolean jj_3R_58() { + static final private boolean jj_3R_59() { if (jj_scan_token(STRING)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_155() { + static final private boolean jj_3R_156() { Token xsp; xsp = jj_scanpos; - if (jj_3R_157()) { - jj_scanpos = xsp; if (jj_3R_158()) { jj_scanpos = xsp; if (jj_3R_159()) { jj_scanpos = xsp; - if (jj_3R_160()) return true; + if (jj_3R_160()) { + jj_scanpos = xsp; + if (jj_3R_161()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -6763,90 +6492,108 @@ final ArrayList list = new ArrayList(); return false; } - static final private boolean jj_3R_157() { + static final private boolean jj_3R_158() { if (jj_scan_token(PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_147()) return true; + if (jj_3R_148()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_163() { - if (jj_3R_155()) return true; + static final private boolean jj_3R_164() { + if (jj_3R_156()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_162() { - if (jj_scan_token(BANG)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_156()) return true; + static final private boolean jj_3_4() { + if (jj_3R_44()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_43() { - if (jj_3R_48()) return true; + static final private boolean jj_3R_163() { + if (jj_scan_token(BANG)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(SEMICOLON)) return true; + if (jj_3R_157()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_156() { + static final private boolean jj_3R_157() { Token xsp; xsp = jj_scanpos; - if (jj_3R_161()) { - jj_scanpos = xsp; if (jj_3R_162()) { jj_scanpos = xsp; - if (jj_3R_163()) return true; + if (jj_3R_163()) { + jj_scanpos = xsp; + if (jj_3R_164()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_161() { + static final private boolean jj_3R_162() { if (jj_scan_token(AT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_157()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_155() { if (jj_3R_156()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3R_154() { - if (jj_3R_155()) return true; + if (jj_scan_token(BANG)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_157()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_153() { - if (jj_scan_token(BANG)) return true; + static final private boolean jj_3R_216() { + if (jj_scan_token(COMMA)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_156()) return true; + if (jj_3R_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_152() { + static final private boolean jj_3R_153() { if (jj_scan_token(TILDE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_147()) return true; + if (jj_3R_148()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_147() { + static final private boolean jj_3R_215() { + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_216()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_148() { Token xsp; xsp = jj_scanpos; - if (jj_3R_151()) { - jj_scanpos = xsp; if (jj_3R_152()) { jj_scanpos = xsp; if (jj_3R_153()) { jj_scanpos = xsp; - if (jj_3R_154()) return true; + if (jj_3R_154()) { + jj_scanpos = xsp; + if (jj_3R_155()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -6854,234 +6601,263 @@ final ArrayList list = new ArrayList(); return false; } - static final private boolean jj_3R_151() { + static final private boolean jj_3R_152() { if (jj_scan_token(AT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_147()) return true; + if (jj_3R_148()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3_4() { - if (jj_3R_43()) return true; + static final private boolean jj_3R_144() { + if (jj_3R_148()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_143() { - if (jj_3R_147()) return true; + static final private boolean jj_3R_213() { + if (jj_3R_215()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_150() { + static final private boolean jj_3R_151() { if (jj_scan_token(REMAINDER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_149() { + static final private boolean jj_3R_150() { if (jj_scan_token(SLASH)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_148() { + static final private boolean jj_3R_149() { if (jj_scan_token(STAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_144() { + static final private boolean jj_3R_207() { + if (jj_scan_token(LPAREN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_148()) { - jj_scanpos = xsp; - if (jj_3R_149()) { - jj_scanpos = xsp; - if (jj_3R_150()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_143()) return true; + if (jj_3R_213()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_210() { - if (jj_scan_token(COMMA)) return true; + static final private boolean jj_3R_145() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_149()) { + jj_scanpos = xsp; + if (jj_3R_150()) { + jj_scanpos = xsp; + if (jj_3R_151()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_48()) return true; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_144()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_209() { - if (jj_3R_48()) return true; + static final private boolean jj_3R_139() { + if (jj_3R_144()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_210()) { jj_scanpos = xsp; break; } + if (jj_3R_145()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_138() { - if (jj_3R_143()) return true; + static final private boolean jj_3R_212() { + if (jj_scan_token(LBRACE1)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(ID)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(RBRACE1)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_144()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } return false; } - static final private boolean jj_3R_146() { + static final private boolean jj_3R_147() { if (jj_scan_token(MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_145() { - if (jj_scan_token(PLUS)) return true; + static final private boolean jj_3R_211() { + if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_207() { - if (jj_3R_209()) return true; + static final private boolean jj_3R_146() { + if (jj_scan_token(PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_139() { + static final private boolean jj_3R_140() { Token xsp; xsp = jj_scanpos; - if (jj_3R_145()) { + if (jj_3R_146()) { jj_scanpos = xsp; - if (jj_3R_146()) return true; + if (jj_3R_147()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_138()) return true; + if (jj_3R_139()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_132() { - if (jj_3R_138()) return true; + static final private boolean jj_3R_199() { + if (jj_scan_token(DOLLARS)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_211()) { + jj_scanpos = xsp; + if (jj_3R_212()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_133() { + if (jj_3R_139()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_139()) { jj_scanpos = xsp; break; } + if (jj_3R_140()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_203() { - if (jj_scan_token(LPAREN)) return true; + static final private boolean jj_3R_192() { + if (jj_scan_token(DOUBLEQUOTE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; - xsp = jj_scanpos; - if (jj_3R_207()) jj_scanpos = xsp; - else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(RPAREN)) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_199()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + if (jj_scan_token(DOUBLEQUOTE2)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_142() { + static final private boolean jj_3R_143() { if (jj_scan_token(RUNSIGNEDSHIFT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_141() { + static final private boolean jj_3R_142() { if (jj_scan_token(RSIGNEDSHIFT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_140() { + static final private boolean jj_3R_141() { if (jj_scan_token(LSHIFT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_133() { + static final private boolean jj_3R_185() { + if (jj_3R_192()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_184() { + if (jj_scan_token(NULL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_134() { Token xsp; xsp = jj_scanpos; - if (jj_3R_140()) { - jj_scanpos = xsp; if (jj_3R_141()) { jj_scanpos = xsp; - if (jj_3R_142()) return true; + if (jj_3R_142()) { + jj_scanpos = xsp; + if (jj_3R_143()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_132()) return true; + if (jj_3R_133()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_113() { + if (jj_scan_token(ASSIGN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3R_183() { - if (jj_scan_token(NULL)) return true; + if (jj_scan_token(FALSE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3R_182() { - if (jj_scan_token(FALSE)) return true; + if (jj_scan_token(TRUE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_122() { - if (jj_3R_132()) return true; + static final private boolean jj_3R_123() { + if (jj_3R_133()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_133()) { jj_scanpos = xsp; break; } + if (jj_3R_134()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } static final private boolean jj_3R_181() { - if (jj_scan_token(TRUE)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_180() { if (jj_scan_token(STRING_LITERAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_179() { + static final private boolean jj_3R_180() { if (jj_scan_token(FLOATING_POINT_LITERAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_178() { + static final private boolean jj_3R_179() { if (jj_scan_token(INTEGER_LITERAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_175() { + static final private boolean jj_3R_176() { Token xsp; xsp = jj_scanpos; - if (jj_3R_178()) { - jj_scanpos = xsp; if (jj_3R_179()) { jj_scanpos = xsp; if (jj_3R_180()) { @@ -7090,22 +6866,393 @@ final ArrayList list = new ArrayList(); jj_scanpos = xsp; if (jj_3R_182()) { jj_scanpos = xsp; - if (jj_3R_183()) return true; + if (jj_3R_183()) { + jj_scanpos = xsp; + if (jj_3R_184()) { + jj_scanpos = xsp; + if (jj_3R_185()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_137() { + static final private boolean jj_3R_117() { + if (jj_3R_116()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_138() { if (jj_scan_token(GE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } + static final private boolean jj_3R_137() { + if (jj_scan_token(LE)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_136() { + if (jj_scan_token(GT)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_135() { + if (jj_scan_token(LT)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_124() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_135()) { + jj_scanpos = xsp; + if (jj_3R_136()) { + jj_scanpos = xsp; + if (jj_3R_137()) { + jj_scanpos = xsp; + if (jj_3R_138()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_123()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_120() { + if (jj_3R_123()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_124()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_72() { + if (jj_3R_50()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_112() { + if (jj_scan_token(COMMA)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_117()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_71() { + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_56() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_71()) { + jj_scanpos = xsp; + if (jj_3R_72()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_48() { + if (jj_scan_token(LBRACE)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_56()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(RBRACE)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_111() { + if (jj_3R_116()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_206() { + if (jj_scan_token(COMMA)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3_2() { + if (jj_scan_token(COMMA)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_41()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_70() { + if (jj_3R_50()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_55() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_69()) { + jj_scanpos = xsp; + if (jj_3R_70()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_69() { + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_104() { + if (jj_scan_token(LIST)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(LPAREN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_111()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + while (true) { + xsp = jj_scanpos; + if (jj_3R_112()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + if (jj_scan_token(RPAREN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + xsp = jj_scanpos; + if (jj_3R_113()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_205() { + if (jj_3R_41()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_2()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_47() { + if (jj_scan_token(LBRACKET)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_55()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(RBRACKET)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_129() { + if (jj_scan_token(TRIPLEEQUAL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_128() { + if (jj_scan_token(BANGDOUBLEEQUAL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_127() { + if (jj_scan_token(NOT_EQUAL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_198() { + if (jj_scan_token(LPAREN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_205()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + xsp = jj_scanpos; + if (jj_3R_206()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(RPAREN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_126() { + if (jj_scan_token(DIF)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_125() { + if (jj_scan_token(EQUAL_EQUAL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_54() { + if (jj_3R_68()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_121() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_125()) { + jj_scanpos = xsp; + if (jj_3R_126()) { + jj_scanpos = xsp; + if (jj_3R_127()) { + jj_scanpos = xsp; + if (jj_3R_128()) { + jj_scanpos = xsp; + if (jj_3R_129()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_120()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_53() { + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_118() { + if (jj_3R_120()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_121()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_105() { + if (jj_scan_token(PRINT)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_214() { + if (jj_scan_token(ARRAYASSIGN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_41() { + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_214()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_52() { + if (jj_scan_token(LBRACE)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_49()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(RBRACE)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_119() { + if (jj_scan_token(BIT_AND)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_118()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_46() { + if (jj_scan_token(CLASSACCESS)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_52()) { + jj_scanpos = xsp; + if (jj_3R_53()) { + jj_scanpos = xsp; + if (jj_3R_54()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_40() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_46()) { + jj_scanpos = xsp; + if (jj_3R_47()) { + jj_scanpos = xsp; + if (jj_3R_48()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_114() { + if (jj_3R_118()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_119()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + static private boolean jj_initialized_once = false; static public PHPParserTokenManager token_source; static SimpleCharStream jj_input_stream; @@ -7116,7 +7263,7 @@ final ArrayList list = new ArrayList(); static public boolean lookingAhead = false; static private boolean jj_semLA; static private int jj_gen; - static final private int[] jj_la1 = new int[126]; + static final private int[] jj_la1 = new int[128]; static private int[] jj_la1_0; static private int[] jj_la1_1; static private int[] jj_la1_2; @@ -7130,19 +7277,19 @@ final ArrayList list = new ArrayList(); jj_la1_4(); } private static void jj_la1_0() { - jj_la1_0 = new int[] {0x5800001e,0x6,0x6,0x5800001e,0x0,0x58000000,0x0,0x30000000,0x30000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40000000,0x40000000,0x8,0x6,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x58000010,0x58000010,0x58000000,0x58000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x58000010,0x58000010,0x0,0x0,0x40000010,0x40000010,0x80000000,0x0,0x40000010,0x80000000,0x0,0x40000010,0x40000010,0x40000010,0x40000010,0x40000010,0x40000000,0x40000000,0x0,0x0,0x0,0x40000000,0x40000000,0x0,0x0,0x0,0x0,}; + jj_la1_0 = new int[] {0x5800001e,0x6,0x6,0x5800001e,0x0,0x58000000,0x0,0x30000000,0x30000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40000000,0x40000000,0x8,0x6,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x58000010,0x58000010,0x58000000,0x58000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x58000010,0x58000010,0x0,0x0,0x40000010,0x40000010,0x80000000,0x0,0x40000010,0x80000000,0x0,0x40000010,0x40000010,0x40000010,0x40000010,0x40000010,0x40000000,0x40000000,0x0,0x0,0x0,0x40000000,0x40000000,0x0,0x0,0x0,0x0,}; } private static void jj_la1_1() { - jj_la1_1 = new int[] {0xd7541ffe,0x0,0x0,0xd7541ffe,0x0,0xd7541ffe,0x200000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc2000002,0x8000,0xc300001a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc300001a,0x18,0x18,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc3000002,0xc3000002,0xc3000002,0x0,0xc3000002,0x2,0x0,0x0,0x0,0x1000002,0x4000,0x0,0x0,0x0,0x1000000,0x0,0x0,0xc300001a,0xc300001a,0xc300001a,0xc300001a,0x2000,0xc2000000,0xc300001a,0x0,0x0,0x14541fe0,0xd7541ffe,0x0,0x0,0x3c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffa,0x0,0x0,0x0,0x0,0x1000002,0x0,0x90000,0x90000,0xd7541ffe,0xd7541ffe,0x90000,0xc300001a,0xd7541ffe,0xd7541ffe,0x0,0x1,0xd7541ffe,0x0,0x1,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xc300001a,0xc300001a,0xc300001a,0xd7541ffe,0xd7541ffe,0xc300001a,0x0,0xc300001a,0xc300001a,}; + jj_la1_1 = new int[] {0xd7541ffe,0x0,0x0,0xd7541ffe,0x0,0xd7541ffe,0x200000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc2000002,0x8000,0xc300001a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc300001a,0x18,0x18,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc3000002,0xc3000002,0xc3000002,0x0,0xc3000002,0x2,0x0,0x0,0x0,0x1000002,0x4000,0x0,0x0,0x0,0x1000000,0x0,0x0,0xc300001a,0xc300001a,0xc300001a,0xc300001a,0x2000,0xc2000000,0x0,0x0,0xc300001a,0x0,0x0,0x14541fe0,0xd7541ffe,0x0,0x0,0x3c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffa,0x0,0x0,0x0,0x0,0x1000002,0x0,0x90000,0x90000,0xd7541ffe,0xd7541ffe,0x90000,0xc300001a,0xd7541ffe,0xd7541ffe,0x0,0x1,0xd7541ffe,0x0,0x1,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xd7541ffe,0xc300001a,0xc300001a,0xc300001a,0xd7541ffe,0xd7541ffe,0xc300001a,0x0,0xc300001a,0xc300001a,}; } private static void jj_la1_2() { - jj_la1_2 = new int[] {0x27870021,0x0,0x0,0x27870021,0x0,0x27870021,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6000000,0x0,0x27870000,0x0,0x20000000,0x0,0x20000000,0x20000000,0xff80,0x0,0x27870000,0x20000,0x0,0x0,0x80000,0x200000,0x200000,0x400000,0x400000,0x0,0x40000000,0x80000000,0x20000000,0x0,0x0,0x0,0x0,0x0,0x0,0x6000000,0x6000000,0x18000000,0x18000000,0x27870000,0x27830000,0x27800000,0x1800000,0x20000000,0xff80,0x1800000,0x1800000,0x20000000,0x20000000,0x0,0x0,0x0,0x0,0x0,0xff80,0x0,0x2787ff80,0x2787ff80,0x2787ff80,0x2787ff80,0x0,0x0,0x27870000,0x0,0x10000,0x10021,0x27870021,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x27870021,0x27870021,0x27870021,0x27870021,0x0,0x0,0x1800000,0x1800000,0x21800000,0x100000,0x0,0x0,0x27870021,0x27870021,0x0,0x27870000,0x27870021,0x27870021,0x0,0x0,0x27870021,0x0,0x0,0x27970021,0x27870021,0x27870021,0x27870021,0x27870021,0x27870021,0x27970021,0x27870000,0x27870000,0x27870000,0x27870021,0x27970021,0x27870000,0x0,0x27870000,0x27870000,}; + jj_la1_2 = new int[] {0x27870021,0x0,0x0,0x27870021,0x0,0x27870021,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6000000,0x0,0x27870000,0x0,0x20000000,0x0,0x20000000,0x20000000,0xff80,0x0,0x27870000,0x20000,0x0,0x0,0x80000,0x200000,0x200000,0x400000,0x400000,0x0,0x40000000,0x80000000,0x20000000,0x0,0x0,0x0,0x0,0x0,0x0,0x6000000,0x6000000,0x18000000,0x18000000,0x27870000,0x27830000,0x27800000,0x1800000,0x20000000,0xff80,0x1800000,0x1800000,0x20000000,0x20000000,0x0,0x0,0x0,0x0,0x0,0xff80,0x0,0x2787ff80,0x2787ff80,0x2787ff80,0x2787ff80,0x0,0x0,0x0,0x0,0x27870000,0x0,0x10000,0x10021,0x27870021,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x27870021,0x27870021,0x27870021,0x27870021,0x0,0x0,0x1800000,0x1800000,0x21800000,0x100000,0x0,0x0,0x27870021,0x27870021,0x0,0x27870000,0x27870021,0x27870021,0x0,0x0,0x27870021,0x0,0x0,0x27970021,0x27870021,0x27870021,0x27870021,0x27870021,0x27870021,0x27970021,0x27870000,0x27870000,0x27870000,0x27870021,0x27970021,0x27870000,0x0,0x27870000,0x27870000,}; } private static void jj_la1_3() { - jj_la1_3 = new int[] {0x8a31440,0x0,0x0,0x8a31440,0x8000000,0x8a31440,0x0,0x0,0x0,0x10000000,0x820000,0x0,0x0,0x830000,0x440,0x440,0x21440,0x0,0x231440,0x10000000,0x0,0x10000000,0x10000,0x0,0x0,0x0,0x231440,0x0,0x0,0x0,0x0,0x10,0x10,0x20,0x20,0x20000000,0x0,0x0,0x0,0x0,0x0,0xc0000000,0xc0000000,0xe,0xe,0x0,0x0,0x1,0x1,0x231440,0x231440,0x231440,0x0,0x231440,0x0,0x0,0x0,0x0,0x30000,0x0,0x200000,0x200000,0x200000,0x30000,0x30000,0x830000,0x231440,0x231440,0x231440,0x231440,0x2800000,0x1440,0x231440,0x10000000,0x0,0x8820000,0x8a31440,0x0,0x0,0x0,0x10000,0x10000000,0x10000,0x0,0x10000000,0x10000000,0x10000000,0x8a31440,0x8a31440,0x8a31440,0x8a31440,0x10000000,0x0,0x0,0x0,0x30000,0x800000,0x0,0x0,0x8a31440,0x8a31440,0x0,0x231440,0x8a31440,0x8a31440,0x0,0x0,0x8a31440,0x0,0x0,0x8a31440,0x8a31440,0x8a31440,0x8a31440,0x8a31440,0x8a31440,0x8a31440,0x231440,0x231440,0x231440,0x8a31440,0x8a31440,0x231440,0x10000000,0x231440,0x231440,}; + jj_la1_3 = new int[] {0x18011440,0x0,0x0,0x18011440,0x0,0x18011440,0x0,0x0,0x0,0x0,0x10000000,0x0,0x0,0x18000000,0x440,0x440,0x10011440,0x0,0x18011440,0x0,0x0,0x0,0x8000000,0x0,0x0,0x0,0x18011440,0x0,0x0,0x0,0x0,0x10,0x10,0x20,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xe,0xe,0x0,0x0,0x1,0x1,0x18011440,0x18011440,0x18011440,0x0,0x18011440,0x0,0x0,0x0,0x0,0x18000000,0x0,0x0,0x0,0x0,0x18000000,0x18000000,0x18000000,0x18011440,0x18011440,0x18011440,0x18011440,0x0,0x11440,0x20000,0x10080000,0x18011440,0x0,0x0,0x10000000,0x18011440,0x0,0x0,0x0,0x8000000,0x0,0x8000000,0x0,0x0,0x0,0x0,0x18011440,0x18011440,0x18011440,0x18011440,0x0,0x0,0x0,0x0,0x18000000,0x0,0x0,0x0,0x18011440,0x18011440,0x0,0x18011440,0x18011440,0x18011440,0x0,0x0,0x18011440,0x0,0x0,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x18011440,0x0,0x18011440,0x18011440,}; } private static void jj_la1_4() { - jj_la1_4 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xfff80,0x0,0x0,0x0,0xfff80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x79,0x79,0x6,0x6,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; + jj_la1_4 = new int[] {0x8a,0x0,0x0,0x8a,0x80,0x8a,0x0,0x0,0x0,0x100,0x8,0x80000,0x80000,0x8,0x0,0x0,0x0,0x0,0x2,0x100,0x0,0x100,0x0,0x0,0x0,0xfff80000,0x2,0x0,0x0,0xfff80000,0x0,0x0,0x0,0x0,0x0,0x200,0x0,0x0,0x0,0x79000,0x79000,0x6c00,0x6c00,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x2,0x2,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x2,0x2,0x0,0x0,0x8,0x2,0x2,0x2,0x2,0x28,0x0,0x0,0x0,0x2,0x100,0x0,0x88,0x8a,0x0,0x0,0x0,0x0,0x100,0x0,0x80000,0x100,0x100,0x100,0x8a,0x8a,0x8a,0x8a,0x100,0x80000,0x0,0x0,0x0,0x8,0x0,0x0,0x8a,0x8a,0x0,0x2,0x8a,0x8a,0x0,0x0,0x8a,0x0,0x0,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x2,0x2,0x2,0x8a,0x8a,0x2,0x100,0x2,0x2,}; } static final private JJCalls[] jj_2_rtns = new JJCalls[5]; static private boolean jj_rescan = false; @@ -7161,7 +7308,7 @@ final ArrayList list = new ArrayList(); token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 126; i++) jj_la1[i] = -1; + for (int i = 0; i < 128; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -7171,7 +7318,7 @@ final ArrayList list = new ArrayList(); token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 126; i++) jj_la1[i] = -1; + for (int i = 0; i < 128; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -7188,7 +7335,7 @@ final ArrayList list = new ArrayList(); token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 126; i++) jj_la1[i] = -1; + for (int i = 0; i < 128; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -7198,7 +7345,7 @@ final ArrayList list = new ArrayList(); token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 126; i++) jj_la1[i] = -1; + for (int i = 0; i < 128; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -7214,7 +7361,7 @@ final ArrayList list = new ArrayList(); token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 126; i++) jj_la1[i] = -1; + for (int i = 0; i < 128; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -7223,7 +7370,7 @@ final ArrayList list = new ArrayList(); token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 126; i++) jj_la1[i] = -1; + for (int i = 0; i < 128; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -7330,15 +7477,15 @@ final ArrayList list = new ArrayList(); static public ParseException generateParseException() { jj_expentries.removeAllElements(); - boolean[] la1tokens = new boolean[148]; - for (int i = 0; i < 148; i++) { + boolean[] la1tokens = new boolean[160]; + for (int i = 0; i < 160; i++) { la1tokens[i] = false; } if (jj_kind >= 0) { la1tokens[jj_kind] = true; jj_kind = -1; } - for (int i = 0; i < 126; i++) { + for (int i = 0; i < 128; i++) { if (jj_la1[i] == jj_gen) { for (int j = 0; j < 32; j++) { if ((jj_la1_0[i] & (1< | - | | )> -| + | )> +//| | | } + SKIP : +{ + : IN_STRING +} + + TOKEN : +{ + : IN_STRING +} + + + TOKEN : +{ + : DOLLAR_IN_STRING +} + + TOKEN : +{ + : PHPPARSING +} + + TOKEN : +{ + : DOLLAR_IN_STRING_EXPR +} + + SPECIAL_TOKEN : +{ + <"{"> : SKIPSTRING +} + + SPECIAL_TOKEN : +{ + <"}"> : IN_STRING +} + + SKIP : +{ + <~[]> +} + + TOKEN : +{ + : DOLLAR_IN_STRING +} + + TOKEN : +{ + +} + + SKIP : +{ + <~[]> +} + + SKIP : +{ + <~[]> +} /* IDENTIFIERS */ TOKEN : { : IN_VARIABLE} - TOKEN : + TOKEN : { |) (||)* > | @@ -618,6 +678,10 @@ MORE : > } + SPECIAL_TOKEN : +{ + < ~[] > : IN_STRING +} /* SEPARATORS */ TOKEN : @@ -1914,6 +1978,7 @@ AbstractVariable VariableSuffix(final AbstractVariable prefix) : Literal Literal() : { final Token token; + StringLiteral literal; } { token = {return new NumberLiteral(token);} @@ -1922,6 +1987,43 @@ Literal Literal() : | token = {return new TrueLiteral(token);} | token = {return new FalseLiteral(token);} | token = {return new NullLiteral(token);} +| literal = evaluableString() {return literal;} +} + +StringLiteral evaluableString() : +{ + ArrayList list = new ArrayList(); + Token start,end; + Token token,lbrace,rbrace; + AbstractVariable var; + Expression expr; +} +{ + start = + ( + + ( + token = {list.add(new Variable(token.image, + token.sourceStart, + token.sourceEnd));} + | + lbrace = + token = + {list.add(new Variable(token.image, + token.sourceStart, + token.sourceEnd));} + rbrace = + ) + )* + end = + { + AbstractVariable[] vars = new AbstractVariable[list.size()]; + list.toArray(vars); + return new StringLiteral(SimpleCharStream.currentBuffer.substring(start.sourceEnd,end.sourceStart), + start.sourceStart, + end.sourceEnd, + vars); + } } FunctionCall Arguments(final Expression func) : diff --git a/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java b/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java index 85ec698..6fc6c54 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java @@ -91,45 +91,51 @@ public interface PHPParserConstants { int FLOATING_POINT_LITERAL = 106; int EXPONENT = 107; int STRING_LITERAL = 108; - int STRING_1 = 109; - int STRING_2 = 110; - int STRING_3 = 111; - int DOLLAR = 112; - int IDENTIFIER = 113; - int LETTER = 114; - int DIGIT = 115; - int SPECIAL = 116; - int LPAREN = 117; - int RPAREN = 118; - int LBRACE = 119; - int RBRACE = 120; - int LBRACKET = 121; - int RBRACKET = 122; - int SEMICOLON = 123; - int COMMA = 124; - int DOT = 125; - int GT = 126; - int LT = 127; - int EQUAL_EQUAL = 128; - int LE = 129; - int GE = 130; - int NOT_EQUAL = 131; - int DIF = 132; - int BANGDOUBLEEQUAL = 133; - int TRIPLEEQUAL = 134; - int ASSIGN = 135; - int PLUSASSIGN = 136; - int MINUSASSIGN = 137; - int STARASSIGN = 138; - int SLASHASSIGN = 139; - int ANDASSIGN = 140; - int ORASSIGN = 141; - int XORASSIGN = 142; - int DOTASSIGN = 143; - int REMASSIGN = 144; - int TILDEEQUAL = 145; - int LSHIFTASSIGN = 146; - int RSIGNEDSHIFTASSIGN = 147; + int STRING_2 = 109; + int STRING_3 = 110; + int ESCAPED = 111; + int DOUBLEQUOTE = 112; + int DOLLARS = 113; + int DOUBLEQUOTE2 = 114; + int LBRACE1 = 115; + int RBRACE1 = 119; + int ID = 120; + int DOLLAR = 123; + int IDENTIFIER = 124; + int LETTER = 125; + int DIGIT = 126; + int SPECIAL = 127; + int LPAREN = 129; + int RPAREN = 130; + int LBRACE = 131; + int RBRACE = 132; + int LBRACKET = 133; + int RBRACKET = 134; + int SEMICOLON = 135; + int COMMA = 136; + int DOT = 137; + int GT = 138; + int LT = 139; + int EQUAL_EQUAL = 140; + int LE = 141; + int GE = 142; + int NOT_EQUAL = 143; + int DIF = 144; + int BANGDOUBLEEQUAL = 145; + int TRIPLEEQUAL = 146; + int ASSIGN = 147; + int PLUSASSIGN = 148; + int MINUSASSIGN = 149; + int STARASSIGN = 150; + int SLASHASSIGN = 151; + int ANDASSIGN = 152; + int ORASSIGN = 153; + int XORASSIGN = 154; + int DOTASSIGN = 155; + int REMASSIGN = 156; + int TILDEEQUAL = 157; + int LSHIFTASSIGN = 158; + int RSIGNEDSHIFTASSIGN = 159; int DEFAULT = 0; int PHPPARSING = 1; @@ -137,6 +143,10 @@ public interface PHPParserConstants { int IN_VARIABLE = 3; int IN_FORMAL_COMMENT = 4; int IN_MULTI_LINE_COMMENT = 5; + int IN_STRING = 6; + int DOLLAR_IN_STRING = 7; + int SKIPSTRING = 8; + int DOLLAR_IN_STRING_EXPR = 9; String[] tokenImage = { "", @@ -248,14 +258,26 @@ public interface PHPParserConstants { "", "", "", - "", "", "", + "", + "\"\\\"\"", + "\"$\"", + "\"\\\"\"", + "\"{\"", + "\"{\"", + "\"}\"", + "", + "\"}\"", + "", + "", + "", "\"$\"", "", "", "", "", + "", "\"(\"", "\")\"", "\"{\"", diff --git a/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java b/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java index 1b01b7c..9a4efb3 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java @@ -36,6 +36,225 @@ static private final int jjStopAtPos(int pos, int kind) jjmatchedPos = pos; return pos + 1; } +static private final int jjMoveStringLiteralDfa0_5() +{ + switch(curChar) + { + case 42: + return jjMoveStringLiteralDfa1_5(0x2000000L); + case 84: + case 116: + return jjMoveStringLiteralDfa1_5(0x400000L); + default : + return 1; + } +} +static private final int jjMoveStringLiteralDfa1_5(long active0) +{ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + return 1; + } + switch(curChar) + { + case 47: + if ((active0 & 0x2000000L) != 0L) + return jjStopAtPos(1, 25); + break; + case 79: + case 111: + return jjMoveStringLiteralDfa2_5(active0, 0x400000L); + default : + return 2; + } + return 2; +} +static private final int jjMoveStringLiteralDfa2_5(long old0, long active0) +{ + if (((active0 &= old0)) == 0L) + return 2; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + return 2; + } + switch(curChar) + { + case 68: + case 100: + return jjMoveStringLiteralDfa3_5(active0, 0x400000L); + default : + return 3; + } +} +static private final int jjMoveStringLiteralDfa3_5(long old0, long active0) +{ + if (((active0 &= old0)) == 0L) + return 3; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + return 3; + } + switch(curChar) + { + case 79: + case 111: + if ((active0 & 0x400000L) != 0L) + return jjStopAtPos(3, 22); + break; + default : + return 4; + } + return 4; +} +static private final int jjMoveStringLiteralDfa0_8() +{ + switch(curChar) + { + case 125: + return jjStopAtPos(0, 117); + default : + return 1; + } +} +private static final int jjStopStringLiteralDfa_9(int pos, long active0, long active1) +{ + switch (pos) + { + default : + return -1; + } +} +private static final int jjStartNfa_9(int pos, long active0, long active1) +{ + return jjMoveNfa_9(jjStopStringLiteralDfa_9(pos, active0, active1), pos + 1); +} +static private final int jjStartNfaWithStates_9(int pos, int kind, int state) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return pos + 1; } + return jjMoveNfa_9(state, pos + 1); +} +static private final int jjMoveStringLiteralDfa0_9() +{ + switch(curChar) + { + case 125: + return jjStopAtPos(0, 119); + default : + return jjMoveNfa_9(0, 0); + } +} +static private final void jjCheckNAdd(int state) +{ + if (jjrounds[state] != jjround) + { + jjstateSet[jjnewStateCnt++] = state; + jjrounds[state] = jjround; + } +} +static private final void jjAddStates(int start, int end) +{ + do { + jjstateSet[jjnewStateCnt++] = jjnextStates[start]; + } while (start++ != end); +} +static private final void jjCheckNAddTwoStates(int state1, int state2) +{ + jjCheckNAdd(state1); + jjCheckNAdd(state2); +} +static private final void jjCheckNAddStates(int start, int end) +{ + do { + jjCheckNAdd(jjnextStates[start]); + } while (start++ != end); +} +static private final void jjCheckNAddStates(int start) +{ + jjCheckNAdd(jjnextStates[start]); + jjCheckNAdd(jjnextStates[start + 1]); +} +static final long[] jjbitVec0 = { + 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL +}; +static private final int jjMoveNfa_9(int startState, int curPos) +{ + int[] nextStates; + int startsAt = 0; + jjnewStateCnt = 1; + int i = 1; + jjstateSet[0] = startState; + int j, kind = 0x7fffffff; + for (;;) + { + if (++jjround == 0x7fffffff) + ReInitRounds(); + if (curChar < 64) + { + long l = 1L << curChar; + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 0: + kind = 120; + jjstateSet[jjnewStateCnt++] = 0; + break; + default : break; + } + } while(i != startsAt); + } + else if (curChar < 128) + { + long l = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 0: + if ((0xdfffffffffffffffL & l) == 0L) + break; + kind = 120; + jjstateSet[jjnewStateCnt++] = 0; + break; + default : break; + } + } while(i != startsAt); + } + else + { + int i2 = (curChar & 0xff) >> 6; + long l2 = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 0: + if ((jjbitVec0[i2] & l2) == 0L) + break; + if (kind > 120) + kind = 120; + jjstateSet[jjnewStateCnt++] = 0; + break; + default : break; + } + } while(i != startsAt); + } + if (kind != 0x7fffffff) + { + jjmatchedKind = kind; + jjmatchedPos = curPos; + kind = 0x7fffffff; + } + ++curPos; + if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) + return curPos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return curPos; } + } +} static private final int jjMoveStringLiteralDfa0_0() { switch(curChar) @@ -139,20 +358,20 @@ static private final int jjMoveStringLiteralDfa4_0(long old0, long active0) } return 5; } -static private final int jjMoveStringLiteralDfa0_5() +static private final int jjMoveStringLiteralDfa0_4() { switch(curChar) { case 42: - return jjMoveStringLiteralDfa1_5(0x2000000L); + return jjMoveStringLiteralDfa1_4(0x1000000L); case 84: case 116: - return jjMoveStringLiteralDfa1_5(0x400000L); + return jjMoveStringLiteralDfa1_4(0x400000L); default : return 1; } } -static private final int jjMoveStringLiteralDfa1_5(long active0) +static private final int jjMoveStringLiteralDfa1_4(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { @@ -161,18 +380,18 @@ static private final int jjMoveStringLiteralDfa1_5(long active0) switch(curChar) { case 47: - if ((active0 & 0x2000000L) != 0L) - return jjStopAtPos(1, 25); + if ((active0 & 0x1000000L) != 0L) + return jjStopAtPos(1, 24); break; case 79: case 111: - return jjMoveStringLiteralDfa2_5(active0, 0x400000L); + return jjMoveStringLiteralDfa2_4(active0, 0x400000L); default : return 2; } return 2; } -static private final int jjMoveStringLiteralDfa2_5(long old0, long active0) +static private final int jjMoveStringLiteralDfa2_4(long old0, long active0) { if (((active0 &= old0)) == 0L) return 2; @@ -184,12 +403,12 @@ static private final int jjMoveStringLiteralDfa2_5(long old0, long active0) { case 68: case 100: - return jjMoveStringLiteralDfa3_5(active0, 0x400000L); + return jjMoveStringLiteralDfa3_4(active0, 0x400000L); default : return 3; } } -static private final int jjMoveStringLiteralDfa3_5(long old0, long active0) +static private final int jjMoveStringLiteralDfa3_4(long old0, long active0) { if (((active0 &= old0)) == 0L) return 3; @@ -209,6 +428,462 @@ static private final int jjMoveStringLiteralDfa3_5(long old0, long active0) } return 4; } +private static final int jjStopStringLiteralDfa_3(int pos, long active0, long active1, long active2) +{ + switch (pos) + { + case 0: + if ((active1 & 0x3000000000L) != 0L) + { + jjmatchedKind = 124; + return 1; + } + return -1; + case 1: + if ((active1 & 0x1000000000L) != 0L) + return 1; + if ((active1 & 0x2000000000L) != 0L) + { + if (jjmatchedPos != 1) + { + jjmatchedKind = 124; + jjmatchedPos = 1; + } + return 1; + } + return -1; + default : + return -1; + } +} +private static final int jjStartNfa_3(int pos, long active0, long active1, long active2) +{ + return jjMoveNfa_3(jjStopStringLiteralDfa_3(pos, active0, active1, active2), pos + 1); +} +static private final int jjStartNfaWithStates_3(int pos, int kind, int state) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return pos + 1; } + return jjMoveNfa_3(state, pos + 1); +} +static private final int jjMoveStringLiteralDfa0_3() +{ + switch(curChar) + { + case 9: + return jjStopAtPos(0, 12); + case 10: + return jjStopAtPos(0, 13); + case 12: + return jjStopAtPos(0, 15); + case 13: + return jjStopAtPos(0, 14); + case 32: + return jjStopAtPos(0, 11); + case 33: + jjmatchedKind = 81; + return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x28000L); + case 36: + return jjStopAtPos(0, 123); + case 37: + jjmatchedKind = 96; + return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x10000000L); + case 38: + jjmatchedKind = 93; + return jjMoveStringLiteralDfa1_3(0x0L, 0x400000L, 0x1000000L); + case 40: + return jjStopAtPos(0, 129); + case 41: + return jjStopAtPos(0, 130); + case 42: + jjmatchedKind = 91; + return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x400000L); + case 43: + jjmatchedKind = 89; + return jjMoveStringLiteralDfa1_3(0x0L, 0x800000L, 0x100000L); + case 44: + return jjStopAtPos(0, 136); + case 45: + jjmatchedKind = 90; + return jjMoveStringLiteralDfa1_3(0x200000000000L, 0x1000000L, 0x200000L); + case 46: + jjmatchedKind = 137; + return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x8000000L); + case 47: + jjmatchedKind = 92; + return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x800000L); + case 58: + jjmatchedKind = 84; + return jjMoveStringLiteralDfa1_3(0x400000000000L, 0x0L, 0x0L); + case 59: + return jjStopAtPos(0, 135); + case 60: + jjmatchedKind = 139; + return jjMoveStringLiteralDfa1_3(0x0L, 0x200000000L, 0x40012000L); + case 61: + jjmatchedKind = 147; + return jjMoveStringLiteralDfa1_3(0x800000000000L, 0x0L, 0x41000L); + case 62: + jjmatchedKind = 138; + return jjMoveStringLiteralDfa1_3(0x0L, 0xc00000000L, 0x80004000L); + case 63: + jjmatchedKind = 83; + return jjMoveStringLiteralDfa1_3(0x10L, 0x0L, 0x0L); + case 64: + return jjStopAtPos(0, 80); + case 91: + return jjStopAtPos(0, 133); + case 93: + return jjStopAtPos(0, 134); + case 94: + jjmatchedKind = 95; + return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x4000000L); + case 65: + case 97: + return jjMoveStringLiteralDfa1_3(0x0L, 0x2000000000L, 0x0L); + case 79: + case 111: + return jjMoveStringLiteralDfa1_3(0x0L, 0x1000000000L, 0x0L); + case 123: + return jjStopAtPos(0, 131); + case 124: + jjmatchedKind = 94; + return jjMoveStringLiteralDfa1_3(0x0L, 0x200000L, 0x2000000L); + case 125: + return jjStopAtPos(0, 132); + case 126: + jjmatchedKind = 82; + return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x20000000L); + default : + return jjMoveNfa_3(0, 0); + } +} +static private final int jjMoveStringLiteralDfa1_3(long active0, long active1, long active2) +{ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_3(0, active0, active1, active2); + return 1; + } + switch(curChar) + { + case 38: + if ((active1 & 0x400000L) != 0L) + return jjStopAtPos(1, 86); + break; + case 43: + if ((active1 & 0x800000L) != 0L) + return jjStopAtPos(1, 87); + break; + case 45: + if ((active1 & 0x1000000L) != 0L) + return jjStopAtPos(1, 88); + break; + case 58: + if ((active0 & 0x400000000000L) != 0L) + return jjStopAtPos(1, 46); + break; + case 60: + if ((active1 & 0x200000000L) != 0L) + { + jjmatchedKind = 97; + jjmatchedPos = 1; + } + return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x40000000L); + case 61: + if ((active2 & 0x1000L) != 0L) + { + jjmatchedKind = 140; + jjmatchedPos = 1; + } + else if ((active2 & 0x2000L) != 0L) + return jjStopAtPos(1, 141); + else if ((active2 & 0x4000L) != 0L) + return jjStopAtPos(1, 142); + else if ((active2 & 0x8000L) != 0L) + { + jjmatchedKind = 143; + jjmatchedPos = 1; + } + else if ((active2 & 0x100000L) != 0L) + return jjStopAtPos(1, 148); + else if ((active2 & 0x200000L) != 0L) + return jjStopAtPos(1, 149); + else if ((active2 & 0x400000L) != 0L) + return jjStopAtPos(1, 150); + else if ((active2 & 0x800000L) != 0L) + return jjStopAtPos(1, 151); + else if ((active2 & 0x1000000L) != 0L) + return jjStopAtPos(1, 152); + else if ((active2 & 0x2000000L) != 0L) + return jjStopAtPos(1, 153); + else if ((active2 & 0x4000000L) != 0L) + return jjStopAtPos(1, 154); + else if ((active2 & 0x8000000L) != 0L) + return jjStopAtPos(1, 155); + else if ((active2 & 0x10000000L) != 0L) + return jjStopAtPos(1, 156); + else if ((active2 & 0x20000000L) != 0L) + return jjStopAtPos(1, 157); + return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x60000L); + case 62: + if ((active0 & 0x10L) != 0L) + return jjStopAtPos(1, 4); + else if ((active0 & 0x200000000000L) != 0L) + return jjStopAtPos(1, 45); + else if ((active0 & 0x800000000000L) != 0L) + return jjStopAtPos(1, 47); + else if ((active1 & 0x400000000L) != 0L) + { + jjmatchedKind = 98; + jjmatchedPos = 1; + } + else if ((active2 & 0x10000L) != 0L) + return jjStopAtPos(1, 144); + return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x800000000L, active2, 0x80000000L); + case 78: + case 110: + return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x2000000000L, active2, 0L); + case 82: + case 114: + if ((active1 & 0x1000000000L) != 0L) + return jjStartNfaWithStates_3(1, 100, 1); + break; + case 124: + if ((active1 & 0x200000L) != 0L) + return jjStopAtPos(1, 85); + break; + default : + break; + } + return jjStartNfa_3(0, active0, active1, active2); +} +static private final int jjMoveStringLiteralDfa2_3(long old0, long active0, long old1, long active1, long old2, long active2) +{ + if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L) + return jjStartNfa_3(0, old0, old1, old2); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_3(1, 0L, active1, active2); + return 2; + } + switch(curChar) + { + case 61: + if ((active2 & 0x20000L) != 0L) + return jjStopAtPos(2, 145); + else if ((active2 & 0x40000L) != 0L) + return jjStopAtPos(2, 146); + else if ((active2 & 0x40000000L) != 0L) + return jjStopAtPos(2, 158); + else if ((active2 & 0x80000000L) != 0L) + return jjStopAtPos(2, 159); + break; + case 62: + if ((active1 & 0x800000000L) != 0L) + return jjStopAtPos(2, 99); + break; + case 68: + case 100: + if ((active1 & 0x2000000000L) != 0L) + return jjStartNfaWithStates_3(2, 101, 1); + break; + default : + break; + } + return jjStartNfa_3(1, 0L, active1, active2); +} +static private final int jjMoveNfa_3(int startState, int curPos) +{ + int[] nextStates; + int startsAt = 0; + jjnewStateCnt = 2; + int i = 1; + jjstateSet[0] = startState; + int j, kind = 0x7fffffff; + for (;;) + { + if (++jjround == 0x7fffffff) + ReInitRounds(); + if (curChar < 64) + { + long l = 1L << curChar; + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 1: + if ((0x3ff000000000000L & l) == 0L) + break; + kind = 124; + jjstateSet[jjnewStateCnt++] = 1; + break; + default : break; + } + } while(i != startsAt); + } + else if (curChar < 128) + { + long l = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 0: + case 1: + if ((0x87fffffe87fffffeL & l) == 0L) + break; + if (kind > 124) + kind = 124; + jjCheckNAdd(1); + break; + default : break; + } + } while(i != startsAt); + } + else + { + int i2 = (curChar & 0xff) >> 6; + long l2 = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 0: + case 1: + if ((jjbitVec0[i2] & l2) == 0L) + break; + if (kind > 124) + kind = 124; + jjCheckNAdd(1); + break; + default : break; + } + } while(i != startsAt); + } + if (kind != 0x7fffffff) + { + jjmatchedKind = kind; + jjmatchedPos = curPos; + kind = 0x7fffffff; + } + ++curPos; + if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt))) + return curPos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return curPos; } + } +} +private static final int jjStopStringLiteralDfa_6(int pos, long active0, long active1) +{ + switch (pos) + { + default : + return -1; + } +} +private static final int jjStartNfa_6(int pos, long active0, long active1) +{ + return jjMoveNfa_6(jjStopStringLiteralDfa_6(pos, active0, active1), pos + 1); +} +static private final int jjStartNfaWithStates_6(int pos, int kind, int state) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return pos + 1; } + return jjMoveNfa_6(state, pos + 1); +} +static private final int jjMoveStringLiteralDfa0_6() +{ + switch(curChar) + { + case 34: + return jjStopAtPos(0, 114); + case 36: + return jjStopAtPos(0, 113); + case 123: + return jjStopAtPos(0, 116); + default : + return jjMoveNfa_6(0, 0); + } +} +static private final int jjMoveNfa_6(int startState, int curPos) +{ + int[] nextStates; + int startsAt = 0; + jjnewStateCnt = 2; + int i = 1; + jjstateSet[0] = startState; + int j, kind = 0x7fffffff; + for (;;) + { + if (++jjround == 0x7fffffff) + ReInitRounds(); + if (curChar < 64) + { + long l = 1L << curChar; + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 1: + kind = 111; + break; + default : break; + } + } while(i != startsAt); + } + else if (curChar < 128) + { + long l = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 0: + if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 1; + break; + case 1: + if (kind > 111) + kind = 111; + break; + default : break; + } + } while(i != startsAt); + } + else + { + int i2 = (curChar & 0xff) >> 6; + long l2 = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 1: + if ((jjbitVec0[i2] & l2) != 0L && kind > 111) + kind = 111; + break; + default : break; + } + } while(i != startsAt); + } + if (kind != 0x7fffffff) + { + jjmatchedKind = kind; + jjmatchedPos = curPos; + kind = 0x7fffffff; + } + ++curPos; + if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt))) + return curPos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return curPos; } + } +} private static final int jjStopStringLiteralDfa_2(int pos, long active0) { switch (pos) @@ -303,36 +978,6 @@ static private final int jjMoveStringLiteralDfa3_2(long old0, long active0) } return jjStartNfa_2(2, active0); } -static private final void jjCheckNAdd(int state) -{ - if (jjrounds[state] != jjround) - { - jjstateSet[jjnewStateCnt++] = state; - jjrounds[state] = jjround; - } -} -static private final void jjAddStates(int start, int end) -{ - do { - jjstateSet[jjnewStateCnt++] = jjnextStates[start]; - } while (start++ != end); -} -static private final void jjCheckNAddTwoStates(int state1, int state2) -{ - jjCheckNAdd(state1); - jjCheckNAdd(state2); -} -static private final void jjCheckNAddStates(int start, int end) -{ - do { - jjCheckNAdd(jjnextStates[start]); - } while (start++ != end); -} -static private final void jjCheckNAddStates(int start) -{ - jjCheckNAdd(jjnextStates[start]); - jjCheckNAdd(jjnextStates[start + 1]); -} static private final int jjMoveNfa_2(int startState, int curPos) { int[] nextStates; @@ -414,15 +1059,15 @@ private static final int jjStopStringLiteralDfa_1(int pos, long active0, long ac switch (pos) { case 0: - if ((active0 & 0x90000L) != 0L || (active1 & 0x10000000L) != 0L || (active2 & 0x800L) != 0L) - return 2; - if ((active1 & 0x2000000000000000L) != 0L || (active2 & 0x8000L) != 0L) - return 8; if ((active0 & 0xffff1ffff8000000L) != 0L || (active1 & 0x300000ffffL) != 0L) { - jjmatchedKind = 113; + jjmatchedKind = 124; return 14; } + if ((active0 & 0x90000L) != 0L || (active1 & 0x10000000L) != 0L || (active2 & 0x800000L) != 0L) + return 2; + if ((active2 & 0x8000200L) != 0L) + return 8; return -1; case 1: if ((active0 & 0x80000L) != 0L) @@ -433,57 +1078,57 @@ private static final int jjStopStringLiteralDfa_1(int pos, long active0, long ac { if (jjmatchedPos != 1) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 1; } return 14; } return -1; case 2: + if ((active0 & 0x140000020000000L) != 0L || (active1 & 0x200000c020L) != 0L) + return 14; if ((active0 & 0xfeaf1fff98000000L) != 0L || (active1 & 0x3f9fL) != 0L) { if (jjmatchedPos != 2) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 2; } return 14; } - if ((active0 & 0x140000020000000L) != 0L || (active1 & 0x200000c020L) != 0L) - return 14; return -1; case 3: - if ((active0 & 0x6281002980000000L) != 0L || (active1 & 0xe00L) != 0L) - return 14; if ((active0 & 0x9c2e1fd618000000L) != 0L || (active1 & 0xb1bfL) != 0L) { if (jjmatchedPos != 3) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 3; } return 14; } + if ((active0 & 0x6281002980000000L) != 0L || (active1 & 0xe00L) != 0L) + return 14; return -1; case 4: if ((active0 & 0x8802001608000000L) != 0L || (active1 & 0x2009L) != 0L) return 14; if ((active0 & 0x142c1fc090000000L) != 0L || (active1 & 0x95b6L) != 0L) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 4; return 14; } return -1; case 5: + if ((active0 & 0x14001c0080000000L) != 0L || (active1 & 0x1190L) != 0L) + return 14; if ((active0 & 0x2c03c010000000L) != 0L || (active1 & 0x8426L) != 0L) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 5; return 14; } - if ((active0 & 0x14001c0080000000L) != 0L || (active1 & 0x1190L) != 0L) - return 14; return -1; case 6: if ((active0 & 0x2803c000000000L) != 0L || (active1 & 0x8420L) != 0L) @@ -492,28 +1137,28 @@ private static final int jjStopStringLiteralDfa_1(int pos, long active0, long ac { if (jjmatchedPos != 6) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 6; } return 14; } return -1; case 7: - if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x2L) != 0L) - return 14; if ((active0 & 0x30000000000L) != 0L || (active1 & 0x4L) != 0L) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 7; return 14; } + if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x2L) != 0L) + return 14; return -1; case 8: if ((active1 & 0x4L) != 0L) return 14; if ((active0 & 0x30000000000L) != 0L) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 8; return 14; } @@ -521,7 +1166,7 @@ private static final int jjStopStringLiteralDfa_1(int pos, long active0, long ac case 9: if ((active0 & 0x30000000000L) != 0L) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 9; return 14; } @@ -529,7 +1174,7 @@ private static final int jjStopStringLiteralDfa_1(int pos, long active0, long ac case 10: if ((active0 & 0x30000000000L) != 0L) { - jjmatchedKind = 113; + jjmatchedKind = 124; jjmatchedPos = 10; return 14; } @@ -556,64 +1201,66 @@ static private final int jjMoveStringLiteralDfa0_1() { case 33: jjmatchedKind = 81; - return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x28L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x28000L); + case 34: + return jjStopAtPos(0, 112); case 35: return jjStopAtPos(0, 17); case 36: - return jjStopAtPos(0, 112); + return jjStopAtPos(0, 123); case 37: jjmatchedKind = 96; - return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x10000L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x10000000L); case 38: jjmatchedKind = 93; - return jjMoveStringLiteralDfa1_1(0x0L, 0x400000L, 0x1000L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x400000L, 0x1000000L); case 40: - return jjStopAtPos(0, 117); + return jjStopAtPos(0, 129); case 41: - return jjStopAtPos(0, 118); + return jjStopAtPos(0, 130); case 42: jjmatchedKind = 91; - return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x400L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x400000L); case 43: jjmatchedKind = 89; - return jjMoveStringLiteralDfa1_1(0x0L, 0x800000L, 0x100L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x800000L, 0x100000L); case 44: - return jjStopAtPos(0, 124); + return jjStopAtPos(0, 136); case 45: jjmatchedKind = 90; - return jjMoveStringLiteralDfa1_1(0x200000000000L, 0x1000000L, 0x200L); + return jjMoveStringLiteralDfa1_1(0x200000000000L, 0x1000000L, 0x200000L); case 46: - jjmatchedKind = 125; - return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x8000L); + jjmatchedKind = 137; + return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x8000000L); case 47: jjmatchedKind = 92; - return jjMoveStringLiteralDfa1_1(0x90000L, 0x0L, 0x800L); + return jjMoveStringLiteralDfa1_1(0x90000L, 0x0L, 0x800000L); case 58: jjmatchedKind = 84; return jjMoveStringLiteralDfa1_1(0x400000000000L, 0x0L, 0x0L); case 59: - return jjStopAtPos(0, 123); + return jjStopAtPos(0, 135); case 60: - jjmatchedKind = 127; - return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000L, 0x40012L); + jjmatchedKind = 139; + return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000L, 0x40012000L); case 61: - jjmatchedKind = 135; - return jjMoveStringLiteralDfa1_1(0x800000000000L, 0x0L, 0x41L); + jjmatchedKind = 147; + return jjMoveStringLiteralDfa1_1(0x800000000000L, 0x0L, 0x41000L); case 62: - jjmatchedKind = 126; - return jjMoveStringLiteralDfa1_1(0x0L, 0xc00000000L, 0x80004L); + jjmatchedKind = 138; + return jjMoveStringLiteralDfa1_1(0x0L, 0xc00000000L, 0x80004000L); case 63: jjmatchedKind = 83; return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L); case 64: return jjStopAtPos(0, 80); case 91: - return jjStopAtPos(0, 121); + return jjStopAtPos(0, 133); case 93: - return jjStopAtPos(0, 122); + return jjStopAtPos(0, 134); case 94: jjmatchedKind = 95; - return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x4000L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x4000000L); case 65: case 97: return jjMoveStringLiteralDfa1_1(0x200000000L, 0x2000000040L, 0x0L); @@ -666,15 +1313,15 @@ static private final int jjMoveStringLiteralDfa0_1() case 119: return jjMoveStringLiteralDfa1_1(0x0L, 0x1L, 0x0L); case 123: - return jjStopAtPos(0, 119); + return jjStopAtPos(0, 131); case 124: jjmatchedKind = 94; - return jjMoveStringLiteralDfa1_1(0x0L, 0x200000L, 0x2000L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x200000L, 0x2000000L); case 125: - return jjStopAtPos(0, 120); + return jjStopAtPos(0, 132); case 126: jjmatchedKind = 82; - return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x20000L); + return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x20000000L); default : return jjMoveNfa_1(3, 0); } @@ -718,43 +1365,43 @@ static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, l jjmatchedKind = 97; jjmatchedPos = 1; } - return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x40000L); + return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x40000000L); case 61: - if ((active2 & 0x1L) != 0L) - { - jjmatchedKind = 128; - jjmatchedPos = 1; - } - else if ((active2 & 0x2L) != 0L) - return jjStopAtPos(1, 129); - else if ((active2 & 0x4L) != 0L) - return jjStopAtPos(1, 130); - else if ((active2 & 0x8L) != 0L) + if ((active2 & 0x1000L) != 0L) { - jjmatchedKind = 131; + jjmatchedKind = 140; jjmatchedPos = 1; } - else if ((active2 & 0x100L) != 0L) - return jjStopAtPos(1, 136); - else if ((active2 & 0x200L) != 0L) - return jjStopAtPos(1, 137); - else if ((active2 & 0x400L) != 0L) - return jjStopAtPos(1, 138); - else if ((active2 & 0x800L) != 0L) - return jjStopAtPos(1, 139); - else if ((active2 & 0x1000L) != 0L) - return jjStopAtPos(1, 140); else if ((active2 & 0x2000L) != 0L) return jjStopAtPos(1, 141); else if ((active2 & 0x4000L) != 0L) return jjStopAtPos(1, 142); else if ((active2 & 0x8000L) != 0L) - return jjStopAtPos(1, 143); - else if ((active2 & 0x10000L) != 0L) - return jjStopAtPos(1, 144); - else if ((active2 & 0x20000L) != 0L) - return jjStopAtPos(1, 145); - return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x60L); + { + jjmatchedKind = 143; + jjmatchedPos = 1; + } + else if ((active2 & 0x100000L) != 0L) + return jjStopAtPos(1, 148); + else if ((active2 & 0x200000L) != 0L) + return jjStopAtPos(1, 149); + else if ((active2 & 0x400000L) != 0L) + return jjStopAtPos(1, 150); + else if ((active2 & 0x800000L) != 0L) + return jjStopAtPos(1, 151); + else if ((active2 & 0x1000000L) != 0L) + return jjStopAtPos(1, 152); + else if ((active2 & 0x2000000L) != 0L) + return jjStopAtPos(1, 153); + else if ((active2 & 0x4000000L) != 0L) + return jjStopAtPos(1, 154); + else if ((active2 & 0x8000000L) != 0L) + return jjStopAtPos(1, 155); + else if ((active2 & 0x10000000L) != 0L) + return jjStopAtPos(1, 156); + else if ((active2 & 0x20000000L) != 0L) + return jjStopAtPos(1, 157); + return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x60000L); case 62: if ((active0 & 0x10L) != 0L) return jjStopAtPos(1, 4); @@ -767,9 +1414,9 @@ static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, l jjmatchedKind = 98; jjmatchedPos = 1; } - else if ((active2 & 0x10L) != 0L) - return jjStopAtPos(1, 132); - return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x800000000L, active2, 0x80000L); + else if ((active2 & 0x10000L) != 0L) + return jjStopAtPos(1, 144); + return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x800000000L, active2, 0x80000000L); case 65: case 97: return jjMoveStringLiteralDfa2_1(active0, 0x8001000020000000L, active1, 0L, active2, 0L); @@ -850,14 +1497,14 @@ static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long switch(curChar) { case 61: - if ((active2 & 0x20L) != 0L) - return jjStopAtPos(2, 133); - else if ((active2 & 0x40L) != 0L) - return jjStopAtPos(2, 134); + if ((active2 & 0x20000L) != 0L) + return jjStopAtPos(2, 145); else if ((active2 & 0x40000L) != 0L) return jjStopAtPos(2, 146); - else if ((active2 & 0x80000L) != 0L) - return jjStopAtPos(2, 147); + else if ((active2 & 0x40000000L) != 0L) + return jjStopAtPos(2, 158); + else if ((active2 & 0x80000000L) != 0L) + return jjStopAtPos(2, 159); break; case 62: if ((active1 & 0x800000000L) != 0L) @@ -1359,14 +2006,11 @@ static private final int jjMoveStringLiteralDfa11_1(long old0, long active0) } return jjStartNfa_1(10, active0, 0L, 0L); } -static final long[] jjbitVec0 = { - 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL -}; static private final int jjMoveNfa_1(int startState, int curPos) { int[] nextStates; int startsAt = 0; - jjnewStateCnt = 61; + jjnewStateCnt = 52; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; @@ -1386,8 +2030,6 @@ static private final int jjMoveNfa_1(int startState, int curPos) jjCheckNAddStates(0, 6); else if (curChar == 39) jjCheckNAddStates(7, 12); - else if (curChar == 34) - jjCheckNAddStates(13, 18); else if (curChar == 46) jjCheckNAdd(8); else if (curChar == 47) @@ -1402,7 +2044,7 @@ static private final int jjMoveNfa_1(int startState, int curPos) { if (kind > 102) kind = 102; - jjCheckNAddStates(19, 21); + jjCheckNAddStates(13, 15); } break; case 0: @@ -1440,7 +2082,7 @@ static private final int jjMoveNfa_1(int startState, int curPos) break; if (kind > 106) kind = 106; - jjCheckNAddStates(22, 24); + jjCheckNAddStates(16, 18); break; case 10: if ((0x280000000000L & l) != 0L) @@ -1456,8 +2098,8 @@ static private final int jjMoveNfa_1(int startState, int curPos) case 14: if ((0x3ff000000000000L & l) == 0L) break; - if (kind > 113) - kind = 113; + if (kind > 124) + kind = 124; jjstateSet[jjnewStateCnt++] = 14; break; case 15: @@ -1473,14 +2115,14 @@ static private final int jjMoveNfa_1(int startState, int curPos) break; if (kind > 106) kind = 106; - jjCheckNAddStates(25, 27); + jjCheckNAddStates(19, 21); break; case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 106) kind = 106; - jjCheckNAddStates(25, 27); + jjCheckNAddStates(19, 21); break; case 20: if ((0x280000000000L & l) != 0L) @@ -1510,7 +2152,7 @@ static private final int jjMoveNfa_1(int startState, int curPos) break; case 26: if ((0x3ff000000000000L & l) != 0L) - jjCheckNAddStates(28, 30); + jjCheckNAddStates(22, 24); break; case 28: if ((0x280000000000L & l) != 0L) @@ -1525,7 +2167,7 @@ static private final int jjMoveNfa_1(int startState, int curPos) break; if (kind > 102) kind = 102; - jjCheckNAddStates(19, 21); + jjCheckNAddStates(13, 15); break; case 32: if ((0x3ff000000000000L & l) == 0L) @@ -1542,64 +2184,38 @@ static private final int jjMoveNfa_1(int startState, int curPos) jjCheckNAddTwoStates(33, 6); break; case 34: - if (curChar == 34) - jjCheckNAddStates(13, 18); + if (curChar == 39) + jjCheckNAddStates(7, 12); break; case 35: - if ((0xfffffffbffffffffL & l) != 0L) - jjCheckNAddStates(31, 33); + if ((0xffffff7fffffffffL & l) != 0L) + jjCheckNAddStates(25, 27); break; case 37: - jjCheckNAddStates(31, 33); + jjCheckNAddStates(25, 27); break; case 38: - if (curChar == 34 && kind > 108) + if (curChar == 39 && kind > 108) kind = 108; break; case 39: - if ((0xfffffffbffffffffL & l) != 0L) - jjCheckNAddStates(34, 36); + if ((0xffffff7fffffffffL & l) != 0L) + jjCheckNAddStates(28, 30); break; case 41: - jjCheckNAddStates(34, 36); + jjCheckNAddStates(28, 30); break; case 42: - if (curChar == 34 && kind > 109) + if (curChar == 39 && kind > 109) kind = 109; break; - case 43: - if (curChar == 39) - jjCheckNAddStates(7, 12); - break; case 44: - if ((0xffffff7fffffffffL & l) != 0L) - jjCheckNAddStates(37, 39); - break; case 46: - jjCheckNAddStates(37, 39); - break; - case 47: - if (curChar == 39 && kind > 108) - kind = 108; + jjCheckNAddStates(31, 33); break; case 48: - if ((0xffffff7fffffffffL & l) != 0L) - jjCheckNAddStates(40, 42); - break; case 50: - jjCheckNAddStates(40, 42); - break; - case 51: - if (curChar == 39 && kind > 110) - kind = 110; - break; - case 53: - case 55: - jjCheckNAddStates(43, 45); - break; - case 57: - case 59: - jjCheckNAddStates(46, 48); + jjCheckNAddStates(34, 36); break; default : break; } @@ -1615,12 +2231,12 @@ static private final int jjMoveNfa_1(int startState, int curPos) case 3: if ((0x87fffffe87fffffeL & l) != 0L) { - if (kind > 113) - kind = 113; + if (kind > 124) + kind = 124; jjCheckNAdd(14); } else if (curChar == 96) - jjCheckNAddStates(49, 54); + jjCheckNAddStates(37, 42); break; case 1: if (kind > 18) @@ -1632,7 +2248,7 @@ static private final int jjMoveNfa_1(int startState, int curPos) break; case 9: if ((0x2000000020L & l) != 0L) - jjAddStates(55, 56); + jjAddStates(43, 44); break; case 12: if ((0x5000000050L & l) != 0L && kind > 106) @@ -1642,21 +2258,21 @@ static private final int jjMoveNfa_1(int startState, int curPos) case 14: if ((0x87fffffe87fffffeL & l) == 0L) break; - if (kind > 113) - kind = 113; + if (kind > 124) + kind = 124; jjCheckNAdd(14); break; case 19: if ((0x2000000020L & l) != 0L) - jjAddStates(57, 58); + jjAddStates(45, 46); break; case 23: if ((0x2000000020L & l) != 0L) - jjAddStates(59, 60); + jjAddStates(47, 48); break; case 27: if ((0x2000000020L & l) != 0L) - jjAddStates(61, 62); + jjAddStates(49, 50); break; case 31: if ((0x100000001000000L & l) != 0L) @@ -1671,81 +2287,59 @@ static private final int jjMoveNfa_1(int startState, int curPos) break; case 35: if ((0xffffffffefffffffL & l) != 0L) - jjCheckNAddStates(31, 33); + jjCheckNAddStates(25, 27); break; case 36: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 37; break; case 37: - jjCheckNAddStates(31, 33); + jjCheckNAddStates(25, 27); break; case 39: if ((0xffffffffefffffffL & l) != 0L) - jjCheckNAddStates(34, 36); + jjCheckNAddStates(28, 30); break; case 40: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 41; break; case 41: - jjCheckNAddStates(34, 36); + jjCheckNAddStates(28, 30); + break; + case 43: + if (curChar == 96) + jjCheckNAddStates(37, 42); break; case 44: - if ((0xffffffffefffffffL & l) != 0L) - jjCheckNAddStates(37, 39); + if ((0xfffffffeefffffffL & l) != 0L) + jjCheckNAddStates(31, 33); break; case 45: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 46; break; case 46: - jjCheckNAddStates(37, 39); - break; - case 48: - if ((0xffffffffefffffffL & l) != 0L) - jjCheckNAddStates(40, 42); - break; - case 49: - if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 50; - break; - case 50: - jjCheckNAddStates(40, 42); - break; - case 52: - if (curChar == 96) - jjCheckNAddStates(49, 54); - break; - case 53: - if ((0xfffffffeefffffffL & l) != 0L) - jjCheckNAddStates(43, 45); - break; - case 54: - if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 55; - break; - case 55: - jjCheckNAddStates(43, 45); + jjCheckNAddStates(31, 33); break; - case 56: + case 47: if (curChar == 96 && kind > 108) kind = 108; break; - case 57: + case 48: if ((0xfffffffeefffffffL & l) != 0L) - jjCheckNAddStates(46, 48); + jjCheckNAddStates(34, 36); break; - case 58: + case 49: if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 59; + jjstateSet[jjnewStateCnt++] = 50; break; - case 59: - jjCheckNAddStates(46, 48); + case 50: + jjCheckNAddStates(34, 36); break; - case 60: - if (curChar == 96 && kind > 111) - kind = 111; + case 51: + if (curChar == 96 && kind > 110) + kind = 110; break; default : break; } @@ -1763,8 +2357,8 @@ static private final int jjMoveNfa_1(int startState, int curPos) case 14: if ((jjbitVec0[i2] & l2) == 0L) break; - if (kind > 113) - kind = 113; + if (kind > 124) + kind = 124; jjCheckNAdd(14); break; case 1: @@ -1774,32 +2368,22 @@ static private final int jjMoveNfa_1(int startState, int curPos) case 35: case 37: if ((jjbitVec0[i2] & l2) != 0L) - jjCheckNAddStates(31, 33); + jjCheckNAddStates(25, 27); break; case 39: case 41: if ((jjbitVec0[i2] & l2) != 0L) - jjCheckNAddStates(34, 36); + jjCheckNAddStates(28, 30); break; case 44: case 46: if ((jjbitVec0[i2] & l2) != 0L) - jjCheckNAddStates(37, 39); + jjCheckNAddStates(31, 33); break; case 48: case 50: if ((jjbitVec0[i2] & l2) != 0L) - jjCheckNAddStates(40, 42); - break; - case 53: - case 55: - if ((jjbitVec0[i2] & l2) != 0L) - jjCheckNAddStates(43, 45); - break; - case 57: - case 59: - if ((jjbitVec0[i2] & l2) != 0L) - jjCheckNAddStates(46, 48); + jjCheckNAddStates(34, 36); break; default : break; } @@ -1812,354 +2396,49 @@ static private final int jjMoveNfa_1(int startState, int curPos) kind = 0x7fffffff; } ++curPos; - if ((i = jjnewStateCnt) == (startsAt = 61 - (jjnewStateCnt = startsAt))) + if ((i = jjnewStateCnt) == (startsAt = 52 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } -static private final int jjMoveStringLiteralDfa0_4() -{ - switch(curChar) - { - case 42: - return jjMoveStringLiteralDfa1_4(0x1000000L); - case 84: - case 116: - return jjMoveStringLiteralDfa1_4(0x400000L); - default : - return 1; - } -} -static private final int jjMoveStringLiteralDfa1_4(long active0) -{ - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - return 1; - } - switch(curChar) - { - case 47: - if ((active0 & 0x1000000L) != 0L) - return jjStopAtPos(1, 24); - break; - case 79: - case 111: - return jjMoveStringLiteralDfa2_4(active0, 0x400000L); - default : - return 2; - } - return 2; -} -static private final int jjMoveStringLiteralDfa2_4(long old0, long active0) -{ - if (((active0 &= old0)) == 0L) - return 2; - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - return 2; - } - switch(curChar) - { - case 68: - case 100: - return jjMoveStringLiteralDfa3_4(active0, 0x400000L); - default : - return 3; - } -} -static private final int jjMoveStringLiteralDfa3_4(long old0, long active0) -{ - if (((active0 &= old0)) == 0L) - return 3; - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - return 3; - } - switch(curChar) - { - case 79: - case 111: - if ((active0 & 0x400000L) != 0L) - return jjStopAtPos(3, 22); - break; - default : - return 4; - } - return 4; -} -private static final int jjStopStringLiteralDfa_3(int pos, long active0, long active1, long active2) +private static final int jjStopStringLiteralDfa_7(int pos, long active0, long active1) { switch (pos) { - case 0: - if ((active1 & 0x3000000000L) != 0L) - { - jjmatchedKind = 113; - return 1; - } - return -1; - case 1: - if ((active1 & 0x2000000000L) != 0L) - { - if (jjmatchedPos != 1) - { - jjmatchedKind = 113; - jjmatchedPos = 1; - } - return 1; - } - if ((active1 & 0x1000000000L) != 0L) - return 1; - return -1; default : return -1; } } -private static final int jjStartNfa_3(int pos, long active0, long active1, long active2) +private static final int jjStartNfa_7(int pos, long active0, long active1) { - return jjMoveNfa_3(jjStopStringLiteralDfa_3(pos, active0, active1, active2), pos + 1); + return jjMoveNfa_7(jjStopStringLiteralDfa_7(pos, active0, active1), pos + 1); } -static private final int jjStartNfaWithStates_3(int pos, int kind, int state) +static private final int jjStartNfaWithStates_7(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } - return jjMoveNfa_3(state, pos + 1); + return jjMoveNfa_7(state, pos + 1); } -static private final int jjMoveStringLiteralDfa0_3() +static private final int jjMoveStringLiteralDfa0_7() { switch(curChar) { - case 9: - return jjStopAtPos(0, 12); - case 10: - return jjStopAtPos(0, 13); - case 12: - return jjStopAtPos(0, 15); - case 13: - return jjStopAtPos(0, 14); - case 32: - return jjStopAtPos(0, 11); - case 33: - jjmatchedKind = 81; - return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x28L); - case 36: - return jjStopAtPos(0, 112); - case 37: - jjmatchedKind = 96; - return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x10000L); - case 38: - jjmatchedKind = 93; - return jjMoveStringLiteralDfa1_3(0x0L, 0x400000L, 0x1000L); - case 40: - return jjStopAtPos(0, 117); - case 41: - return jjStopAtPos(0, 118); - case 42: - jjmatchedKind = 91; - return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x400L); - case 43: - jjmatchedKind = 89; - return jjMoveStringLiteralDfa1_3(0x0L, 0x800000L, 0x100L); - case 44: - return jjStopAtPos(0, 124); - case 45: - jjmatchedKind = 90; - return jjMoveStringLiteralDfa1_3(0x200000000000L, 0x1000000L, 0x200L); - case 46: - jjmatchedKind = 125; - return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x8000L); - case 47: - jjmatchedKind = 92; - return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x800L); - case 58: - jjmatchedKind = 84; - return jjMoveStringLiteralDfa1_3(0x400000000000L, 0x0L, 0x0L); - case 59: - return jjStopAtPos(0, 123); - case 60: - jjmatchedKind = 127; - return jjMoveStringLiteralDfa1_3(0x0L, 0x200000000L, 0x40012L); - case 61: - jjmatchedKind = 135; - return jjMoveStringLiteralDfa1_3(0x800000000000L, 0x0L, 0x41L); - case 62: - jjmatchedKind = 126; - return jjMoveStringLiteralDfa1_3(0x0L, 0xc00000000L, 0x80004L); - case 63: - jjmatchedKind = 83; - return jjMoveStringLiteralDfa1_3(0x10L, 0x0L, 0x0L); - case 64: - return jjStopAtPos(0, 80); - case 91: - return jjStopAtPos(0, 121); - case 93: - return jjStopAtPos(0, 122); - case 94: - jjmatchedKind = 95; - return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x4000L); - case 65: - case 97: - return jjMoveStringLiteralDfa1_3(0x0L, 0x2000000000L, 0x0L); - case 79: - case 111: - return jjMoveStringLiteralDfa1_3(0x0L, 0x1000000000L, 0x0L); + case 34: + return jjStopAtPos(0, 114); case 123: - return jjStopAtPos(0, 119); - case 124: - jjmatchedKind = 94; - return jjMoveStringLiteralDfa1_3(0x0L, 0x200000L, 0x2000L); - case 125: - return jjStopAtPos(0, 120); - case 126: - jjmatchedKind = 82; - return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x20000L); + return jjStopAtPos(0, 115); default : - return jjMoveNfa_3(0, 0); + return jjMoveNfa_7(0, 0); } } -static private final int jjMoveStringLiteralDfa1_3(long active0, long active1, long active2) -{ - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_3(0, active0, active1, active2); - return 1; - } - switch(curChar) - { - case 38: - if ((active1 & 0x400000L) != 0L) - return jjStopAtPos(1, 86); - break; - case 43: - if ((active1 & 0x800000L) != 0L) - return jjStopAtPos(1, 87); - break; - case 45: - if ((active1 & 0x1000000L) != 0L) - return jjStopAtPos(1, 88); - break; - case 58: - if ((active0 & 0x400000000000L) != 0L) - return jjStopAtPos(1, 46); - break; - case 60: - if ((active1 & 0x200000000L) != 0L) - { - jjmatchedKind = 97; - jjmatchedPos = 1; - } - return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x40000L); - case 61: - if ((active2 & 0x1L) != 0L) - { - jjmatchedKind = 128; - jjmatchedPos = 1; - } - else if ((active2 & 0x2L) != 0L) - return jjStopAtPos(1, 129); - else if ((active2 & 0x4L) != 0L) - return jjStopAtPos(1, 130); - else if ((active2 & 0x8L) != 0L) - { - jjmatchedKind = 131; - jjmatchedPos = 1; - } - else if ((active2 & 0x100L) != 0L) - return jjStopAtPos(1, 136); - else if ((active2 & 0x200L) != 0L) - return jjStopAtPos(1, 137); - else if ((active2 & 0x400L) != 0L) - return jjStopAtPos(1, 138); - else if ((active2 & 0x800L) != 0L) - return jjStopAtPos(1, 139); - else if ((active2 & 0x1000L) != 0L) - return jjStopAtPos(1, 140); - else if ((active2 & 0x2000L) != 0L) - return jjStopAtPos(1, 141); - else if ((active2 & 0x4000L) != 0L) - return jjStopAtPos(1, 142); - else if ((active2 & 0x8000L) != 0L) - return jjStopAtPos(1, 143); - else if ((active2 & 0x10000L) != 0L) - return jjStopAtPos(1, 144); - else if ((active2 & 0x20000L) != 0L) - return jjStopAtPos(1, 145); - return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x60L); - case 62: - if ((active0 & 0x10L) != 0L) - return jjStopAtPos(1, 4); - else if ((active0 & 0x200000000000L) != 0L) - return jjStopAtPos(1, 45); - else if ((active0 & 0x800000000000L) != 0L) - return jjStopAtPos(1, 47); - else if ((active1 & 0x400000000L) != 0L) - { - jjmatchedKind = 98; - jjmatchedPos = 1; - } - else if ((active2 & 0x10L) != 0L) - return jjStopAtPos(1, 132); - return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x800000000L, active2, 0x80000L); - case 78: - case 110: - return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x2000000000L, active2, 0L); - case 82: - case 114: - if ((active1 & 0x1000000000L) != 0L) - return jjStartNfaWithStates_3(1, 100, 1); - break; - case 124: - if ((active1 & 0x200000L) != 0L) - return jjStopAtPos(1, 85); - break; - default : - break; - } - return jjStartNfa_3(0, active0, active1, active2); -} -static private final int jjMoveStringLiteralDfa2_3(long old0, long active0, long old1, long active1, long old2, long active2) -{ - if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L) - return jjStartNfa_3(0, old0, old1, old2); - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_3(1, 0L, active1, active2); - return 2; - } - switch(curChar) - { - case 61: - if ((active2 & 0x20L) != 0L) - return jjStopAtPos(2, 133); - else if ((active2 & 0x40L) != 0L) - return jjStopAtPos(2, 134); - else if ((active2 & 0x40000L) != 0L) - return jjStopAtPos(2, 146); - else if ((active2 & 0x80000L) != 0L) - return jjStopAtPos(2, 147); - break; - case 62: - if ((active1 & 0x800000000L) != 0L) - return jjStopAtPos(2, 99); - break; - case 68: - case 100: - if ((active1 & 0x2000000000L) != 0L) - return jjStartNfaWithStates_3(2, 101, 1); - break; - default : - break; - } - return jjStartNfa_3(1, 0L, active1, active2); -} -static private final int jjMoveNfa_3(int startState, int curPos) +static private final int jjMoveNfa_7(int startState, int curPos) { int[] nextStates; int startsAt = 0; - jjnewStateCnt = 2; + jjnewStateCnt = 4; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; @@ -2175,10 +2454,15 @@ static private final int jjMoveNfa_3(int startState, int curPos) switch(jjstateSet[--i]) { case 1: + if (kind > 111) + kind = 111; + break; + case 3: if ((0x3ff000000000000L & l) == 0L) break; - kind = 113; - jjstateSet[jjnewStateCnt++] = 1; + if (kind > 124) + kind = 124; + jjstateSet[jjnewStateCnt++] = 3; break; default : break; } @@ -2192,12 +2476,26 @@ static private final int jjMoveNfa_3(int startState, int curPos) switch(jjstateSet[--i]) { case 0: + if ((0x87fffffe87fffffeL & l) != 0L) + { + if (kind > 124) + kind = 124; + jjCheckNAdd(3); + } + else if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 1; + break; case 1: + if (kind > 111) + kind = 111; + break; + case 2: + case 3: if ((0x87fffffe87fffffeL & l) == 0L) break; - if (kind > 113) - kind = 113; - jjCheckNAdd(1); + if (kind > 124) + kind = 124; + jjCheckNAdd(3); break; default : break; } @@ -2212,12 +2510,16 @@ static private final int jjMoveNfa_3(int startState, int curPos) switch(jjstateSet[--i]) { case 0: - case 1: + case 3: if ((jjbitVec0[i2] & l2) == 0L) break; - if (kind > 113) - kind = 113; - jjCheckNAdd(1); + if (kind > 124) + kind = 124; + jjCheckNAdd(3); + break; + case 1: + if ((jjbitVec0[i2] & l2) != 0L && kind > 111) + kind = 111; break; default : break; } @@ -2230,17 +2532,17 @@ static private final int jjMoveNfa_3(int startState, int curPos) kind = 0x7fffffff; } ++curPos; - if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt))) + if ((i = jjnewStateCnt) == (startsAt = 4 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } static final int[] jjnextStates = { - 16, 17, 22, 23, 26, 27, 12, 44, 45, 47, 48, 49, 51, 35, 36, 38, - 39, 40, 42, 31, 33, 6, 8, 9, 12, 18, 19, 12, 26, 27, 12, 35, - 36, 38, 39, 40, 42, 44, 45, 47, 48, 49, 51, 53, 54, 56, 57, 58, - 60, 53, 54, 56, 57, 58, 60, 10, 11, 20, 21, 24, 25, 28, 29, + 16, 17, 22, 23, 26, 27, 12, 35, 36, 38, 39, 40, 42, 31, 33, 6, + 8, 9, 12, 18, 19, 12, 26, 27, 12, 35, 36, 38, 39, 40, 42, 44, + 45, 47, 48, 49, 51, 44, 45, 47, 48, 49, 51, 10, 11, 20, 21, 24, + 25, 28, 29, }; public static final String[] jjstrLiteralImages = { "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null, @@ -2251,9 +2553,10 @@ null, null, null, null, null, null, null, null, null, null, null, null, null, nu null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "\100", "\41", "\176", "\77", "\72", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76", -"\76\76\76", null, null, null, null, null, null, null, null, null, null, null, null, "\44", -null, null, null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54", -"\56", "\76", "\74", "\75\75", "\74\75", "\76\75", "\41\75", "\74\76", "\41\75\75", +"\76\76\76", null, null, null, null, null, null, null, null, null, null, null, null, "\42", +"\44", "\42", "\173", null, null, null, "\175", null, null, null, "\44", null, null, +null, null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54", "\56", +"\76", "\74", "\75\75", "\74\75", "\76\75", "\41\75", "\74\76", "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\176\75", "\74\74\75", "\76\76\75", }; public static final String[] lexStateNames = { @@ -2263,30 +2566,35 @@ public static final String[] lexStateNames = { "IN_VARIABLE", "IN_FORMAL_COMMENT", "IN_MULTI_LINE_COMMENT", + "IN_STRING", + "DOLLAR_IN_STRING", + "SKIPSTRING", + "DOLLAR_IN_STRING_EXPR", }; public static final int[] jjnewLexState = { -1, 1, 1, 1, 0, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 2, 2, 4, 5, 1, -1, -1, -1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6, 6, 7, 1, 9, 8, 6, -1, 7, -1, -1, -1, 3, -1, + -1, -1, -1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, }; static final long[] jjtoToken = { - 0xfffffffff880001fL, 0xffe3f47fffffffffL, 0xfffffL, + 0xfffffffff880001fL, 0x198f747fffffffffL, 0xfffffffeL, }; static final long[] jjtoSkip = { - 0x37fffe0L, 0x0L, 0x0L, + 0x37fffe0L, 0x670800000000000L, 0x1L, }; static final long[] jjtoSpecial = { - 0x37ff800L, 0x0L, 0x0L, + 0x37ff800L, 0x30000000000000L, 0x1L, }; static final long[] jjtoMore = { 0x4000000L, 0x0L, 0x0L, }; static protected SimpleCharStream input_stream; -static private final int[] jjrounds = new int[61]; -static private final int[] jjstateSet = new int[122]; +static private final int[] jjrounds = new int[52]; +static private final int[] jjstateSet = new int[104]; static StringBuffer image; static int jjimageLen; static int lengthOfMatch; @@ -2313,7 +2621,7 @@ static private final void ReInitRounds() { int i; jjround = 0x80000001; - for (i = 61; i-- > 0;) + for (i = 52; i-- > 0;) jjrounds[i] = 0x80000000; } static public void ReInit(SimpleCharStream stream, int lexState) @@ -2323,7 +2631,7 @@ static public void ReInit(SimpleCharStream stream, int lexState) } static public void SwitchTo(int lexState) { - if (lexState >= 6 || lexState < 0) + if (lexState >= 10 || lexState < 0) throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); else curLexState = lexState; @@ -2333,12 +2641,21 @@ static protected Token jjFillToken() { Token t = Token.newToken(jjmatchedKind); t.kind = jjmatchedKind; - String im = jjstrLiteralImages[jjmatchedKind]; - t.image = (im == null) ? input_stream.GetImage() : im; - t.beginLine = input_stream.getBeginLine(); - t.beginColumn = input_stream.getBeginColumn(); - t.endLine = input_stream.getEndLine(); - t.endColumn = input_stream.getEndColumn(); + if (jjmatchedPos < 0) + { + t.image = ""; + t.beginLine = t.endLine = input_stream.getBeginLine(); + t.beginColumn = t.endColumn = input_stream.getBeginColumn(); + } + else + { + String im = jjstrLiteralImages[jjmatchedKind]; + t.image = (im == null) ? input_stream.GetImage() : im; + t.beginLine = input_stream.getBeginLine(); + t.beginColumn = input_stream.getBeginColumn(); + t.endLine = input_stream.getEndLine(); + t.endColumn = input_stream.getEndColumn(); + } return t; } @@ -2429,6 +2746,44 @@ public static Token getNextToken() jjmatchedKind = 26; } break; + case 6: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_6(); + if (jjmatchedPos == 0 && jjmatchedKind > 121) + { + jjmatchedKind = 121; + } + break; + case 7: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_7(); + if (jjmatchedPos == 0 && jjmatchedKind > 128) + { + jjmatchedKind = 128; + } + break; + case 8: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_8(); + if (jjmatchedPos == 0 && jjmatchedKind > 118) + { + jjmatchedKind = 118; + } + break; + case 9: + jjmatchedKind = 120; + jjmatchedPos = -1; + curPos = 0; + curPos = jjMoveStringLiteralDfa0_9(); + if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 122)) + { + jjmatchedKind = 122; + jjmatchedPos = 0; + } + break; } if (jjmatchedKind != 0x7fffffff) { @@ -2438,6 +2793,7 @@ public static Token getNextToken() { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; + TokenLexicalActions(matchedToken); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; CommonTokenAction(matchedToken); @@ -2513,4 +2869,12 @@ static void SkipLexicalActions(Token matchedToken) break; } } +static void TokenLexicalActions(Token matchedToken) +{ + switch(jjmatchedKind) + { + default : + break; + } +} } -- 1.7.1