You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/09/25 19:14:58 UTC
(tomcat) branch 10.1.x updated: Partial fix for BZ 69338. Better performance for >2 operand And/Or
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 596c3901ae Partial fix for BZ 69338. Better performance for >2 operand And/Or
596c3901ae is described below
commit 596c3901aef1e8e5b670f4e7df802225ad498d84
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 25 19:55:09 2024 +0100
Partial fix for BZ 69338. Better performance for >2 operand And/Or
https://bz.apache.org/bugzilla/show_bug.cgi?id=69338
---
java/org/apache/el/parser/AstAnd.java | 17 +-
java/org/apache/el/parser/AstOr.java | 17 +-
java/org/apache/el/parser/ELParser.java | 3054 +++++++++----------
java/org/apache/el/parser/ELParser.jjt | 4 +-
java/org/apache/el/parser/ELParserConstants.java | 64 +-
.../org/apache/el/parser/ELParserTokenManager.java | 3082 ++++++++++----------
.../apache/el/parser/TestELParserPerformance.java | 52 +
webapps/docs/changelog.xml | 4 +
8 files changed, 3007 insertions(+), 3287 deletions(-)
diff --git a/java/org/apache/el/parser/AstAnd.java b/java/org/apache/el/parser/AstAnd.java
index 331b529741..aa36d276df 100644
--- a/java/org/apache/el/parser/AstAnd.java
+++ b/java/org/apache/el/parser/AstAnd.java
@@ -34,13 +34,16 @@ public final class AstAnd extends BooleanNode {
@Override
public Object getValue(EvaluationContext ctx) throws ELException {
- Object obj = children[0].getValue(ctx);
- Boolean b = ELSupport.coerceToBoolean(ctx, obj, true);
- if (!b.booleanValue()) {
- return b;
+ int i = 0;
+ while (i < children.length - 1) {
+ Object obj = children[i].getValue(ctx);
+ Boolean b = ELSupport.coerceToBoolean(ctx, obj, true);
+ if (!b.booleanValue()) {
+ return b;
+ }
+ i++;
}
- obj = children[1].getValue(ctx);
- b = ELSupport.coerceToBoolean(ctx, obj, true);
- return b;
+ Object obj = children[i].getValue(ctx);
+ return ELSupport.coerceToBoolean(ctx, obj, true);
}
}
diff --git a/java/org/apache/el/parser/AstOr.java b/java/org/apache/el/parser/AstOr.java
index 031b202599..f6513eee79 100644
--- a/java/org/apache/el/parser/AstOr.java
+++ b/java/org/apache/el/parser/AstOr.java
@@ -34,13 +34,16 @@ public final class AstOr extends BooleanNode {
@Override
public Object getValue(EvaluationContext ctx) throws ELException {
- Object obj = this.children[0].getValue(ctx);
- Boolean b = ELSupport.coerceToBoolean(ctx, obj, true);
- if (b.booleanValue()) {
- return b;
+ int i = 0;
+ while (i < children.length - 1) {
+ Object obj = children[i].getValue(ctx);
+ Boolean b = ELSupport.coerceToBoolean(ctx, obj, true);
+ if (b.booleanValue()) {
+ return b;
+ }
+ i++;
}
- obj = this.children[1].getValue(ctx);
- b = ELSupport.coerceToBoolean(ctx, obj, true);
- return b;
+ Object obj = children[i].getValue(ctx);
+ return ELSupport.coerceToBoolean(ctx, obj, true);
}
}
diff --git a/java/org/apache/el/parser/ELParser.java b/java/org/apache/el/parser/ELParser.java
index b62f9e234a..06c07abe13 100644
--- a/java/org/apache/el/parser/ELParser.java
+++ b/java/org/apache/el/parser/ELParser.java
@@ -6,11 +6,9 @@ import java.io.StringReader;
import jakarta.el.ELException;
@SuppressWarnings("all") // Ignore warnings in generated code
-public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParserConstants {/*@bgen(jjtree)*/
-
+public class ELParser/* @bgen(jjtree) */ implements ELParserTreeConstants, ELParserConstants {/* @bgen(jjtree) */
protected JJTELParserState jjtree = new JJTELParserState();
-
public static Node parse(String ref) throws ELException {
try {
return new ELParser(new StringReader(ref)).CompositeExpression();
@@ -19,48 +17,44 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * CompositeExpression
- * Allow most flexible parsing, restrict by examining
- * type of returned node
+ * CompositeExpression Allow most flexible parsing, restrict by examining type of returned node
*/
final public AstCompositeExpression CompositeExpression()
- throws ParseException {/*@bgen(jjtree) CompositeExpression */
+ throws ParseException {/* @bgen(jjtree) CompositeExpression */
AstCompositeExpression jjtn000 = new AstCompositeExpression(JJTCOMPOSITEEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
- label_1:
- while (true) {
+ label_1: while (true) {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LITERAL_EXPRESSION:
- case START_DYNAMIC_EXPRESSION:
- case START_DEFERRED_EXPRESSION: {
- ;
- break;
- }
- default:
- jj_la1[0] = jj_gen;
- break label_1;
+ case LITERAL_EXPRESSION:
+ case START_DYNAMIC_EXPRESSION:
+ case START_DEFERRED_EXPRESSION: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[0] = jj_gen;
+ break label_1;
}
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_DEFERRED_EXPRESSION: {
- DeferredExpression();
- break;
- }
- case START_DYNAMIC_EXPRESSION: {
- DynamicExpression();
- break;
- }
- case LITERAL_EXPRESSION: {
- LiteralExpression();
- break;
- }
- default:
- jj_la1[1] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ case START_DEFERRED_EXPRESSION: {
+ DeferredExpression();
+ break;
+ }
+ case START_DYNAMIC_EXPRESSION: {
+ DynamicExpression();
+ break;
+ }
+ case LITERAL_EXPRESSION: {
+ LiteralExpression();
+ break;
+ }
+ default:
+ jj_la1[1] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
jj_consume_token(0);
@@ -105,12 +99,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
throw new Error("Missing return statement in function");
}
-
/*
- * LiteralExpression
- * Non-EL Expression blocks
+ * LiteralExpression Non-EL Expression blocks
*/
- final public void LiteralExpression() throws ParseException {/*@bgen(jjtree) LiteralExpression */
+ final public void LiteralExpression() throws ParseException {/* @bgen(jjtree) LiteralExpression */
AstLiteralExpression jjtn000 = new AstLiteralExpression(JJTLITERALEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -127,12 +119,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * DeferredExpression
- * #{...} Expressions
+ * DeferredExpression #{...} Expressions
*/
- final public void DeferredExpression() throws ParseException {/*@bgen(jjtree) DeferredExpression */
+ final public void DeferredExpression() throws ParseException {/* @bgen(jjtree) DeferredExpression */
AstDeferredExpression jjtn000 = new AstDeferredExpression(JJTDEFERREDEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -173,12 +163,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * DynamicExpression
- * ${...} Expressions
+ * DynamicExpression ${...} Expressions
*/
- final public void DynamicExpression() throws ParseException {/*@bgen(jjtree) DynamicExpression */
+ final public void DynamicExpression() throws ParseException {/* @bgen(jjtree) DynamicExpression */
AstDynamicExpression jjtn000 = new AstDynamicExpression(JJTDYNAMICEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -219,31 +207,27 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Expression
- * EL Expression Language Root
+ * Expression EL Expression Language Root
*/
final public void Expression() throws ParseException {
Semicolon();
}
-
/*
* Semicolon
*/
final public void Semicolon() throws ParseException {
Assignment();
- label_2:
- while (true) {
+ label_2: while (true) {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case SEMICOLON: {
- ;
- break;
- }
- default:
- jj_la1[2] = jj_gen;
- break label_2;
+ case SEMICOLON: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[2] = jj_gen;
+ break label_2;
}
jj_consume_token(SEMICOLON);
AstSemicolon jjtn001 = new AstSemicolon(JJTSEMICOLON);
@@ -285,7 +269,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
* Assignment
*/
@@ -294,81 +277,79 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
LambdaExpression();
} else {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case NOT0:
- case NOT1:
- case EMPTY:
- case MINUS:
- case IDENTIFIER: {
- Choice();
- label_3:
- while (true) {
- if (jj_2_1(2)) {
- ;
- } else {
- break label_3;
- }
- jj_consume_token(ASSIGN);
- AstAssign jjtn001 = new AstAssign(JJTASSIGN);
- boolean jjtc001 = true;
- jjtree.openNodeScope(jjtn001);
- try {
- Assignment();
- } catch (Throwable jjte001) {
- if (jjtc001) {
- jjtree.clearNodeScope(jjtn001);
- jjtc001 = false;
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case NOT0:
+ case NOT1:
+ case EMPTY:
+ case MINUS:
+ case IDENTIFIER: {
+ Choice();
+ label_3: while (true) {
+ if (jj_2_1(2)) {
+ ;
} else {
- jjtree.popNode();
+ break label_3;
}
- if (jjte001 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte001;
+ jj_consume_token(ASSIGN);
+ AstAssign jjtn001 = new AstAssign(JJTASSIGN);
+ boolean jjtc001 = true;
+ jjtree.openNodeScope(jjtn001);
+ try {
+ Assignment();
+ } catch (Throwable jjte001) {
+ if (jjtc001) {
+ jjtree.clearNodeScope(jjtn001);
+ jjtc001 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte001 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte001;
+ }
+ }
+ }
+ if (jjte001 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte001;
+ }
}
}
- }
- if (jjte001 instanceof ParseException) {
{
if (true) {
- throw (ParseException) jjte001;
+ throw (Error) jjte001;
}
}
- }
- {
- if (true) {
- throw (Error) jjte001;
+ } finally {
+ if (jjtc001) {
+ jjtree.closeNodeScope(jjtn001, 2);
}
}
- } finally {
- if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, 2);
- }
}
+ break;
}
- break;
- }
- default:
- jj_la1[3] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ default:
+ jj_la1[3] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
}
-
/*
* Lambda expression
*/
- final public void LambdaExpression() throws ParseException {/*@bgen(jjtree) LambdaExpression */
+ final public void LambdaExpression() throws ParseException {/* @bgen(jjtree) LambdaExpression */
AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -379,27 +360,27 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
LambdaExpression();
} else {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case NOT0:
- case NOT1:
- case EMPTY:
- case MINUS:
- case IDENTIFIER: {
- Choice();
- break;
- }
- default:
- jj_la1[4] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case NOT0:
+ case NOT1:
+ case EMPTY:
+ case MINUS:
+ case IDENTIFIER: {
+ Choice();
+ break;
+ }
+ default:
+ jj_la1[4] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
} catch (Throwable jjte000) {
@@ -435,52 +416,50 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
* Lambda parameters
*/
- final public void LambdaParameters() throws ParseException {/*@bgen(jjtree) LambdaParameters */
+ final public void LambdaParameters() throws ParseException {/* @bgen(jjtree) LambdaParameters */
AstLambdaParameters jjtn000 = new AstLambdaParameters(JJTLAMBDAPARAMETERS);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case IDENTIFIER: {
- Identifier();
- break;
- }
- case LPAREN: {
- jj_consume_token(LPAREN);
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
case IDENTIFIER: {
Identifier();
- label_4:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case COMMA: {
- ;
+ break;
+ }
+ case LPAREN: {
+ jj_consume_token(LPAREN);
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case IDENTIFIER: {
+ Identifier();
+ label_4: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case COMMA: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[5] = jj_gen;
+ break label_4;
+ }
+ jj_consume_token(COMMA);
+ Identifier();
+ }
break;
}
default:
- jj_la1[5] = jj_gen;
- break label_4;
- }
- jj_consume_token(COMMA);
- Identifier();
+ jj_la1[6] = jj_gen;
+ ;
}
+ jj_consume_token(RPAREN);
break;
}
default:
- jj_la1[6] = jj_gen;
- ;
- }
- jj_consume_token(RPAREN);
- break;
- }
- default:
- jj_la1[7] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ jj_la1[7] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
} catch (Throwable jjte000) {
if (jjtc000) {
@@ -515,12 +494,11 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Possible invocation of lambda expression. Invocations must be bracketed but
- * being bracketed does not mean it is an invocation.
+ * Possible invocation of lambda expression. Invocations must be bracketed but being bracketed does not mean it is
+ * an invocation.
*/
- final public void LambdaExpressionOrInvocation() throws ParseException {/*@bgen(jjtree) LambdaExpression */
+ final public void LambdaExpressionOrInvocation() throws ParseException {/* @bgen(jjtree) LambdaExpression */
AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -532,40 +510,39 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
LambdaExpression();
} else {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case NOT0:
- case NOT1:
- case EMPTY:
- case MINUS:
- case IDENTIFIER: {
- Choice();
- break;
- }
- default:
- jj_la1[8] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case NOT0:
+ case NOT1:
+ case EMPTY:
+ case MINUS:
+ case IDENTIFIER: {
+ Choice();
+ break;
+ }
+ default:
+ jj_la1[8] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
jj_consume_token(RPAREN);
- label_5:
- while (true) {
+ label_5: while (true) {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LPAREN: {
- ;
- break;
- }
- default:
- jj_la1[9] = jj_gen;
- break label_5;
+ case LPAREN: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[9] = jj_gen;
+ break label_5;
}
MethodParameters();
}
@@ -602,15 +579,12 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Choice
- * For Choice markup a ? b : c, then Or
+ * Choice For Choice markup a ? b : c, then Or
*/
final public void Choice() throws ParseException {
Or();
- label_6:
- while (true) {
+ label_6: while (true) {
if (jj_2_5(3)) {
;
} else {
@@ -658,193 +632,123 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Or
- * For 'or' '||', then And
+ * Or For 'or' '||', then And
*/
final public void Or() throws ParseException {
And();
- label_7:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
case OR0:
case OR1: {
- ;
- break;
- }
- default:
- jj_la1[10] = jj_gen;
- break label_7;
- }
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case OR0: {
- jj_consume_token(OR0);
- break;
- }
- case OR1: {
- jj_consume_token(OR1);
- break;
- }
- default:
- jj_la1[11] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstOr jjtn001 = new AstOr(JJTOR);
- boolean jjtc001 = true;
- jjtree.openNodeScope(jjtn001);
- try {
- And();
- } catch (Throwable jjte001) {
- if (jjtc001) {
- jjtree.clearNodeScope(jjtn001);
- jjtc001 = false;
- } else {
- jjtree.popNode();
- }
- if (jjte001 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte001;
+ AstOr jjtn001 = new AstOr(JJTOR);
+ boolean jjtc001 = true;
+ jjtree.openNodeScope(jjtn001);
+ try {
+ label_7: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case OR0: {
+ jj_consume_token(OR0);
+ break;
+ }
+ case OR1: {
+ jj_consume_token(OR1);
+ break;
+ }
+ default:
+ jj_la1[10] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- }
- }
- if (jjte001 instanceof ParseException) {
- {
- if (true) {
- throw (ParseException) jjte001;
+ And();
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case OR0:
+ case OR1: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[11] = jj_gen;
+ break label_7;
}
}
- }
- {
- if (true) {
- throw (Error) jjte001;
- }
- }
- } finally {
- if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, 2);
- }
- }
- }
- }
-
-
- /*
- * And
- * For 'and' '&&', then Equality
- */
- final public void And() throws ParseException {
- Equality();
- label_8:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case AND0:
- case AND1: {
- ;
- break;
- }
- default:
- jj_la1[12] = jj_gen;
- break label_8;
- }
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case AND0: {
- jj_consume_token(AND0);
- break;
- }
- case AND1: {
- jj_consume_token(AND1);
- break;
- }
- default:
- jj_la1[13] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstAnd jjtn001 = new AstAnd(JJTAND);
- boolean jjtc001 = true;
- jjtree.openNodeScope(jjtn001);
- try {
- Equality();
- } catch (Throwable jjte001) {
- if (jjtc001) {
- jjtree.clearNodeScope(jjtn001);
- jjtc001 = false;
- } else {
- jjtree.popNode();
- }
- if (jjte001 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte001;
+ } catch (Throwable jjte001) {
+ if (jjtc001) {
+ jjtree.clearNodeScope(jjtn001);
+ jjtc001 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte001 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte001;
+ }
+ }
+ }
+ if (jjte001 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte001;
+ }
}
}
- }
- if (jjte001 instanceof ParseException) {
{
if (true) {
- throw (ParseException) jjte001;
+ throw (Error) jjte001;
}
}
- }
- {
- if (true) {
- throw (Error) jjte001;
+ } finally {
+ if (jjtc001) {
+ jjtree.closeNodeScope(jjtn001, jjtree.nodeArity() + 1);
}
}
- } finally {
- if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, 2);
- }
+ break;
}
+ default:
+ jj_la1[12] = jj_gen;
+ ;
}
}
-
/*
- * Equality
- * For '==' 'eq' '!=' 'ne', then Compare
+ * And For 'and' '&&', then Equality
*/
- final public void Equality() throws ParseException {
- Compare();
- label_9:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case EQ0:
- case EQ1:
- case NE0:
- case NE1: {
- ;
- break;
- }
- default:
- jj_la1[14] = jj_gen;
- break label_9;
- }
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case EQ0:
- case EQ1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case EQ0: {
- jj_consume_token(EQ0);
- break;
- }
- case EQ1: {
- jj_consume_token(EQ1);
- break;
- }
- default:
- jj_la1[15] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstEqual jjtn001 = new AstEqual(JJTEQUAL);
+ final public void And() throws ParseException {
+ Equality();
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case AND0:
+ case AND1: {
+ AstAnd jjtn001 = new AstAnd(JJTAND);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
- Compare();
+ label_8: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case AND0: {
+ jj_consume_token(AND0);
+ break;
+ }
+ case AND1: {
+ jj_consume_token(AND1);
+ break;
+ }
+ default:
+ jj_la1[13] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
+ }
+ Equality();
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case AND0:
+ case AND1: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[14] = jj_gen;
+ break label_8;
+ }
+ }
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
@@ -873,341 +777,414 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
} finally {
if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, 2);
+ jjtree.closeNodeScope(jjtn001, jjtree.nodeArity() + 1);
}
}
break;
}
- case NE0:
- case NE1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case NE0: {
- jj_consume_token(NE0);
- break;
- }
+ default:
+ jj_la1[15] = jj_gen;
+ ;
+ }
+ }
+
+ /*
+ * Equality For '==' 'eq' '!=' 'ne', then Compare
+ */
+ final public void Equality() throws ParseException {
+ Compare();
+ label_9: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case EQ0:
+ case EQ1:
+ case NE0:
case NE1: {
- jj_consume_token(NE1);
+ ;
break;
}
default:
jj_la1[16] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstNotEqual jjtn002 = new AstNotEqual(JJTNOTEQUAL);
- boolean jjtc002 = true;
- jjtree.openNodeScope(jjtn002);
- try {
- Compare();
- } catch (Throwable jjte002) {
- if (jjtc002) {
- jjtree.clearNodeScope(jjtn002);
- jjtc002 = false;
- } else {
- jjtree.popNode();
+ break label_9;
+ }
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case EQ0:
+ case EQ1: {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case EQ0: {
+ jj_consume_token(EQ0);
+ break;
+ }
+ case EQ1: {
+ jj_consume_token(EQ1);
+ break;
+ }
+ default:
+ jj_la1[17] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- if (jjte002 instanceof RuntimeException) {
+ AstEqual jjtn001 = new AstEqual(JJTEQUAL);
+ boolean jjtc001 = true;
+ jjtree.openNodeScope(jjtn001);
+ try {
+ Compare();
+ } catch (Throwable jjte001) {
+ if (jjtc001) {
+ jjtree.clearNodeScope(jjtn001);
+ jjtc001 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte001 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte001;
+ }
+ }
+ }
+ if (jjte001 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte001;
+ }
+ }
+ }
{
if (true) {
- throw (RuntimeException) jjte002;
+ throw (Error) jjte001;
}
}
+ } finally {
+ if (jjtc001) {
+ jjtree.closeNodeScope(jjtn001, 2);
+ }
}
- if (jjte002 instanceof ParseException) {
+ break;
+ }
+ case NE0:
+ case NE1: {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case NE0: {
+ jj_consume_token(NE0);
+ break;
+ }
+ case NE1: {
+ jj_consume_token(NE1);
+ break;
+ }
+ default:
+ jj_la1[18] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
+ }
+ AstNotEqual jjtn002 = new AstNotEqual(JJTNOTEQUAL);
+ boolean jjtc002 = true;
+ jjtree.openNodeScope(jjtn002);
+ try {
+ Compare();
+ } catch (Throwable jjte002) {
+ if (jjtc002) {
+ jjtree.clearNodeScope(jjtn002);
+ jjtc002 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte002 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte002;
+ }
+ }
+ }
+ if (jjte002 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte002;
+ }
+ }
+ }
{
if (true) {
- throw (ParseException) jjte002;
+ throw (Error) jjte002;
}
}
- }
- {
- if (true) {
- throw (Error) jjte002;
+ } finally {
+ if (jjtc002) {
+ jjtree.closeNodeScope(jjtn002, 2);
}
}
- } finally {
- if (jjtc002) {
- jjtree.closeNodeScope(jjtn002, 2);
- }
+ break;
}
- break;
- }
- default:
- jj_la1[17] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ default:
+ jj_la1[19] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
}
-
/*
- * Compare
- * For a bunch of them, then +=
+ * Compare For a bunch of them, then +=
*/
final public void Compare() throws ParseException {
Concatenation();
- label_10:
- while (true) {
+ label_10: while (true) {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case GT0:
- case GT1:
- case LT0:
- case LT1:
- case GE0:
- case GE1:
- case LE0:
- case LE1: {
- ;
- break;
- }
- default:
- jj_la1[18] = jj_gen;
- break label_10;
- }
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LT0:
- case LT1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LT0: {
- jj_consume_token(LT0);
- break;
- }
- case LT1: {
- jj_consume_token(LT1);
+ case GT0:
+ case GT1:
+ case LT0:
+ case LT1:
+ case GE0:
+ case GE1:
+ case LE0:
+ case LE1: {
+ ;
break;
}
default:
- jj_la1[19] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstLessThan jjtn001 = new AstLessThan(JJTLESSTHAN);
- boolean jjtc001 = true;
- jjtree.openNodeScope(jjtn001);
- try {
- Concatenation();
- } catch (Throwable jjte001) {
- if (jjtc001) {
- jjtree.clearNodeScope(jjtn001);
- jjtc001 = false;
- } else {
- jjtree.popNode();
+ jj_la1[20] = jj_gen;
+ break label_10;
+ }
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case LT0:
+ case LT1: {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case LT0: {
+ jj_consume_token(LT0);
+ break;
+ }
+ case LT1: {
+ jj_consume_token(LT1);
+ break;
+ }
+ default:
+ jj_la1[21] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- if (jjte001 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte001;
+ AstLessThan jjtn001 = new AstLessThan(JJTLESSTHAN);
+ boolean jjtc001 = true;
+ jjtree.openNodeScope(jjtn001);
+ try {
+ Concatenation();
+ } catch (Throwable jjte001) {
+ if (jjtc001) {
+ jjtree.clearNodeScope(jjtn001);
+ jjtc001 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte001 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte001;
+ }
+ }
+ }
+ if (jjte001 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte001;
+ }
}
}
- }
- if (jjte001 instanceof ParseException) {
{
if (true) {
- throw (ParseException) jjte001;
+ throw (Error) jjte001;
}
}
- }
- {
- if (true) {
- throw (Error) jjte001;
+ } finally {
+ if (jjtc001) {
+ jjtree.closeNodeScope(jjtn001, 2);
}
}
- } finally {
- if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, 2);
- }
- }
- break;
- }
- case GT0:
- case GT1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case GT0: {
- jj_consume_token(GT0);
break;
}
+ case GT0:
case GT1: {
- jj_consume_token(GT1);
- break;
- }
- default:
- jj_la1[20] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstGreaterThan jjtn002 = new AstGreaterThan(JJTGREATERTHAN);
- boolean jjtc002 = true;
- jjtree.openNodeScope(jjtn002);
- try {
- Concatenation();
- } catch (Throwable jjte002) {
- if (jjtc002) {
- jjtree.clearNodeScope(jjtn002);
- jjtc002 = false;
- } else {
- jjtree.popNode();
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case GT0: {
+ jj_consume_token(GT0);
+ break;
+ }
+ case GT1: {
+ jj_consume_token(GT1);
+ break;
+ }
+ default:
+ jj_la1[22] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- if (jjte002 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte002;
+ AstGreaterThan jjtn002 = new AstGreaterThan(JJTGREATERTHAN);
+ boolean jjtc002 = true;
+ jjtree.openNodeScope(jjtn002);
+ try {
+ Concatenation();
+ } catch (Throwable jjte002) {
+ if (jjtc002) {
+ jjtree.clearNodeScope(jjtn002);
+ jjtc002 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte002 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte002;
+ }
+ }
+ }
+ if (jjte002 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte002;
+ }
}
}
- }
- if (jjte002 instanceof ParseException) {
{
if (true) {
- throw (ParseException) jjte002;
+ throw (Error) jjte002;
}
}
- }
- {
- if (true) {
- throw (Error) jjte002;
+ } finally {
+ if (jjtc002) {
+ jjtree.closeNodeScope(jjtn002, 2);
}
}
- } finally {
- if (jjtc002) {
- jjtree.closeNodeScope(jjtn002, 2);
- }
- }
- break;
- }
- case LE0:
- case LE1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LE0: {
- jj_consume_token(LE0);
break;
}
+ case LE0:
case LE1: {
- jj_consume_token(LE1);
- break;
- }
- default:
- jj_la1[21] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstLessThanEqual jjtn003 = new AstLessThanEqual(JJTLESSTHANEQUAL);
- boolean jjtc003 = true;
- jjtree.openNodeScope(jjtn003);
- try {
- Concatenation();
- } catch (Throwable jjte003) {
- if (jjtc003) {
- jjtree.clearNodeScope(jjtn003);
- jjtc003 = false;
- } else {
- jjtree.popNode();
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case LE0: {
+ jj_consume_token(LE0);
+ break;
+ }
+ case LE1: {
+ jj_consume_token(LE1);
+ break;
+ }
+ default:
+ jj_la1[23] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- if (jjte003 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte003;
+ AstLessThanEqual jjtn003 = new AstLessThanEqual(JJTLESSTHANEQUAL);
+ boolean jjtc003 = true;
+ jjtree.openNodeScope(jjtn003);
+ try {
+ Concatenation();
+ } catch (Throwable jjte003) {
+ if (jjtc003) {
+ jjtree.clearNodeScope(jjtn003);
+ jjtc003 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte003 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte003;
+ }
+ }
+ }
+ if (jjte003 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte003;
+ }
}
}
- }
- if (jjte003 instanceof ParseException) {
{
if (true) {
- throw (ParseException) jjte003;
+ throw (Error) jjte003;
}
}
- }
- {
- if (true) {
- throw (Error) jjte003;
+ } finally {
+ if (jjtc003) {
+ jjtree.closeNodeScope(jjtn003, 2);
}
}
- } finally {
- if (jjtc003) {
- jjtree.closeNodeScope(jjtn003, 2);
- }
- }
- break;
- }
- case GE0:
- case GE1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case GE0: {
- jj_consume_token(GE0);
break;
}
+ case GE0:
case GE1: {
- jj_consume_token(GE1);
- break;
- }
- default:
- jj_la1[22] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstGreaterThanEqual jjtn004 = new AstGreaterThanEqual(JJTGREATERTHANEQUAL);
- boolean jjtc004 = true;
- jjtree.openNodeScope(jjtn004);
- try {
- Concatenation();
- } catch (Throwable jjte004) {
- if (jjtc004) {
- jjtree.clearNodeScope(jjtn004);
- jjtc004 = false;
- } else {
- jjtree.popNode();
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case GE0: {
+ jj_consume_token(GE0);
+ break;
+ }
+ case GE1: {
+ jj_consume_token(GE1);
+ break;
+ }
+ default:
+ jj_la1[24] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- if (jjte004 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte004;
+ AstGreaterThanEqual jjtn004 = new AstGreaterThanEqual(JJTGREATERTHANEQUAL);
+ boolean jjtc004 = true;
+ jjtree.openNodeScope(jjtn004);
+ try {
+ Concatenation();
+ } catch (Throwable jjte004) {
+ if (jjtc004) {
+ jjtree.clearNodeScope(jjtn004);
+ jjtc004 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte004 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte004;
+ }
+ }
+ }
+ if (jjte004 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte004;
+ }
}
}
- }
- if (jjte004 instanceof ParseException) {
{
if (true) {
- throw (ParseException) jjte004;
+ throw (Error) jjte004;
}
}
- }
- {
- if (true) {
- throw (Error) jjte004;
+ } finally {
+ if (jjtc004) {
+ jjtree.closeNodeScope(jjtn004, 2);
}
}
- } finally {
- if (jjtc004) {
- jjtree.closeNodeScope(jjtn004, 2);
- }
+ break;
}
- break;
- }
- default:
- jj_la1[23] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ default:
+ jj_la1[25] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
}
-
/*
- * Concatenation
- * For +=, then Math
+ * Concatenation For +=, then Math
*
*/
final public void Concatenation() throws ParseException {
Math();
- label_11:
- while (true) {
+ label_11: while (true) {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case CONCAT: {
- ;
- break;
- }
- default:
- jj_la1[24] = jj_gen;
- break label_11;
+ case CONCAT: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[26] = jj_gen;
+ break label_11;
}
jj_consume_token(CONCAT);
AstConcatenation jjtn001 = new AstConcatenation(JJTCONCATENATION);
@@ -1249,140 +1226,295 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Math
- * For '+' '-', then Multiplication
+ * Math For '+' '-', then Multiplication
*/
final public void Math() throws ParseException {
Multiplication();
- label_12:
- while (true) {
+ label_12: while (true) {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case PLUS:
- case MINUS: {
- ;
- break;
- }
- default:
- jj_la1[25] = jj_gen;
- break label_12;
+ case PLUS:
+ case MINUS: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[27] = jj_gen;
+ break label_12;
}
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case PLUS: {
- jj_consume_token(PLUS);
- AstPlus jjtn001 = new AstPlus(JJTPLUS);
- boolean jjtc001 = true;
- jjtree.openNodeScope(jjtn001);
- try {
- Multiplication();
- } catch (Throwable jjte001) {
- if (jjtc001) {
- jjtree.clearNodeScope(jjtn001);
- jjtc001 = false;
- } else {
- jjtree.popNode();
+ case PLUS: {
+ jj_consume_token(PLUS);
+ AstPlus jjtn001 = new AstPlus(JJTPLUS);
+ boolean jjtc001 = true;
+ jjtree.openNodeScope(jjtn001);
+ try {
+ Multiplication();
+ } catch (Throwable jjte001) {
+ if (jjtc001) {
+ jjtree.clearNodeScope(jjtn001);
+ jjtc001 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte001 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte001;
+ }
+ }
+ }
+ if (jjte001 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte001;
+ }
+ }
+ }
+ {
+ if (true) {
+ throw (Error) jjte001;
+ }
+ }
+ } finally {
+ if (jjtc001) {
+ jjtree.closeNodeScope(jjtn001, 2);
+ }
}
- if (jjte001 instanceof RuntimeException) {
+ break;
+ }
+ case MINUS: {
+ jj_consume_token(MINUS);
+ AstMinus jjtn002 = new AstMinus(JJTMINUS);
+ boolean jjtc002 = true;
+ jjtree.openNodeScope(jjtn002);
+ try {
+ Multiplication();
+ } catch (Throwable jjte002) {
+ if (jjtc002) {
+ jjtree.clearNodeScope(jjtn002);
+ jjtc002 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte002 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte002;
+ }
+ }
+ }
+ if (jjte002 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte002;
+ }
+ }
+ }
{
if (true) {
- throw (RuntimeException) jjte001;
+ throw (Error) jjte002;
}
}
+ } finally {
+ if (jjtc002) {
+ jjtree.closeNodeScope(jjtn002, 2);
+ }
}
- if (jjte001 instanceof ParseException) {
+ break;
+ }
+ default:
+ jj_la1[28] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
+ }
+ }
+ }
+
+ /*
+ * Multiplication For a bunch of them, then Unary
+ */
+ final public void Multiplication() throws ParseException {
+ Unary();
+ label_13: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case MULT:
+ case DIV0:
+ case DIV1:
+ case MOD0:
+ case MOD1: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[29] = jj_gen;
+ break label_13;
+ }
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case MULT: {
+ jj_consume_token(MULT);
+ AstMult jjtn001 = new AstMult(JJTMULT);
+ boolean jjtc001 = true;
+ jjtree.openNodeScope(jjtn001);
+ try {
+ Unary();
+ } catch (Throwable jjte001) {
+ if (jjtc001) {
+ jjtree.clearNodeScope(jjtn001);
+ jjtc001 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte001 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte001;
+ }
+ }
+ }
+ if (jjte001 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte001;
+ }
+ }
+ }
{
if (true) {
- throw (ParseException) jjte001;
+ throw (Error) jjte001;
}
}
+ } finally {
+ if (jjtc001) {
+ jjtree.closeNodeScope(jjtn001, 2);
+ }
}
- {
- if (true) {
- throw (Error) jjte001;
+ break;
+ }
+ case DIV0:
+ case DIV1: {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case DIV0: {
+ jj_consume_token(DIV0);
+ break;
}
+ case DIV1: {
+ jj_consume_token(DIV1);
+ break;
+ }
+ default:
+ jj_la1[30] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- } finally {
- if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, 2);
+ AstDiv jjtn002 = new AstDiv(JJTDIV);
+ boolean jjtc002 = true;
+ jjtree.openNodeScope(jjtn002);
+ try {
+ Unary();
+ } catch (Throwable jjte002) {
+ if (jjtc002) {
+ jjtree.clearNodeScope(jjtn002);
+ jjtc002 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte002 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte002;
+ }
+ }
+ }
+ if (jjte002 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte002;
+ }
+ }
+ }
+ {
+ if (true) {
+ throw (Error) jjte002;
+ }
+ }
+ } finally {
+ if (jjtc002) {
+ jjtree.closeNodeScope(jjtn002, 2);
+ }
}
+ break;
}
- break;
- }
- case MINUS: {
- jj_consume_token(MINUS);
- AstMinus jjtn002 = new AstMinus(JJTMINUS);
- boolean jjtc002 = true;
- jjtree.openNodeScope(jjtn002);
- try {
- Multiplication();
- } catch (Throwable jjte002) {
- if (jjtc002) {
- jjtree.clearNodeScope(jjtn002);
- jjtc002 = false;
- } else {
- jjtree.popNode();
+ case MOD0:
+ case MOD1: {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case MOD0: {
+ jj_consume_token(MOD0);
+ break;
+ }
+ case MOD1: {
+ jj_consume_token(MOD1);
+ break;
+ }
+ default:
+ jj_la1[31] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- if (jjte002 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte002;
+ AstMod jjtn003 = new AstMod(JJTMOD);
+ boolean jjtc003 = true;
+ jjtree.openNodeScope(jjtn003);
+ try {
+ Unary();
+ } catch (Throwable jjte003) {
+ if (jjtc003) {
+ jjtree.clearNodeScope(jjtn003);
+ jjtc003 = false;
+ } else {
+ jjtree.popNode();
+ }
+ if (jjte003 instanceof RuntimeException) {
+ {
+ if (true) {
+ throw (RuntimeException) jjte003;
+ }
+ }
+ }
+ if (jjte003 instanceof ParseException) {
+ {
+ if (true) {
+ throw (ParseException) jjte003;
+ }
}
}
- }
- if (jjte002 instanceof ParseException) {
{
if (true) {
- throw (ParseException) jjte002;
+ throw (Error) jjte003;
}
}
- }
- {
- if (true) {
- throw (Error) jjte002;
+ } finally {
+ if (jjtc003) {
+ jjtree.closeNodeScope(jjtn003, 2);
}
}
- } finally {
- if (jjtc002) {
- jjtree.closeNodeScope(jjtn002, 2);
- }
+ break;
}
- break;
- }
- default:
- jj_la1[26] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ default:
+ jj_la1[32] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
}
-
/*
- * Multiplication
- * For a bunch of them, then Unary
+ * Unary For '-' '!' 'not' 'empty', then Value
*/
- final public void Multiplication() throws ParseException {
- Unary();
- label_13:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case MULT:
- case DIV0:
- case DIV1:
- case MOD0:
- case MOD1: {
- ;
- break;
- }
- default:
- jj_la1[27] = jj_gen;
- break label_13;
- }
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case MULT: {
- jj_consume_token(MULT);
- AstMult jjtn001 = new AstMult(JJTMULT);
+ final public void Unary() throws ParseException {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case MINUS: {
+ jj_consume_token(MINUS);
+ AstNegative jjtn001 = new AstNegative(JJTNEGATIVE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
@@ -1415,28 +1547,28 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
} finally {
if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, 2);
+ jjtree.closeNodeScope(jjtn001, true);
}
}
break;
}
- case DIV0:
- case DIV1: {
+ case NOT0:
+ case NOT1: {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case DIV0: {
- jj_consume_token(DIV0);
- break;
- }
- case DIV1: {
- jj_consume_token(DIV1);
- break;
- }
- default:
- jj_la1[28] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ case NOT0: {
+ jj_consume_token(NOT0);
+ break;
+ }
+ case NOT1: {
+ jj_consume_token(NOT1);
+ break;
+ }
+ default:
+ jj_la1[33] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
- AstDiv jjtn002 = new AstDiv(JJTDIV);
+ AstNot jjtn002 = new AstNot(JJTNOT);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
try {
@@ -1469,28 +1601,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
} finally {
if (jjtc002) {
- jjtree.closeNodeScope(jjtn002, 2);
+ jjtree.closeNodeScope(jjtn002, true);
}
}
break;
}
- case MOD0:
- case MOD1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case MOD0: {
- jj_consume_token(MOD0);
- break;
- }
- case MOD1: {
- jj_consume_token(MOD1);
- break;
- }
- default:
- jj_la1[29] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- AstMod jjtn003 = new AstMod(JJTMOD);
+ case EMPTY: {
+ jj_consume_token(EMPTY);
+ AstEmpty jjtn003 = new AstEmpty(JJTEMPTY);
boolean jjtc003 = true;
jjtree.openNodeScope(jjtn003);
try {
@@ -1523,184 +1641,33 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
} finally {
if (jjtc003) {
- jjtree.closeNodeScope(jjtn003, 2);
- }
- }
- break;
- }
- default:
- jj_la1[30] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
- }
- }
-
-
- /*
- * Unary
- * For '-' '!' 'not' 'empty', then Value
- */
- final public void Unary() throws ParseException {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case MINUS: {
- jj_consume_token(MINUS);
- AstNegative jjtn001 = new AstNegative(JJTNEGATIVE);
- boolean jjtc001 = true;
- jjtree.openNodeScope(jjtn001);
- try {
- Unary();
- } catch (Throwable jjte001) {
- if (jjtc001) {
- jjtree.clearNodeScope(jjtn001);
- jjtc001 = false;
- } else {
- jjtree.popNode();
- }
- if (jjte001 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte001;
- }
- }
- }
- if (jjte001 instanceof ParseException) {
- {
- if (true) {
- throw (ParseException) jjte001;
- }
- }
- }
- {
- if (true) {
- throw (Error) jjte001;
+ jjtree.closeNodeScope(jjtn003, true);
}
}
- } finally {
- if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, true);
- }
- }
- break;
- }
- case NOT0:
- case NOT1: {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case NOT0: {
- jj_consume_token(NOT0);
break;
}
- case NOT1: {
- jj_consume_token(NOT1);
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case IDENTIFIER: {
+ Value();
break;
}
default:
- jj_la1[31] = jj_gen;
+ jj_la1[34] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
- }
- AstNot jjtn002 = new AstNot(JJTNOT);
- boolean jjtc002 = true;
- jjtree.openNodeScope(jjtn002);
- try {
- Unary();
- } catch (Throwable jjte002) {
- if (jjtc002) {
- jjtree.clearNodeScope(jjtn002);
- jjtc002 = false;
- } else {
- jjtree.popNode();
- }
- if (jjte002 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte002;
- }
- }
- }
- if (jjte002 instanceof ParseException) {
- {
- if (true) {
- throw (ParseException) jjte002;
- }
- }
- }
- {
- if (true) {
- throw (Error) jjte002;
- }
- }
- } finally {
- if (jjtc002) {
- jjtree.closeNodeScope(jjtn002, true);
- }
- }
- break;
- }
- case EMPTY: {
- jj_consume_token(EMPTY);
- AstEmpty jjtn003 = new AstEmpty(JJTEMPTY);
- boolean jjtc003 = true;
- jjtree.openNodeScope(jjtn003);
- try {
- Unary();
- } catch (Throwable jjte003) {
- if (jjtc003) {
- jjtree.clearNodeScope(jjtn003);
- jjtc003 = false;
- } else {
- jjtree.popNode();
- }
- if (jjte003 instanceof RuntimeException) {
- {
- if (true) {
- throw (RuntimeException) jjte003;
- }
- }
- }
- if (jjte003 instanceof ParseException) {
- {
- if (true) {
- throw (ParseException) jjte003;
- }
- }
- }
- {
- if (true) {
- throw (Error) jjte003;
- }
- }
- } finally {
- if (jjtc003) {
- jjtree.closeNodeScope(jjtn003, true);
- }
- }
- break;
- }
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case IDENTIFIER: {
- Value();
- break;
- }
- default:
- jj_la1[32] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
}
}
-
/*
- * Value
- * Defines Prefix plus zero or more Suffixes
+ * Value Defines Prefix plus zero or more Suffixes
*/
final public void Value() throws ParseException {
AstValue jjtn001 = new AstValue(JJTVALUE);
@@ -1708,17 +1675,16 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
jjtree.openNodeScope(jjtn001);
try {
ValuePrefix();
- label_14:
- while (true) {
+ label_14: while (true) {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case DOT:
- case LBRACK: {
- ;
- break;
- }
- default:
- jj_la1[33] = jj_gen;
- break label_14;
+ case DOT:
+ case LBRACK: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[35] = jj_gen;
+ break label_14;
}
ValueSuffix();
}
@@ -1755,73 +1721,67 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * ValuePrefix
- * For Literals, Variables, and Functions
+ * ValuePrefix For Literals, Variables, and Functions
*/
final public void ValuePrefix() throws ParseException {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL: {
- Literal();
- break;
- }
- case START_SET_OR_MAP:
- case LPAREN:
- case LBRACK:
- case IDENTIFIER: {
- NonLiteral();
- break;
- }
- default:
- jj_la1[34] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL: {
+ Literal();
+ break;
+ }
+ case START_SET_OR_MAP:
+ case LPAREN:
+ case LBRACK:
+ case IDENTIFIER: {
+ NonLiteral();
+ break;
+ }
+ default:
+ jj_la1[36] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
-
/*
- * ValueSuffix
- * Either dot or bracket notation
+ * ValueSuffix Either dot or bracket notation
*/
final public void ValueSuffix() throws ParseException {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case DOT: {
- DotSuffix();
- break;
- }
- case LBRACK: {
- BracketSuffix();
- break;
- }
- default:
- jj_la1[35] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ case DOT: {
+ DotSuffix();
+ break;
+ }
+ case LBRACK: {
+ BracketSuffix();
+ break;
+ }
+ default:
+ jj_la1[37] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LPAREN: {
- MethodParameters();
- break;
- }
- default:
- jj_la1[36] = jj_gen;
- ;
+ case LPAREN: {
+ MethodParameters();
+ break;
+ }
+ default:
+ jj_la1[38] = jj_gen;
+ ;
}
}
-
/*
- * DotSuffix
- * Dot Property
+ * DotSuffix Dot Property
*/
- final public void DotSuffix() throws ParseException {/*@bgen(jjtree) DotSuffix */
+ final public void DotSuffix() throws ParseException {/* @bgen(jjtree) DotSuffix */
AstDotSuffix jjtn000 = new AstDotSuffix(JJTDOTSUFFIX);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -1839,12 +1799,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * BracketSuffix
- * Sub Expression Suffix
+ * BracketSuffix Sub Expression Suffix
*/
- final public void BracketSuffix() throws ParseException {/*@bgen(jjtree) BracketSuffix */
+ final public void BracketSuffix() throws ParseException {/* @bgen(jjtree) BracketSuffix */
AstBracketSuffix jjtn000 = new AstBracketSuffix(JJTBRACKETSUFFIX);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -1885,51 +1843,49 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
* MethodParameters
*/
- final public void MethodParameters() throws ParseException {/*@bgen(jjtree) MethodParameters */
+ final public void MethodParameters() throws ParseException {/* @bgen(jjtree) MethodParameters */
AstMethodParameters jjtn000 = new AstMethodParameters(JJTMETHODPARAMETERS);
boolean jjtc000 = true;
- jjtree.openNodeScope(jjtn000);
- try {
- jj_consume_token(LPAREN);
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case NOT0:
- case NOT1:
- case EMPTY:
- case MINUS:
- case IDENTIFIER: {
- Expression();
- label_15:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case COMMA: {
- ;
- break;
- }
- default:
- jj_la1[37] = jj_gen;
- break label_15;
- }
- jj_consume_token(COMMA);
+ jjtree.openNodeScope(jjtn000);
+ try {
+ jj_consume_token(LPAREN);
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case NOT0:
+ case NOT1:
+ case EMPTY:
+ case MINUS:
+ case IDENTIFIER: {
Expression();
+ label_15: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case COMMA: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[39] = jj_gen;
+ break label_15;
+ }
+ jj_consume_token(COMMA);
+ Expression();
+ }
+ break;
}
- break;
- }
- default:
- jj_la1[38] = jj_gen;
- ;
+ default:
+ jj_la1[40] = jj_gen;
+ ;
}
jj_consume_token(RPAREN);
} catch (Throwable jjte000) {
@@ -1965,105 +1921,100 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * NonLiteral
- * For Grouped Operations, Identifiers, and Functions
+ * NonLiteral For Grouped Operations, Identifiers, and Functions
*/
final public void NonLiteral() throws ParseException {
if (jj_2_6(5)) {
LambdaExpressionOrInvocation();
} else {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LPAREN: {
- jj_consume_token(LPAREN);
- Expression();
- jj_consume_token(RPAREN);
- break;
- }
- default:
- jj_la1[39] = jj_gen;
- if (jj_2_7(2147483647)) {
- Function();
- } else {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case IDENTIFIER: {
- Identifier();
- break;
- }
- default:
- jj_la1[40] = jj_gen;
- if (jj_2_8(5)) {
- SetData();
- } else {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LBRACK: {
- ListData();
- break;
- }
- case START_SET_OR_MAP: {
- MapData();
+ case LPAREN: {
+ jj_consume_token(LPAREN);
+ Expression();
+ jj_consume_token(RPAREN);
+ break;
+ }
+ default:
+ jj_la1[41] = jj_gen;
+ if (jj_2_7(2147483647)) {
+ Function();
+ } else {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case IDENTIFIER: {
+ Identifier();
break;
}
default:
- jj_la1[41] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
- }
+ jj_la1[42] = jj_gen;
+ if (jj_2_8(5)) {
+ SetData();
+ } else {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case LBRACK: {
+ ListData();
+ break;
+ }
+ case START_SET_OR_MAP: {
+ MapData();
+ break;
+ }
+ default:
+ jj_la1[43] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
+ }
+ }
}
}
- }
}
}
}
-
/*
- * Note that both an empty Set and an empty Map are represented by {}. The
- * parser will always parse {} as an empty Set and special handling is required
- * to convert it to an empty Map when appropriate.
+ * Note that both an empty Set and an empty Map are represented by {}. The parser will always parse {} as an empty
+ * Set and special handling is required to convert it to an empty Map when appropriate.
*/
- final public void SetData() throws ParseException {/*@bgen(jjtree) SetData */
+ final public void SetData() throws ParseException {/* @bgen(jjtree) SetData */
AstSetData jjtn000 = new AstSetData(JJTSETDATA);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(START_SET_OR_MAP);
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case NOT0:
- case NOT1:
- case EMPTY:
- case MINUS:
- case IDENTIFIER: {
- Expression();
- label_16:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case COMMA: {
- ;
- break;
- }
- default:
- jj_la1[42] = jj_gen;
- break label_16;
- }
- jj_consume_token(COMMA);
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case NOT0:
+ case NOT1:
+ case EMPTY:
+ case MINUS:
+ case IDENTIFIER: {
Expression();
+ label_16: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case COMMA: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[44] = jj_gen;
+ break label_16;
+ }
+ jj_consume_token(COMMA);
+ Expression();
+ }
+ break;
}
- break;
- }
- default:
- jj_la1[43] = jj_gen;
- ;
+ default:
+ jj_la1[45] = jj_gen;
+ ;
}
jj_consume_token(RBRACE);
} catch (Throwable jjte000) {
@@ -2099,48 +2050,46 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
- final public void ListData() throws ParseException {/*@bgen(jjtree) ListData */
+ final public void ListData() throws ParseException {/* @bgen(jjtree) ListData */
AstListData jjtn000 = new AstListData(JJTLISTDATA);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(LBRACK);
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case NOT0:
- case NOT1:
- case EMPTY:
- case MINUS:
- case IDENTIFIER: {
- Expression();
- label_17:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case COMMA: {
- ;
- break;
- }
- default:
- jj_la1[44] = jj_gen;
- break label_17;
- }
- jj_consume_token(COMMA);
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case NOT0:
+ case NOT1:
+ case EMPTY:
+ case MINUS:
+ case IDENTIFIER: {
Expression();
+ label_17: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case COMMA: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[46] = jj_gen;
+ break label_17;
+ }
+ jj_consume_token(COMMA);
+ Expression();
+ }
+ break;
}
- break;
- }
- default:
- jj_la1[45] = jj_gen;
- ;
+ default:
+ jj_la1[47] = jj_gen;
+ ;
}
jj_consume_token(RBRACK);
} catch (Throwable jjte000) {
@@ -2176,53 +2125,50 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Note that both an empty Set and an empty Map are represented by {}. The
- * parser will always parse {} as an empty Set and special handling is required
- * to convert it to an empty Map when appropriate.
+ * Note that both an empty Set and an empty Map are represented by {}. The parser will always parse {} as an empty
+ * Set and special handling is required to convert it to an empty Map when appropriate.
*/
- final public void MapData() throws ParseException {/*@bgen(jjtree) MapData */
+ final public void MapData() throws ParseException {/* @bgen(jjtree) MapData */
AstMapData jjtn000 = new AstMapData(JJTMAPDATA);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(START_SET_OR_MAP);
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case START_SET_OR_MAP:
- case INTEGER_LITERAL:
- case FLOATING_POINT_LITERAL:
- case STRING_LITERAL:
- case TRUE:
- case FALSE:
- case NULL:
- case LPAREN:
- case LBRACK:
- case NOT0:
- case NOT1:
- case EMPTY:
- case MINUS:
- case IDENTIFIER: {
- MapEntry();
- label_18:
- while (true) {
- switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case COMMA: {
- ;
- break;
- }
- default:
- jj_la1[46] = jj_gen;
- break label_18;
- }
- jj_consume_token(COMMA);
+ case START_SET_OR_MAP:
+ case INTEGER_LITERAL:
+ case FLOATING_POINT_LITERAL:
+ case STRING_LITERAL:
+ case TRUE:
+ case FALSE:
+ case NULL:
+ case LPAREN:
+ case LBRACK:
+ case NOT0:
+ case NOT1:
+ case EMPTY:
+ case MINUS:
+ case IDENTIFIER: {
MapEntry();
+ label_18: while (true) {
+ switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
+ case COMMA: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[48] = jj_gen;
+ break label_18;
+ }
+ jj_consume_token(COMMA);
+ MapEntry();
+ }
+ break;
}
- break;
- }
- default:
- jj_la1[47] = jj_gen;
- ;
+ default:
+ jj_la1[49] = jj_gen;
+ ;
}
jj_consume_token(RBRACE);
} catch (Throwable jjte000) {
@@ -2258,8 +2204,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
- final public void MapEntry() throws ParseException {/*@bgen(jjtree) MapEntry */
+ final public void MapEntry() throws ParseException {/* @bgen(jjtree) MapEntry */
AstMapEntry jjtn000 = new AstMapEntry(JJTMAPENTRY);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -2300,12 +2245,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Identifier
- * Java Language Identifier
+ * Identifier Java Language Identifier
*/
- final public void Identifier() throws ParseException {/*@bgen(jjtree) Identifier */
+ final public void Identifier() throws ParseException {/* @bgen(jjtree) Identifier */
AstIdentifier jjtn000 = new AstIdentifier(JJTIDENTIFIER);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -2322,12 +2265,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Function
- * Namespace:Name(a,b,c)
+ * Function Namespace:Name(a,b,c)
*/
- final public void Function() throws ParseException {/*@bgen(jjtree) Function */
+ final public void Function() throws ParseException {/* @bgen(jjtree) Function */
AstFunction jjtn000 = new AstFunction(JJTFUNCTION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -2336,14 +2277,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
try {
t0 = jj_consume_token(IDENTIFIER);
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case COLON: {
- jj_consume_token(COLON);
- t1 = jj_consume_token(IDENTIFIER);
- break;
- }
- default:
- jj_la1[48] = jj_gen;
- ;
+ case COLON: {
+ jj_consume_token(COLON);
+ t1 = jj_consume_token(IDENTIFIER);
+ break;
+ }
+ default:
+ jj_la1[50] = jj_gen;
+ ;
}
if (t1 != null) {
jjtn000.setPrefix(t0.image);
@@ -2351,17 +2292,16 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
} else {
jjtn000.setLocalName(t0.image);
}
- label_19:
- while (true) {
+ label_19: while (true) {
MethodParameters();
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case LPAREN: {
- ;
- break;
- }
- default:
- jj_la1[49] = jj_gen;
- break label_19;
+ case LPAREN: {
+ ;
+ break;
+ }
+ default:
+ jj_la1[51] = jj_gen;
+ break label_19;
}
}
} catch (Throwable jjte000) {
@@ -2397,87 +2337,81 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Literal
- * Reserved Keywords
+ * Literal Reserved Keywords
*/
final public void Literal() throws ParseException {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case TRUE:
- case FALSE: {
- Boolean();
- break;
- }
- case FLOATING_POINT_LITERAL: {
- FloatingPoint();
- break;
- }
- case INTEGER_LITERAL: {
- Integer();
- break;
- }
- case STRING_LITERAL: {
- String();
- break;
- }
- case NULL: {
- Null();
- break;
- }
- default:
- jj_la1[50] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ case TRUE:
+ case FALSE: {
+ Boolean();
+ break;
+ }
+ case FLOATING_POINT_LITERAL: {
+ FloatingPoint();
+ break;
+ }
+ case INTEGER_LITERAL: {
+ Integer();
+ break;
+ }
+ case STRING_LITERAL: {
+ String();
+ break;
+ }
+ case NULL: {
+ Null();
+ break;
+ }
+ default:
+ jj_la1[52] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
-
/*
- * Boolean
- * For 'true' 'false'
+ * Boolean For 'true' 'false'
*/
final public void Boolean() throws ParseException {
switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
- case TRUE: {
- AstTrue jjtn001 = new AstTrue(JJTTRUE);
- boolean jjtc001 = true;
- jjtree.openNodeScope(jjtn001);
- try {
- jj_consume_token(TRUE);
- } finally {
- if (jjtc001) {
- jjtree.closeNodeScope(jjtn001, true);
+ case TRUE: {
+ AstTrue jjtn001 = new AstTrue(JJTTRUE);
+ boolean jjtc001 = true;
+ jjtree.openNodeScope(jjtn001);
+ try {
+ jj_consume_token(TRUE);
+ } finally {
+ if (jjtc001) {
+ jjtree.closeNodeScope(jjtn001, true);
+ }
}
- }
- break;
- }
- case FALSE: {
- AstFalse jjtn002 = new AstFalse(JJTFALSE);
- boolean jjtc002 = true;
- jjtree.openNodeScope(jjtn002);
- try {
- jj_consume_token(FALSE);
- } finally {
- if (jjtc002) {
- jjtree.closeNodeScope(jjtn002, true);
+ break;
+ }
+ case FALSE: {
+ AstFalse jjtn002 = new AstFalse(JJTFALSE);
+ boolean jjtc002 = true;
+ jjtree.openNodeScope(jjtn002);
+ try {
+ jj_consume_token(FALSE);
+ } finally {
+ if (jjtc002) {
+ jjtree.closeNodeScope(jjtn002, true);
+ }
}
+ break;
}
- break;
- }
- default:
- jj_la1[51] = jj_gen;
- jj_consume_token(-1);
- throw new ParseException();
+ default:
+ jj_la1[53] = jj_gen;
+ jj_consume_token(-1);
+ throw new ParseException();
}
}
-
/*
- * FloatingPoint
- * For Decimal and Floating Point Literals
+ * FloatingPoint For Decimal and Floating Point Literals
*/
- final public void FloatingPoint() throws ParseException {/*@bgen(jjtree) FloatingPoint */
+ final public void FloatingPoint() throws ParseException {/* @bgen(jjtree) FloatingPoint */
AstFloatingPoint jjtn000 = new AstFloatingPoint(JJTFLOATINGPOINT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -2494,12 +2428,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Integer
- * For Simple Numeric Literals
+ * Integer For Simple Numeric Literals
*/
- final public void Integer() throws ParseException {/*@bgen(jjtree) Integer */
+ final public void Integer() throws ParseException {/* @bgen(jjtree) Integer */
AstInteger jjtn000 = new AstInteger(JJTINTEGER);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -2516,12 +2448,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * String
- * For Quoted Literals
+ * String For Quoted Literals
*/
- final public void String() throws ParseException {/*@bgen(jjtree) String */
+ final public void String() throws ParseException {/* @bgen(jjtree) String */
AstString jjtn000 = new AstString(JJTSTRING);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -2538,12 +2468,10 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/*
- * Null
- * For 'null'
+ * Null For 'null'
*/
- final public void Null() throws ParseException {/*@bgen(jjtree) Null */
+ final public void Null() throws ParseException {/* @bgen(jjtree) Null */
AstNull jjtn000 = new AstNull(JJTNULL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
@@ -2556,7 +2484,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_1(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2569,7 +2496,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_2(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2582,7 +2508,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_3(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2595,7 +2520,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_4(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2608,7 +2532,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_5(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2621,7 +2544,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_6(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2634,7 +2556,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_7(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2647,7 +2568,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private boolean jj_2_8(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
@@ -2660,23 +2580,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
- private boolean jj_3R_And_173_17_41() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_scan_token(39)) {
- jj_scanpos = xsp;
- if (jj_scan_token(40)) {
- return true;
- }
- }
- if (jj_3R_Equality_182_5_40()) {
- return true;
- }
- return false;
- }
-
-
private boolean jj_3R_LambdaExpressionOrInvocation_144_45_30() {
if (jj_3R_Choice_155_5_22()) {
return true;
@@ -2684,15 +2587,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_Equality_182_5_40() {
- if (jj_3R_Compare_196_5_44()) {
+ if (jj_3R_Compare_196_5_45()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Equality_184_9_45()) {
+ if (jj_3R_Equality_184_9_46()) {
jj_scanpos = xsp;
break;
}
@@ -2700,8 +2602,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_ListData_350_26_109() {
+ private boolean jj_3R_ListData_350_26_111() {
if (jj_scan_token(COMMA)) {
return true;
}
@@ -2711,8 +2612,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_MapEntry_368_5_107() {
+ private boolean jj_3R_MapEntry_368_5_109() {
if (jj_3R_Expression_99_5_36()) {
return true;
}
@@ -2725,16 +2625,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_MapData_362_11_105() {
- if (jj_3R_MapEntry_368_5_107()) {
+ private boolean jj_3R_MapData_362_11_107() {
+ if (jj_3R_MapEntry_368_5_109()) {
return true;
}
return false;
}
-
- private boolean jj_3R_LambdaParameters_132_46_43() {
+ private boolean jj_3R_LambdaParameters_132_46_44() {
if (jj_scan_token(COMMA)) {
return true;
}
@@ -2744,23 +2642,18 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_And_173_5_34() {
if (jj_3R_Equality_182_5_40()) {
return true;
}
Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_And_173_17_41()) {
- jj_scanpos = xsp;
- break;
- }
+ xsp = jj_scanpos;
+ if (jj_3R_And_174_17_41()) {
+ jj_scanpos = xsp;
}
return false;
}
-
private boolean jj_3R_SetData_343_26_37() {
if (jj_scan_token(COMMA)) {
return true;
@@ -2771,8 +2664,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Or_164_12_35() {
+ private boolean jj_3R_Or_164_13_42() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(41)) {
@@ -2787,14 +2679,28 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
+ private boolean jj_3R_Or_165_12_35() {
+ Token xsp;
+ if (jj_3R_Or_164_13_42()) {
+ return true;
+ }
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_Or_164_13_42()) {
+ jj_scanpos = xsp;
+ break;
+ }
+ }
+ return false;
+ }
- private boolean jj_3R_MapData_361_5_99() {
+ private boolean jj_3R_MapData_361_5_101() {
if (jj_scan_token(START_SET_OR_MAP)) {
return true;
}
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_MapData_362_11_105()) {
+ if (jj_3R_MapData_362_11_107()) {
jj_scanpos = xsp;
}
if (jj_scan_token(RBRACE)) {
@@ -2803,15 +2709,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_ListData_350_11_104() {
+ private boolean jj_3R_ListData_350_11_106() {
if (jj_3R_Expression_99_5_36()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_ListData_350_26_109()) {
+ if (jj_3R_ListData_350_26_111()) {
jj_scanpos = xsp;
break;
}
@@ -2819,23 +2724,18 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_Or_164_5_29() {
if (jj_3R_And_173_5_34()) {
return true;
}
Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_Or_164_12_35()) {
- jj_scanpos = xsp;
- break;
- }
+ xsp = jj_scanpos;
+ if (jj_3R_Or_165_12_35()) {
+ jj_scanpos = xsp;
}
return false;
}
-
private boolean jj_3_5() {
if (jj_scan_token(QUESTIONMARK)) {
return true;
@@ -2849,14 +2749,13 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_ListData_349_5_98() {
+ private boolean jj_3R_ListData_349_5_100() {
if (jj_scan_token(LBRACK)) {
return true;
}
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_ListData_350_11_104()) {
+ if (jj_3R_ListData_350_11_106()) {
jj_scanpos = xsp;
}
if (jj_scan_token(RBRACK)) {
@@ -2865,7 +2764,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_LambdaParameters_132_31_39() {
if (jj_3R_Identifier_377_5_38()) {
return true;
@@ -2873,7 +2771,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_LambdaParameters_132_46_43()) {
+ if (jj_3R_LambdaParameters_132_46_44()) {
jj_scanpos = xsp;
break;
}
@@ -2881,7 +2779,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_SetData_343_11_31() {
if (jj_3R_Expression_99_5_36()) {
return true;
@@ -2897,7 +2794,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_Choice_155_5_22() {
if (jj_3R_Or_164_5_29()) {
return true;
@@ -2913,7 +2809,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3_3() {
if (jj_3R_LambdaExpression_124_5_21()) {
return true;
@@ -2921,15 +2816,13 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_MethodParameters_317_31_111() {
+ private boolean jj_3R_MethodParameters_317_31_113() {
if (jj_scan_token(COMMA)) {
return true;
}
return false;
}
-
private boolean jj_3R_SetData_342_5_25() {
if (jj_scan_token(START_SET_OR_MAP)) {
return true;
@@ -2945,7 +2838,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3_4() {
if (jj_3R_LambdaExpression_124_5_21()) {
return true;
@@ -2953,7 +2845,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_null_328_18_24() {
if (jj_scan_token(IDENTIFIER)) {
return true;
@@ -2964,7 +2855,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3_7() {
Token xsp;
xsp = jj_scanpos;
@@ -2980,7 +2870,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_LambdaParameters_132_20_33() {
if (jj_scan_token(LPAREN)) {
return true;
@@ -2996,23 +2885,20 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_NonLiteral_332_7_89() {
- if (jj_3R_MapData_361_5_99()) {
+ private boolean jj_3R_NonLiteral_332_7_91() {
+ if (jj_3R_MapData_361_5_101()) {
return true;
}
return false;
}
-
- private boolean jj_3R_NonLiteral_331_7_88() {
- if (jj_3R_ListData_349_5_98()) {
+ private boolean jj_3R_NonLiteral_331_7_90() {
+ if (jj_3R_ListData_349_5_100()) {
return true;
}
return false;
}
-
private boolean jj_3R_LambdaExpressionOrInvocation_141_5_23() {
if (jj_scan_token(LPAREN)) {
return true;
@@ -3037,7 +2923,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3_8() {
if (jj_3R_SetData_342_5_25()) {
return true;
@@ -3045,24 +2930,21 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_NonLiteral_329_7_87() {
+ private boolean jj_3R_NonLiteral_329_7_89() {
if (jj_3R_Identifier_377_5_38()) {
return true;
}
return false;
}
-
- private boolean jj_3R_NonLiteral_328_7_86() {
- if (jj_3R_Function_390_5_97()) {
+ private boolean jj_3R_NonLiteral_328_7_88() {
+ if (jj_3R_Function_390_5_99()) {
return true;
}
return false;
}
-
- private boolean jj_3R_NonLiteral_327_7_85() {
+ private boolean jj_3R_NonLiteral_327_7_87() {
if (jj_scan_token(LPAREN)) {
return true;
}
@@ -3075,15 +2957,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_MethodParameters_317_16_110() {
+ private boolean jj_3R_MethodParameters_317_16_112() {
if (jj_3R_Expression_99_5_36()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_MethodParameters_317_31_111()) {
+ if (jj_3R_MethodParameters_317_31_113()) {
jj_scanpos = xsp;
break;
}
@@ -3091,31 +2972,29 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_ValueSuffix_291_41_108() {
- if (jj_3R_MethodParameters_317_5_106()) {
+ private boolean jj_3R_ValueSuffix_291_41_110() {
+ if (jj_3R_MethodParameters_317_5_108()) {
return true;
}
return false;
}
-
- private boolean jj_3R_NonLiteral_326_5_77() {
+ private boolean jj_3R_NonLiteral_326_5_79() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_6()) {
jj_scanpos = xsp;
- if (jj_3R_NonLiteral_327_7_85()) {
+ if (jj_3R_NonLiteral_327_7_87()) {
jj_scanpos = xsp;
- if (jj_3R_NonLiteral_328_7_86()) {
+ if (jj_3R_NonLiteral_328_7_88()) {
jj_scanpos = xsp;
- if (jj_3R_NonLiteral_329_7_87()) {
+ if (jj_3R_NonLiteral_329_7_89()) {
jj_scanpos = xsp;
if (jj_3_8()) {
jj_scanpos = xsp;
- if (jj_3R_NonLiteral_331_7_88()) {
+ if (jj_3R_NonLiteral_331_7_90()) {
jj_scanpos = xsp;
- if (jj_3R_NonLiteral_332_7_89()) {
+ if (jj_3R_NonLiteral_332_7_91()) {
return true;
}
}
@@ -3127,7 +3006,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3_6() {
if (jj_3R_LambdaExpressionOrInvocation_141_5_23()) {
return true;
@@ -3135,7 +3013,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_LambdaParameters_132_5_32() {
if (jj_3R_Identifier_377_5_38()) {
return true;
@@ -3143,7 +3020,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_LambdaParameters_132_5_27() {
Token xsp;
xsp = jj_scanpos;
@@ -3156,7 +3032,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3_1() {
if (jj_scan_token(ASSIGN)) {
return true;
@@ -3167,14 +3042,13 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_MethodParameters_317_5_106() {
+ private boolean jj_3R_MethodParameters_317_5_108() {
if (jj_scan_token(LPAREN)) {
return true;
}
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_MethodParameters_317_16_110()) {
+ if (jj_3R_MethodParameters_317_16_112()) {
jj_scanpos = xsp;
}
if (jj_scan_token(RPAREN)) {
@@ -3183,7 +3057,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_LambdaExpression_124_5_21() {
if (jj_3R_LambdaParameters_132_5_27()) {
return true;
@@ -3202,8 +3075,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Semicolon_107_20_46() {
+ private boolean jj_3R_Semicolon_107_20_48() {
if (jj_scan_token(SEMICOLON)) {
return true;
}
@@ -3213,8 +3085,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_BracketSuffix_309_5_91() {
+ private boolean jj_3R_BracketSuffix_309_5_93() {
if (jj_scan_token(LBRACK)) {
return true;
}
@@ -3227,15 +3098,13 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_ValueSuffix_291_21_79() {
- if (jj_3R_BracketSuffix_309_5_91()) {
+ private boolean jj_3R_ValueSuffix_291_21_81() {
+ if (jj_3R_BracketSuffix_309_5_93()) {
return true;
}
return false;
}
-
private boolean jj_3R_Assignment_116_5_26() {
if (jj_3R_Choice_155_5_22()) {
return true;
@@ -3251,7 +3120,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3_2() {
if (jj_3R_LambdaExpression_124_5_21()) {
return true;
@@ -3259,7 +3127,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
private boolean jj_3R_Assignment_115_5_20() {
Token xsp;
xsp = jj_scanpos;
@@ -3272,8 +3139,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_DotSuffix_300_5_90() {
+ private boolean jj_3R_DotSuffix_300_5_92() {
if (jj_scan_token(DOT)) {
return true;
}
@@ -3283,15 +3149,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Semicolon_107_5_42() {
+ private boolean jj_3R_Semicolon_107_5_43() {
if (jj_3R_Assignment_115_5_20()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Semicolon_107_20_46()) {
+ if (jj_3R_Semicolon_107_20_48()) {
jj_scanpos = xsp;
break;
}
@@ -3299,85 +3164,77 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_ValueSuffix_291_7_78() {
- if (jj_3R_DotSuffix_300_5_90()) {
+ private boolean jj_3R_ValueSuffix_291_7_80() {
+ if (jj_3R_DotSuffix_300_5_92()) {
return true;
}
return false;
}
-
- private boolean jj_3R_ValueSuffix_291_5_75() {
+ private boolean jj_3R_ValueSuffix_291_5_77() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_ValueSuffix_291_7_78()) {
+ if (jj_3R_ValueSuffix_291_7_80()) {
jj_scanpos = xsp;
- if (jj_3R_ValueSuffix_291_21_79()) {
+ if (jj_3R_ValueSuffix_291_21_81()) {
return true;
}
}
xsp = jj_scanpos;
- if (jj_3R_ValueSuffix_291_41_108()) {
+ if (jj_3R_ValueSuffix_291_41_110()) {
jj_scanpos = xsp;
}
return false;
}
-
private boolean jj_3R_Expression_99_5_36() {
- if (jj_3R_Semicolon_107_5_42()) {
+ if (jj_3R_Semicolon_107_5_43()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Value_272_21_72() {
- if (jj_3R_ValueSuffix_291_5_75()) {
+ private boolean jj_3R_Value_272_21_74() {
+ if (jj_3R_ValueSuffix_291_5_77()) {
return true;
}
return false;
}
-
- private boolean jj_3R_ValuePrefix_282_7_74() {
- if (jj_3R_NonLiteral_326_5_77()) {
+ private boolean jj_3R_ValuePrefix_282_7_76() {
+ if (jj_3R_NonLiteral_326_5_79()) {
return true;
}
return false;
}
-
- private boolean jj_3R_ValuePrefix_281_5_71() {
+ private boolean jj_3R_ValuePrefix_281_5_73() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_ValuePrefix_281_5_73()) {
+ if (jj_3R_ValuePrefix_281_5_75()) {
jj_scanpos = xsp;
- if (jj_3R_ValuePrefix_282_7_74()) {
+ if (jj_3R_ValuePrefix_282_7_76()) {
return true;
}
}
return false;
}
-
- private boolean jj_3R_ValuePrefix_281_5_73() {
- if (jj_3R_Literal_408_5_76()) {
+ private boolean jj_3R_ValuePrefix_281_5_75() {
+ if (jj_3R_Literal_408_5_78()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Value_272_5_70() {
- if (jj_3R_ValuePrefix_281_5_71()) {
+ private boolean jj_3R_Value_272_5_72() {
+ if (jj_3R_ValuePrefix_281_5_73()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Value_272_21_72()) {
+ if (jj_3R_Value_272_21_74()) {
jj_scanpos = xsp;
break;
}
@@ -3385,35 +3242,31 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Null_458_5_96() {
+ private boolean jj_3R_Null_458_5_98() {
if (jj_scan_token(NULL)) {
return true;
}
return false;
}
-
- private boolean jj_3R_Unary_263_9_66() {
- if (jj_3R_Value_272_5_70()) {
+ private boolean jj_3R_Unary_263_9_68() {
+ if (jj_3R_Value_272_5_72()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Unary_261_9_65() {
+ private boolean jj_3R_Unary_261_9_67() {
if (jj_scan_token(EMPTY)) {
return true;
}
- if (jj_3R_Unary_257_9_59()) {
+ if (jj_3R_Unary_257_9_61()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Unary_259_9_64() {
+ private boolean jj_3R_Unary_259_9_66() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(37)) {
@@ -3422,23 +3275,22 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Unary_257_9_59()) {
+ if (jj_3R_Unary_257_9_61()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Unary_257_9_59() {
+ private boolean jj_3R_Unary_257_9_61() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Unary_257_9_63()) {
+ if (jj_3R_Unary_257_9_65()) {
jj_scanpos = xsp;
- if (jj_3R_Unary_259_9_64()) {
+ if (jj_3R_Unary_259_9_66()) {
jj_scanpos = xsp;
- if (jj_3R_Unary_261_9_65()) {
+ if (jj_3R_Unary_261_9_67()) {
jj_scanpos = xsp;
- if (jj_3R_Unary_263_9_66()) {
+ if (jj_3R_Unary_263_9_68()) {
return true;
}
}
@@ -3447,27 +3299,24 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Unary_257_9_63() {
+ private boolean jj_3R_Unary_257_9_65() {
if (jj_scan_token(MINUS)) {
return true;
}
- if (jj_3R_Unary_257_9_59()) {
+ if (jj_3R_Unary_257_9_61()) {
return true;
}
return false;
}
-
- private boolean jj_3R_String_449_5_95() {
+ private boolean jj_3R_String_449_5_97() {
if (jj_scan_token(STRING_LITERAL)) {
return true;
}
return false;
}
-
- private boolean jj_3R_Multiplication_247_9_69() {
+ private boolean jj_3R_Multiplication_247_9_71() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(51)) {
@@ -3476,22 +3325,20 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Unary_257_9_59()) {
+ if (jj_3R_Unary_257_9_61()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Integer_440_5_94() {
+ private boolean jj_3R_Integer_440_5_96() {
if (jj_scan_token(INTEGER_LITERAL)) {
return true;
}
return false;
}
-
- private boolean jj_3R_Multiplication_245_9_68() {
+ private boolean jj_3R_Multiplication_245_9_70() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(49)) {
@@ -3500,21 +3347,20 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Unary_257_9_59()) {
+ if (jj_3R_Unary_257_9_61()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Multiplication_243_9_60() {
+ private boolean jj_3R_Multiplication_243_9_62() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Multiplication_243_9_67()) {
+ if (jj_3R_Multiplication_243_9_69()) {
jj_scanpos = xsp;
- if (jj_3R_Multiplication_245_9_68()) {
+ if (jj_3R_Multiplication_245_9_70()) {
jj_scanpos = xsp;
- if (jj_3R_Multiplication_247_9_69()) {
+ if (jj_3R_Multiplication_247_9_71()) {
return true;
}
}
@@ -3522,26 +3368,24 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Multiplication_243_9_67() {
+ private boolean jj_3R_Multiplication_243_9_69() {
if (jj_scan_token(MULT)) {
return true;
}
- if (jj_3R_Unary_257_9_59()) {
+ if (jj_3R_Unary_257_9_61()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Multiplication_241_5_57() {
- if (jj_3R_Unary_257_9_59()) {
+ private boolean jj_3R_Multiplication_241_5_59() {
+ if (jj_3R_Unary_257_9_61()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Multiplication_243_9_60()) {
+ if (jj_3R_Multiplication_243_9_62()) {
jj_scanpos = xsp;
break;
}
@@ -3549,87 +3393,79 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_FloatingPoint_431_5_93() {
+ private boolean jj_3R_FloatingPoint_431_5_95() {
if (jj_scan_token(FLOATING_POINT_LITERAL)) {
return true;
}
return false;
}
-
- private boolean jj_3R_Math_231_9_62() {
+ private boolean jj_3R_Math_231_9_64() {
if (jj_scan_token(MINUS)) {
return true;
}
- if (jj_3R_Multiplication_241_5_57()) {
+ if (jj_3R_Multiplication_241_5_59()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Boolean_423_7_101() {
+ private boolean jj_3R_Boolean_423_7_103() {
if (jj_scan_token(FALSE)) {
return true;
}
return false;
}
-
- private boolean jj_3R_Math_229_9_58() {
+ private boolean jj_3R_Math_229_9_60() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Math_229_9_61()) {
+ if (jj_3R_Math_229_9_63()) {
jj_scanpos = xsp;
- if (jj_3R_Math_231_9_62()) {
+ if (jj_3R_Math_231_9_64()) {
return true;
}
}
return false;
}
-
- private boolean jj_3R_Math_229_9_61() {
+ private boolean jj_3R_Math_229_9_63() {
if (jj_scan_token(PLUS)) {
return true;
}
- if (jj_3R_Multiplication_241_5_57()) {
+ if (jj_3R_Multiplication_241_5_59()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Boolean_421_5_100() {
+ private boolean jj_3R_Boolean_421_5_102() {
if (jj_scan_token(TRUE)) {
return true;
}
return false;
}
-
- private boolean jj_3R_Boolean_421_5_92() {
+ private boolean jj_3R_Boolean_421_5_94() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Boolean_421_5_100()) {
+ if (jj_3R_Boolean_421_5_102()) {
jj_scanpos = xsp;
- if (jj_3R_Boolean_423_7_101()) {
+ if (jj_3R_Boolean_423_7_103()) {
return true;
}
}
return false;
}
-
- private boolean jj_3R_Math_227_5_51() {
- if (jj_3R_Multiplication_241_5_57()) {
+ private boolean jj_3R_Math_227_5_53() {
+ if (jj_3R_Multiplication_241_5_59()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Math_229_9_58()) {
+ if (jj_3R_Math_229_9_60()) {
jj_scanpos = xsp;
break;
}
@@ -3637,51 +3473,45 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Literal_412_7_84() {
- if (jj_3R_Null_458_5_96()) {
+ private boolean jj_3R_Literal_412_7_86() {
+ if (jj_3R_Null_458_5_98()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Literal_411_7_83() {
- if (jj_3R_String_449_5_95()) {
+ private boolean jj_3R_Literal_411_7_85() {
+ if (jj_3R_String_449_5_97()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Concatenation_217_10_52() {
+ private boolean jj_3R_Concatenation_217_10_54() {
if (jj_scan_token(CONCAT)) {
return true;
}
- if (jj_3R_Math_227_5_51()) {
+ if (jj_3R_Math_227_5_53()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Literal_410_7_82() {
- if (jj_3R_Integer_440_5_94()) {
+ private boolean jj_3R_Literal_410_7_84() {
+ if (jj_3R_Integer_440_5_96()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Literal_409_7_81() {
- if (jj_3R_FloatingPoint_431_5_93()) {
+ private boolean jj_3R_Literal_409_7_83() {
+ if (jj_3R_FloatingPoint_431_5_95()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Function_390_24_102() {
+ private boolean jj_3R_Function_390_24_104() {
if (jj_scan_token(COLON)) {
return true;
}
@@ -3691,27 +3521,25 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Literal_408_5_80() {
- if (jj_3R_Boolean_421_5_92()) {
+ private boolean jj_3R_Literal_408_5_82() {
+ if (jj_3R_Boolean_421_5_94()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Literal_408_5_76() {
+ private boolean jj_3R_Literal_408_5_78() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Literal_408_5_80()) {
+ if (jj_3R_Literal_408_5_82()) {
jj_scanpos = xsp;
- if (jj_3R_Literal_409_7_81()) {
+ if (jj_3R_Literal_409_7_83()) {
jj_scanpos = xsp;
- if (jj_3R_Literal_410_7_82()) {
+ if (jj_3R_Literal_410_7_84()) {
jj_scanpos = xsp;
- if (jj_3R_Literal_411_7_83()) {
+ if (jj_3R_Literal_411_7_85()) {
jj_scanpos = xsp;
- if (jj_3R_Literal_412_7_84()) {
+ if (jj_3R_Literal_412_7_86()) {
return true;
}
}
@@ -3721,15 +3549,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Concatenation_215_6_47() {
- if (jj_3R_Math_227_5_51()) {
+ private boolean jj_3R_Concatenation_215_6_49() {
+ if (jj_3R_Math_227_5_53()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Concatenation_217_10_52()) {
+ if (jj_3R_Concatenation_217_10_54()) {
jj_scanpos = xsp;
break;
}
@@ -3737,16 +3564,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Function_399_7_103() {
- if (jj_3R_MethodParameters_317_5_106()) {
+ private boolean jj_3R_Function_399_7_105() {
+ if (jj_3R_MethodParameters_317_5_108()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Compare_204_9_56() {
+ private boolean jj_3R_Compare_204_9_58() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(29)) {
@@ -3755,14 +3580,13 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Concatenation_215_6_47()) {
+ if (jj_3R_Concatenation_215_6_49()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Compare_202_9_55() {
+ private boolean jj_3R_Compare_202_9_57() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(31)) {
@@ -3771,14 +3595,13 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Concatenation_215_6_47()) {
+ if (jj_3R_Concatenation_215_6_49()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Compare_200_9_54() {
+ private boolean jj_3R_Compare_200_9_56() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(25)) {
@@ -3787,23 +3610,22 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Concatenation_215_6_47()) {
+ if (jj_3R_Concatenation_215_6_49()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Compare_198_9_48() {
+ private boolean jj_3R_Compare_198_9_50() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Compare_198_9_53()) {
+ if (jj_3R_Compare_198_9_55()) {
jj_scanpos = xsp;
- if (jj_3R_Compare_200_9_54()) {
+ if (jj_3R_Compare_200_9_56()) {
jj_scanpos = xsp;
- if (jj_3R_Compare_202_9_55()) {
+ if (jj_3R_Compare_202_9_57()) {
jj_scanpos = xsp;
- if (jj_3R_Compare_204_9_56()) {
+ if (jj_3R_Compare_204_9_58()) {
return true;
}
}
@@ -3812,8 +3634,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Compare_198_9_53() {
+ private boolean jj_3R_Compare_198_9_55() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(27)) {
@@ -3822,28 +3643,27 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Concatenation_215_6_47()) {
+ if (jj_3R_Concatenation_215_6_49()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Function_390_5_97() {
+ private boolean jj_3R_Function_390_5_99() {
if (jj_scan_token(IDENTIFIER)) {
return true;
}
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Function_390_24_102()) {
+ if (jj_3R_Function_390_24_104()) {
jj_scanpos = xsp;
}
- if (jj_3R_Function_399_7_103()) {
+ if (jj_3R_Function_399_7_105()) {
return true;
}
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Function_399_7_103()) {
+ if (jj_3R_Function_399_7_105()) {
jj_scanpos = xsp;
break;
}
@@ -3851,15 +3671,14 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Compare_196_5_44() {
- if (jj_3R_Concatenation_215_6_47()) {
+ private boolean jj_3R_Compare_196_5_45() {
+ if (jj_3R_Concatenation_215_6_49()) {
return true;
}
Token xsp;
while (true) {
xsp = jj_scanpos;
- if (jj_3R_Compare_198_9_48()) {
+ if (jj_3R_Compare_198_9_50()) {
jj_scanpos = xsp;
break;
}
@@ -3867,8 +3686,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
- private boolean jj_3R_Equality_186_9_50() {
+ private boolean jj_3R_Equality_186_9_52() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(35)) {
@@ -3877,27 +3695,25 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Compare_196_5_44()) {
+ if (jj_3R_Compare_196_5_45()) {
return true;
}
return false;
}
-
- private boolean jj_3R_Equality_184_9_45() {
+ private boolean jj_3R_Equality_184_9_46() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_Equality_184_9_49()) {
+ if (jj_3R_Equality_184_9_51()) {
jj_scanpos = xsp;
- if (jj_3R_Equality_186_9_50()) {
+ if (jj_3R_Equality_186_9_52()) {
return true;
}
}
return false;
}
-
- private boolean jj_3R_Equality_184_9_49() {
+ private boolean jj_3R_Equality_184_9_51() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(33)) {
@@ -3906,13 +3722,12 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return true;
}
}
- if (jj_3R_Compare_196_5_44()) {
+ if (jj_3R_Compare_196_5_45()) {
return true;
}
return false;
}
-
private boolean jj_3R_LambdaExpression_124_68_28() {
if (jj_3R_Choice_155_5_22()) {
return true;
@@ -3920,6 +3735,35 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
+ private boolean jj_3R_And_174_17_41() {
+ Token xsp;
+ if (jj_3R_And_173_18_47()) {
+ return true;
+ }
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_And_173_18_47()) {
+ jj_scanpos = xsp;
+ break;
+ }
+ }
+ return false;
+ }
+
+ private boolean jj_3R_And_173_18_47() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_scan_token(39)) {
+ jj_scanpos = xsp;
+ if (jj_scan_token(40)) {
+ return true;
+ }
+ }
+ if (jj_3R_Equality_182_5_40()) {
+ return true;
+ }
+ return false;
+ }
private boolean jj_3R_Identifier_377_5_38() {
if (jj_scan_token(IDENTIFIER)) {
@@ -3928,67 +3772,49 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return false;
}
-
/** Generated Token Manager. */
public ELParserTokenManager token_source;
-
SimpleCharStream jj_input_stream;
-
/** Current token. */
public Token token;
-
/** Next token. */
public Token jj_nt;
-
private int jj_ntk;
-
private Token jj_scanpos, jj_lastpos;
-
private int jj_la;
-
private int jj_gen;
-
- final private int[] jj_la1 = new int[52];
-
+ final private int[] jj_la1 = new int[54];
static private int[] jj_la1_0;
-
static private int[] jj_la1_1;
static {
jj_la1_init_0();
jj_la1_init_1();
}
-
private static void jj_la1_init_0() {
jj_la1_0 = new int[] { 0xe, 0xe, 0x800000, 0x15ed00, 0x15ed00, 0x1000000, 0x0, 0x40000, 0x15ed00, 0x40000, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfe000000, 0x18000000, 0x6000000, 0x80000000, 0x60000000,
+ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfe000000, 0x18000000, 0x6000000, 0x80000000, 0x60000000,
0xfe000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x15ed00, 0x120000, 0x15ed00, 0x120000, 0x40000,
0x1000000, 0x15ed00, 0x40000, 0x0, 0x100100, 0x1000000, 0x15ed00, 0x1000000, 0x15ed00, 0x1000000,
0x15ed00, 0x400000, 0x40000, 0x1ec00, 0xc000, };
}
-
private static void jj_la1_init_1() {
jj_la1_1 = new int[] { 0x0, 0x0, 0x0, 0x1008860, 0x1008860, 0x0, 0x1000000, 0x1000000, 0x1008860, 0x0, 0x600,
- 0x600, 0x180, 0x180, 0x1e, 0x6, 0x18, 0x1e, 0x1, 0x0, 0x0, 0x1, 0x0, 0x1, 0x200000, 0xc000, 0xc000,
- 0x1e2000, 0x60000, 0x180000, 0x1e2000, 0x60, 0x1008860, 0x0, 0x1000000, 0x0, 0x0, 0x0, 0x1008860, 0x0,
- 0x1000000, 0x0, 0x0, 0x1008860, 0x0, 0x1008860, 0x0, 0x1008860, 0x0, 0x0, 0x0, 0x0, };
+ 0x600, 0x600, 0x180, 0x180, 0x180, 0x1e, 0x6, 0x18, 0x1e, 0x1, 0x0, 0x0, 0x1, 0x0, 0x1, 0x200000,
+ 0xc000, 0xc000, 0x1e2000, 0x60000, 0x180000, 0x1e2000, 0x60, 0x1008860, 0x0, 0x1000000, 0x0, 0x0, 0x0,
+ 0x1008860, 0x0, 0x1000000, 0x0, 0x0, 0x1008860, 0x0, 0x1008860, 0x0, 0x1008860, 0x0, 0x0, 0x0, 0x0, };
}
-
final private JJCalls[] jj_2_rtns = new JJCalls[8];
-
private boolean jj_rescan = false;
-
private int jj_gc = 0;
-
/** Constructor with InputStream. */
public ELParser(java.io.InputStream stream) {
this(stream, null);
}
-
/** Constructor with InputStream and supplied encoding */
public ELParser(java.io.InputStream stream, String encoding) {
try {
@@ -4000,7 +3826,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
token = new Token();
jj_ntk = -1;
jj_gen = 0;
- for (int i = 0; i < 52; i++) {
+ for (int i = 0; i < 54; i++) {
jj_la1[i] = -1;
}
for (int i = 0; i < jj_2_rtns.length; i++) {
@@ -4008,13 +3834,11 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/** Reinitialise. */
public void ReInit(java.io.InputStream stream) {
ReInit(stream, null);
}
-
/** Reinitialise. */
public void ReInit(java.io.InputStream stream, String encoding) {
try {
@@ -4027,7 +3851,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
- for (int i = 0; i < 52; i++) {
+ for (int i = 0; i < 54; i++) {
jj_la1[i] = -1;
}
for (int i = 0; i < jj_2_rtns.length; i++) {
@@ -4035,7 +3859,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/** Constructor. */
public ELParser(java.io.Reader stream) {
jj_input_stream = new SimpleCharStream(stream, 1, 1);
@@ -4043,7 +3866,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
token = new Token();
jj_ntk = -1;
jj_gen = 0;
- for (int i = 0; i < 52; i++) {
+ for (int i = 0; i < 54; i++) {
jj_la1[i] = -1;
}
for (int i = 0; i < jj_2_rtns.length; i++) {
@@ -4051,7 +3874,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/** Reinitialise. */
public void ReInit(java.io.Reader stream) {
if (jj_input_stream == null) {
@@ -4068,7 +3890,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
- for (int i = 0; i < 52; i++) {
+ for (int i = 0; i < 54; i++) {
jj_la1[i] = -1;
}
for (int i = 0; i < jj_2_rtns.length; i++) {
@@ -4076,14 +3898,13 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/** Constructor with generated Token Manager. */
public ELParser(ELParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
- for (int i = 0; i < 52; i++) {
+ for (int i = 0; i < 54; i++) {
jj_la1[i] = -1;
}
for (int i = 0; i < jj_2_rtns.length; i++) {
@@ -4091,7 +3912,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/** Reinitialise. */
public void ReInit(ELParserTokenManager tm) {
token_source = tm;
@@ -4099,7 +3919,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
- for (int i = 0; i < 52; i++) {
+ for (int i = 0; i < 54; i++) {
jj_la1[i] = -1;
}
for (int i = 0; i < jj_2_rtns.length; i++) {
@@ -4107,7 +3927,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private Token jj_consume_token(int kind) throws ParseException {
Token oldToken;
if ((oldToken = token).next != null) {
@@ -4137,20 +3956,16 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
throw generateParseException();
}
-
@SuppressWarnings("serial")
static private final class LookaheadSuccess extends java.lang.Error {
-
@Override
public Throwable fillInStackTrace() {
return this;
}
}
-
static private final LookaheadSuccess jj_ls = new LookaheadSuccess();
-
private boolean jj_scan_token(int kind) {
if (jj_scanpos == jj_lastpos) {
jj_la--;
@@ -4195,7 +4010,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return token;
}
-
/** Get the specific Token. */
final public Token getToken(int index) {
Token t = token;
@@ -4209,7 +4023,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return t;
}
-
private int jj_ntk_f() {
if ((jj_nt = token.next) == null) {
return (jj_ntk = (token.next = token_source.getNextToken()).kind);
@@ -4218,18 +4031,12 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
private java.util.List<int[]> jj_expentries = new java.util.ArrayList<int[]>();
-
private int[] jj_expentry;
-
private int jj_kind = -1;
-
private int[] jj_lasttokens = new int[100];
-
private int jj_endpos;
-
private void jj_add_error_token(int kind, int pos) {
if (pos >= 100) {
return;
@@ -4268,7 +4075,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
}
}
-
/** Generate ParseException. */
public ParseException generateParseException() {
jj_expentries.clear();
@@ -4277,7 +4083,7 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
la1tokens[jj_kind] = true;
jj_kind = -1;
}
- for (int i = 0; i < 52; i++) {
+ for (int i = 0; i < 54; i++) {
if (jj_la1[i] == jj_gen) {
for (int j = 0; j < 32; j++) {
if ((jj_la1_0[i] & (1 << j)) != 0) {
@@ -4306,26 +4112,21 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
return new ParseException(token, exptokseq, tokenImage);
}
-
private boolean trace_enabled;
-
/** Trace enabled. */
final public boolean trace_enabled() {
return trace_enabled;
}
-
/** Enable tracing. */
final public void enable_tracing() {
}
-
/** Disable tracing. */
final public void disable_tracing() {
}
-
private void jj_rescan_token() {
jj_rescan = true;
for (int i = 0; i < 8; i++) {
@@ -4337,30 +4138,30 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
jj_la = p.arg;
jj_lastpos = jj_scanpos = p.first;
switch (i) {
- case 0:
- jj_3_1();
- break;
- case 1:
- jj_3_2();
- break;
- case 2:
- jj_3_3();
- break;
- case 3:
- jj_3_4();
- break;
- case 4:
- jj_3_5();
- break;
- case 5:
- jj_3_6();
- break;
- case 6:
- jj_3_7();
- break;
- case 7:
- jj_3_8();
- break;
+ case 0:
+ jj_3_1();
+ break;
+ case 1:
+ jj_3_2();
+ break;
+ case 2:
+ jj_3_3();
+ break;
+ case 3:
+ jj_3_4();
+ break;
+ case 4:
+ jj_3_5();
+ break;
+ case 5:
+ jj_3_6();
+ break;
+ case 6:
+ jj_3_7();
+ break;
+ case 7:
+ jj_3_8();
+ break;
}
}
p = p.next;
@@ -4372,7 +4173,6 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
jj_rescan = false;
}
-
private void jj_save(int index, int xla) {
JJCalls p = jj_2_rtns[index];
while (p.gen > jj_gen) {
@@ -4388,15 +4188,11 @@ public class ELParser/*@bgen(jjtree)*/ implements ELParserTreeConstants, ELParse
p.arg = xla;
}
-
static final class JJCalls {
-
int gen;
-
Token first;
-
int arg;
-
JJCalls next;
}
+
}
diff --git a/java/org/apache/el/parser/ELParser.jjt b/java/org/apache/el/parser/ELParser.jjt
index ce9c7fe431..8739d038cc 100644
--- a/java/org/apache/el/parser/ELParser.jjt
+++ b/java/org/apache/el/parser/ELParser.jjt
@@ -161,7 +161,7 @@ void Choice() : {}
*/
void Or() : {}
{
- And() ((<OR0>|<OR1>) And() #Or(2))*
+ And() [((<OR0>|<OR1>) And())+ #Or(jjtree.nodeArity() + 1)]
}
/*
@@ -170,7 +170,7 @@ void Or() : {}
*/
void And() : {}
{
- Equality() ((<AND0>|<AND1>) Equality() #And(2))*
+ Equality() [((<AND0>|<AND1>) Equality())+ #And(jjtree.nodeArity() + 1)]
}
/*
diff --git a/java/org/apache/el/parser/ELParserConstants.java b/java/org/apache/el/parser/ELParserConstants.java
index 330fde9aca..9eb57a6cc8 100644
--- a/java/org/apache/el/parser/ELParserConstants.java
+++ b/java/org/apache/el/parser/ELParserConstants.java
@@ -1,192 +1,133 @@
/* Generated By:JJTree&JavaCC: Do not edit this line. ELParserConstants.java */
package org.apache.el.parser;
+
/**
- * Token literal values and constants.
- * Generated by org.javacc.parser.OtherFilesGen#start()
+ * Token literal values and constants. Generated by org.javacc.parser.OtherFilesGen#start()
*/
public interface ELParserConstants {
/** End of File. */
int EOF = 0;
-
/** RegularExpression Id. */
int LITERAL_EXPRESSION = 1;
-
/** RegularExpression Id. */
int START_DYNAMIC_EXPRESSION = 2;
-
/** RegularExpression Id. */
int START_DEFERRED_EXPRESSION = 3;
-
/** RegularExpression Id. */
int START_SET_OR_MAP = 8;
-
/** RegularExpression Id. */
int RBRACE = 9;
-
/** RegularExpression Id. */
int INTEGER_LITERAL = 10;
-
/** RegularExpression Id. */
int FLOATING_POINT_LITERAL = 11;
-
/** RegularExpression Id. */
int EXPONENT = 12;
-
/** RegularExpression Id. */
int STRING_LITERAL = 13;
-
/** RegularExpression Id. */
int TRUE = 14;
-
/** RegularExpression Id. */
int FALSE = 15;
-
/** RegularExpression Id. */
int NULL = 16;
-
/** RegularExpression Id. */
int DOT = 17;
-
/** RegularExpression Id. */
int LPAREN = 18;
-
/** RegularExpression Id. */
int RPAREN = 19;
-
/** RegularExpression Id. */
int LBRACK = 20;
-
/** RegularExpression Id. */
int RBRACK = 21;
-
/** RegularExpression Id. */
int COLON = 22;
-
/** RegularExpression Id. */
int SEMICOLON = 23;
-
/** RegularExpression Id. */
int COMMA = 24;
-
/** RegularExpression Id. */
int GT0 = 25;
-
/** RegularExpression Id. */
int GT1 = 26;
-
/** RegularExpression Id. */
int LT0 = 27;
-
/** RegularExpression Id. */
int LT1 = 28;
-
/** RegularExpression Id. */
int GE0 = 29;
-
/** RegularExpression Id. */
int GE1 = 30;
-
/** RegularExpression Id. */
int LE0 = 31;
-
/** RegularExpression Id. */
int LE1 = 32;
-
/** RegularExpression Id. */
int EQ0 = 33;
-
/** RegularExpression Id. */
int EQ1 = 34;
-
/** RegularExpression Id. */
int NE0 = 35;
-
/** RegularExpression Id. */
int NE1 = 36;
-
/** RegularExpression Id. */
int NOT0 = 37;
-
/** RegularExpression Id. */
int NOT1 = 38;
-
/** RegularExpression Id. */
int AND0 = 39;
-
/** RegularExpression Id. */
int AND1 = 40;
-
/** RegularExpression Id. */
int OR0 = 41;
-
/** RegularExpression Id. */
int OR1 = 42;
-
/** RegularExpression Id. */
int EMPTY = 43;
-
/** RegularExpression Id. */
int INSTANCEOF = 44;
-
/** RegularExpression Id. */
int MULT = 45;
-
/** RegularExpression Id. */
int PLUS = 46;
-
/** RegularExpression Id. */
int MINUS = 47;
-
/** RegularExpression Id. */
int QUESTIONMARK = 48;
-
/** RegularExpression Id. */
int DIV0 = 49;
-
/** RegularExpression Id. */
int DIV1 = 50;
-
/** RegularExpression Id. */
int MOD0 = 51;
-
/** RegularExpression Id. */
int MOD1 = 52;
-
/** RegularExpression Id. */
int CONCAT = 53;
-
/** RegularExpression Id. */
int ASSIGN = 54;
-
/** RegularExpression Id. */
int ARROW = 55;
-
/** RegularExpression Id. */
int IDENTIFIER = 56;
-
/** RegularExpression Id. */
int FUNCTIONSUFFIX = 57;
-
/** RegularExpression Id. */
int IMPL_OBJ_START = 58;
-
/** RegularExpression Id. */
int LETTER = 59;
-
/** RegularExpression Id. */
int DIGIT = 60;
-
/** RegularExpression Id. */
int ILLEGAL_CHARACTER = 61;
/** Lexical state. */
int DEFAULT = 0;
-
/** Lexical state. */
int IN_EXPRESSION = 1;
-
/** Lexical state. */
int IN_SET_OR_MAP = 2;
@@ -199,4 +140,5 @@ public interface ELParserConstants {
"\"empty\"", "\"instanceof\"", "\"*\"", "\"+\"", "\"-\"", "\"?\"", "\"/\"", "\"div\"", "\"%\"", "\"mod\"",
"\"+=\"", "\"=\"", "\"->\"", "<IDENTIFIER>", "<FUNCTIONSUFFIX>", "\"#\"", "<LETTER>", "<DIGIT>",
"<ILLEGAL_CHARACTER>", };
+
}
diff --git a/java/org/apache/el/parser/ELParserTokenManager.java b/java/org/apache/el/parser/ELParserTokenManager.java
index d005e40453..cc51f5a573 100644
--- a/java/org/apache/el/parser/ELParserTokenManager.java
+++ b/java/org/apache/el/parser/ELParserTokenManager.java
@@ -5,57 +5,50 @@ package org.apache.el.parser;
/** Token Manager. */
@SuppressWarnings("all") // Ignore warnings in generated code
public class ELParserTokenManager implements ELParserConstants {
-
java.util.Deque<Integer> deque = new java.util.ArrayDeque<Integer>();
/** Debug output. */
public java.io.PrintStream debugStream = System.out;
-
/** Set debug output. */
public void setDebugStream(java.io.PrintStream ds) {
debugStream = ds;
}
-
private final int jjStopStringLiteralDfa_0(int pos, long active0) {
switch (pos) {
- case 0:
- if ((active0 & 0xcL) != 0L) {
- jjmatchedKind = 1;
- return 5;
- }
- return -1;
- default:
- return -1;
+ case 0:
+ if ((active0 & 0xcL) != 0L) {
+ jjmatchedKind = 1;
+ return 5;
+ }
+ return -1;
+ default:
+ return -1;
}
}
-
private final int jjStartNfa_0(int pos, long active0) {
return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);
}
-
private int jjStopAtPos(int pos, int kind) {
jjmatchedKind = kind;
jjmatchedPos = pos;
return pos + 1;
}
-
private int jjMoveStringLiteralDfa0_0() {
switch (curChar) {
- case 35:
- return jjMoveStringLiteralDfa1_0(0x8L);
- case 36:
- return jjMoveStringLiteralDfa1_0(0x4L);
- default:
- return jjMoveNfa_0(7, 0);
+ case 35:
+ return jjMoveStringLiteralDfa1_0(0x8L);
+ case 36:
+ return jjMoveStringLiteralDfa1_0(0x4L);
+ default:
+ return jjMoveNfa_0(7, 0);
}
}
-
private int jjMoveStringLiteralDfa1_0(long active0) {
try {
curChar = input_stream.readChar();
@@ -64,26 +57,23 @@ public class ELParserTokenManager implements ELParserConstants {
return 1;
}
switch (curChar) {
- case 123:
- if ((active0 & 0x4L) != 0L) {
- return jjStopAtPos(1, 2);
- } else if ((active0 & 0x8L) != 0L) {
- return jjStopAtPos(1, 3);
- }
- break;
- default:
- break;
+ case 123:
+ if ((active0 & 0x4L) != 0L) {
+ return jjStopAtPos(1, 2);
+ } else if ((active0 & 0x8L) != 0L) {
+ return jjStopAtPos(1, 3);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_0(0, active0);
}
-
static final long[] jjbitVec0 =
{ 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL };
-
static final long[] jjbitVec2 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL };
-
private int jjMoveNfa_0(int startState, int curPos) {
int startsAt = 0;
jjnewStateCnt = 8;
@@ -98,134 +88,134 @@ public class ELParserTokenManager implements ELParserConstants {
long l = 1L << curChar;
do {
switch (jjstateSet[--i]) {
- case 7:
- if ((0xffffffe7ffffffffL & l) != 0L) {
- if (kind > 1) {
- kind = 1;
+ case 7:
+ if ((0xffffffe7ffffffffL & l) != 0L) {
+ if (kind > 1) {
+ kind = 1;
+ }
+ {
+ jjCheckNAddStates(0, 4);
+ }
+ } else if ((0x1800000000L & l) != 0L) {
+ if (kind > 1) {
+ kind = 1;
+ }
+ {
+ jjCheckNAdd(5);
+ }
}
- {
- jjCheckNAddStates(0, 4);
+ if ((0xffffffe7ffffffffL & l) != 0L) {
+ jjCheckNAddTwoStates(0, 1);
+ }
+ break;
+ case 0:
+ if ((0xffffffe7ffffffffL & l) != 0L) {
+ jjCheckNAddTwoStates(0, 1);
+ }
+ break;
+ case 2:
+ if ((0xffffffe7ffffffffL & l) == 0L) {
+ break;
}
- } else if ((0x1800000000L & l) != 0L) {
if (kind > 1) {
kind = 1;
+ } {
+ jjCheckNAddStates(0, 4);
+ }
+ break;
+ case 3:
+ if ((0xffffffe7ffffffffL & l) != 0L) {
+ jjCheckNAddTwoStates(3, 4);
}
- {
+ break;
+ case 4:
+ if ((0x1800000000L & l) != 0L) {
jjCheckNAdd(5);
}
- }
- if ((0xffffffe7ffffffffL & l) != 0L) {
- jjCheckNAddTwoStates(0, 1);
- }
- break;
- case 0:
- if ((0xffffffe7ffffffffL & l) != 0L) {
- jjCheckNAddTwoStates(0, 1);
- }
- break;
- case 2:
- if ((0xffffffe7ffffffffL & l) == 0L) {
break;
+ case 5:
+ if ((0xffffffe7ffffffffL & l) == 0L) {
+ break;
+ }
+ if (kind > 1) {
+ kind = 1;
+ } {
+ jjCheckNAddStates(5, 8);
}
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(0, 4);
- }
- break;
- case 3:
- if ((0xffffffe7ffffffffL & l) != 0L) {
- jjCheckNAddTwoStates(3, 4);
- }
- break;
- case 4:
- if ((0x1800000000L & l) != 0L) {
- jjCheckNAdd(5);
- }
- break;
- case 5:
- if ((0xffffffe7ffffffffL & l) == 0L) {
break;
+ case 6:
+ if ((0x1800000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 1) {
+ kind = 1;
+ } {
+ jjCheckNAddStates(9, 13);
}
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(5, 8);
- }
- break;
- case 6:
- if ((0x1800000000L & l) == 0L) {
break;
- }
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(9, 13);
- }
- break;
- default:
- break;
+ default:
+ break;
}
} while (i != startsAt);
} else if (curChar < 128) {
long l = 1L << (curChar & 077);
do {
switch (jjstateSet[--i]) {
- case 7:
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(0, 4);
- }
- if ((0xffffffffefffffffL & l) != 0L) {
- jjCheckNAddTwoStates(0, 1);
- } else if (curChar == 92) {
+ case 7:
if (kind > 1) {
kind = 1;
+ } {
+ jjCheckNAddStates(0, 4);
+ }
+ if ((0xffffffffefffffffL & l) != 0L) {
+ jjCheckNAddTwoStates(0, 1);
+ } else if (curChar == 92) {
+ if (kind > 1) {
+ kind = 1;
+ }
+ {
+ jjCheckNAddStates(14, 17);
+ }
+ }
+ break;
+ case 0:
+ if ((0xffffffffefffffffL & l) != 0L) {
+ jjCheckNAddTwoStates(0, 1);
}
- {
- jjCheckNAddStates(14, 17);
+ break;
+ case 1:
+ if (curChar != 92) {
+ break;
}
+ if (kind > 1) {
+ kind = 1;
+ } {
+ jjCheckNAddStates(14, 17);
}
- break;
- case 0:
- if ((0xffffffffefffffffL & l) != 0L) {
- jjCheckNAddTwoStates(0, 1);
+ break;
+ case 2:
+ if (kind > 1) {
+ kind = 1;
+ } {
+ jjCheckNAddStates(0, 4);
}
- break;
- case 1:
- if (curChar != 92) {
break;
+ case 3: {
+ jjCheckNAddTwoStates(3, 4);
}
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(14, 17);
- }
- break;
- case 2:
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(0, 4);
- }
- break;
- case 3: {
- jjCheckNAddTwoStates(3, 4);
- }
- break;
- case 5:
- if ((0xf7ffffffefffffffL & l) == 0L) {
break;
+ case 5:
+ if ((0xf7ffffffefffffffL & l) == 0L) {
+ break;
+ }
+ if (kind > 1) {
+ kind = 1;
+ } {
+ jjCheckNAddStates(5, 8);
}
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(5, 8);
- }
- break;
- default:
- break;
+ break;
+ default:
+ break;
}
} while (i != startsAt);
} else {
@@ -236,55 +226,55 @@ public class ELParserTokenManager implements ELParserConstants {
long l2 = 1L << (curChar & 077);
do {
switch (jjstateSet[--i]) {
- case 7:
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- jjCheckNAddTwoStates(0, 1);
- }
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- if (kind > 1) {
- kind = 1;
+ case 7:
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ jjCheckNAddTwoStates(0, 1);
}
- {
- jjCheckNAddStates(0, 4);
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ if (kind > 1) {
+ kind = 1;
+ }
+ {
+ jjCheckNAddStates(0, 4);
+ }
}
- }
- break;
- case 0:
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- jjCheckNAddTwoStates(0, 1);
- }
- break;
- case 2:
- if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) {
break;
- }
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(0, 4);
- }
- break;
- case 3:
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- jjCheckNAddTwoStates(3, 4);
- }
- break;
- case 5:
- if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ case 0:
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ jjCheckNAddTwoStates(0, 1);
+ }
break;
+ case 2:
+ if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
+ if (kind > 1) {
+ kind = 1;
+ } {
+ jjCheckNAddStates(0, 4);
}
- if (kind > 1) {
- kind = 1;
- } {
- jjCheckNAddStates(5, 8);
- }
- break;
- default:
- if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) {
break;
- } else {
+ case 3:
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ jjCheckNAddTwoStates(3, 4);
+ }
break;
+ case 5:
+ if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
+ if (kind > 1) {
+ kind = 1;
+ } {
+ jjCheckNAddStates(5, 8);
}
+ break;
+ default:
+ if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) {
+ break;
+ } else {
+ break;
+ }
}
} while (i != startsAt);
}
@@ -305,177 +295,173 @@ public class ELParserTokenManager implements ELParserConstants {
}
}
-
private final int jjStopStringLiteralDfa_2(int pos, long active0) {
switch (pos) {
- case 0:
- if ((active0 & 0x20000L) != 0L) {
- return 1;
- }
- if ((active0 & 0x141d555401c000L) != 0L) {
- jjmatchedKind = 56;
- return 30;
- }
- return -1;
- case 1:
- if ((active0 & 0x41554000000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x1419400001c000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 1;
- return 30;
- }
- return -1;
- case 2:
- if ((active0 & 0x14014000000000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x18000001c000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 2;
- return 30;
- }
- return -1;
- case 3:
- if ((active0 & 0x14000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x180000008000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 3;
- return 30;
- }
- return -1;
- case 4:
- if ((active0 & 0x80000008000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 4;
- return 30;
- }
- return -1;
- case 5:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 5;
- return 30;
- }
- return -1;
- case 6:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 6;
- return 30;
- }
- return -1;
- case 7:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 7;
- return 30;
- }
- return -1;
- case 8:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 8;
- return 30;
- }
- return -1;
- default:
- return -1;
+ case 0:
+ if ((active0 & 0x20000L) != 0L) {
+ return 1;
+ }
+ if ((active0 & 0x141d555401c000L) != 0L) {
+ jjmatchedKind = 56;
+ return 30;
+ }
+ return -1;
+ case 1:
+ if ((active0 & 0x41554000000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x1419400001c000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 1;
+ return 30;
+ }
+ return -1;
+ case 2:
+ if ((active0 & 0x14014000000000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x18000001c000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 2;
+ return 30;
+ }
+ return -1;
+ case 3:
+ if ((active0 & 0x14000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x180000008000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 3;
+ return 30;
+ }
+ return -1;
+ case 4:
+ if ((active0 & 0x80000008000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 4;
+ return 30;
+ }
+ return -1;
+ case 5:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 5;
+ return 30;
+ }
+ return -1;
+ case 6:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 6;
+ return 30;
+ }
+ return -1;
+ case 7:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 7;
+ return 30;
+ }
+ return -1;
+ case 8:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 8;
+ return 30;
+ }
+ return -1;
+ default:
+ return -1;
}
}
-
private final int jjStartNfa_2(int pos, long active0) {
return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
}
-
private int jjMoveStringLiteralDfa0_2() {
switch (curChar) {
- case 33:
- jjmatchedKind = 37;
- return jjMoveStringLiteralDfa1_2(0x800000000L);
- case 37:
- return jjStopAtPos(0, 51);
- case 38:
- return jjMoveStringLiteralDfa1_2(0x8000000000L);
- case 40:
- return jjStopAtPos(0, 18);
- case 41:
- return jjStopAtPos(0, 19);
- case 42:
- return jjStopAtPos(0, 45);
- case 43:
- jjmatchedKind = 46;
- return jjMoveStringLiteralDfa1_2(0x20000000000000L);
- case 44:
- return jjStopAtPos(0, 24);
- case 45:
- jjmatchedKind = 47;
- return jjMoveStringLiteralDfa1_2(0x80000000000000L);
- case 46:
- return jjStartNfaWithStates_2(0, 17, 1);
- case 47:
- return jjStopAtPos(0, 49);
- case 58:
- return jjStopAtPos(0, 22);
- case 59:
- return jjStopAtPos(0, 23);
- case 60:
- jjmatchedKind = 27;
- return jjMoveStringLiteralDfa1_2(0x80000000L);
- case 61:
- jjmatchedKind = 54;
- return jjMoveStringLiteralDfa1_2(0x200000000L);
- case 62:
- jjmatchedKind = 25;
- return jjMoveStringLiteralDfa1_2(0x20000000L);
- case 63:
- return jjStopAtPos(0, 48);
- case 91:
- return jjStopAtPos(0, 20);
- case 93:
- return jjStopAtPos(0, 21);
- case 97:
- return jjMoveStringLiteralDfa1_2(0x10000000000L);
- case 100:
- return jjMoveStringLiteralDfa1_2(0x4000000000000L);
- case 101:
- return jjMoveStringLiteralDfa1_2(0x80400000000L);
- case 102:
- return jjMoveStringLiteralDfa1_2(0x8000L);
- case 103:
- return jjMoveStringLiteralDfa1_2(0x44000000L);
- case 105:
- return jjMoveStringLiteralDfa1_2(0x100000000000L);
- case 108:
- return jjMoveStringLiteralDfa1_2(0x110000000L);
- case 109:
- return jjMoveStringLiteralDfa1_2(0x10000000000000L);
- case 110:
- return jjMoveStringLiteralDfa1_2(0x5000010000L);
- case 111:
- return jjMoveStringLiteralDfa1_2(0x40000000000L);
- case 116:
- return jjMoveStringLiteralDfa1_2(0x4000L);
- case 123:
- return jjStopAtPos(0, 8);
- case 124:
- return jjMoveStringLiteralDfa1_2(0x20000000000L);
- case 125:
- return jjStopAtPos(0, 9);
- default:
- return jjMoveNfa_2(0, 0);
+ case 33:
+ jjmatchedKind = 37;
+ return jjMoveStringLiteralDfa1_2(0x800000000L);
+ case 37:
+ return jjStopAtPos(0, 51);
+ case 38:
+ return jjMoveStringLiteralDfa1_2(0x8000000000L);
+ case 40:
+ return jjStopAtPos(0, 18);
+ case 41:
+ return jjStopAtPos(0, 19);
+ case 42:
+ return jjStopAtPos(0, 45);
+ case 43:
+ jjmatchedKind = 46;
+ return jjMoveStringLiteralDfa1_2(0x20000000000000L);
+ case 44:
+ return jjStopAtPos(0, 24);
+ case 45:
+ jjmatchedKind = 47;
+ return jjMoveStringLiteralDfa1_2(0x80000000000000L);
+ case 46:
+ return jjStartNfaWithStates_2(0, 17, 1);
+ case 47:
+ return jjStopAtPos(0, 49);
+ case 58:
+ return jjStopAtPos(0, 22);
+ case 59:
+ return jjStopAtPos(0, 23);
+ case 60:
+ jjmatchedKind = 27;
+ return jjMoveStringLiteralDfa1_2(0x80000000L);
+ case 61:
+ jjmatchedKind = 54;
+ return jjMoveStringLiteralDfa1_2(0x200000000L);
+ case 62:
+ jjmatchedKind = 25;
+ return jjMoveStringLiteralDfa1_2(0x20000000L);
+ case 63:
+ return jjStopAtPos(0, 48);
+ case 91:
+ return jjStopAtPos(0, 20);
+ case 93:
+ return jjStopAtPos(0, 21);
+ case 97:
+ return jjMoveStringLiteralDfa1_2(0x10000000000L);
+ case 100:
+ return jjMoveStringLiteralDfa1_2(0x4000000000000L);
+ case 101:
+ return jjMoveStringLiteralDfa1_2(0x80400000000L);
+ case 102:
+ return jjMoveStringLiteralDfa1_2(0x8000L);
+ case 103:
+ return jjMoveStringLiteralDfa1_2(0x44000000L);
+ case 105:
+ return jjMoveStringLiteralDfa1_2(0x100000000000L);
+ case 108:
+ return jjMoveStringLiteralDfa1_2(0x110000000L);
+ case 109:
+ return jjMoveStringLiteralDfa1_2(0x10000000000000L);
+ case 110:
+ return jjMoveStringLiteralDfa1_2(0x5000010000L);
+ case 111:
+ return jjMoveStringLiteralDfa1_2(0x40000000000L);
+ case 116:
+ return jjMoveStringLiteralDfa1_2(0x4000L);
+ case 123:
+ return jjStopAtPos(0, 8);
+ case 124:
+ return jjMoveStringLiteralDfa1_2(0x20000000000L);
+ case 125:
+ return jjStopAtPos(0, 9);
+ default:
+ return jjMoveNfa_2(0, 0);
}
}
-
private int jjMoveStringLiteralDfa1_2(long active0) {
try {
curChar = input_stream.readChar();
@@ -484,79 +470,78 @@ public class ELParserTokenManager implements ELParserConstants {
return 1;
}
switch (curChar) {
- case 38:
- if ((active0 & 0x8000000000L) != 0L) {
- return jjStopAtPos(1, 39);
- }
- break;
- case 61:
- if ((active0 & 0x20000000L) != 0L) {
- return jjStopAtPos(1, 29);
- } else if ((active0 & 0x80000000L) != 0L) {
- return jjStopAtPos(1, 31);
- } else if ((active0 & 0x200000000L) != 0L) {
- return jjStopAtPos(1, 33);
- } else if ((active0 & 0x800000000L) != 0L) {
- return jjStopAtPos(1, 35);
- } else if ((active0 & 0x20000000000000L) != 0L) {
- return jjStopAtPos(1, 53);
- }
- break;
- case 62:
- if ((active0 & 0x80000000000000L) != 0L) {
- return jjStopAtPos(1, 55);
- }
- break;
- case 97:
- return jjMoveStringLiteralDfa2_2(active0, 0x8000L);
- case 101:
- if ((active0 & 0x40000000L) != 0L) {
- return jjStartNfaWithStates_2(1, 30, 30);
- } else if ((active0 & 0x100000000L) != 0L) {
- return jjStartNfaWithStates_2(1, 32, 30);
- } else if ((active0 & 0x1000000000L) != 0L) {
- return jjStartNfaWithStates_2(1, 36, 30);
- }
- break;
- case 105:
- return jjMoveStringLiteralDfa2_2(active0, 0x4000000000000L);
- case 109:
- return jjMoveStringLiteralDfa2_2(active0, 0x80000000000L);
- case 110:
- return jjMoveStringLiteralDfa2_2(active0, 0x110000000000L);
- case 111:
- return jjMoveStringLiteralDfa2_2(active0, 0x10004000000000L);
- case 113:
- if ((active0 & 0x400000000L) != 0L) {
- return jjStartNfaWithStates_2(1, 34, 30);
- }
- break;
- case 114:
- if ((active0 & 0x40000000000L) != 0L) {
- return jjStartNfaWithStates_2(1, 42, 30);
- }
- return jjMoveStringLiteralDfa2_2(active0, 0x4000L);
- case 116:
- if ((active0 & 0x4000000L) != 0L) {
- return jjStartNfaWithStates_2(1, 26, 30);
- } else if ((active0 & 0x10000000L) != 0L) {
- return jjStartNfaWithStates_2(1, 28, 30);
- }
- break;
- case 117:
- return jjMoveStringLiteralDfa2_2(active0, 0x10000L);
- case 124:
- if ((active0 & 0x20000000000L) != 0L) {
- return jjStopAtPos(1, 41);
- }
- break;
- default:
- break;
+ case 38:
+ if ((active0 & 0x8000000000L) != 0L) {
+ return jjStopAtPos(1, 39);
+ }
+ break;
+ case 61:
+ if ((active0 & 0x20000000L) != 0L) {
+ return jjStopAtPos(1, 29);
+ } else if ((active0 & 0x80000000L) != 0L) {
+ return jjStopAtPos(1, 31);
+ } else if ((active0 & 0x200000000L) != 0L) {
+ return jjStopAtPos(1, 33);
+ } else if ((active0 & 0x800000000L) != 0L) {
+ return jjStopAtPos(1, 35);
+ } else if ((active0 & 0x20000000000000L) != 0L) {
+ return jjStopAtPos(1, 53);
+ }
+ break;
+ case 62:
+ if ((active0 & 0x80000000000000L) != 0L) {
+ return jjStopAtPos(1, 55);
+ }
+ break;
+ case 97:
+ return jjMoveStringLiteralDfa2_2(active0, 0x8000L);
+ case 101:
+ if ((active0 & 0x40000000L) != 0L) {
+ return jjStartNfaWithStates_2(1, 30, 30);
+ } else if ((active0 & 0x100000000L) != 0L) {
+ return jjStartNfaWithStates_2(1, 32, 30);
+ } else if ((active0 & 0x1000000000L) != 0L) {
+ return jjStartNfaWithStates_2(1, 36, 30);
+ }
+ break;
+ case 105:
+ return jjMoveStringLiteralDfa2_2(active0, 0x4000000000000L);
+ case 109:
+ return jjMoveStringLiteralDfa2_2(active0, 0x80000000000L);
+ case 110:
+ return jjMoveStringLiteralDfa2_2(active0, 0x110000000000L);
+ case 111:
+ return jjMoveStringLiteralDfa2_2(active0, 0x10004000000000L);
+ case 113:
+ if ((active0 & 0x400000000L) != 0L) {
+ return jjStartNfaWithStates_2(1, 34, 30);
+ }
+ break;
+ case 114:
+ if ((active0 & 0x40000000000L) != 0L) {
+ return jjStartNfaWithStates_2(1, 42, 30);
+ }
+ return jjMoveStringLiteralDfa2_2(active0, 0x4000L);
+ case 116:
+ if ((active0 & 0x4000000L) != 0L) {
+ return jjStartNfaWithStates_2(1, 26, 30);
+ } else if ((active0 & 0x10000000L) != 0L) {
+ return jjStartNfaWithStates_2(1, 28, 30);
+ }
+ break;
+ case 117:
+ return jjMoveStringLiteralDfa2_2(active0, 0x10000L);
+ case 124:
+ if ((active0 & 0x20000000000L) != 0L) {
+ return jjStopAtPos(1, 41);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_2(0, active0);
}
-
private int jjMoveStringLiteralDfa2_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(0, old0);
@@ -568,38 +553,37 @@ public class ELParserTokenManager implements ELParserConstants {
return 2;
}
switch (curChar) {
- case 100:
- if ((active0 & 0x10000000000L) != 0L) {
- return jjStartNfaWithStates_2(2, 40, 30);
- } else if ((active0 & 0x10000000000000L) != 0L) {
- return jjStartNfaWithStates_2(2, 52, 30);
- }
- break;
- case 108:
- return jjMoveStringLiteralDfa3_2(active0, 0x18000L);
- case 112:
- return jjMoveStringLiteralDfa3_2(active0, 0x80000000000L);
- case 115:
- return jjMoveStringLiteralDfa3_2(active0, 0x100000000000L);
- case 116:
- if ((active0 & 0x4000000000L) != 0L) {
- return jjStartNfaWithStates_2(2, 38, 30);
- }
- break;
- case 117:
- return jjMoveStringLiteralDfa3_2(active0, 0x4000L);
- case 118:
- if ((active0 & 0x4000000000000L) != 0L) {
- return jjStartNfaWithStates_2(2, 50, 30);
- }
- break;
- default:
- break;
+ case 100:
+ if ((active0 & 0x10000000000L) != 0L) {
+ return jjStartNfaWithStates_2(2, 40, 30);
+ } else if ((active0 & 0x10000000000000L) != 0L) {
+ return jjStartNfaWithStates_2(2, 52, 30);
+ }
+ break;
+ case 108:
+ return jjMoveStringLiteralDfa3_2(active0, 0x18000L);
+ case 112:
+ return jjMoveStringLiteralDfa3_2(active0, 0x80000000000L);
+ case 115:
+ return jjMoveStringLiteralDfa3_2(active0, 0x100000000000L);
+ case 116:
+ if ((active0 & 0x4000000000L) != 0L) {
+ return jjStartNfaWithStates_2(2, 38, 30);
+ }
+ break;
+ case 117:
+ return jjMoveStringLiteralDfa3_2(active0, 0x4000L);
+ case 118:
+ if ((active0 & 0x4000000000000L) != 0L) {
+ return jjStartNfaWithStates_2(2, 50, 30);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_2(1, active0);
}
-
private int jjMoveStringLiteralDfa3_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(1, old0);
@@ -611,27 +595,26 @@ public class ELParserTokenManager implements ELParserConstants {
return 3;
}
switch (curChar) {
- case 101:
- if ((active0 & 0x4000L) != 0L) {
- return jjStartNfaWithStates_2(3, 14, 30);
- }
- break;
- case 108:
- if ((active0 & 0x10000L) != 0L) {
- return jjStartNfaWithStates_2(3, 16, 30);
- }
- break;
- case 115:
- return jjMoveStringLiteralDfa4_2(active0, 0x8000L);
- case 116:
- return jjMoveStringLiteralDfa4_2(active0, 0x180000000000L);
- default:
- break;
+ case 101:
+ if ((active0 & 0x4000L) != 0L) {
+ return jjStartNfaWithStates_2(3, 14, 30);
+ }
+ break;
+ case 108:
+ if ((active0 & 0x10000L) != 0L) {
+ return jjStartNfaWithStates_2(3, 16, 30);
+ }
+ break;
+ case 115:
+ return jjMoveStringLiteralDfa4_2(active0, 0x8000L);
+ case 116:
+ return jjMoveStringLiteralDfa4_2(active0, 0x180000000000L);
+ default:
+ break;
}
return jjStartNfa_2(2, active0);
}
-
private int jjMoveStringLiteralDfa4_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(2, old0);
@@ -643,25 +626,24 @@ public class ELParserTokenManager implements ELParserConstants {
return 4;
}
switch (curChar) {
- case 97:
- return jjMoveStringLiteralDfa5_2(active0, 0x100000000000L);
- case 101:
- if ((active0 & 0x8000L) != 0L) {
- return jjStartNfaWithStates_2(4, 15, 30);
- }
- break;
- case 121:
- if ((active0 & 0x80000000000L) != 0L) {
- return jjStartNfaWithStates_2(4, 43, 30);
- }
- break;
- default:
- break;
+ case 97:
+ return jjMoveStringLiteralDfa5_2(active0, 0x100000000000L);
+ case 101:
+ if ((active0 & 0x8000L) != 0L) {
+ return jjStartNfaWithStates_2(4, 15, 30);
+ }
+ break;
+ case 121:
+ if ((active0 & 0x80000000000L) != 0L) {
+ return jjStartNfaWithStates_2(4, 43, 30);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_2(3, active0);
}
-
private int jjMoveStringLiteralDfa5_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(3, old0);
@@ -673,15 +655,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 5;
}
switch (curChar) {
- case 110:
- return jjMoveStringLiteralDfa6_2(active0, 0x100000000000L);
- default:
- break;
+ case 110:
+ return jjMoveStringLiteralDfa6_2(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_2(4, active0);
}
-
private int jjMoveStringLiteralDfa6_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(4, old0);
@@ -693,15 +674,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 6;
}
switch (curChar) {
- case 99:
- return jjMoveStringLiteralDfa7_2(active0, 0x100000000000L);
- default:
- break;
+ case 99:
+ return jjMoveStringLiteralDfa7_2(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_2(5, active0);
}
-
private int jjMoveStringLiteralDfa7_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(5, old0);
@@ -713,15 +693,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 7;
}
switch (curChar) {
- case 101:
- return jjMoveStringLiteralDfa8_2(active0, 0x100000000000L);
- default:
- break;
+ case 101:
+ return jjMoveStringLiteralDfa8_2(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_2(6, active0);
}
-
private int jjMoveStringLiteralDfa8_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(6, old0);
@@ -733,15 +712,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 8;
}
switch (curChar) {
- case 111:
- return jjMoveStringLiteralDfa9_2(active0, 0x100000000000L);
- default:
- break;
+ case 111:
+ return jjMoveStringLiteralDfa9_2(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_2(7, active0);
}
-
private int jjMoveStringLiteralDfa9_2(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_2(7, old0);
@@ -753,18 +731,17 @@ public class ELParserTokenManager implements ELParserConstants {
return 9;
}
switch (curChar) {
- case 102:
- if ((active0 & 0x100000000000L) != 0L) {
- return jjStartNfaWithStates_2(9, 44, 30);
- }
- break;
- default:
- break;
+ case 102:
+ if ((active0 & 0x100000000000L) != 0L) {
+ return jjStartNfaWithStates_2(9, 44, 30);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_2(8, active0);
}
-
private int jjStartNfaWithStates_2(int pos, int kind, int state) {
jjmatchedKind = kind;
jjmatchedPos = pos;
@@ -776,20 +753,13 @@ public class ELParserTokenManager implements ELParserConstants {
return jjMoveNfa_2(state, pos + 1);
}
-
static final long[] jjbitVec3 = { 0x1ff00000fffffffeL, 0xffffffffffffc000L, 0xffffffffL, 0x600000000000000L };
-
static final long[] jjbitVec4 = { 0x0L, 0x0L, 0x0L, 0xff7fffffff7fffffL };
-
static final long[] jjbitVec5 = { 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL };
-
static final long[] jjbitVec6 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffL, 0x0L };
-
static final long[] jjbitVec7 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0x0L, 0x0L };
-
static final long[] jjbitVec8 = { 0x3fffffffffffL, 0x0L, 0x0L, 0x0L };
-
private int jjMoveNfa_2(int startState, int curPos) {
int startsAt = 0;
jjnewStateCnt = 30;
@@ -804,325 +774,325 @@ public class ELParserTokenManager implements ELParserConstants {
long l = 1L << curChar;
do {
switch (jjstateSet[--i]) {
- case 0:
- if ((0x3ff000000000000L & l) != 0L) {
- if (kind > 10) {
- kind = 10;
+ case 0:
+ if ((0x3ff000000000000L & l) != 0L) {
+ if (kind > 10) {
+ kind = 10;
+ }
+ {
+ jjCheckNAddStates(18, 22);
+ }
+ } else if ((0x1800000000L & l) != 0L) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAddTwoStates(28, 29);
+ }
+ } else if (curChar == 39) {
+ jjCheckNAddStates(23, 25);
+ } else if (curChar == 34) {
+ jjCheckNAddStates(26, 28);
+ } else if (curChar == 46) {
+ jjCheckNAdd(1);
}
- {
- jjCheckNAddStates(18, 22);
+ break;
+ case 30:
+ if ((0x3ff001000000000L & l) != 0L) {
+ if (kind > 57) {
+ kind = 57;
+ }
+ {
+ jjCheckNAdd(29);
+ }
}
- } else if ((0x1800000000L & l) != 0L) {
- if (kind > 56) {
- kind = 56;
+ if ((0x3ff001000000000L & l) != 0L) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAdd(28);
+ }
}
- {
- jjCheckNAddTwoStates(28, 29);
+ break;
+ case 1:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
}
- } else if (curChar == 39) {
- jjCheckNAddStates(23, 25);
- } else if (curChar == 34) {
- jjCheckNAddStates(26, 28);
- } else if (curChar == 46) {
- jjCheckNAdd(1);
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAddTwoStates(1, 2);
}
- break;
- case 30:
- if ((0x3ff001000000000L & l) != 0L) {
- if (kind > 57) {
- kind = 57;
+ break;
+ case 3:
+ if ((0x280000000000L & l) != 0L) {
+ jjCheckNAdd(4);
}
- {
- jjCheckNAdd(29);
+ break;
+ case 4:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
}
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAdd(4);
}
- if ((0x3ff001000000000L & l) != 0L) {
- if (kind > 56) {
- kind = 56;
+ break;
+ case 5:
+ if (curChar == 34) {
+ jjCheckNAddStates(26, 28);
+ }
+ break;
+ case 6:
+ if ((0xfffffffbffffffffL & l) != 0L) {
+ jjCheckNAddStates(26, 28);
}
- {
- jjCheckNAdd(28);
+ break;
+ case 8:
+ if ((0x8400000000L & l) != 0L) {
+ jjCheckNAddStates(26, 28);
}
- }
- break;
- case 1:
- if ((0x3ff000000000000L & l) == 0L) {
break;
- }
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAddTwoStates(1, 2);
- }
- break;
- case 3:
- if ((0x280000000000L & l) != 0L) {
- jjCheckNAdd(4);
- }
- break;
- case 4:
- if ((0x3ff000000000000L & l) == 0L) {
+ case 9:
+ if (curChar == 34 && kind > 13) {
+ kind = 13;
+ }
break;
- }
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAdd(4);
- }
- break;
- case 5:
- if (curChar == 34) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 6:
- if ((0xfffffffbffffffffL & l) != 0L) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 8:
- if ((0x8400000000L & l) != 0L) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 9:
- if (curChar == 34 && kind > 13) {
- kind = 13;
- }
- break;
- case 10:
- if (curChar == 39) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 11:
- if ((0xffffff7fffffffffL & l) != 0L) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 13:
- if ((0x8400000000L & l) != 0L) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 14:
- if (curChar == 39 && kind > 13) {
- kind = 13;
- }
- break;
- case 15:
- if ((0x3ff000000000000L & l) == 0L) {
+ case 10:
+ if (curChar == 39) {
+ jjCheckNAddStates(23, 25);
+ }
break;
- }
- if (kind > 10) {
- kind = 10;
- } {
- jjCheckNAddStates(18, 22);
- }
- break;
- case 16:
- if ((0x3ff000000000000L & l) == 0L) {
+ case 11:
+ if ((0xffffff7fffffffffL & l) != 0L) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 13:
+ if ((0x8400000000L & l) != 0L) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 14:
+ if (curChar == 39 && kind > 13) {
+ kind = 13;
+ }
break;
+ case 15:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 10) {
+ kind = 10;
+ } {
+ jjCheckNAddStates(18, 22);
}
- if (kind > 10) {
- kind = 10;
- } {
- jjCheckNAdd(16);
- }
- break;
- case 17:
- if ((0x3ff000000000000L & l) != 0L) {
- jjCheckNAddTwoStates(17, 18);
+ break;
+ case 16:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 10) {
+ kind = 10;
+ } {
+ jjCheckNAdd(16);
}
- break;
- case 18:
- if (curChar != 46) {
break;
+ case 17:
+ if ((0x3ff000000000000L & l) != 0L) {
+ jjCheckNAddTwoStates(17, 18);
+ }
+ break;
+ case 18:
+ if (curChar != 46) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAddTwoStates(19, 20);
}
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAddTwoStates(19, 20);
- }
- break;
- case 19:
- if ((0x3ff000000000000L & l) == 0L) {
break;
+ case 19:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAddTwoStates(19, 20);
}
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAddTwoStates(19, 20);
- }
- break;
- case 21:
- if ((0x280000000000L & l) != 0L) {
+ break;
+ case 21:
+ if ((0x280000000000L & l) != 0L) {
+ jjCheckNAdd(22);
+ }
+ break;
+ case 22:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
jjCheckNAdd(22);
}
- break;
- case 22:
- if ((0x3ff000000000000L & l) == 0L) {
break;
- }
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAdd(22);
- }
- break;
- case 23:
- if ((0x3ff000000000000L & l) != 0L) {
- jjCheckNAddTwoStates(23, 24);
- }
- break;
- case 25:
- if ((0x280000000000L & l) != 0L) {
+ case 23:
+ if ((0x3ff000000000000L & l) != 0L) {
+ jjCheckNAddTwoStates(23, 24);
+ }
+ break;
+ case 25:
+ if ((0x280000000000L & l) != 0L) {
+ jjCheckNAdd(26);
+ }
+ break;
+ case 26:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
jjCheckNAdd(26);
}
- break;
- case 26:
- if ((0x3ff000000000000L & l) == 0L) {
break;
+ case 27:
+ if ((0x1800000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAddTwoStates(28, 29);
}
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAdd(26);
- }
- break;
- case 27:
- if ((0x1800000000L & l) == 0L) {
break;
+ case 28:
+ if ((0x3ff001000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAdd(28);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAddTwoStates(28, 29);
- }
- break;
- case 28:
- if ((0x3ff001000000000L & l) == 0L) {
break;
+ case 29:
+ if ((0x3ff001000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 57) {
+ kind = 57;
+ } {
+ jjCheckNAdd(29);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAdd(28);
- }
- break;
- case 29:
- if ((0x3ff001000000000L & l) == 0L) {
break;
- }
- if (kind > 57) {
- kind = 57;
- } {
- jjCheckNAdd(29);
- }
- break;
- default:
- break;
+ default:
+ break;
}
} while (i != startsAt);
} else if (curChar < 128) {
long l = 1L << (curChar & 077);
do {
switch (jjstateSet[--i]) {
- case 0:
- if ((0x7fffffe87fffffeL & l) == 0L) {
- break;
- }
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAddTwoStates(28, 29);
- }
- break;
- case 30:
- if ((0x7fffffe87fffffeL & l) != 0L) {
- if (kind > 57) {
- kind = 57;
- }
- {
- jjCheckNAdd(29);
+ case 0:
+ if ((0x7fffffe87fffffeL & l) == 0L) {
+ break;
}
- }
- if ((0x7fffffe87fffffeL & l) != 0L) {
if (kind > 56) {
kind = 56;
+ } {
+ jjCheckNAddTwoStates(28, 29);
+ }
+ break;
+ case 30:
+ if ((0x7fffffe87fffffeL & l) != 0L) {
+ if (kind > 57) {
+ kind = 57;
+ }
+ {
+ jjCheckNAdd(29);
+ }
}
- {
- jjCheckNAdd(28);
+ if ((0x7fffffe87fffffeL & l) != 0L) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAdd(28);
+ }
+ }
+ break;
+ case 2:
+ if ((0x2000000020L & l) != 0L) {
+ jjAddStates(29, 30);
+ }
+ break;
+ case 6:
+ if ((0xffffffffefffffffL & l) != 0L) {
+ jjCheckNAddStates(26, 28);
+ }
+ break;
+ case 7:
+ if (curChar == 92) {
+ jjstateSet[jjnewStateCnt++] = 8;
+ }
+ break;
+ case 8:
+ if (curChar == 92) {
+ jjCheckNAddStates(26, 28);
+ }
+ break;
+ case 11:
+ if ((0xffffffffefffffffL & l) != 0L) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 12:
+ if (curChar == 92) {
+ jjstateSet[jjnewStateCnt++] = 13;
+ }
+ break;
+ case 13:
+ if (curChar == 92) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 20:
+ if ((0x2000000020L & l) != 0L) {
+ jjAddStates(31, 32);
}
- }
- break;
- case 2:
- if ((0x2000000020L & l) != 0L) {
- jjAddStates(29, 30);
- }
- break;
- case 6:
- if ((0xffffffffefffffffL & l) != 0L) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 7:
- if (curChar == 92) {
- jjstateSet[jjnewStateCnt++] = 8;
- }
- break;
- case 8:
- if (curChar == 92) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 11:
- if ((0xffffffffefffffffL & l) != 0L) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 12:
- if (curChar == 92) {
- jjstateSet[jjnewStateCnt++] = 13;
- }
- break;
- case 13:
- if (curChar == 92) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 20:
- if ((0x2000000020L & l) != 0L) {
- jjAddStates(31, 32);
- }
- break;
- case 24:
- if ((0x2000000020L & l) != 0L) {
- jjAddStates(33, 34);
- }
- break;
- case 28:
- if ((0x7fffffe87fffffeL & l) == 0L) {
break;
+ case 24:
+ if ((0x2000000020L & l) != 0L) {
+ jjAddStates(33, 34);
+ }
+ break;
+ case 28:
+ if ((0x7fffffe87fffffeL & l) == 0L) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAdd(28);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAdd(28);
- }
- break;
- case 29:
- if ((0x7fffffe87fffffeL & l) == 0L) {
break;
+ case 29:
+ if ((0x7fffffe87fffffeL & l) == 0L) {
+ break;
+ }
+ if (kind > 57) {
+ kind = 57;
+ } {
+ jjCheckNAdd(29);
}
- if (kind > 57) {
- kind = 57;
- } {
- jjCheckNAdd(29);
- }
- break;
- default:
- break;
+ break;
+ default:
+ break;
}
} while (i != startsAt);
} else {
@@ -1133,70 +1103,70 @@ public class ELParserTokenManager implements ELParserConstants {
long l2 = 1L << (curChar & 077);
do {
switch (jjstateSet[--i]) {
- case 0:
- if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
- break;
- }
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAddTwoStates(28, 29);
- }
- break;
- case 30:
- if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ case 0:
+ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
if (kind > 56) {
kind = 56;
+ } {
+ jjCheckNAddTwoStates(28, 29);
+ }
+ break;
+ case 30:
+ if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAdd(28);
+ }
}
- {
- jjCheckNAdd(28);
+ if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ if (kind > 57) {
+ kind = 57;
+ }
+ {
+ jjCheckNAdd(29);
+ }
}
- }
- if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
- if (kind > 57) {
- kind = 57;
+ break;
+ case 6:
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ jjAddStates(26, 28);
}
- {
- jjCheckNAdd(29);
+ break;
+ case 11:
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ jjAddStates(23, 25);
}
- }
- break;
- case 6:
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- jjAddStates(26, 28);
- }
- break;
- case 11:
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- jjAddStates(23, 25);
- }
- break;
- case 28:
- if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
break;
+ case 28:
+ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAdd(28);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAdd(28);
- }
- break;
- case 29:
- if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
break;
+ case 29:
+ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
+ if (kind > 57) {
+ kind = 57;
+ } {
+ jjCheckNAdd(29);
}
- if (kind > 57) {
- kind = 57;
- } {
- jjCheckNAdd(29);
- }
- break;
- default:
- if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) {
- break;
- } else {
break;
- }
+ default:
+ if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) {
+ break;
+ } else {
+ break;
+ }
}
} while (i != startsAt);
}
@@ -1217,177 +1187,173 @@ public class ELParserTokenManager implements ELParserConstants {
}
}
-
private final int jjStopStringLiteralDfa_1(int pos, long active0) {
switch (pos) {
- case 0:
- if ((active0 & 0x20000L) != 0L) {
- return 1;
- }
- if ((active0 & 0x141d555401c000L) != 0L) {
- jjmatchedKind = 56;
- return 30;
- }
- return -1;
- case 1:
- if ((active0 & 0x41554000000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x1419400001c000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 1;
- return 30;
- }
- return -1;
- case 2:
- if ((active0 & 0x14014000000000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x18000001c000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 2;
- return 30;
- }
- return -1;
- case 3:
- if ((active0 & 0x14000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x180000008000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 3;
- return 30;
- }
- return -1;
- case 4:
- if ((active0 & 0x80000008000L) != 0L) {
- return 30;
- }
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 4;
- return 30;
- }
- return -1;
- case 5:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 5;
- return 30;
- }
- return -1;
- case 6:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 6;
- return 30;
- }
- return -1;
- case 7:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 7;
- return 30;
- }
- return -1;
- case 8:
- if ((active0 & 0x100000000000L) != 0L) {
- jjmatchedKind = 56;
- jjmatchedPos = 8;
- return 30;
- }
- return -1;
- default:
- return -1;
+ case 0:
+ if ((active0 & 0x20000L) != 0L) {
+ return 1;
+ }
+ if ((active0 & 0x141d555401c000L) != 0L) {
+ jjmatchedKind = 56;
+ return 30;
+ }
+ return -1;
+ case 1:
+ if ((active0 & 0x41554000000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x1419400001c000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 1;
+ return 30;
+ }
+ return -1;
+ case 2:
+ if ((active0 & 0x14014000000000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x18000001c000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 2;
+ return 30;
+ }
+ return -1;
+ case 3:
+ if ((active0 & 0x14000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x180000008000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 3;
+ return 30;
+ }
+ return -1;
+ case 4:
+ if ((active0 & 0x80000008000L) != 0L) {
+ return 30;
+ }
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 4;
+ return 30;
+ }
+ return -1;
+ case 5:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 5;
+ return 30;
+ }
+ return -1;
+ case 6:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 6;
+ return 30;
+ }
+ return -1;
+ case 7:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 7;
+ return 30;
+ }
+ return -1;
+ case 8:
+ if ((active0 & 0x100000000000L) != 0L) {
+ jjmatchedKind = 56;
+ jjmatchedPos = 8;
+ return 30;
+ }
+ return -1;
+ default:
+ return -1;
}
}
-
private final int jjStartNfa_1(int pos, long active0) {
return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0), pos + 1);
}
-
private int jjMoveStringLiteralDfa0_1() {
switch (curChar) {
- case 33:
- jjmatchedKind = 37;
- return jjMoveStringLiteralDfa1_1(0x800000000L);
- case 37:
- return jjStopAtPos(0, 51);
- case 38:
- return jjMoveStringLiteralDfa1_1(0x8000000000L);
- case 40:
- return jjStopAtPos(0, 18);
- case 41:
- return jjStopAtPos(0, 19);
- case 42:
- return jjStopAtPos(0, 45);
- case 43:
- jjmatchedKind = 46;
- return jjMoveStringLiteralDfa1_1(0x20000000000000L);
- case 44:
- return jjStopAtPos(0, 24);
- case 45:
- jjmatchedKind = 47;
- return jjMoveStringLiteralDfa1_1(0x80000000000000L);
- case 46:
- return jjStartNfaWithStates_1(0, 17, 1);
- case 47:
- return jjStopAtPos(0, 49);
- case 58:
- return jjStopAtPos(0, 22);
- case 59:
- return jjStopAtPos(0, 23);
- case 60:
- jjmatchedKind = 27;
- return jjMoveStringLiteralDfa1_1(0x80000000L);
- case 61:
- jjmatchedKind = 54;
- return jjMoveStringLiteralDfa1_1(0x200000000L);
- case 62:
- jjmatchedKind = 25;
- return jjMoveStringLiteralDfa1_1(0x20000000L);
- case 63:
- return jjStopAtPos(0, 48);
- case 91:
- return jjStopAtPos(0, 20);
- case 93:
- return jjStopAtPos(0, 21);
- case 97:
- return jjMoveStringLiteralDfa1_1(0x10000000000L);
- case 100:
- return jjMoveStringLiteralDfa1_1(0x4000000000000L);
- case 101:
- return jjMoveStringLiteralDfa1_1(0x80400000000L);
- case 102:
- return jjMoveStringLiteralDfa1_1(0x8000L);
- case 103:
- return jjMoveStringLiteralDfa1_1(0x44000000L);
- case 105:
- return jjMoveStringLiteralDfa1_1(0x100000000000L);
- case 108:
- return jjMoveStringLiteralDfa1_1(0x110000000L);
- case 109:
- return jjMoveStringLiteralDfa1_1(0x10000000000000L);
- case 110:
- return jjMoveStringLiteralDfa1_1(0x5000010000L);
- case 111:
- return jjMoveStringLiteralDfa1_1(0x40000000000L);
- case 116:
- return jjMoveStringLiteralDfa1_1(0x4000L);
- case 123:
- return jjStopAtPos(0, 8);
- case 124:
- return jjMoveStringLiteralDfa1_1(0x20000000000L);
- case 125:
- return jjStopAtPos(0, 9);
- default:
- return jjMoveNfa_1(0, 0);
+ case 33:
+ jjmatchedKind = 37;
+ return jjMoveStringLiteralDfa1_1(0x800000000L);
+ case 37:
+ return jjStopAtPos(0, 51);
+ case 38:
+ return jjMoveStringLiteralDfa1_1(0x8000000000L);
+ case 40:
+ return jjStopAtPos(0, 18);
+ case 41:
+ return jjStopAtPos(0, 19);
+ case 42:
+ return jjStopAtPos(0, 45);
+ case 43:
+ jjmatchedKind = 46;
+ return jjMoveStringLiteralDfa1_1(0x20000000000000L);
+ case 44:
+ return jjStopAtPos(0, 24);
+ case 45:
+ jjmatchedKind = 47;
+ return jjMoveStringLiteralDfa1_1(0x80000000000000L);
+ case 46:
+ return jjStartNfaWithStates_1(0, 17, 1);
+ case 47:
+ return jjStopAtPos(0, 49);
+ case 58:
+ return jjStopAtPos(0, 22);
+ case 59:
+ return jjStopAtPos(0, 23);
+ case 60:
+ jjmatchedKind = 27;
+ return jjMoveStringLiteralDfa1_1(0x80000000L);
+ case 61:
+ jjmatchedKind = 54;
+ return jjMoveStringLiteralDfa1_1(0x200000000L);
+ case 62:
+ jjmatchedKind = 25;
+ return jjMoveStringLiteralDfa1_1(0x20000000L);
+ case 63:
+ return jjStopAtPos(0, 48);
+ case 91:
+ return jjStopAtPos(0, 20);
+ case 93:
+ return jjStopAtPos(0, 21);
+ case 97:
+ return jjMoveStringLiteralDfa1_1(0x10000000000L);
+ case 100:
+ return jjMoveStringLiteralDfa1_1(0x4000000000000L);
+ case 101:
+ return jjMoveStringLiteralDfa1_1(0x80400000000L);
+ case 102:
+ return jjMoveStringLiteralDfa1_1(0x8000L);
+ case 103:
+ return jjMoveStringLiteralDfa1_1(0x44000000L);
+ case 105:
+ return jjMoveStringLiteralDfa1_1(0x100000000000L);
+ case 108:
+ return jjMoveStringLiteralDfa1_1(0x110000000L);
+ case 109:
+ return jjMoveStringLiteralDfa1_1(0x10000000000000L);
+ case 110:
+ return jjMoveStringLiteralDfa1_1(0x5000010000L);
+ case 111:
+ return jjMoveStringLiteralDfa1_1(0x40000000000L);
+ case 116:
+ return jjMoveStringLiteralDfa1_1(0x4000L);
+ case 123:
+ return jjStopAtPos(0, 8);
+ case 124:
+ return jjMoveStringLiteralDfa1_1(0x20000000000L);
+ case 125:
+ return jjStopAtPos(0, 9);
+ default:
+ return jjMoveNfa_1(0, 0);
}
}
-
private int jjMoveStringLiteralDfa1_1(long active0) {
try {
curChar = input_stream.readChar();
@@ -1396,79 +1362,78 @@ public class ELParserTokenManager implements ELParserConstants {
return 1;
}
switch (curChar) {
- case 38:
- if ((active0 & 0x8000000000L) != 0L) {
- return jjStopAtPos(1, 39);
- }
- break;
- case 61:
- if ((active0 & 0x20000000L) != 0L) {
- return jjStopAtPos(1, 29);
- } else if ((active0 & 0x80000000L) != 0L) {
- return jjStopAtPos(1, 31);
- } else if ((active0 & 0x200000000L) != 0L) {
- return jjStopAtPos(1, 33);
- } else if ((active0 & 0x800000000L) != 0L) {
- return jjStopAtPos(1, 35);
- } else if ((active0 & 0x20000000000000L) != 0L) {
- return jjStopAtPos(1, 53);
- }
- break;
- case 62:
- if ((active0 & 0x80000000000000L) != 0L) {
- return jjStopAtPos(1, 55);
- }
- break;
- case 97:
- return jjMoveStringLiteralDfa2_1(active0, 0x8000L);
- case 101:
- if ((active0 & 0x40000000L) != 0L) {
- return jjStartNfaWithStates_1(1, 30, 30);
- } else if ((active0 & 0x100000000L) != 0L) {
- return jjStartNfaWithStates_1(1, 32, 30);
- } else if ((active0 & 0x1000000000L) != 0L) {
- return jjStartNfaWithStates_1(1, 36, 30);
- }
- break;
- case 105:
- return jjMoveStringLiteralDfa2_1(active0, 0x4000000000000L);
- case 109:
- return jjMoveStringLiteralDfa2_1(active0, 0x80000000000L);
- case 110:
- return jjMoveStringLiteralDfa2_1(active0, 0x110000000000L);
- case 111:
- return jjMoveStringLiteralDfa2_1(active0, 0x10004000000000L);
- case 113:
- if ((active0 & 0x400000000L) != 0L) {
- return jjStartNfaWithStates_1(1, 34, 30);
- }
- break;
- case 114:
- if ((active0 & 0x40000000000L) != 0L) {
- return jjStartNfaWithStates_1(1, 42, 30);
- }
- return jjMoveStringLiteralDfa2_1(active0, 0x4000L);
- case 116:
- if ((active0 & 0x4000000L) != 0L) {
- return jjStartNfaWithStates_1(1, 26, 30);
- } else if ((active0 & 0x10000000L) != 0L) {
- return jjStartNfaWithStates_1(1, 28, 30);
- }
- break;
- case 117:
- return jjMoveStringLiteralDfa2_1(active0, 0x10000L);
- case 124:
- if ((active0 & 0x20000000000L) != 0L) {
- return jjStopAtPos(1, 41);
- }
- break;
- default:
- break;
+ case 38:
+ if ((active0 & 0x8000000000L) != 0L) {
+ return jjStopAtPos(1, 39);
+ }
+ break;
+ case 61:
+ if ((active0 & 0x20000000L) != 0L) {
+ return jjStopAtPos(1, 29);
+ } else if ((active0 & 0x80000000L) != 0L) {
+ return jjStopAtPos(1, 31);
+ } else if ((active0 & 0x200000000L) != 0L) {
+ return jjStopAtPos(1, 33);
+ } else if ((active0 & 0x800000000L) != 0L) {
+ return jjStopAtPos(1, 35);
+ } else if ((active0 & 0x20000000000000L) != 0L) {
+ return jjStopAtPos(1, 53);
+ }
+ break;
+ case 62:
+ if ((active0 & 0x80000000000000L) != 0L) {
+ return jjStopAtPos(1, 55);
+ }
+ break;
+ case 97:
+ return jjMoveStringLiteralDfa2_1(active0, 0x8000L);
+ case 101:
+ if ((active0 & 0x40000000L) != 0L) {
+ return jjStartNfaWithStates_1(1, 30, 30);
+ } else if ((active0 & 0x100000000L) != 0L) {
+ return jjStartNfaWithStates_1(1, 32, 30);
+ } else if ((active0 & 0x1000000000L) != 0L) {
+ return jjStartNfaWithStates_1(1, 36, 30);
+ }
+ break;
+ case 105:
+ return jjMoveStringLiteralDfa2_1(active0, 0x4000000000000L);
+ case 109:
+ return jjMoveStringLiteralDfa2_1(active0, 0x80000000000L);
+ case 110:
+ return jjMoveStringLiteralDfa2_1(active0, 0x110000000000L);
+ case 111:
+ return jjMoveStringLiteralDfa2_1(active0, 0x10004000000000L);
+ case 113:
+ if ((active0 & 0x400000000L) != 0L) {
+ return jjStartNfaWithStates_1(1, 34, 30);
+ }
+ break;
+ case 114:
+ if ((active0 & 0x40000000000L) != 0L) {
+ return jjStartNfaWithStates_1(1, 42, 30);
+ }
+ return jjMoveStringLiteralDfa2_1(active0, 0x4000L);
+ case 116:
+ if ((active0 & 0x4000000L) != 0L) {
+ return jjStartNfaWithStates_1(1, 26, 30);
+ } else if ((active0 & 0x10000000L) != 0L) {
+ return jjStartNfaWithStates_1(1, 28, 30);
+ }
+ break;
+ case 117:
+ return jjMoveStringLiteralDfa2_1(active0, 0x10000L);
+ case 124:
+ if ((active0 & 0x20000000000L) != 0L) {
+ return jjStopAtPos(1, 41);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_1(0, active0);
}
-
private int jjMoveStringLiteralDfa2_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(0, old0);
@@ -1480,38 +1445,37 @@ public class ELParserTokenManager implements ELParserConstants {
return 2;
}
switch (curChar) {
- case 100:
- if ((active0 & 0x10000000000L) != 0L) {
- return jjStartNfaWithStates_1(2, 40, 30);
- } else if ((active0 & 0x10000000000000L) != 0L) {
- return jjStartNfaWithStates_1(2, 52, 30);
- }
- break;
- case 108:
- return jjMoveStringLiteralDfa3_1(active0, 0x18000L);
- case 112:
- return jjMoveStringLiteralDfa3_1(active0, 0x80000000000L);
- case 115:
- return jjMoveStringLiteralDfa3_1(active0, 0x100000000000L);
- case 116:
- if ((active0 & 0x4000000000L) != 0L) {
- return jjStartNfaWithStates_1(2, 38, 30);
- }
- break;
- case 117:
- return jjMoveStringLiteralDfa3_1(active0, 0x4000L);
- case 118:
- if ((active0 & 0x4000000000000L) != 0L) {
- return jjStartNfaWithStates_1(2, 50, 30);
- }
- break;
- default:
- break;
+ case 100:
+ if ((active0 & 0x10000000000L) != 0L) {
+ return jjStartNfaWithStates_1(2, 40, 30);
+ } else if ((active0 & 0x10000000000000L) != 0L) {
+ return jjStartNfaWithStates_1(2, 52, 30);
+ }
+ break;
+ case 108:
+ return jjMoveStringLiteralDfa3_1(active0, 0x18000L);
+ case 112:
+ return jjMoveStringLiteralDfa3_1(active0, 0x80000000000L);
+ case 115:
+ return jjMoveStringLiteralDfa3_1(active0, 0x100000000000L);
+ case 116:
+ if ((active0 & 0x4000000000L) != 0L) {
+ return jjStartNfaWithStates_1(2, 38, 30);
+ }
+ break;
+ case 117:
+ return jjMoveStringLiteralDfa3_1(active0, 0x4000L);
+ case 118:
+ if ((active0 & 0x4000000000000L) != 0L) {
+ return jjStartNfaWithStates_1(2, 50, 30);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_1(1, active0);
}
-
private int jjMoveStringLiteralDfa3_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(1, old0);
@@ -1523,27 +1487,26 @@ public class ELParserTokenManager implements ELParserConstants {
return 3;
}
switch (curChar) {
- case 101:
- if ((active0 & 0x4000L) != 0L) {
- return jjStartNfaWithStates_1(3, 14, 30);
- }
- break;
- case 108:
- if ((active0 & 0x10000L) != 0L) {
- return jjStartNfaWithStates_1(3, 16, 30);
- }
- break;
- case 115:
- return jjMoveStringLiteralDfa4_1(active0, 0x8000L);
- case 116:
- return jjMoveStringLiteralDfa4_1(active0, 0x180000000000L);
- default:
- break;
+ case 101:
+ if ((active0 & 0x4000L) != 0L) {
+ return jjStartNfaWithStates_1(3, 14, 30);
+ }
+ break;
+ case 108:
+ if ((active0 & 0x10000L) != 0L) {
+ return jjStartNfaWithStates_1(3, 16, 30);
+ }
+ break;
+ case 115:
+ return jjMoveStringLiteralDfa4_1(active0, 0x8000L);
+ case 116:
+ return jjMoveStringLiteralDfa4_1(active0, 0x180000000000L);
+ default:
+ break;
}
return jjStartNfa_1(2, active0);
}
-
private int jjMoveStringLiteralDfa4_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(2, old0);
@@ -1555,25 +1518,24 @@ public class ELParserTokenManager implements ELParserConstants {
return 4;
}
switch (curChar) {
- case 97:
- return jjMoveStringLiteralDfa5_1(active0, 0x100000000000L);
- case 101:
- if ((active0 & 0x8000L) != 0L) {
- return jjStartNfaWithStates_1(4, 15, 30);
- }
- break;
- case 121:
- if ((active0 & 0x80000000000L) != 0L) {
- return jjStartNfaWithStates_1(4, 43, 30);
- }
- break;
- default:
- break;
+ case 97:
+ return jjMoveStringLiteralDfa5_1(active0, 0x100000000000L);
+ case 101:
+ if ((active0 & 0x8000L) != 0L) {
+ return jjStartNfaWithStates_1(4, 15, 30);
+ }
+ break;
+ case 121:
+ if ((active0 & 0x80000000000L) != 0L) {
+ return jjStartNfaWithStates_1(4, 43, 30);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_1(3, active0);
}
-
private int jjMoveStringLiteralDfa5_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(3, old0);
@@ -1585,15 +1547,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 5;
}
switch (curChar) {
- case 110:
- return jjMoveStringLiteralDfa6_1(active0, 0x100000000000L);
- default:
- break;
+ case 110:
+ return jjMoveStringLiteralDfa6_1(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_1(4, active0);
}
-
private int jjMoveStringLiteralDfa6_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(4, old0);
@@ -1605,15 +1566,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 6;
}
switch (curChar) {
- case 99:
- return jjMoveStringLiteralDfa7_1(active0, 0x100000000000L);
- default:
- break;
+ case 99:
+ return jjMoveStringLiteralDfa7_1(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_1(5, active0);
}
-
private int jjMoveStringLiteralDfa7_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(5, old0);
@@ -1625,15 +1585,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 7;
}
switch (curChar) {
- case 101:
- return jjMoveStringLiteralDfa8_1(active0, 0x100000000000L);
- default:
- break;
+ case 101:
+ return jjMoveStringLiteralDfa8_1(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_1(6, active0);
}
-
private int jjMoveStringLiteralDfa8_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(6, old0);
@@ -1645,15 +1604,14 @@ public class ELParserTokenManager implements ELParserConstants {
return 8;
}
switch (curChar) {
- case 111:
- return jjMoveStringLiteralDfa9_1(active0, 0x100000000000L);
- default:
- break;
+ case 111:
+ return jjMoveStringLiteralDfa9_1(active0, 0x100000000000L);
+ default:
+ break;
}
return jjStartNfa_1(7, active0);
}
-
private int jjMoveStringLiteralDfa9_1(long old0, long active0) {
if (((active0 &= old0)) == 0L) {
return jjStartNfa_1(7, old0);
@@ -1665,18 +1623,17 @@ public class ELParserTokenManager implements ELParserConstants {
return 9;
}
switch (curChar) {
- case 102:
- if ((active0 & 0x100000000000L) != 0L) {
- return jjStartNfaWithStates_1(9, 44, 30);
- }
- break;
- default:
- break;
+ case 102:
+ if ((active0 & 0x100000000000L) != 0L) {
+ return jjStartNfaWithStates_1(9, 44, 30);
+ }
+ break;
+ default:
+ break;
}
return jjStartNfa_1(8, active0);
}
-
private int jjStartNfaWithStates_1(int pos, int kind, int state) {
jjmatchedKind = kind;
jjmatchedPos = pos;
@@ -1688,7 +1645,6 @@ public class ELParserTokenManager implements ELParserConstants {
return jjMoveNfa_1(state, pos + 1);
}
-
private int jjMoveNfa_1(int startState, int curPos) {
int startsAt = 0;
jjnewStateCnt = 30;
@@ -1703,325 +1659,325 @@ public class ELParserTokenManager implements ELParserConstants {
long l = 1L << curChar;
do {
switch (jjstateSet[--i]) {
- case 0:
- if ((0x3ff000000000000L & l) != 0L) {
- if (kind > 10) {
- kind = 10;
+ case 0:
+ if ((0x3ff000000000000L & l) != 0L) {
+ if (kind > 10) {
+ kind = 10;
+ }
+ {
+ jjCheckNAddStates(18, 22);
+ }
+ } else if ((0x1800000000L & l) != 0L) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAddTwoStates(28, 29);
+ }
+ } else if (curChar == 39) {
+ jjCheckNAddStates(23, 25);
+ } else if (curChar == 34) {
+ jjCheckNAddStates(26, 28);
+ } else if (curChar == 46) {
+ jjCheckNAdd(1);
}
- {
- jjCheckNAddStates(18, 22);
+ break;
+ case 30:
+ if ((0x3ff001000000000L & l) != 0L) {
+ if (kind > 57) {
+ kind = 57;
+ }
+ {
+ jjCheckNAdd(29);
+ }
}
- } else if ((0x1800000000L & l) != 0L) {
- if (kind > 56) {
- kind = 56;
+ if ((0x3ff001000000000L & l) != 0L) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAdd(28);
+ }
}
- {
- jjCheckNAddTwoStates(28, 29);
+ break;
+ case 1:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
}
- } else if (curChar == 39) {
- jjCheckNAddStates(23, 25);
- } else if (curChar == 34) {
- jjCheckNAddStates(26, 28);
- } else if (curChar == 46) {
- jjCheckNAdd(1);
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAddTwoStates(1, 2);
}
- break;
- case 30:
- if ((0x3ff001000000000L & l) != 0L) {
- if (kind > 57) {
- kind = 57;
+ break;
+ case 3:
+ if ((0x280000000000L & l) != 0L) {
+ jjCheckNAdd(4);
}
- {
- jjCheckNAdd(29);
+ break;
+ case 4:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
}
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAdd(4);
}
- if ((0x3ff001000000000L & l) != 0L) {
- if (kind > 56) {
- kind = 56;
+ break;
+ case 5:
+ if (curChar == 34) {
+ jjCheckNAddStates(26, 28);
}
- {
- jjCheckNAdd(28);
+ break;
+ case 6:
+ if ((0xfffffffbffffffffL & l) != 0L) {
+ jjCheckNAddStates(26, 28);
}
- }
- break;
- case 1:
- if ((0x3ff000000000000L & l) == 0L) {
break;
- }
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAddTwoStates(1, 2);
- }
- break;
- case 3:
- if ((0x280000000000L & l) != 0L) {
- jjCheckNAdd(4);
- }
- break;
- case 4:
- if ((0x3ff000000000000L & l) == 0L) {
+ case 8:
+ if ((0x8400000000L & l) != 0L) {
+ jjCheckNAddStates(26, 28);
+ }
break;
- }
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAdd(4);
- }
- break;
- case 5:
- if (curChar == 34) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 6:
- if ((0xfffffffbffffffffL & l) != 0L) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 8:
- if ((0x8400000000L & l) != 0L) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 9:
- if (curChar == 34 && kind > 13) {
- kind = 13;
- }
- break;
- case 10:
- if (curChar == 39) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 11:
- if ((0xffffff7fffffffffL & l) != 0L) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 13:
- if ((0x8400000000L & l) != 0L) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 14:
- if (curChar == 39 && kind > 13) {
- kind = 13;
- }
- break;
- case 15:
- if ((0x3ff000000000000L & l) == 0L) {
+ case 9:
+ if (curChar == 34 && kind > 13) {
+ kind = 13;
+ }
break;
- }
- if (kind > 10) {
- kind = 10;
- } {
- jjCheckNAddStates(18, 22);
- }
- break;
- case 16:
- if ((0x3ff000000000000L & l) == 0L) {
+ case 10:
+ if (curChar == 39) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 11:
+ if ((0xffffff7fffffffffL & l) != 0L) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 13:
+ if ((0x8400000000L & l) != 0L) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 14:
+ if (curChar == 39 && kind > 13) {
+ kind = 13;
+ }
break;
+ case 15:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 10) {
+ kind = 10;
+ } {
+ jjCheckNAddStates(18, 22);
}
- if (kind > 10) {
- kind = 10;
- } {
- jjCheckNAdd(16);
- }
- break;
- case 17:
- if ((0x3ff000000000000L & l) != 0L) {
- jjCheckNAddTwoStates(17, 18);
+ break;
+ case 16:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 10) {
+ kind = 10;
+ } {
+ jjCheckNAdd(16);
}
- break;
- case 18:
- if (curChar != 46) {
break;
+ case 17:
+ if ((0x3ff000000000000L & l) != 0L) {
+ jjCheckNAddTwoStates(17, 18);
+ }
+ break;
+ case 18:
+ if (curChar != 46) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAddTwoStates(19, 20);
}
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAddTwoStates(19, 20);
- }
- break;
- case 19:
- if ((0x3ff000000000000L & l) == 0L) {
break;
+ case 19:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
+ jjCheckNAddTwoStates(19, 20);
}
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAddTwoStates(19, 20);
- }
- break;
- case 21:
- if ((0x280000000000L & l) != 0L) {
+ break;
+ case 21:
+ if ((0x280000000000L & l) != 0L) {
+ jjCheckNAdd(22);
+ }
+ break;
+ case 22:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
jjCheckNAdd(22);
}
- break;
- case 22:
- if ((0x3ff000000000000L & l) == 0L) {
break;
- }
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAdd(22);
- }
- break;
- case 23:
- if ((0x3ff000000000000L & l) != 0L) {
- jjCheckNAddTwoStates(23, 24);
- }
- break;
- case 25:
- if ((0x280000000000L & l) != 0L) {
+ case 23:
+ if ((0x3ff000000000000L & l) != 0L) {
+ jjCheckNAddTwoStates(23, 24);
+ }
+ break;
+ case 25:
+ if ((0x280000000000L & l) != 0L) {
+ jjCheckNAdd(26);
+ }
+ break;
+ case 26:
+ if ((0x3ff000000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 11) {
+ kind = 11;
+ } {
jjCheckNAdd(26);
}
- break;
- case 26:
- if ((0x3ff000000000000L & l) == 0L) {
break;
+ case 27:
+ if ((0x1800000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAddTwoStates(28, 29);
}
- if (kind > 11) {
- kind = 11;
- } {
- jjCheckNAdd(26);
- }
- break;
- case 27:
- if ((0x1800000000L & l) == 0L) {
break;
+ case 28:
+ if ((0x3ff001000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAdd(28);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAddTwoStates(28, 29);
- }
- break;
- case 28:
- if ((0x3ff001000000000L & l) == 0L) {
break;
+ case 29:
+ if ((0x3ff001000000000L & l) == 0L) {
+ break;
+ }
+ if (kind > 57) {
+ kind = 57;
+ } {
+ jjCheckNAdd(29);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAdd(28);
- }
- break;
- case 29:
- if ((0x3ff001000000000L & l) == 0L) {
break;
- }
- if (kind > 57) {
- kind = 57;
- } {
- jjCheckNAdd(29);
- }
- break;
- default:
- break;
+ default:
+ break;
}
} while (i != startsAt);
} else if (curChar < 128) {
long l = 1L << (curChar & 077);
do {
switch (jjstateSet[--i]) {
- case 0:
- if ((0x7fffffe87fffffeL & l) == 0L) {
- break;
- }
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAddTwoStates(28, 29);
- }
- break;
- case 30:
- if ((0x7fffffe87fffffeL & l) != 0L) {
- if (kind > 57) {
- kind = 57;
- }
- {
- jjCheckNAdd(29);
+ case 0:
+ if ((0x7fffffe87fffffeL & l) == 0L) {
+ break;
}
- }
- if ((0x7fffffe87fffffeL & l) != 0L) {
if (kind > 56) {
kind = 56;
+ } {
+ jjCheckNAddTwoStates(28, 29);
+ }
+ break;
+ case 30:
+ if ((0x7fffffe87fffffeL & l) != 0L) {
+ if (kind > 57) {
+ kind = 57;
+ }
+ {
+ jjCheckNAdd(29);
+ }
}
- {
- jjCheckNAdd(28);
+ if ((0x7fffffe87fffffeL & l) != 0L) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAdd(28);
+ }
+ }
+ break;
+ case 2:
+ if ((0x2000000020L & l) != 0L) {
+ jjAddStates(29, 30);
+ }
+ break;
+ case 6:
+ if ((0xffffffffefffffffL & l) != 0L) {
+ jjCheckNAddStates(26, 28);
+ }
+ break;
+ case 7:
+ if (curChar == 92) {
+ jjstateSet[jjnewStateCnt++] = 8;
+ }
+ break;
+ case 8:
+ if (curChar == 92) {
+ jjCheckNAddStates(26, 28);
+ }
+ break;
+ case 11:
+ if ((0xffffffffefffffffL & l) != 0L) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 12:
+ if (curChar == 92) {
+ jjstateSet[jjnewStateCnt++] = 13;
+ }
+ break;
+ case 13:
+ if (curChar == 92) {
+ jjCheckNAddStates(23, 25);
+ }
+ break;
+ case 20:
+ if ((0x2000000020L & l) != 0L) {
+ jjAddStates(31, 32);
+ }
+ break;
+ case 24:
+ if ((0x2000000020L & l) != 0L) {
+ jjAddStates(33, 34);
}
- }
- break;
- case 2:
- if ((0x2000000020L & l) != 0L) {
- jjAddStates(29, 30);
- }
- break;
- case 6:
- if ((0xffffffffefffffffL & l) != 0L) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 7:
- if (curChar == 92) {
- jjstateSet[jjnewStateCnt++] = 8;
- }
- break;
- case 8:
- if (curChar == 92) {
- jjCheckNAddStates(26, 28);
- }
- break;
- case 11:
- if ((0xffffffffefffffffL & l) != 0L) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 12:
- if (curChar == 92) {
- jjstateSet[jjnewStateCnt++] = 13;
- }
- break;
- case 13:
- if (curChar == 92) {
- jjCheckNAddStates(23, 25);
- }
- break;
- case 20:
- if ((0x2000000020L & l) != 0L) {
- jjAddStates(31, 32);
- }
- break;
- case 24:
- if ((0x2000000020L & l) != 0L) {
- jjAddStates(33, 34);
- }
- break;
- case 28:
- if ((0x7fffffe87fffffeL & l) == 0L) {
break;
+ case 28:
+ if ((0x7fffffe87fffffeL & l) == 0L) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAdd(28);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAdd(28);
- }
- break;
- case 29:
- if ((0x7fffffe87fffffeL & l) == 0L) {
break;
+ case 29:
+ if ((0x7fffffe87fffffeL & l) == 0L) {
+ break;
+ }
+ if (kind > 57) {
+ kind = 57;
+ } {
+ jjCheckNAdd(29);
}
- if (kind > 57) {
- kind = 57;
- } {
- jjCheckNAdd(29);
- }
- break;
- default:
- break;
+ break;
+ default:
+ break;
}
} while (i != startsAt);
} else {
@@ -2032,70 +1988,70 @@ public class ELParserTokenManager implements ELParserConstants {
long l2 = 1L << (curChar & 077);
do {
switch (jjstateSet[--i]) {
- case 0:
- if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
- break;
- }
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAddTwoStates(28, 29);
- }
- break;
- case 30:
- if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ case 0:
+ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
if (kind > 56) {
kind = 56;
+ } {
+ jjCheckNAddTwoStates(28, 29);
+ }
+ break;
+ case 30:
+ if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ if (kind > 56) {
+ kind = 56;
+ }
+ {
+ jjCheckNAdd(28);
+ }
}
- {
- jjCheckNAdd(28);
+ if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ if (kind > 57) {
+ kind = 57;
+ }
+ {
+ jjCheckNAdd(29);
+ }
}
- }
- if (jjCanMove_1(hiByte, i1, i2, l1, l2)) {
- if (kind > 57) {
- kind = 57;
+ break;
+ case 6:
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ jjAddStates(26, 28);
}
- {
- jjCheckNAdd(29);
+ break;
+ case 11:
+ if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
+ jjAddStates(23, 25);
}
- }
- break;
- case 6:
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- jjAddStates(26, 28);
- }
- break;
- case 11:
- if (jjCanMove_0(hiByte, i1, i2, l1, l2)) {
- jjAddStates(23, 25);
- }
- break;
- case 28:
- if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
break;
+ case 28:
+ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
+ if (kind > 56) {
+ kind = 56;
+ } {
+ jjCheckNAdd(28);
}
- if (kind > 56) {
- kind = 56;
- } {
- jjCheckNAdd(28);
- }
- break;
- case 29:
- if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
break;
+ case 29:
+ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) {
+ break;
+ }
+ if (kind > 57) {
+ kind = 57;
+ } {
+ jjCheckNAdd(29);
}
- if (kind > 57) {
- kind = 57;
- } {
- jjCheckNAdd(29);
- }
- break;
- default:
- if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) {
- break;
- } else {
break;
- }
+ default:
+ if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) {
+ break;
+ } else {
+ break;
+ }
}
} while (i != startsAt);
}
@@ -2116,7 +2072,6 @@ public class ELParserTokenManager implements ELParserConstants {
}
}
-
/** Token literal values. */
public static final String[] jjstrLiteralImages = { "", null, "\44\173", "\43\173", null, null, null, null, "\173",
"\175", null, null, null, null, "\164\162\165\145", "\146\141\154\163\145", "\156\165\154\154", "\56",
@@ -2126,7 +2081,6 @@ public class ELParserTokenManager implements ELParserConstants {
"\151\156\163\164\141\156\143\145\157\146", "\52", "\53", "\55", "\77", "\57", "\144\151\166", "\45",
"\155\157\144", "\53\75", "\75", "\55\76", null, null, null, null, null, null, };
-
protected Token jjFillToken() {
final Token t;
final String curTokenImage;
@@ -2150,65 +2104,54 @@ public class ELParserTokenManager implements ELParserConstants {
return t;
}
-
static final int[] jjnextStates = { 0, 1, 3, 4, 2, 0, 1, 4, 2, 0, 1, 4, 5, 2, 0, 1, 2, 6, 16, 17, 18, 23, 24, 11,
12, 14, 6, 7, 9, 3, 4, 21, 22, 25, 26, };
-
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) {
switch (hiByte) {
- case 0:
- return ((jjbitVec2[i2] & l2) != 0L);
- default:
- if ((jjbitVec0[i1] & l1) != 0L) {
- return true;
- }
- return false;
+ case 0:
+ return ((jjbitVec2[i2] & l2) != 0L);
+ default:
+ if ((jjbitVec0[i1] & l1) != 0L) {
+ return true;
+ }
+ return false;
}
}
-
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) {
switch (hiByte) {
- case 0:
- return ((jjbitVec4[i2] & l2) != 0L);
- case 48:
- return ((jjbitVec5[i2] & l2) != 0L);
- case 49:
- return ((jjbitVec6[i2] & l2) != 0L);
- case 51:
- return ((jjbitVec7[i2] & l2) != 0L);
- case 61:
- return ((jjbitVec8[i2] & l2) != 0L);
- default:
- if ((jjbitVec3[i1] & l1) != 0L) {
- return true;
- }
- return false;
+ case 0:
+ return ((jjbitVec4[i2] & l2) != 0L);
+ case 48:
+ return ((jjbitVec5[i2] & l2) != 0L);
+ case 49:
+ return ((jjbitVec6[i2] & l2) != 0L);
+ case 51:
+ return ((jjbitVec7[i2] & l2) != 0L);
+ case 61:
+ return ((jjbitVec8[i2] & l2) != 0L);
+ default:
+ if ((jjbitVec3[i1] & l1) != 0L) {
+ return true;
+ }
+ return false;
}
}
-
int curLexState = 0;
-
int defaultLexState = 0;
-
int jjnewStateCnt;
-
int jjround;
-
int jjmatchedPos;
-
int jjmatchedKind;
-
/** Get the next Token. */
public Token getNextToken() {
Token matchedToken;
int curPos = 0;
- EOFLoop:
- for (;;) {
+ EOFLoop: for (;;) {
try {
curChar = input_stream.BeginToken();
} catch (Exception e) {
@@ -2222,43 +2165,43 @@ public class ELParserTokenManager implements ELParserConstants {
jjimageLen = 0;
switch (curLexState) {
- case 0:
- jjmatchedKind = 0x7fffffff;
- jjmatchedPos = 0;
- curPos = jjMoveStringLiteralDfa0_0();
- break;
- case 1:
- try {
- input_stream.backup(0);
- while (curChar <= 32 && (0x100002600L & (1L << curChar)) != 0L) {
- curChar = input_stream.BeginToken();
+ case 0:
+ jjmatchedKind = 0x7fffffff;
+ jjmatchedPos = 0;
+ curPos = jjMoveStringLiteralDfa0_0();
+ break;
+ case 1:
+ try {
+ input_stream.backup(0);
+ while (curChar <= 32 && (0x100002600L & (1L << curChar)) != 0L) {
+ curChar = input_stream.BeginToken();
+ }
+ } catch (java.io.IOException e1) {
+ continue EOFLoop;
}
- } catch (java.io.IOException e1) {
- continue EOFLoop;
- }
- jjmatchedKind = 0x7fffffff;
- jjmatchedPos = 0;
- curPos = jjMoveStringLiteralDfa0_1();
- if (jjmatchedPos == 0 && jjmatchedKind > 61) {
- jjmatchedKind = 61;
- }
- break;
- case 2:
- try {
- input_stream.backup(0);
- while (curChar <= 32 && (0x100002600L & (1L << curChar)) != 0L) {
- curChar = input_stream.BeginToken();
+ jjmatchedKind = 0x7fffffff;
+ jjmatchedPos = 0;
+ curPos = jjMoveStringLiteralDfa0_1();
+ if (jjmatchedPos == 0 && jjmatchedKind > 61) {
+ jjmatchedKind = 61;
}
- } catch (java.io.IOException e1) {
- continue EOFLoop;
- }
- jjmatchedKind = 0x7fffffff;
- jjmatchedPos = 0;
- curPos = jjMoveStringLiteralDfa0_2();
- if (jjmatchedPos == 0 && jjmatchedKind > 61) {
- jjmatchedKind = 61;
- }
- break;
+ break;
+ case 2:
+ try {
+ input_stream.backup(0);
+ while (curChar <= 32 && (0x100002600L & (1L << curChar)) != 0L) {
+ curChar = input_stream.BeginToken();
+ }
+ } catch (java.io.IOException e1) {
+ continue EOFLoop;
+ }
+ jjmatchedKind = 0x7fffffff;
+ jjmatchedPos = 0;
+ curPos = jjMoveStringLiteralDfa0_2();
+ if (jjmatchedPos == 0 && jjmatchedKind > 61) {
+ jjmatchedKind = 61;
+ }
+ break;
}
if (jjmatchedKind != 0x7fffffff) {
if (jjmatchedPos + 1 < curPos) {
@@ -2304,52 +2247,48 @@ public class ELParserTokenManager implements ELParserConstants {
}
}
-
void SkipLexicalActions(Token matchedToken) {
switch (jjmatchedKind) {
- default:
- break;
+ default:
+ break;
}
}
-
void MoreLexicalActions() {
jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
switch (jjmatchedKind) {
- default:
- break;
+ default:
+ break;
}
}
-
void TokenLexicalActions(Token matchedToken) {
switch (jjmatchedKind) {
- case 2:
- image.append(jjstrLiteralImages[2]);
- lengthOfMatch = jjstrLiteralImages[2].length();
- deque.push(DEFAULT);
- break;
- case 3:
- image.append(jjstrLiteralImages[3]);
- lengthOfMatch = jjstrLiteralImages[3].length();
- deque.push(DEFAULT);
- break;
- case 8:
- image.append(jjstrLiteralImages[8]);
- lengthOfMatch = jjstrLiteralImages[8].length();
- deque.push(curLexState);
- break;
- case 9:
- image.append(jjstrLiteralImages[9]);
- lengthOfMatch = jjstrLiteralImages[9].length();
- SwitchTo(deque.pop());
- break;
- default:
- break;
+ case 2:
+ image.append(jjstrLiteralImages[2]);
+ lengthOfMatch = jjstrLiteralImages[2].length();
+ deque.push(DEFAULT);
+ break;
+ case 3:
+ image.append(jjstrLiteralImages[3]);
+ lengthOfMatch = jjstrLiteralImages[3].length();
+ deque.push(DEFAULT);
+ break;
+ case 8:
+ image.append(jjstrLiteralImages[8]);
+ lengthOfMatch = jjstrLiteralImages[8].length();
+ deque.push(curLexState);
+ break;
+ case 9:
+ image.append(jjstrLiteralImages[9]);
+ lengthOfMatch = jjstrLiteralImages[9].length();
+ SwitchTo(deque.pop());
+ break;
+ default:
+ break;
}
}
-
private void jjCheckNAdd(int state) {
if (jjrounds[state] != jjround) {
jjstateSet[jjnewStateCnt++] = state;
@@ -2357,27 +2296,23 @@ public class ELParserTokenManager implements ELParserConstants {
}
}
-
private void jjAddStates(int start, int end) {
do {
jjstateSet[jjnewStateCnt++] = jjnextStates[start];
} while (start++ != end);
}
-
private void jjCheckNAddTwoStates(int state1, int state2) {
jjCheckNAdd(state1);
jjCheckNAdd(state2);
}
-
private void jjCheckNAddStates(int start, int end) {
do {
jjCheckNAdd(jjnextStates[start]);
} while (start++ != end);
}
-
/** Constructor. */
public ELParserTokenManager(SimpleCharStream stream) {
@@ -2388,25 +2323,23 @@ public class ELParserTokenManager implements ELParserConstants {
input_stream = stream;
}
-
/** Constructor. */
public ELParserTokenManager(SimpleCharStream stream, int lexState) {
ReInit(stream);
SwitchTo(lexState);
}
-
/** Reinitialise parser. */
public void ReInit(SimpleCharStream stream) {
+
jjmatchedPos = jjnewStateCnt = 0;
curLexState = defaultLexState;
input_stream = stream;
ReInitRounds();
}
-
private void ReInitRounds() {
int i;
jjround = 0x80000001;
@@ -2415,7 +2348,6 @@ public class ELParserTokenManager implements ELParserConstants {
}
}
-
/** Reinitialise parser. */
public void ReInit(SimpleCharStream stream, int lexState)
@@ -2424,7 +2356,6 @@ public class ELParserTokenManager implements ELParserConstants {
SwitchTo(lexState);
}
-
/** Switch to specified lex state. */
public void SwitchTo(int lexState) {
if (lexState >= 3 || lexState < 0) {
@@ -2443,28 +2374,17 @@ public class ELParserTokenManager implements ELParserConstants {
public static final int[] jjnewLexState = { -1, -1, 1, 1, -1, -1, -1, -1, 2, -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, };
-
static final long[] jjtoToken = { 0x23ffffffffffef0fL, };
-
static final long[] jjtoSkip = { 0xf0L, };
-
static final long[] jjtoSpecial = { 0x0L, };
-
static final long[] jjtoMore = { 0x0L, };
-
protected SimpleCharStream input_stream;
private final int[] jjrounds = new int[30];
-
private final int[] jjstateSet = new int[2 * 30];
-
private final StringBuilder jjimage = new StringBuilder();
-
private StringBuilder image = jjimage;
-
private int jjimageLen;
-
private int lengthOfMatch;
-
protected int curChar;
}
diff --git a/test/org/apache/el/parser/TestELParserPerformance.java b/test/org/apache/el/parser/TestELParserPerformance.java
index 6a282cded6..36b7853c58 100644
--- a/test/org/apache/el/parser/TestELParserPerformance.java
+++ b/test/org/apache/el/parser/TestELParserPerformance.java
@@ -18,7 +18,13 @@ package org.apache.el.parser;
import java.io.StringReader;
+import jakarta.el.ELContext;
+import jakarta.el.ELManager;
+import jakarta.el.ExpressionFactory;
+import jakarta.el.ValueExpression;
+
import org.junit.Assert;
+import org.junit.Ignore;
import org.junit.Test;
import org.apache.tomcat.util.collections.SynchronizedStack;
@@ -89,4 +95,50 @@ public class TestELParserPerformance {
Assert.assertTrue("Using new ElParser() was faster then using ELParser.ReInit", reinitTotalTime < newTotalTime);
}
+
+
+ /*
+ * Ignored by default since this is an absolute test primarily for
+ * https://bz.apache.org/bugzilla/show_bug.cgi?id=69338
+ */
+ @Ignore
+ @Test
+ public void testAstAnd() {
+
+ ELManager manager = new ELManager();
+ ELContext context = manager.getELContext();
+ ExpressionFactory factory = ELManager.getExpressionFactory();
+
+ long durations[] = new long[9];
+ for (int j = 0; j < 5; j++) {
+ for (int operandCount = 2; operandCount < 11; operandCount ++) {
+
+ StringBuilder sb = new StringBuilder("${true");
+ for (int i = 2; i <= operandCount; i++) {
+ sb.append(" && true");
+ }
+ sb.append("}");
+
+ String expression = sb.toString();
+
+ long start = System.nanoTime();
+
+ for (int i = 0; i < 2000000; i++) {
+ ValueExpression ve = factory.createValueExpression(context, expression, Boolean.class);
+ Boolean result = ve.getValue(context);
+ Assert.assertEquals(Boolean.TRUE, result);
+ }
+
+ long duration = System.nanoTime() - start;
+
+ if (j > 0) {
+ durations[operandCount - 2] += duration;
+ }
+ }
+ }
+ for (int operandCount = 2; operandCount < 11; operandCount ++) {
+ System.out.println("Operand count [" + operandCount + "], duration [" + durations[operandCount -2] + "]");
+ }
+ System.out.println("");
+ }
}
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 34e4065919..6eacc77ce1 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -164,6 +164,10 @@
<fix>
<bug>69333</bug>: Remove unnecessary code from generated JSPs. (markt)
</fix>
+ <fix>
+ <bug>69338</bug>: Improve the performance of processing expressions that
+ include AND or OR operations with more than two operands. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Web applications">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org