Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.openl.grammar.bexgrammar.BExGrammar Maven / Gradle / Ivy
/* Generated By:JavaCC: Do not edit this line. BExGrammar.java */
package org.openl.grammar.bexgrammar;
public class BExGrammar extends org.openl.grammar.JavaCC30Grammar implements BExGrammarConstants {
public BExGrammar()
{
this(new java.io.StringReader(""));
}
protected org.openl.util.text.IPosition begin(Token t)
{
return pos(t.beginLine, t.beginColumn);
}
protected org.openl.util.text.IPosition end(Token t)
{
return pos(t.endLine, t.endColumn);
}
protected org.openl.util.text.TextInterval pos(Token t)
{
return t == null ? null : new org.openl.util.text.TextInterval(begin(t), end(t));
}
protected org.openl.util.text.TextInterval pos(Token t1, Token t2)
{
return new org.openl.util.text.TextInterval(begin(t1), end(t2));
}
protected org.openl.util.text.TextInterval pos(
String lexError,
Token t,
StringBuffer resMessage)
{
String prefix = "Lexical error at line ";
if (!lexError.startsWith(prefix))
{
resMessage.append(lexError);
return pos(t);
}
lexError = lexError.substring(prefix.length());
int i = 0;
int line = 0;
int col = 0;
while (Character.isDigit(lexError.charAt(i)))
{
line = line * 10 + lexError.charAt(i) - '0';
++i;
}
String prefix2 = ", column ";
i += prefix2.length();
while (Character.isDigit(lexError.charAt(i)))
{
col = col * 10 + lexError.charAt(i) - '0';
++i;
}
resMessage.append(lexError.substring(i + 2));
return new org.openl.util.text.TextInterval(
pos(line, col),
pos(line, col));
}
public void parseTopNode(String type)
{
try
{
if (type.equals("method.body"))
parseTopNodeInternal();
else if (type.equals("method.header"))
MethodHeader();
else if (type.equals("module"))
parseModuleInternal();
else if (type.equals("type"))
Type();
else if (type.equals("range.literal.real"))
RangeLiteralFloat();
else if (type.equals("range.literal"))
RangeLiteral();
}
catch (ParseException pe)
{
//pe.printStackTrace();
//throw pe;
syntaxBuilder.addError(
new org.openl.syntax.exception.SyntaxNodeException(
pe.getMessage(),
null,
pos(pe.currentToken),
syntaxBuilder.getModule()));
}
catch (TokenMgrError err)
{
StringBuffer buf = new StringBuffer();
org.openl.util.text.TextInterval loc =
pos(err.getMessage(), token, buf);
syntaxBuilder.addError(
new org.openl.syntax.exception.SyntaxNodeException(buf.toString(), null, loc, syntaxBuilder.getModule()));
}
catch (Exception e)
{
syntaxBuilder.addError(new org.openl.syntax.exception.SyntaxNodeException("", e, pos(token), syntaxBuilder.getModule()));
}
catch (Throwable t)
{
syntaxBuilder.addError(new org.openl.syntax.exception.SyntaxNodeException("", t, pos(token), syntaxBuilder.getModule()));
}
}
/*
* Expression syntax follows.
*/
final public void Expression() throws ParseException {
Token x;
String func = null;
ConditionalTernaryExpression();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ASSIGN:
case PLUSASSIGN:
case MINUSASSIGN:
case STARASSIGN:
case SLASHASSIGN:
case ANDASSIGN:
case ORASSIGN:
case XORASSIGN:
case REMASSIGN:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ASSIGN:
x = jj_consume_token(ASSIGN);
func="op.assign";
break;
case PLUSASSIGN:
x = jj_consume_token(PLUSASSIGN);
func="op.assign.add";
break;
case MINUSASSIGN:
x = jj_consume_token(MINUSASSIGN);
func="op.assign.subtract";
break;
case STARASSIGN:
x = jj_consume_token(STARASSIGN);
func="op.assign.multiply";
break;
case SLASHASSIGN:
x = jj_consume_token(SLASHASSIGN);
func="op.assign.divide";
break;
case ANDASSIGN:
x = jj_consume_token(ANDASSIGN);
func="op.assign.bitand";
break;
case ORASSIGN:
x = jj_consume_token(ORASSIGN);
func="op.assign.bitor";
break;
case XORASSIGN:
x = jj_consume_token(XORASSIGN);
func="op.assign.bitnot";
break;
case REMASSIGN:
x = jj_consume_token(REMASSIGN);
func="op.assign.rem";
break;
default:
jj_la1[0] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
syntaxBuilder.bop(func, pos(x));
break;
default:
jj_la1[1] = jj_gen;
;
}
}
final public void ConditionalTernaryExpression() throws ParseException {
Token x;
ConditionalImplExpression();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case HOOK:
x = jj_consume_token(HOOK);
ConditionalTernaryExpression();
jj_consume_token(COLON);
ConditionalTernaryExpression();
syntaxBuilder.nop("op.ternary.qmark", pos(x), 3);
break;
default:
jj_la1[2] = jj_gen;
;
}
}
final public void ConditionalImplExpression() throws ParseException {
Token x;
ConditionalOrExpression();
label_1:
while (true) {
if (jj_2_1(2147483647)) {
;
} else {
break label_1;
}
x = jj_consume_token(IMPL);
ConditionalOrExpression();
syntaxBuilder.bop("op.binary.impl", pos(x));
}
}
final public void ConditionalOrExpression() throws ParseException {
Token x;
ConditionalAndExpression();
label_2:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case OR:
case BOOL_OR:
;
break;
default:
jj_la1[3] = jj_gen;
break label_2;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case BOOL_OR:
x = jj_consume_token(BOOL_OR);
break;
case OR:
x = jj_consume_token(OR);
break;
default:
jj_la1[4] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
ConditionalAndExpression();
syntaxBuilder.bop("op.binary.or", pos(x));
}
}
final public void ConditionalAndExpression() throws ParseException {
Token x;
BitwiseOrExpression();
label_3:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case AND:
case BOOL_AND:
;
break;
default:
jj_la1[5] = jj_gen;
break label_3;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case BOOL_AND:
x = jj_consume_token(BOOL_AND);
break;
case AND:
x = jj_consume_token(AND);
break;
default:
jj_la1[6] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
BitwiseOrExpression();
syntaxBuilder.bop("op.binary.and", pos(x));
}
}
final public void BitwiseOrExpression() throws ParseException {
Token x;
BitwiseXorExpression();
label_4:
while (true) {
if (jj_2_2(2)) {
;
} else {
break label_4;
}
x = jj_consume_token(BIT_OR);
BitwiseXorExpression();
syntaxBuilder.bop("op.binary.bitor", pos(x));
}
}
final public void BitwiseXorExpression() throws ParseException {
Token x;
BitwiseAndExpression();
label_5:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case BIT_XOR:
;
break;
default:
jj_la1[7] = jj_gen;
break label_5;
}
x = jj_consume_token(BIT_XOR);
BitwiseAndExpression();
syntaxBuilder.bop("op.binary.bitxor", pos(x));
}
}
final public void BitwiseAndExpression() throws ParseException {
Token x;
EqualityExpression();
label_6:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case BIT_AND:
;
break;
default:
jj_la1[8] = jj_gen;
break label_6;
}
x = jj_consume_token(BIT_AND);
EqualityExpression();
syntaxBuilder.bop("op.binary.bitand", pos(x));
}
}
final public void EqualityExpression() throws ParseException {
Token x;
String func = null;
RelationalExpression();
label_7:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case EQ:
case STRICT_EQ:
case NE:
case STRICT_NE:
case 137:
case 138:
case 139:
case 140:
;
break;
default:
jj_la1[9] = jj_gen;
break label_7;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case EQ:
case 137:
case 138:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case EQ:
x = jj_consume_token(EQ);
break;
case 137:
x = jj_consume_token(137);
break;
case 138:
x = jj_consume_token(138);
break;
default:
jj_la1[10] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
func="eq";
break;
case NE:
case 139:
case 140:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case NE:
x = jj_consume_token(NE);
break;
case 139:
x = jj_consume_token(139);
break;
case 140:
x = jj_consume_token(140);
break;
default:
jj_la1[11] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
func="ne";
break;
case STRICT_EQ:
x = jj_consume_token(STRICT_EQ);
func="strict_eq";
break;
case STRICT_NE:
x = jj_consume_token(STRICT_NE);
func="strict_ne";
break;
default:
jj_la1[12] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
RelationalExpression();
syntaxBuilder.bop("op.binary." + func, pos(x));
}
}
final public void OfTheExpression() throws ParseException {
Token x;
Expression();
x = jj_consume_token(OF);
jj_consume_token(THE);
Expression();
syntaxBuilder.bop("of.the" , pos(x));
}
final public void RelationalExpression() throws ParseException {
Token x;
String func = null;
ShiftExpression();
label_8:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case GT:
case STRICT_GT:
case LT:
case STRICT_LT:
case LE:
case STRICT_LE:
case GE:
case STRICT_GE:
case 141:
case 142:
case 143:
case 144:
case 145:
case 146:
case 147:
;
break;
default:
jj_la1[13] = jj_gen;
break label_8;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LT:
x = jj_consume_token(LT);
func="lt";
break;
case 141:
x = jj_consume_token(141);
func="lt";
break;
case GT:
x = jj_consume_token(GT);
func="gt";
break;
case 142:
x = jj_consume_token(142);
func="gt";
break;
case LE:
x = jj_consume_token(LE);
func="le";
break;
case 143:
x = jj_consume_token(143);
func="le";
break;
case 144:
x = jj_consume_token(144);
func="le";
break;
case 145:
x = jj_consume_token(145);
func="le";
break;
case GE:
x = jj_consume_token(GE);
func="ge";
break;
case 146:
x = jj_consume_token(146);
func="ge";
break;
case 147:
x = jj_consume_token(147);
func="ge";
break;
case STRICT_GT:
x = jj_consume_token(STRICT_GT);
func="strict_gt";
break;
case STRICT_GE:
x = jj_consume_token(STRICT_GE);
func="strict_ge";
break;
case STRICT_LT:
x = jj_consume_token(STRICT_LT);
func="strict_lt";
break;
case STRICT_LE:
x = jj_consume_token(STRICT_LE);
func="strict_le";
break;
default:
jj_la1[14] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
ShiftExpression();
{syntaxBuilder.bop("op.binary." + func, pos(x));}
}
}
final public void ShiftExpression() throws ParseException {
Token x;
String func = null;
AdditiveExpression();
label_9:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LSHIFT:
case RSIGNEDSHIFT:
case RUNSIGNEDSHIFT:
;
break;
default:
jj_la1[15] = jj_gen;
break label_9;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LSHIFT:
x = jj_consume_token(LSHIFT);
func="lshift";
break;
case RSIGNEDSHIFT:
x = jj_consume_token(RSIGNEDSHIFT);
func="rshift";
break;
case RUNSIGNEDSHIFT:
x = jj_consume_token(RUNSIGNEDSHIFT);
func="rshiftu";
break;
default:
jj_la1[16] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
AdditiveExpression();
syntaxBuilder.bop("op.binary." + func, pos(x));
}
}
final public void AdditiveExpression() throws ParseException {
Token x;
String func = null;
MultiplicativeExpression();
label_10:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case PLUSSTR:
case PLUS:
case MINUS:
;
break;
default:
jj_la1[17] = jj_gen;
break label_10;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case PLUS:
x = jj_consume_token(PLUS);
func="add";
break;
case PLUSSTR:
x = jj_consume_token(PLUSSTR);
func="add";
break;
case MINUS:
x = jj_consume_token(MINUS);
func="subtract";
break;
default:
jj_la1[18] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
MultiplicativeExpression();
syntaxBuilder.bop("op.binary." + func, pos(x));
}
}
final public void MultiplicativeExpression() throws ParseException {
Token x;
String func = null;
PowerExpression();
label_11:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case STAR:
case SLASH:
case REM:
;
break;
default:
jj_la1[19] = jj_gen;
break label_11;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case STAR:
x = jj_consume_token(STAR);
func="multiply";
break;
case SLASH:
x = jj_consume_token(SLASH);
func="divide";
break;
case REM:
x = jj_consume_token(REM);
func="rem";
break;
default:
jj_la1[20] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
PowerExpression();
syntaxBuilder.bop("op.binary." + func, pos(x));
}
}
final public void PowerExpression() throws ParseException {
Token x;
UnaryExpression();
label_12:
while (true) {
if (jj_2_3(2147483647)) {
;
} else {
break label_12;
}
x = jj_consume_token(EXP);
UnaryExpression();
syntaxBuilder.bop("op.binary.pow", pos(x));
}
}
final public void UnaryExpression() throws ParseException {
Token x;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case PLUS:
x = jj_consume_token(PLUS);
UnaryExpression();
syntaxBuilder.uop("op.unary.positive", pos(x));
break;
case MINUS:
x = jj_consume_token(MINUS);
UnaryExpression();
syntaxBuilder.uop("op.unary.negative", pos(x));
break;
case TILDE:
x = jj_consume_token(TILDE);
UnaryExpression();
syntaxBuilder.uop("op.unary.bitnot", pos(x));
break;
case BANG:
x = jj_consume_token(BANG);
UnaryExpression();
syntaxBuilder.uop("op.unary.not", pos(x));
break;
case INCR:
PreIncrementExpression();
break;
case DECR:
PreDecrementExpression();
break;
default:
jj_la1[21] = jj_gen;
if (jj_2_4(2147483647)) {
CastExpression();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
PostfixExpression();
break;
default:
jj_la1[22] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
final public void PreIncrementExpression() throws ParseException {
Token x;
x = jj_consume_token(INCR);
PrimaryExpression();
syntaxBuilder.uop("op.prefix.inc", pos(x));
}
final public void OfTheExpressionSuffix() throws ParseException {
Token x;
x = jj_consume_token(OF);
jj_consume_token(THE);
PrimaryExpression();
syntaxBuilder.bop("chain.suffix.of.the",null);
}
final public void PreDecrementExpression() throws ParseException {
Token x;
x = jj_consume_token(DECR);
PrimaryExpression();
syntaxBuilder.uop("op.prefix.dec", pos(x));
}
final public void PostfixExpression() throws ParseException {
Token x;
PrimaryExpression();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INCR:
case DECR:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INCR:
x = jj_consume_token(INCR);
syntaxBuilder.uop("op.suffix.inc", pos(x));
break;
case DECR:
x = jj_consume_token(DECR);
syntaxBuilder.uop("op.suffix.dec", pos(x));
break;
default:
jj_la1[23] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
default:
jj_la1[24] = jj_gen;
;
}
}
//void PrimaryExpression() :
//{
// int args = 1;
// String func = "standard";
//}
//{
//
// PrimaryPrefix() ( LOOKAHEAD(2) PrimarySuffix() {++args;} )*
// {
// if (args > 1)
// syntaxBuilder.nop("chain", null, args);
// }
//
//
//}
final public void PrimaryExpression() throws ParseException {
int args = 1;
PrimaryPrefix();
label_13:
while (true) {
if (jj_2_5(2)) {
;
} else {
break label_13;
}
PrimarySuffix();
++args;
}
if (args > 1)
syntaxBuilder.uop("chain", null);
}
final public void PrimaryPrefix() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACKET:
CommaSeparatedList();
break;
case FALSE:
case NULL:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
Literal();
break;
case BIT_OR:
AbsExpression();
break;
case LPAREN:
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
break;
case NEW:
AllocationExpression();
break;
default:
jj_la1[25] = jj_gen;
if (jj_2_6(2147483647)) {
function();
} else if (jj_2_7(2)) {
rangeidentifier();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
IdentifierSequence();
break;
default:
jj_la1[26] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
//void IdentifierChain() :
//{Token x1;}
//{
//
// IdentifierSequence()
// (x1="of the" IdentifierSequence())*
//}
//void IdentifierSequence() :
//{Token x1; int args = 2;}
//{
// (x1 = {syntaxBuilder.identifier("identifier.sequence.element", pos(token),token.image);})
// (x1 = {syntaxBuilder.identifier("identifier.sequence.element", pos(token),token.image);})
// (x1 = {syntaxBuilder.identifier("identifier.sequence.element", pos(token),token.image); ++args;})*
// {
// if (args > 1)
// syntaxBuilder.nop("identifier.sequence", null, args);
// }
//
//}
final public void IdentifierSequence() throws ParseException {
Token x1; int args = 1;
x1 = jj_consume_token(IDENTIFIER);
syntaxBuilder.identifier("identifier", pos(token),token.image);
label_14:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
;
break;
default:
jj_la1[27] = jj_gen;
break label_14;
}
x1 = jj_consume_token(IDENTIFIER);
syntaxBuilder.identifier("identifier.sequence.element", pos(token),token.image); ++args;
}
if (args > 1)
syntaxBuilder.nop("identifier.sequence", null, args);
}
//void FilterExpression() :
//{Token x1; int args = 1;}
//{
// SimpleFilter() ("or" | "and") FilterExpression()
// |
// SimpleNotFilter() (("or" | "and") (SimpleFilter() | SimpleNotFilter()))*
//}
//
//void SimpleFilter() :
//{}
//{
// Word("identifier.filter")
//}
//
//
//void SimpleNotFilter() :
//{}
//{
// "not" Word("identifier.filter.not")
//}
final public void Word(String type) throws ParseException {
Token x1;
x1 = jj_consume_token(IDENTIFIER);
syntaxBuilder.identifier(type, pos(token),token.image);
}
//void IdentifierSequence(int limit) :
//{Token x1; int args = 2;}
//{
// (x1 = {syntaxBuilder.identifier("identifier.sequence.element", pos(token),token.image);})
// (x1 = {syntaxBuilder.identifier("identifier.sequence.element", pos(token),token.image); ++args;})*
// {
// if (args > 1)
// syntaxBuilder.nop("identifier.sequence", null, args);
// }
//
//}
final public void PrimarySuffix() throws ParseException {
Token x1;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACKET:
case 166:
case 167:
case 168:
case 169:
case 170:
case 171:
case 172:
case 173:
case 174:
case 175:
case 176:
case 177:
case 178:
case 179:
case 180:
case 181:
case 182:
case 183:
IndexOperator();
syntaxBuilder.bop("chain.suffix.dot.index", null);
break;
default:
jj_la1[28] = jj_gen;
if (jj_2_8(2147483647)) {
jj_consume_token(DOT);
function();
syntaxBuilder.bop("chain.suffix.dot.function", null);
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case OF:
OfTheExpressionSuffix();
break;
case DOT:
jj_consume_token(DOT);
identifier();
syntaxBuilder.bop("chain.suffix.dot.identifier", null);
break;
default:
jj_la1[29] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
final public void CastExpression() throws ParseException {
Token x1, x2;
x1 = jj_consume_token(LPAREN);
Type();
x2 = jj_consume_token(RPAREN);
UnaryExpression();
syntaxBuilder.bop("type.cast", pos(x1,x2));
}
final public void CastLookahead() throws ParseException {
jj_consume_token(LPAREN);
Type();
jj_consume_token(RPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case TILDE:
jj_consume_token(TILDE);
break;
case BANG:
jj_consume_token(BANG);
break;
case LPAREN:
jj_consume_token(LPAREN);
break;
case LBRACKET:
jj_consume_token(LBRACKET);
break;
case IDENTIFIER:
jj_consume_token(IDENTIFIER);
break;
case NEW:
jj_consume_token(NEW);
break;
case FALSE:
case NULL:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
Literal();
break;
default:
jj_la1[30] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void identifier() throws ParseException {
jj_consume_token(IDENTIFIER);
syntaxBuilder.identifier("identifier", pos(token),token.image);
}
final public void rangeidentifier() throws ParseException {
jj_consume_token(RANGE_VARIABLE);
syntaxBuilder.identifier("range.variable", pos(token),token.image);
}
final public void TypeDimension() throws ParseException {
Token x1, x2;
x1 = jj_consume_token(LBRACKET);
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("type.index", pos(x1, x2));
}
final public void Type() throws ParseException {
ClassName();
label_15:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACKET:
;
break;
default:
jj_la1[31] = jj_gen;
break label_15;
}
TypeDimension();
}
syntaxBuilder.uop("type.declaration", null);
}
final public void ResultType() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case VOID:
jj_consume_token(VOID);
syntaxBuilder.identifier("type.name",pos(token),token.image);
syntaxBuilder.uop("type.declaration", null);
break;
case IDENTIFIER:
Type();
break;
default:
jj_la1[32] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void ClassName() throws ParseException {
String name;
Token x1, x2;
x1 = jj_consume_token(IDENTIFIER);
name = token.image; x2=x1;
label_16:
while (true) {
if (jj_2_9(2)) {
;
} else {
break label_16;
}
jj_consume_token(DOT);
x2 = jj_consume_token(IDENTIFIER);
name = name + "." + token.image;
}
syntaxBuilder.identifier("type.name",pos(x1, x2),name);
}
final public void CommaSeparatedList() throws ParseException {
int elements = 0;
int words = 0;
jj_consume_token(LBRACKET);
words = 0;
label_17:
while (true) {
Word("identifier.list");
++words;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
;
break;
default:
jj_la1[33] = jj_gen;
break label_17;
}
}
syntaxBuilder.nop("list.element", null, words); ++elements;
label_18:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[34] = jj_gen;
break label_18;
}
jj_consume_token(COMMA);
words =0;
label_19:
while (true) {
Word("identifier.list");
++words;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
;
break;
default:
jj_la1[35] = jj_gen;
break label_19;
}
}
syntaxBuilder.nop("list.element", null, words); ++elements;
}
jj_consume_token(RBRACKET);
syntaxBuilder.nop("list", null, elements);
}
final public void function() throws ParseException {
String funcname;
int args = 0;
Token x1, x2;
x1 = jj_consume_token(IDENTIFIER);
funcname = token.image;
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACE:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
VariableInitializer();
args++;
label_20:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[36] = jj_gen;
break label_20;
}
jj_consume_token(COMMA);
VariableInitializer();
args++;
}
break;
default:
jj_la1[37] = jj_gen;
;
}
x2 = jj_consume_token(RPAREN);
syntaxBuilder.identifier("funcname", pos(x1), funcname);
syntaxBuilder.nop("function", pos(x1,x2), args + 1);
}
final public void AllocationExpression() throws ParseException {
int args = 0;
Token x1, x2;
x1 = jj_consume_token(NEW);
ClassName();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LPAREN:
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
Expression();
args++;
label_21:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[38] = jj_gen;
break label_21;
}
jj_consume_token(COMMA);
Expression();
args++;
}
break;
default:
jj_la1[39] = jj_gen;
;
}
x2 = jj_consume_token(RPAREN);
syntaxBuilder.nop("op.new.object",pos(x1, x2), args + 1);
break;
case LBRACKET:
ArrayDimsAndInits();
syntaxBuilder.uop("op.new.array",pos(x1));
break;
default:
jj_la1[40] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
/*
* The second LOOKAHEAD specification below is to parse to PrimarySuffix
* if there is an expression between the "[...]".
*/
final public void ArrayDimsAndInits() throws ParseException {
Token x1, x2;
int cnt = 0;
if (jj_2_12(2)) {
label_22:
while (true) {
x1 = jj_consume_token(LBRACKET);
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.bop("array.index.expression", pos(x1, x2)); cnt++;
if (jj_2_10(2)) {
;
} else {
break label_22;
}
}
label_23:
while (true) {
if (jj_2_11(2)) {
;
} else {
break label_23;
}
x1 = jj_consume_token(LBRACKET);
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("array.index.empty", pos(x1, x2));
}
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACKET:
label_24:
while (true) {
TypeDimension();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACKET:
;
break;
default:
jj_la1[41] = jj_gen;
break label_24;
}
}
ArrayInitializer();
syntaxBuilder.bop("new.array.initialized", null);
break;
default:
jj_la1[42] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void IndexTypeExpression() throws ParseException {
Token x1,x2;
if (jj_2_13(3)) {
x1 = jj_consume_token(LPAREN);
Type();
VariableDeclaratorId();
x2 = jj_consume_token(RPAREN);
syntaxBuilder.nop("index.parameter.declaration", pos(x1, x2), 2);
} else if (jj_2_14(3)) {
x1 = jj_consume_token(LPAREN);
VariableDeclaratorId();
x2 = jj_consume_token(RPAREN);
syntaxBuilder.nop("index.parameter.declaration", pos(x1, x2), 1);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
final public void IndexOperator() throws ParseException {
Token x1,x2, x3; String prefix;
if (jj_2_15(6)) {
x1 = jj_consume_token(LBRACKET);
IndexTypeExpression();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 148:
case 149:
case 150:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 148:
x3 = jj_consume_token(148);
break;
case 149:
x3 = jj_consume_token(149);
break;
case 150:
x3 = jj_consume_token(150);
break;
default:
jj_la1[43] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
prefix="selectall";
break;
case 151:
case 152:
case 153:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 151:
x3 = jj_consume_token(151);
break;
case 152:
x3 = jj_consume_token(152);
break;
case 153:
x3 = jj_consume_token(153);
break;
default:
jj_la1[44] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
prefix="selectfirst";
break;
case 154:
case 155:
case 156:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 154:
x3 = jj_consume_token(154);
break;
case 155:
x3 = jj_consume_token(155);
break;
case 156:
x3 = jj_consume_token(156);
break;
default:
jj_la1[45] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
prefix="orderby";
break;
case 157:
case 158:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 157:
x3 = jj_consume_token(157);
break;
case 158:
x3 = jj_consume_token(158);
break;
default:
jj_la1[46] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
prefix="orderdecreasingby";
break;
case 159:
case 160:
case 161:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 159:
x3 = jj_consume_token(159);
break;
case 160:
x3 = jj_consume_token(160);
break;
case 161:
x3 = jj_consume_token(161);
break;
default:
jj_la1[47] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
prefix="splitby";
break;
case 162:
case 163:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 162:
x3 = jj_consume_token(162);
break;
case 163:
x3 = jj_consume_token(163);
break;
default:
jj_la1[48] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
prefix="transform";
break;
case 164:
case 165:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 164:
x3 = jj_consume_token(164);
break;
case 165:
x3 = jj_consume_token(165);
break;
default:
jj_la1[49] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
prefix="transformunique";
break;
default:
jj_la1[50] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.nop(prefix +".index", pos(x1, x2), 2);
} else if (jj_2_16(2)) {
x1 = jj_consume_token(LBRACKET);
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("op.index", pos(x1, x2));
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 166:
case 167:
case 168:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 166:
x1 = jj_consume_token(166);
break;
case 167:
x1 = jj_consume_token(167);
break;
case 168:
x1 = jj_consume_token(168);
break;
default:
jj_la1[51] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("selectfirst.index", pos(x1, x2));
break;
case 169:
case 170:
case 171:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 169:
x1 = jj_consume_token(169);
break;
case 170:
x1 = jj_consume_token(170);
break;
case 171:
x1 = jj_consume_token(171);
break;
default:
jj_la1[52] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("selectall.index", pos(x1, x2));
break;
case 172:
case 173:
case 174:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 172:
x1 = jj_consume_token(172);
break;
case 173:
x1 = jj_consume_token(173);
break;
case 174:
x1 = jj_consume_token(174);
break;
default:
jj_la1[53] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("orderby.index", pos(x1, x2));
break;
case 175:
case 176:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 175:
x1 = jj_consume_token(175);
break;
case 176:
x1 = jj_consume_token(176);
break;
default:
jj_la1[54] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("orderdecreasingby.index", pos(x1, x2));
break;
case 177:
case 178:
case 179:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 177:
x1 = jj_consume_token(177);
break;
case 178:
x1 = jj_consume_token(178);
break;
case 179:
x1 = jj_consume_token(179);
break;
default:
jj_la1[55] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("splitby.index", pos(x1, x2));
break;
case 180:
case 181:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 180:
x1 = jj_consume_token(180);
break;
case 181:
x1 = jj_consume_token(181);
break;
default:
jj_la1[56] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("transform.index", pos(x1, x2));
break;
case 182:
case 183:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 182:
x1 = jj_consume_token(182);
break;
case 183:
x1 = jj_consume_token(183);
break;
default:
jj_la1[57] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
Expression();
x2 = jj_consume_token(RBRACKET);
syntaxBuilder.uop("transformunique.index", pos(x1, x2));
break;
default:
jj_la1[58] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void AbsExpression() throws ParseException {
Token x1, x2;
x1 = jj_consume_token(BIT_OR);
Expression();
x2 = jj_consume_token(BIT_OR);
syntaxBuilder.uop("op.unary.abs", pos(x1,x2));
}
final public void Literal() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
jj_consume_token(INTEGER_LITERAL);
syntaxBuilder.literal("literal.integer", pos(token), token.image);
break;
case BUSINESS_INTEGER_LITERAL:
jj_consume_token(BUSINESS_INTEGER_LITERAL);
syntaxBuilder.literal("literal.integer.business", pos(token), token.image);
break;
case PERCENT_LITERAL:
jj_consume_token(PERCENT_LITERAL);
syntaxBuilder.literal("literal.percent", pos(token), token.image);
break;
case FLOATING_POINT_LITERAL:
jj_consume_token(FLOATING_POINT_LITERAL);
syntaxBuilder.literal("literal.real", pos(token), token.image);
break;
case STRING_LITERAL:
jj_consume_token(STRING_LITERAL);
syntaxBuilder.literal("literal.string", pos(token), token.image);
break;
case CHARACTER_LITERAL:
jj_consume_token(CHARACTER_LITERAL);
syntaxBuilder.literal("literal.char", pos(token), token.image);
break;
case FALSE:
case TRUE:
BooleanLiteral();
break;
default:
jj_la1[59] = jj_gen;
if (jj_2_17(2147483647)) {
DateTimeLiteral();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case DATE_FORMAT_LITERAL_4_2_2:
DateLiteral();
break;
case TIME_FORMAT_LITERAL:
TimeLiteral();
break;
case NULL:
NullLiteral();
break;
default:
jj_la1[60] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
final public void LiteralBI() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
jj_consume_token(INTEGER_LITERAL);
syntaxBuilder.literal("literal.integer", pos(token), token.image);
break;
case BUSINESS_INTEGER_LITERAL:
jj_consume_token(BUSINESS_INTEGER_LITERAL);
syntaxBuilder.literal("literal.integer.business", pos(token), token.image);
break;
default:
jj_la1[61] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void LiteralFloat() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FLOATING_POINT_LITERAL:
jj_consume_token(FLOATING_POINT_LITERAL);
break;
case INTEGER_LITERAL:
jj_consume_token(INTEGER_LITERAL);
break;
default:
jj_la1[62] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.literal("literal.real", pos(token), token.image);
break;
case BUSINESS_INTEGER_LITERAL:
jj_consume_token(BUSINESS_INTEGER_LITERAL);
syntaxBuilder.literal("literal.real.business", pos(token), token.image);
break;
default:
jj_la1[63] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void NegLiteralFloat() throws ParseException {
Token x;
x = jj_consume_token(MINUS);
LiteralFloat();
syntaxBuilder.uop("literal.real.negative", pos(x));
}
final public void NegLiteralBI() throws ParseException {
Token x;
x = jj_consume_token(MINUS);
LiteralBI();
syntaxBuilder.uop("literal.integer.negative", pos(x));
}
final public void RangeBrackets() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LPAREN:
jj_consume_token(LPAREN);
break;
case LBRACKET:
jj_consume_token(LBRACKET);
break;
default:
jj_la1[64] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.literal("literal.bracket", pos(token), token.image);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralBI();
break;
case MINUS:
NegLiteralBI();
break;
default:
jj_la1[65] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case SEMICOLON:
x = jj_consume_token(SEMICOLON);
op=";";
break;
case DDOT:
x = jj_consume_token(DDOT);
op="ddot";
break;
default:
jj_la1[66] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralBI();
break;
case MINUS:
NegLiteralBI();
break;
default:
jj_la1[67] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case RPAREN:
jj_consume_token(RPAREN);
break;
case RBRACKET:
jj_consume_token(RBRACKET);
break;
default:
jj_la1[68] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.literal("literal.bracket", pos(token), token.image);
syntaxBuilder.nop("literal.range.brackets", null, 4);
}
final public void RangeBinary() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralBI();
break;
case MINUS:
NegLiteralBI();
break;
default:
jj_la1[69] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case MINUS:
x = jj_consume_token(MINUS);
op="minus";
break;
case DDOT:
x = jj_consume_token(DDOT);
op="ddot";
break;
case TDOT:
x = jj_consume_token(TDOT);
op="tdot";
break;
default:
jj_la1[70] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralBI();
break;
case MINUS:
NegLiteralBI();
break;
default:
jj_la1[71] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.bop("literal.range.binary." + op, pos(x));
}
final public void RangeNumber() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralBI();
break;
case MINUS:
NegLiteralBI();
break;
default:
jj_la1[72] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.uop("literal.range.number", null);
}
final public void RangePrefix() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LT:
x = jj_consume_token(LT);
op="lt";
break;
case 184:
x = jj_consume_token(184);
op="lt";
break;
case LE:
x = jj_consume_token(LE);
op="le";
break;
case GT:
x = jj_consume_token(GT);
op="gt";
break;
case 185:
x = jj_consume_token(185);
op="gt";
break;
case GE:
x = jj_consume_token(GE);
op="ge";
break;
default:
jj_la1[73] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralBI();
break;
case MINUS:
NegLiteralBI();
break;
default:
jj_la1[74] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.uop("literal.range.unary.prefix." + op, pos(x));
}
final public void RangeSuffix() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralBI();
break;
case MINUS:
NegLiteralBI();
break;
default:
jj_la1[75] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LT:
x = jj_consume_token(LT);
op="lt";
break;
case LE:
x = jj_consume_token(LE);
op="le";
break;
case 186:
x = jj_consume_token(186);
op="or.less";
break;
case GT:
x = jj_consume_token(GT);
op="gt";
break;
case GE:
x = jj_consume_token(GE);
op="ge";
break;
case 187:
x = jj_consume_token(187);
op="and.more";
break;
case PLUS:
x = jj_consume_token(PLUS);
op="plus";
break;
default:
jj_la1[76] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.uop("literal.range.unary.suffix."+op, pos(x));
}
final public void RangeLiteral() throws ParseException {
Token x;
String op;
if (jj_2_18(2147483647)) {
RangeBinary();
} else if (jj_2_19(2147483647)) {
RangeBrackets();
} else if (jj_2_20(2147483647)) {
RangePrefix();
} else if (jj_2_21(2147483647)) {
RangeSuffix();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case MINUS:
case INTEGER_LITERAL:
case BUSINESS_INTEGER_LITERAL:
RangeNumber();
break;
default:
jj_la1[77] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
jj_consume_token(0);
}
final public void RangeBracketsFloat() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LPAREN:
jj_consume_token(LPAREN);
break;
case LBRACKET:
jj_consume_token(LBRACKET);
break;
default:
jj_la1[78] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.literal("literal.bracket", pos(token), token.image);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralFloat();
break;
case MINUS:
NegLiteralFloat();
break;
default:
jj_la1[79] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case SEMICOLON:
x = jj_consume_token(SEMICOLON);
op=";";
break;
case DDOT:
x = jj_consume_token(DDOT);
op="ddot";
break;
default:
jj_la1[80] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralFloat();
break;
case MINUS:
NegLiteralFloat();
break;
default:
jj_la1[81] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case RPAREN:
jj_consume_token(RPAREN);
break;
case RBRACKET:
jj_consume_token(RBRACKET);
break;
default:
jj_la1[82] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.literal("literal.bracket", pos(token), token.image);
syntaxBuilder.nop("literal.range.brackets", null, 4);
}
final public void RangeBinaryFloat() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralFloat();
break;
case MINUS:
NegLiteralFloat();
break;
default:
jj_la1[83] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case MINUS:
x = jj_consume_token(MINUS);
op="minus";
break;
case DDOT:
x = jj_consume_token(DDOT);
op="ddot";
break;
case TDOT:
x = jj_consume_token(TDOT);
op="tdot";
break;
default:
jj_la1[84] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralFloat();
break;
case MINUS:
NegLiteralFloat();
break;
default:
jj_la1[85] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.bop("literal.range.binary." + op, pos(x));
}
final public void RangeNumberFloat() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralFloat();
break;
case MINUS:
NegLiteralFloat();
break;
default:
jj_la1[86] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.uop("literal.range.number", null);
}
final public void RangePrefixFloat() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LT:
x = jj_consume_token(LT);
op="lt";
break;
case 184:
x = jj_consume_token(184);
op="lt";
break;
case LE:
x = jj_consume_token(LE);
op="le";
break;
case GT:
x = jj_consume_token(GT);
op="gt";
break;
case 185:
x = jj_consume_token(185);
op="gt";
break;
case GE:
x = jj_consume_token(GE);
op="ge";
break;
default:
jj_la1[87] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralFloat();
break;
case MINUS:
NegLiteralFloat();
break;
default:
jj_la1[88] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.uop("literal.range.unary.prefix." + op, pos(x));
}
final public void RangeSuffixFloat() throws ParseException {
Token x;
String op;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
LiteralFloat();
break;
case MINUS:
NegLiteralFloat();
break;
default:
jj_la1[89] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LT:
x = jj_consume_token(LT);
op="lt";
break;
case LE:
x = jj_consume_token(LE);
op="le";
break;
case 186:
x = jj_consume_token(186);
op="or.less";
break;
case GT:
x = jj_consume_token(GT);
op="gt";
break;
case GE:
x = jj_consume_token(GE);
op="ge";
break;
case 187:
x = jj_consume_token(187);
op="and.more";
break;
case PLUS:
x = jj_consume_token(PLUS);
op="plus";
break;
default:
jj_la1[90] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
syntaxBuilder.uop("literal.range.unary.suffix."+op, pos(x));
}
final public void RangeLiteralFloat() throws ParseException {
Token x;
String op;
if (jj_2_22(2147483647)) {
RangeBracketsFloat();
} else if (jj_2_23(2147483647)) {
RangeBinaryFloat();
} else if (jj_2_24(2147483647)) {
RangePrefixFloat();
} else if (jj_2_25(2147483647)) {
RangeSuffixFloat();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case MINUS:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
RangeNumberFloat();
break;
default:
jj_la1[91] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
jj_consume_token(0);
}
final public void DateLiteral() throws ParseException {
jj_consume_token(DATE_FORMAT_LITERAL_4_2_2);
syntaxBuilder.literal("literal.date", pos(token), token.image);
}
final public void TimeLiteral() throws ParseException {
jj_consume_token(TIME_FORMAT_LITERAL);
syntaxBuilder.literal("literal.time", pos(token), token.image);
}
final public void DateTimeLiteral() throws ParseException {
DateLiteral();
TimeLiteral();
syntaxBuilder.literal("literal.datetime", null, 2);
}
final public void BooleanLiteral() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case TRUE:
jj_consume_token(TRUE);
syntaxBuilder.literal("literal.bool", pos(token), token.image);
break;
case FALSE:
jj_consume_token(FALSE);
syntaxBuilder.literal("literal.bool", pos(token), token.image);
break;
default:
jj_la1[92] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void NullLiteral() throws ParseException {
jj_consume_token(NULL);
syntaxBuilder.literal("literal.null", pos(token), token.image);
}
final public void Block() throws ParseException {
Token x1, x2;
x1 = jj_consume_token(LBRACE);
BlockStatementList();
x2 = jj_consume_token(RBRACE);
}
final public void BlockStatementList() throws ParseException {
int args = 0;
label_25:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case BREAK:
case CONTINUE:
case DO:
case FALSE:
case FOR:
case IF:
case NEW:
case NULL:
case RETURN:
case THROW:
case TRUE:
case WHILE:
case LPAREN:
case LBRACE:
case LBRACKET:
case SEMICOLON:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
;
break;
default:
jj_la1[93] = jj_gen;
break label_25;
}
BlockStatement();
args++;
}
syntaxBuilder.nop("block.statement", null, args);
}
final public void OptionalSemiColon() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case SEMICOLON:
jj_consume_token(SEMICOLON);
break;
case 0:
jj_consume_token(0);
break;
default:
jj_la1[94] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void SemiColon() throws ParseException {
jj_consume_token(SEMICOLON);
}
final public void Statement() throws ParseException {
if (jj_2_26(2)) {
LabeledStatement();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACE:
Block();
break;
case SEMICOLON:
EmptyStatement();
break;
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
StatementExpression();
OptionalSemiColon();
break;
case IF:
IfStatement();
break;
case WHILE:
WhileStatement();
break;
case DO:
DoStatement();
break;
case FOR:
ForStatement();
break;
case BREAK:
BreakStatement();
break;
case CONTINUE:
ContinueStatement();
break;
case RETURN:
ReturnStatement();
break;
case THROW:
ThrowStatement();
break;
default:
jj_la1[95] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void ExtendedWhereStatement() throws ParseException {
int args = 1;
jj_consume_token(COMMA);
jj_consume_token(WHERE);
WhereVarExpalnation();
label_26:
while (true) {
if (jj_2_27(2)) {
;
} else {
break label_26;
}
jj_consume_token(COMMA);
WhereVarExpalnation();
++args;
}
syntaxBuilder.nop("where.explanation", null, args);
}
final public void WhereVarExpalnation() throws ParseException {
Word("identifier.var.explanation");
jj_consume_token(MINUS);
Expression();
syntaxBuilder.bop("where.var.expalnation", null);
}
final public void LabeledStatement() throws ParseException {
String label;
jj_consume_token(IDENTIFIER);
label = token.image;
jj_consume_token(COLON);
syntaxBuilder.notImplemented("startLabel(label)");
Statement();
syntaxBuilder.notImplemented("endLabel()");
}
final public void BlockStatement() throws ParseException {
if (jj_2_28(2147483647)) {
LocalVariableDeclaration();
SemiColon();
} else if (jj_2_29(2147483647)) {
LocalVariableDeclaration();
SemiColon();
} else if (jj_2_30(2147483647)) {
LocalVariableDeclaration();
SemiColon();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case BREAK:
case CONTINUE:
case DO:
case FALSE:
case FOR:
case IF:
case NEW:
case NULL:
case RETURN:
case THROW:
case TRUE:
case WHILE:
case LPAREN:
case LBRACE:
case LBRACKET:
case SEMICOLON:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
Statement();
break;
default:
jj_la1[96] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void StatementExpression() throws ParseException {
Expression();
if (jj_2_31(2)) {
ExtendedWhereStatement();
syntaxBuilder.bop("where.expression", null);
} else {
;
}
}
final public void EmptyStatement() throws ParseException {
jj_consume_token(SEMICOLON);
syntaxBuilder.emptyStatement(token.image, pos(token));
}
final public void IfStatement() throws ParseException {
Token x1;
int nodes = 2;
x1 = jj_consume_token(IF);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
Statement();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ELSE:
jj_consume_token(ELSE);
Statement();
++nodes;
break;
default:
jj_la1[97] = jj_gen;
;
}
syntaxBuilder.nop("control.if", pos(x1), nodes );
}
final public void WhileStatement() throws ParseException {
Token x;
// { syntaxBuilder.notImplemented("startLabel(null)"); } // anonymous label for cycles
x = jj_consume_token(WHILE);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
Statement();
syntaxBuilder.bop("control.while", pos(x));
}
final public void ReturnStatement() throws ParseException {
int args = 0;
Token x;
x = jj_consume_token(RETURN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACE:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
VariableInitializer();
++args;
break;
default:
jj_la1[98] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
syntaxBuilder.nop("control.return", pos(x), args);
}
final public void ThrowStatement() throws ParseException {
jj_consume_token(THROW);
Expression();
jj_consume_token(SEMICOLON);
}
final public void DoStatement() throws ParseException {
syntaxBuilder.notImplemented("startLabel(null)");
jj_consume_token(DO);
Statement();
jj_consume_token(WHILE);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
OptionalSemiColon();
syntaxBuilder.notImplemented("doStatement()");
syntaxBuilder.notImplemented("endLabel()");
}
final public void LocalVariableDeclaration() throws ParseException {
int args = 0;
Type();
VariableDeclarator();
args++;
label_27:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[99] = jj_gen;
break label_27;
}
jj_consume_token(COMMA);
VariableDeclarator();
args++;
}
syntaxBuilder.nop("local.var.declaration", null, args + 1);
}
final public void VariableDeclarator() throws ParseException {
boolean withInitializer = false;
VariableDeclaratorId();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ASSIGN:
jj_consume_token(ASSIGN);
VariableInitializer();
withInitializer=true;
break;
default:
jj_la1[100] = jj_gen;
;
}
if (withInitializer)
{
syntaxBuilder.bop("local.var.name.init", null);
}
else
{
// syntaxBuilder.uop("local.name.noinit", pos(x));
}
// syntaxBuilder.notImplemented("varDeclarator(withInitializer)");
}
final public void VariableDeclaratorId() throws ParseException {
identifier();
label_28:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACKET:
;
break;
default:
jj_la1[101] = jj_gen;
break label_28;
}
TypeDimension();
}
}
final public void VariableInitializer() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACE:
ArrayInitializer();
break;
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
Expression();
break;
default:
jj_la1[102] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void ArrayInitializer() throws ParseException {
int args = 0;
Token x1, x2;
x1 = jj_consume_token(LBRACE);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACE:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
VariableInitializer();
args++;
label_29:
while (true) {
if (jj_2_32(2)) {
;
} else {
break label_29;
}
jj_consume_token(COMMA);
VariableInitializer();
args++;
}
break;
default:
jj_la1[103] = jj_gen;
;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
jj_consume_token(COMMA);
break;
default:
jj_la1[104] = jj_gen;
;
}
x2 = jj_consume_token(RBRACE);
syntaxBuilder.nop("array.init", pos(x1, x2),args);
}
final public void ForStatement() throws ParseException {
boolean[] bParts = new boolean[4];
Token x;
// anonymous label for cycles
x = jj_consume_token(FOR);
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
ForInit();
bParts[0] = true;
break;
default:
jj_la1[105] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
Expression();
bParts[1] = true;
break;
default:
jj_la1[106] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
ForUpdate();
bParts[2] = true;
break;
default:
jj_la1[107] = jj_gen;
;
}
jj_consume_token(RPAREN);
Statement();
bParts[3] = true;
syntaxBuilder.nop("control.for", pos(x) ,bParts);
}
final public void ForInit() throws ParseException {
if (jj_2_33(2147483647)) {
LocalVariableDeclaration();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case LPAREN:
case LBRACKET:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:
case BIT_OR:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case BUSINESS_INTEGER_LITERAL:
case DATE_FORMAT_LITERAL_4_2_2:
case TIME_FORMAT_LITERAL:
case PERCENT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case RANGE_VARIABLE:
StatementExpressionList();
break;
default:
jj_la1[108] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void StatementExpressionList() throws ParseException {
int args = 0;
StatementExpression();
args++;
label_30:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[109] = jj_gen;
break label_30;
}
jj_consume_token(COMMA);
StatementExpression();
args++;
}
if (args > 1)
syntaxBuilder.nop("statement_list",null, args);
}
final public void ForUpdate() throws ParseException {
StatementExpressionList();
}
final public void BreakStatement() throws ParseException {
String label=null;
jj_consume_token(BREAK);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
jj_consume_token(IDENTIFIER);
label = token.image;
break;
default:
jj_la1[110] = jj_gen;
;
}
OptionalSemiColon();
syntaxBuilder.notImplemented("doBreak(label)");
}
final public void ContinueStatement() throws ParseException {
String label = null;
jj_consume_token(CONTINUE);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
jj_consume_token(IDENTIFIER);
label = token.image;
break;
default:
jj_la1[111] = jj_gen;
;
}
OptionalSemiColon();
syntaxBuilder.notImplemented("doContinue(label)");
}
final public void MethodHeader() throws ParseException {
label_31:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ABSTRACT:
case FINAL:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case SYNCHRONIZED:
;
break;
default:
jj_la1[112] = jj_gen;
break label_31;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case PUBLIC:
jj_consume_token(PUBLIC);
break;
case PROTECTED:
jj_consume_token(PROTECTED);
break;
case PRIVATE:
jj_consume_token(PRIVATE);
break;
case STATIC:
jj_consume_token(STATIC);
break;
case ABSTRACT:
jj_consume_token(ABSTRACT);
break;
case FINAL:
jj_consume_token(FINAL);
break;
case NATIVE:
jj_consume_token(NATIVE);
break;
case SYNCHRONIZED:
jj_consume_token(SYNCHRONIZED);
break;
default:
jj_la1[113] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
ResultType();
MethodDeclarator();
syntaxBuilder.nop("method.header", null, 3);
}
final public void MethodDeclaration() throws ParseException {
label_32:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ABSTRACT:
case FINAL:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case SYNCHRONIZED:
;
break;
default:
jj_la1[114] = jj_gen;
break label_32;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case PUBLIC:
jj_consume_token(PUBLIC);
break;
case PROTECTED:
jj_consume_token(PROTECTED);
break;
case PRIVATE:
jj_consume_token(PRIVATE);
break;
case STATIC:
jj_consume_token(STATIC);
break;
case ABSTRACT:
jj_consume_token(ABSTRACT);
break;
case FINAL:
jj_consume_token(FINAL);
break;
case NATIVE:
jj_consume_token(NATIVE);
break;
case SYNCHRONIZED:
jj_consume_token(SYNCHRONIZED);
break;
default:
jj_la1[115] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
ResultType();
MethodDeclarator();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case LBRACE:
Block();
syntaxBuilder.nop("method.declaration", null, 4);
break;
case SEMICOLON:
jj_consume_token(SEMICOLON);
break;
default:
jj_la1[116] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void MethodDeclarator() throws ParseException {
MethodName();
FormalParameters();
}
final public void MethodName() throws ParseException {
identifier();
}
final public void FormalParameters() throws ParseException {
int args = 0;
Token x1, x2;
x1 = jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
FormalParameter();
++args;
label_33:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[117] = jj_gen;
break label_33;
}
jj_consume_token(COMMA);
FormalParameter();
++args;
}
break;
default:
jj_la1[118] = jj_gen;
;
}
x2 = jj_consume_token(RPAREN);
syntaxBuilder.nop("method.parameters", pos(x1,x2), args);
}
final public void FormalParameter() throws ParseException {
Type();
VariableDeclaratorId();
syntaxBuilder.nop("parameter.declaration", null, 2);
}
final public void VarDeclaration() throws ParseException {
LocalVariableDeclaration();
jj_consume_token(SEMICOLON);
syntaxBuilder.uop("var.declaration", null);
}
final public void MethodOrVarDeclaration() throws ParseException {
if (jj_2_34(2147483647)) {
MethodDeclaration();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
VarDeclaration();
break;
default:
jj_la1[119] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void parseModuleInternal() throws ParseException {
int nMethods = 1;
MethodOrVarDeclaration();
label_34:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ABSTRACT:
case FINAL:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case SYNCHRONIZED:
case VOID:
case IDENTIFIER:
;
break;
default:
jj_la1[120] = jj_gen;
break label_34;
}
MethodOrVarDeclaration();
++nMethods;
}
if (nMethods > 0) syntaxBuilder.nop("module.top", null, nMethods);
jj_consume_token(0);
}
final public void parseTopNodeInternal() throws ParseException {
BlockStatementList();
syntaxBuilder.uop("block.top", null);
jj_consume_token(0);
}
private boolean jj_2_1(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_1(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(0, xla); }
}
private boolean jj_2_2(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_2(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(1, xla); }
}
private boolean jj_2_3(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_3(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(2, xla); }
}
private boolean jj_2_4(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_4(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(3, xla); }
}
private boolean jj_2_5(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_5(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(4, xla); }
}
private boolean jj_2_6(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_6(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(5, xla); }
}
private boolean jj_2_7(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_7(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(6, xla); }
}
private boolean jj_2_8(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_8(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(7, xla); }
}
private boolean jj_2_9(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_9(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(8, xla); }
}
private boolean jj_2_10(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_10(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(9, xla); }
}
private boolean jj_2_11(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_11(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(10, xla); }
}
private boolean jj_2_12(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_12(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(11, xla); }
}
private boolean jj_2_13(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_13(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(12, xla); }
}
private boolean jj_2_14(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_14(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(13, xla); }
}
private boolean jj_2_15(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_15(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(14, xla); }
}
private boolean jj_2_16(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_16(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(15, xla); }
}
private boolean jj_2_17(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_17(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(16, xla); }
}
private boolean jj_2_18(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_18(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(17, xla); }
}
private boolean jj_2_19(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_19(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(18, xla); }
}
private boolean jj_2_20(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_20(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(19, xla); }
}
private boolean jj_2_21(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_21(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(20, xla); }
}
private boolean jj_2_22(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_22(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(21, xla); }
}
private boolean jj_2_23(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_23(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(22, xla); }
}
private boolean jj_2_24(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_24(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(23, xla); }
}
private boolean jj_2_25(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_25(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(24, xla); }
}
private boolean jj_2_26(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_26(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(25, xla); }
}
private boolean jj_2_27(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_27(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(26, xla); }
}
private boolean jj_2_28(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_28(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(27, xla); }
}
private boolean jj_2_29(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_29(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(28, xla); }
}
private boolean jj_2_30(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_30(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(29, xla); }
}
private boolean jj_2_31(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_31(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(30, xla); }
}
private boolean jj_2_32(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_32(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(31, xla); }
}
private boolean jj_2_33(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_33(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(32, xla); }
}
private boolean jj_2_34(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_34(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(33, xla); }
}
private boolean jj_3R_79() {
if (jj_scan_token(TIME_FORMAT_LITERAL)) return true;
return false;
}
private boolean jj_3R_213() {
if (jj_scan_token(TILDE)) return true;
if (jj_3R_209()) return true;
return false;
}
private boolean jj_3_25() {
if (jj_3R_59()) return true;
return false;
}
private boolean jj_3R_212() {
if (jj_scan_token(MINUS)) return true;
if (jj_3R_209()) return true;
return false;
}
private boolean jj_3_3() {
if (jj_scan_token(EXP)) return true;
return false;
}
private boolean jj_3_24() {
if (jj_3R_58()) return true;
return false;
}
private boolean jj_3R_209() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_211()) {
jj_scanpos = xsp;
if (jj_3R_212()) {
jj_scanpos = xsp;
if (jj_3R_213()) {
jj_scanpos = xsp;
if (jj_3R_214()) {
jj_scanpos = xsp;
if (jj_3R_215()) {
jj_scanpos = xsp;
if (jj_3R_216()) {
jj_scanpos = xsp;
if (jj_3R_217()) {
jj_scanpos = xsp;
if (jj_3R_218()) return true;
}
}
}
}
}
}
}
return false;
}
private boolean jj_3R_211() {
if (jj_scan_token(PLUS)) return true;
if (jj_3R_209()) return true;
return false;
}
private boolean jj_3R_78() {
if (jj_scan_token(DATE_FORMAT_LITERAL_4_2_2)) return true;
return false;
}
private boolean jj_3_23() {
if (jj_3R_57()) return true;
return false;
}
private boolean jj_3_22() {
if (jj_3R_56()) return true;
return false;
}
private boolean jj_3R_138() {
if (jj_scan_token(187)) return true;
return false;
}
private boolean jj_3R_135() {
if (jj_scan_token(186)) return true;
return false;
}
private boolean jj_3R_267() {
if (jj_scan_token(PLUSSTR)) return true;
return false;
}
private boolean jj_3R_269() {
if (jj_scan_token(EXP)) return true;
if (jj_3R_209()) return true;
return false;
}
private boolean jj_3R_132() {
if (jj_3R_157()) return true;
return false;
}
private boolean jj_3R_207() {
if (jj_3R_209()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_269()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_120() {
if (jj_scan_token(TDOT)) return true;
return false;
}
private boolean jj_3R_270() {
if (jj_scan_token(STAR)) return true;
return false;
}
private boolean jj_3R_263() {
if (jj_scan_token(RSIGNEDSHIFT)) return true;
return false;
}
private boolean jj_3R_127() {
if (jj_scan_token(185)) return true;
return false;
}
private boolean jj_3R_265() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_270()) {
jj_scanpos = xsp;
if (jj_3R_271()) {
jj_scanpos = xsp;
if (jj_3R_272()) return true;
}
}
if (jj_3R_207()) return true;
return false;
}
private boolean jj_3R_130() {
if (jj_3R_157()) return true;
return false;
}
private boolean jj_3R_124() {
if (jj_scan_token(184)) return true;
return false;
}
private boolean jj_3R_196() {
if (jj_3R_207()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_265()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_139() {
if (jj_scan_token(PLUS)) return true;
return false;
}
private boolean jj_3R_137() {
if (jj_scan_token(GE)) return true;
return false;
}
private boolean jj_3R_136() {
if (jj_scan_token(GT)) return true;
return false;
}
private boolean jj_3R_134() {
if (jj_scan_token(LE)) return true;
return false;
}
private boolean jj_3R_133() {
if (jj_scan_token(LT)) return true;
return false;
}
private boolean jj_3R_131() {
if (jj_3R_156()) return true;
return false;
}
private boolean jj_3R_59() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_131()) {
jj_scanpos = xsp;
if (jj_3R_132()) return true;
}
xsp = jj_scanpos;
if (jj_3R_133()) {
jj_scanpos = xsp;
if (jj_3R_134()) {
jj_scanpos = xsp;
if (jj_3R_135()) {
jj_scanpos = xsp;
if (jj_3R_136()) {
jj_scanpos = xsp;
if (jj_3R_137()) {
jj_scanpos = xsp;
if (jj_3R_138()) {
jj_scanpos = xsp;
if (jj_3R_139()) return true;
}
}
}
}
}
}
return false;
}
private boolean jj_3R_266() {
if (jj_scan_token(PLUS)) return true;
return false;
}
private boolean jj_3R_261() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_266()) {
jj_scanpos = xsp;
if (jj_3R_267()) {
jj_scanpos = xsp;
if (jj_3R_268()) return true;
}
}
if (jj_3R_196()) return true;
return false;
}
private boolean jj_3R_190() {
if (jj_3R_196()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_261()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_119() {
if (jj_scan_token(DDOT)) return true;
return false;
}
private boolean jj_3R_129() {
if (jj_3R_156()) return true;
return false;
}
private boolean jj_3R_128() {
if (jj_scan_token(GE)) return true;
return false;
}
private boolean jj_3R_126() {
if (jj_scan_token(GT)) return true;
return false;
}
private boolean jj_3R_125() {
if (jj_scan_token(LE)) return true;
return false;
}
private boolean jj_3R_123() {
if (jj_scan_token(LT)) return true;
return false;
}
private boolean jj_3R_58() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_123()) {
jj_scanpos = xsp;
if (jj_3R_124()) {
jj_scanpos = xsp;
if (jj_3R_125()) {
jj_scanpos = xsp;
if (jj_3R_126()) {
jj_scanpos = xsp;
if (jj_3R_127()) {
jj_scanpos = xsp;
if (jj_3R_128()) return true;
}
}
}
}
}
xsp = jj_scanpos;
if (jj_3R_129()) {
jj_scanpos = xsp;
if (jj_3R_130()) return true;
}
return false;
}
private boolean jj_3R_122() {
if (jj_3R_157()) return true;
return false;
}
private boolean jj_3R_117() {
if (jj_3R_157()) return true;
return false;
}
private boolean jj_3R_262() {
if (jj_scan_token(LSHIFT)) return true;
return false;
}
private boolean jj_3R_245() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_262()) {
jj_scanpos = xsp;
if (jj_3R_263()) {
jj_scanpos = xsp;
if (jj_3R_264()) return true;
}
}
if (jj_3R_190()) return true;
return false;
}
private boolean jj_3R_113() {
if (jj_scan_token(DDOT)) return true;
return false;
}
private boolean jj_3R_186() {
if (jj_3R_190()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_245()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_115() {
if (jj_3R_157()) return true;
return false;
}
private boolean jj_3R_111() {
if (jj_3R_157()) return true;
return false;
}
private boolean jj_3R_121() {
if (jj_3R_156()) return true;
return false;
}
private boolean jj_3R_260() {
if (jj_scan_token(STRICT_LE)) return true;
return false;
}
private boolean jj_3R_118() {
if (jj_scan_token(MINUS)) return true;
return false;
}
private boolean jj_3R_259() {
if (jj_scan_token(STRICT_LT)) return true;
return false;
}
private boolean jj_3R_116() {
if (jj_3R_156()) return true;
return false;
}
private boolean jj_3R_258() {
if (jj_scan_token(STRICT_GE)) return true;
return false;
}
private boolean jj_3R_57() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_116()) {
jj_scanpos = xsp;
if (jj_3R_117()) return true;
}
xsp = jj_scanpos;
if (jj_3R_118()) {
jj_scanpos = xsp;
if (jj_3R_119()) {
jj_scanpos = xsp;
if (jj_3R_120()) return true;
}
}
xsp = jj_scanpos;
if (jj_3R_121()) {
jj_scanpos = xsp;
if (jj_3R_122()) return true;
}
return false;
}
private boolean jj_3R_257() {
if (jj_scan_token(STRICT_GT)) return true;
return false;
}
private boolean jj_3R_256() {
if (jj_scan_token(147)) return true;
return false;
}
private boolean jj_3R_255() {
if (jj_scan_token(146)) return true;
return false;
}
private boolean jj_3R_254() {
if (jj_scan_token(GE)) return true;
return false;
}
private boolean jj_3R_253() {
if (jj_scan_token(145)) return true;
return false;
}
private boolean jj_3R_252() {
if (jj_scan_token(144)) return true;
return false;
}
private boolean jj_3R_251() {
if (jj_scan_token(143)) return true;
return false;
}
private boolean jj_3R_250() {
if (jj_scan_token(LE)) return true;
return false;
}
private boolean jj_3R_249() {
if (jj_scan_token(142)) return true;
return false;
}
private boolean jj_3R_248() {
if (jj_scan_token(GT)) return true;
return false;
}
private boolean jj_3R_247() {
if (jj_scan_token(141)) return true;
return false;
}
private boolean jj_3R_114() {
if (jj_3R_156()) return true;
return false;
}
private boolean jj_3R_112() {
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
private boolean jj_3R_110() {
if (jj_3R_156()) return true;
return false;
}
private boolean jj_3R_246() {
if (jj_scan_token(LT)) return true;
return false;
}
private boolean jj_3R_56() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(57)) {
jj_scanpos = xsp;
if (jj_scan_token(61)) return true;
}
xsp = jj_scanpos;
if (jj_3R_110()) {
jj_scanpos = xsp;
if (jj_3R_111()) return true;
}
xsp = jj_scanpos;
if (jj_3R_112()) {
jj_scanpos = xsp;
if (jj_3R_113()) return true;
}
xsp = jj_scanpos;
if (jj_3R_114()) {
jj_scanpos = xsp;
if (jj_3R_115()) return true;
}
xsp = jj_scanpos;
if (jj_scan_token(58)) {
jj_scanpos = xsp;
if (jj_scan_token(62)) return true;
}
return false;
}
private boolean jj_3R_240() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_246()) {
jj_scanpos = xsp;
if (jj_3R_247()) {
jj_scanpos = xsp;
if (jj_3R_248()) {
jj_scanpos = xsp;
if (jj_3R_249()) {
jj_scanpos = xsp;
if (jj_3R_250()) {
jj_scanpos = xsp;
if (jj_3R_251()) {
jj_scanpos = xsp;
if (jj_3R_252()) {
jj_scanpos = xsp;
if (jj_3R_253()) {
jj_scanpos = xsp;
if (jj_3R_254()) {
jj_scanpos = xsp;
if (jj_3R_255()) {
jj_scanpos = xsp;
if (jj_3R_256()) {
jj_scanpos = xsp;
if (jj_3R_257()) {
jj_scanpos = xsp;
if (jj_3R_258()) {
jj_scanpos = xsp;
if (jj_3R_259()) {
jj_scanpos = xsp;
if (jj_3R_260()) return true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (jj_3R_186()) return true;
return false;
}
private boolean jj_3R_160() {
if (jj_3R_186()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_240()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3_21() {
if (jj_3R_55()) return true;
return false;
}
private boolean jj_3_20() {
if (jj_3R_54()) return true;
return false;
}
private boolean jj_3_19() {
if (jj_3R_53()) return true;
return false;
}
private boolean jj_3_18() {
if (jj_3R_52()) return true;
return false;
}
private boolean jj_3R_108() {
if (jj_scan_token(187)) return true;
return false;
}
private boolean jj_3R_105() {
if (jj_scan_token(186)) return true;
return false;
}
private boolean jj_3R_244() {
if (jj_scan_token(STRICT_NE)) return true;
return false;
}
private boolean jj_3R_102() {
if (jj_3R_155()) return true;
return false;
}
private boolean jj_3R_243() {
if (jj_scan_token(STRICT_EQ)) return true;
return false;
}
private boolean jj_3R_84() {
if (jj_scan_token(TDOT)) return true;
return false;
}
private boolean jj_3R_242() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(83)) {
jj_scanpos = xsp;
if (jj_scan_token(139)) {
jj_scanpos = xsp;
if (jj_scan_token(140)) return true;
}
}
return false;
}
private boolean jj_3R_97() {
if (jj_scan_token(185)) return true;
return false;
}
private boolean jj_3R_241() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(77)) {
jj_scanpos = xsp;
if (jj_scan_token(137)) {
jj_scanpos = xsp;
if (jj_scan_token(138)) return true;
}
}
return false;
}
private boolean jj_3R_109() {
if (jj_scan_token(PLUS)) return true;
return false;
}
private boolean jj_3R_107() {
if (jj_scan_token(GE)) return true;
return false;
}
private boolean jj_3R_100() {
if (jj_3R_155()) return true;
return false;
}
private boolean jj_3R_94() {
if (jj_scan_token(184)) return true;
return false;
}
private boolean jj_3R_235() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_241()) {
jj_scanpos = xsp;
if (jj_3R_242()) {
jj_scanpos = xsp;
if (jj_3R_243()) {
jj_scanpos = xsp;
if (jj_3R_244()) return true;
}
}
}
if (jj_3R_160()) return true;
return false;
}
private boolean jj_3R_106() {
if (jj_scan_token(GT)) return true;
return false;
}
private boolean jj_3R_104() {
if (jj_scan_token(LE)) return true;
return false;
}
private boolean jj_3R_103() {
if (jj_scan_token(LT)) return true;
return false;
}
private boolean jj_3R_101() {
if (jj_3R_154()) return true;
return false;
}
private boolean jj_3R_147() {
if (jj_3R_160()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_235()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_55() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_101()) {
jj_scanpos = xsp;
if (jj_3R_102()) return true;
}
xsp = jj_scanpos;
if (jj_3R_103()) {
jj_scanpos = xsp;
if (jj_3R_104()) {
jj_scanpos = xsp;
if (jj_3R_105()) {
jj_scanpos = xsp;
if (jj_3R_106()) {
jj_scanpos = xsp;
if (jj_3R_107()) {
jj_scanpos = xsp;
if (jj_3R_108()) {
jj_scanpos = xsp;
if (jj_3R_109()) return true;
}
}
}
}
}
}
return false;
}
private boolean jj_3_2() {
if (jj_scan_token(BIT_OR)) return true;
if (jj_3R_35()) return true;
return false;
}
private boolean jj_3R_99() {
if (jj_3R_154()) return true;
return false;
}
private boolean jj_3R_227() {
if (jj_scan_token(BIT_AND)) return true;
if (jj_3R_147()) return true;
return false;
}
private boolean jj_3R_98() {
if (jj_scan_token(GE)) return true;
return false;
}
private boolean jj_3R_96() {
if (jj_scan_token(GT)) return true;
return false;
}
private boolean jj_3R_83() {
if (jj_scan_token(DDOT)) return true;
return false;
}
private boolean jj_3R_66() {
if (jj_3R_147()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_227()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_95() {
if (jj_scan_token(LE)) return true;
return false;
}
private boolean jj_3R_93() {
if (jj_scan_token(LT)) return true;
return false;
}
private boolean jj_3R_210() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(85)) {
jj_scanpos = xsp;
if (jj_scan_token(6)) return true;
}
if (jj_3R_189()) return true;
return false;
}
private boolean jj_3R_54() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_93()) {
jj_scanpos = xsp;
if (jj_3R_94()) {
jj_scanpos = xsp;
if (jj_3R_95()) {
jj_scanpos = xsp;
if (jj_3R_96()) {
jj_scanpos = xsp;
if (jj_3R_97()) {
jj_scanpos = xsp;
if (jj_3R_98()) return true;
}
}
}
}
}
xsp = jj_scanpos;
if (jj_3R_99()) {
jj_scanpos = xsp;
if (jj_3R_100()) return true;
}
return false;
}
private boolean jj_3R_225() {
if (jj_scan_token(BIT_XOR)) return true;
if (jj_3R_66()) return true;
return false;
}
private boolean jj_3R_35() {
if (jj_3R_66()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_225()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_86() {
if (jj_3R_155()) return true;
return false;
}
private boolean jj_3R_81() {
if (jj_3R_155()) return true;
return false;
}
private boolean jj_3R_90() {
if (jj_scan_token(DDOT)) return true;
return false;
}
private boolean jj_3R_195() {
if (jj_3R_35()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_2()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_219() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(86)) {
jj_scanpos = xsp;
if (jj_scan_token(7)) return true;
}
if (jj_3R_195()) return true;
return false;
}
private boolean jj_3R_85() {
if (jj_3R_154()) return true;
return false;
}
private boolean jj_3R_189() {
if (jj_3R_195()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_219()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_92() {
if (jj_3R_155()) return true;
return false;
}
private boolean jj_3R_82() {
if (jj_scan_token(MINUS)) return true;
return false;
}
private boolean jj_3R_80() {
if (jj_3R_154()) return true;
return false;
}
private boolean jj_3R_88() {
if (jj_3R_155()) return true;
return false;
}
private boolean jj_3R_52() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_80()) {
jj_scanpos = xsp;
if (jj_3R_81()) return true;
}
xsp = jj_scanpos;
if (jj_3R_82()) {
jj_scanpos = xsp;
if (jj_3R_83()) {
jj_scanpos = xsp;
if (jj_3R_84()) return true;
}
}
xsp = jj_scanpos;
if (jj_3R_85()) {
jj_scanpos = xsp;
if (jj_3R_86()) return true;
}
return false;
}
private boolean jj_3_1() {
if (jj_scan_token(IMPL)) return true;
return false;
}
private boolean jj_3R_179() {
if (jj_3R_189()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_210()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_91() {
if (jj_3R_154()) return true;
return false;
}
private boolean jj_3R_208() {
if (jj_scan_token(IMPL)) return true;
if (jj_3R_179()) return true;
return false;
}
private boolean jj_3R_89() {
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
private boolean jj_3R_87() {
if (jj_3R_154()) return true;
return false;
}
private boolean jj_3R_152() {
if (jj_3R_179()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_208()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_53() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(57)) {
jj_scanpos = xsp;
if (jj_scan_token(61)) return true;
}
xsp = jj_scanpos;
if (jj_3R_87()) {
jj_scanpos = xsp;
if (jj_3R_88()) return true;
}
xsp = jj_scanpos;
if (jj_3R_89()) {
jj_scanpos = xsp;
if (jj_3R_90()) return true;
}
xsp = jj_scanpos;
if (jj_3R_91()) {
jj_scanpos = xsp;
if (jj_3R_92()) return true;
}
xsp = jj_scanpos;
if (jj_scan_token(58)) {
jj_scanpos = xsp;
if (jj_scan_token(62)) return true;
}
return false;
}
private boolean jj_3R_197() {
if (jj_scan_token(HOOK)) return true;
if (jj_3R_73()) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_73()) return true;
return false;
}
private boolean jj_3R_73() {
if (jj_3R_152()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_197()) jj_scanpos = xsp;
return false;
}
private boolean jj_3R_206() {
if (jj_scan_token(REMASSIGN)) return true;
return false;
}
private boolean jj_3R_205() {
if (jj_scan_token(XORASSIGN)) return true;
return false;
}
private boolean jj_3R_155() {
if (jj_scan_token(MINUS)) return true;
if (jj_3R_154()) return true;
return false;
}
private boolean jj_3R_204() {
if (jj_scan_token(ORASSIGN)) return true;
return false;
}
private boolean jj_3R_203() {
if (jj_scan_token(ANDASSIGN)) return true;
return false;
}
private boolean jj_3R_202() {
if (jj_scan_token(SLASHASSIGN)) return true;
return false;
}
private boolean jj_3R_201() {
if (jj_scan_token(STARASSIGN)) return true;
return false;
}
private boolean jj_3R_200() {
if (jj_scan_token(MINUSASSIGN)) return true;
return false;
}
private boolean jj_3R_199() {
if (jj_scan_token(PLUSASSIGN)) return true;
return false;
}
private boolean jj_3R_198() {
if (jj_scan_token(ASSIGN)) return true;
return false;
}
private boolean jj_3R_194() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_198()) {
jj_scanpos = xsp;
if (jj_3R_199()) {
jj_scanpos = xsp;
if (jj_3R_200()) {
jj_scanpos = xsp;
if (jj_3R_201()) {
jj_scanpos = xsp;
if (jj_3R_202()) {
jj_scanpos = xsp;
if (jj_3R_203()) {
jj_scanpos = xsp;
if (jj_3R_204()) {
jj_scanpos = xsp;
if (jj_3R_205()) {
jj_scanpos = xsp;
if (jj_3R_206()) return true;
}
}
}
}
}
}
}
}
if (jj_3R_40()) return true;
return false;
}
private boolean jj_3R_157() {
if (jj_scan_token(MINUS)) return true;
if (jj_3R_156()) return true;
return false;
}
private boolean jj_3R_40() {
if (jj_3R_73()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_194()) jj_scanpos = xsp;
return false;
}
private boolean jj_3R_183() {
if (jj_scan_token(BUSINESS_INTEGER_LITERAL)) return true;
return false;
}
private boolean jj_3R_156() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_182()) {
jj_scanpos = xsp;
if (jj_3R_183()) return true;
}
return false;
}
private boolean jj_3R_182() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(119)) {
jj_scanpos = xsp;
if (jj_scan_token(113)) return true;
}
return false;
}
private boolean jj_3R_181() {
if (jj_scan_token(BUSINESS_INTEGER_LITERAL)) return true;
return false;
}
private boolean jj_3R_154() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_180()) {
jj_scanpos = xsp;
if (jj_3R_181()) return true;
}
return false;
}
private boolean jj_3R_180() {
if (jj_scan_token(INTEGER_LITERAL)) return true;
return false;
}
private boolean jj_3_17() {
if (jj_3R_51()) return true;
return false;
}
private boolean jj_3R_171() {
if (jj_3R_188()) return true;
return false;
}
private boolean jj_3R_170() {
if (jj_3R_79()) return true;
return false;
}
private boolean jj_3R_169() {
if (jj_3R_78()) return true;
return false;
}
private boolean jj_3R_168() {
if (jj_3R_51()) return true;
return false;
}
private boolean jj_3R_167() {
if (jj_3R_187()) return true;
return false;
}
private boolean jj_3R_166() {
if (jj_scan_token(CHARACTER_LITERAL)) return true;
return false;
}
private boolean jj_3R_165() {
if (jj_scan_token(STRING_LITERAL)) return true;
return false;
}
private boolean jj_3R_164() {
if (jj_scan_token(FLOATING_POINT_LITERAL)) return true;
return false;
}
private boolean jj_3R_163() {
if (jj_scan_token(PERCENT_LITERAL)) return true;
return false;
}
private boolean jj_3R_162() {
if (jj_scan_token(BUSINESS_INTEGER_LITERAL)) return true;
return false;
}
private boolean jj_3R_148() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_161()) {
jj_scanpos = xsp;
if (jj_3R_162()) {
jj_scanpos = xsp;
if (jj_3R_163()) {
jj_scanpos = xsp;
if (jj_3R_164()) {
jj_scanpos = xsp;
if (jj_3R_165()) {
jj_scanpos = xsp;
if (jj_3R_166()) {
jj_scanpos = xsp;
if (jj_3R_167()) {
jj_scanpos = xsp;
if (jj_3R_168()) {
jj_scanpos = xsp;
if (jj_3R_169()) {
jj_scanpos = xsp;
if (jj_3R_170()) {
jj_scanpos = xsp;
if (jj_3R_171()) return true;
}
}
}
}
}
}
}
}
}
}
return false;
}
private boolean jj_3R_161() {
if (jj_scan_token(INTEGER_LITERAL)) return true;
return false;
}
private boolean jj_3R_237() {
if (jj_scan_token(BIT_OR)) return true;
if (jj_3R_40()) return true;
if (jj_scan_token(BIT_OR)) return true;
return false;
}
private boolean jj_3R_178() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(182)) {
jj_scanpos = xsp;
if (jj_scan_token(183)) return true;
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_177() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(180)) {
jj_scanpos = xsp;
if (jj_scan_token(181)) return true;
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_176() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(177)) {
jj_scanpos = xsp;
if (jj_scan_token(178)) {
jj_scanpos = xsp;
if (jj_scan_token(179)) return true;
}
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_175() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(175)) {
jj_scanpos = xsp;
if (jj_scan_token(176)) return true;
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_174() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(172)) {
jj_scanpos = xsp;
if (jj_scan_token(173)) {
jj_scanpos = xsp;
if (jj_scan_token(174)) return true;
}
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_173() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(169)) {
jj_scanpos = xsp;
if (jj_scan_token(170)) {
jj_scanpos = xsp;
if (jj_scan_token(171)) return true;
}
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3_34() {
if (jj_3R_64()) return true;
if (jj_3R_65()) return true;
return false;
}
private boolean jj_3R_172() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(166)) {
jj_scanpos = xsp;
if (jj_scan_token(167)) {
jj_scanpos = xsp;
if (jj_scan_token(168)) return true;
}
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_185() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_184()) return true;
return false;
}
private boolean jj_3_16() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_50() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(164)) {
jj_scanpos = xsp;
if (jj_scan_token(165)) return true;
}
return false;
}
private boolean jj_3R_49() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(162)) {
jj_scanpos = xsp;
if (jj_scan_token(163)) return true;
}
return false;
}
private boolean jj_3R_48() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(159)) {
jj_scanpos = xsp;
if (jj_scan_token(160)) {
jj_scanpos = xsp;
if (jj_scan_token(161)) return true;
}
}
return false;
}
private boolean jj_3R_47() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(157)) {
jj_scanpos = xsp;
if (jj_scan_token(158)) return true;
}
return false;
}
private boolean jj_3R_46() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(154)) {
jj_scanpos = xsp;
if (jj_scan_token(155)) {
jj_scanpos = xsp;
if (jj_scan_token(156)) return true;
}
}
return false;
}
private boolean jj_3R_45() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(151)) {
jj_scanpos = xsp;
if (jj_scan_token(152)) {
jj_scanpos = xsp;
if (jj_scan_token(153)) return true;
}
}
return false;
}
private boolean jj_3R_44() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(148)) {
jj_scanpos = xsp;
if (jj_scan_token(149)) {
jj_scanpos = xsp;
if (jj_scan_token(150)) return true;
}
}
return false;
}
private boolean jj_3_15() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_43()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_44()) {
jj_scanpos = xsp;
if (jj_3R_45()) {
jj_scanpos = xsp;
if (jj_3R_46()) {
jj_scanpos = xsp;
if (jj_3R_47()) {
jj_scanpos = xsp;
if (jj_3R_48()) {
jj_scanpos = xsp;
if (jj_3R_49()) {
jj_scanpos = xsp;
if (jj_3R_50()) return true;
}
}
}
}
}
}
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_149() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_15()) {
jj_scanpos = xsp;
if (jj_3_16()) {
jj_scanpos = xsp;
if (jj_3R_172()) {
jj_scanpos = xsp;
if (jj_3R_173()) {
jj_scanpos = xsp;
if (jj_3R_174()) {
jj_scanpos = xsp;
if (jj_3R_175()) {
jj_scanpos = xsp;
if (jj_3R_176()) {
jj_scanpos = xsp;
if (jj_3R_177()) {
jj_scanpos = xsp;
if (jj_3R_178()) return true;
}
}
}
}
}
}
}
}
return false;
}
private boolean jj_3R_184() {
if (jj_3R_41()) return true;
if (jj_3R_42()) return true;
return false;
}
private boolean jj_3R_159() {
if (jj_3R_184()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_185()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3_14() {
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_42()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_146() {
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_159()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3_13() {
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_41()) return true;
if (jj_3R_42()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_43() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_13()) {
jj_scanpos = xsp;
if (jj_3_14()) return true;
}
return false;
}
private boolean jj_3R_145() {
if (jj_3R_76()) return true;
return false;
}
private boolean jj_3R_286() {
if (jj_3R_153()) return true;
return false;
}
private boolean jj_3_11() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_285() {
Token xsp;
if (jj_3R_286()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_286()) { jj_scanpos = xsp; break; }
}
if (jj_3R_158()) return true;
return false;
}
private boolean jj_3_10() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_40()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_284() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_40()) return true;
return false;
}
private boolean jj_3R_65() {
if (jj_3R_145()) return true;
if (jj_3R_146()) return true;
return false;
}
private boolean jj_3_12() {
Token xsp;
if (jj_3_10()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3_10()) { jj_scanpos = xsp; break; }
}
while (true) {
xsp = jj_scanpos;
if (jj_3_11()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_283() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_12()) {
jj_scanpos = xsp;
if (jj_3R_285()) return true;
}
return false;
}
private boolean jj_3R_151() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_63()) return true;
return false;
}
private boolean jj_3R_279() {
if (jj_3R_283()) return true;
return false;
}
private boolean jj_3R_282() {
if (jj_3R_40()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_284()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_278() {
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_282()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_238() {
if (jj_scan_token(NEW)) return true;
if (jj_3R_74()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_278()) {
jj_scanpos = xsp;
if (jj_3R_279()) return true;
}
return false;
}
private boolean jj_3R_72() {
if (jj_3R_63()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_151()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_281() {
if (jj_3R_140()) return true;
return false;
}
private boolean jj_3R_38() {
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_72()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_276() {
if (jj_3R_140()) return true;
return false;
}
private boolean jj_3R_277() {
if (jj_scan_token(COMMA)) return true;
Token xsp;
if (jj_3R_281()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_281()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3_33() {
if (jj_3R_41()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
private boolean jj_3R_236() {
if (jj_scan_token(LBRACKET)) return true;
Token xsp;
if (jj_3R_276()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_276()) { jj_scanpos = xsp; break; }
}
while (true) {
xsp = jj_scanpos;
if (jj_3R_277()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_67() {
if (jj_3R_148()) return true;
return false;
}
private boolean jj_3_9() {
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
private boolean jj_3R_74() {
if (jj_scan_token(IDENTIFIER)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_9()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_75() {
if (jj_3R_153()) return true;
return false;
}
private boolean jj_3R_144() {
if (jj_3R_41()) return true;
return false;
}
private boolean jj_3_32() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_63()) return true;
return false;
}
private boolean jj_3R_143() {
if (jj_scan_token(VOID)) return true;
return false;
}
private boolean jj_3R_64() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_143()) {
jj_scanpos = xsp;
if (jj_3R_144()) return true;
}
return false;
}
private boolean jj_3R_193() {
if (jj_3R_63()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_32()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_158() {
if (jj_scan_token(LBRACE)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_193()) jj_scanpos = xsp;
xsp = jj_scanpos;
if (jj_scan_token(64)) jj_scanpos = xsp;
if (jj_scan_token(RBRACE)) return true;
return false;
}
private boolean jj_3R_41() {
if (jj_3R_74()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_75()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_77() {
if (jj_3R_153()) return true;
return false;
}
private boolean jj_3R_142() {
if (jj_3R_40()) return true;
return false;
}
private boolean jj_3R_141() {
if (jj_3R_158()) return true;
return false;
}
private boolean jj_3R_63() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_141()) {
jj_scanpos = xsp;
if (jj_3R_142()) return true;
}
return false;
}
private boolean jj_3R_153() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_39() {
if (jj_scan_token(RANGE_VARIABLE)) return true;
return false;
}
private boolean jj_3R_42() {
if (jj_3R_76()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_77()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_76() {
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
private boolean jj_3R_36() {
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_41()) return true;
if (jj_scan_token(RPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(74)) {
jj_scanpos = xsp;
if (jj_scan_token(73)) {
jj_scanpos = xsp;
if (jj_scan_token(57)) {
jj_scanpos = xsp;
if (jj_scan_token(61)) {
jj_scanpos = xsp;
if (jj_scan_token(127)) {
jj_scanpos = xsp;
if (jj_scan_token(32)) {
jj_scanpos = xsp;
if (jj_3R_67()) return true;
}
}
}
}
}
}
return false;
}
private boolean jj_3_8() {
if (jj_scan_token(DOT)) return true;
if (jj_3R_38()) return true;
return false;
}
private boolean jj_3R_222() {
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_41()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_209()) return true;
return false;
}
private boolean jj_3R_71() {
if (jj_scan_token(DOT)) return true;
if (jj_3R_76()) return true;
return false;
}
private boolean jj_3R_70() {
if (jj_3R_150()) return true;
return false;
}
private boolean jj_3R_69() {
if (jj_scan_token(DOT)) return true;
if (jj_3R_38()) return true;
return false;
}
private boolean jj_3R_37() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_68()) {
jj_scanpos = xsp;
if (jj_3R_69()) {
jj_scanpos = xsp;
if (jj_3R_70()) {
jj_scanpos = xsp;
if (jj_3R_71()) return true;
}
}
}
return false;
}
private boolean jj_3R_68() {
if (jj_3R_149()) return true;
return false;
}
private boolean jj_3R_140() {
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
private boolean jj_3_31() {
if (jj_3R_62()) return true;
return false;
}
private boolean jj_3_30() {
if (jj_3R_41()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(COMMA)) return true;
return false;
}
private boolean jj_3R_280() {
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
private boolean jj_3_29() {
if (jj_3R_41()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
private boolean jj_3_27() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_61()) return true;
return false;
}
private boolean jj_3R_239() {
if (jj_scan_token(IDENTIFIER)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_280()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3_28() {
if (jj_3R_41()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(ASSIGN)) return true;
return false;
}
private boolean jj_3R_60() {
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(COLON)) return true;
return false;
}
private boolean jj_3R_61() {
if (jj_3R_140()) return true;
return false;
}
private boolean jj_3R_62() {
if (jj_scan_token(COMMA)) return true;
if (jj_scan_token(WHERE)) return true;
return false;
}
private boolean jj_3_6() {
if (jj_3R_38()) return true;
return false;
}
private boolean jj_3R_234() {
if (jj_3R_239()) return true;
return false;
}
private boolean jj_3_7() {
if (jj_3R_39()) return true;
return false;
}
private boolean jj_3R_233() {
if (jj_3R_38()) return true;
return false;
}
private boolean jj_3R_232() {
if (jj_3R_238()) return true;
return false;
}
private boolean jj_3R_231() {
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_40()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_230() {
if (jj_3R_237()) return true;
return false;
}
private boolean jj_3R_229() {
if (jj_3R_148()) return true;
return false;
}
private boolean jj_3_5() {
if (jj_3R_37()) return true;
return false;
}
private boolean jj_3R_226() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_228()) {
jj_scanpos = xsp;
if (jj_3R_229()) {
jj_scanpos = xsp;
if (jj_3R_230()) {
jj_scanpos = xsp;
if (jj_3R_231()) {
jj_scanpos = xsp;
if (jj_3R_232()) {
jj_scanpos = xsp;
if (jj_3R_233()) {
jj_scanpos = xsp;
if (jj_3_7()) {
jj_scanpos = xsp;
if (jj_3R_234()) return true;
}
}
}
}
}
}
}
return false;
}
private boolean jj_3R_228() {
if (jj_3R_236()) return true;
return false;
}
private boolean jj_3_26() {
if (jj_3R_60()) return true;
return false;
}
private boolean jj_3R_224() {
if (jj_3R_226()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_5()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_275() {
if (jj_scan_token(DECR)) return true;
return false;
}
private boolean jj_3R_273() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_274()) {
jj_scanpos = xsp;
if (jj_3R_275()) return true;
}
return false;
}
private boolean jj_3R_274() {
if (jj_scan_token(INCR)) return true;
return false;
}
private boolean jj_3R_223() {
if (jj_3R_224()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_273()) jj_scanpos = xsp;
return false;
}
private boolean jj_3R_272() {
if (jj_scan_token(REM)) return true;
return false;
}
private boolean jj_3R_221() {
if (jj_scan_token(DECR)) return true;
if (jj_3R_224()) return true;
return false;
}
private boolean jj_3R_188() {
if (jj_scan_token(NULL)) return true;
return false;
}
private boolean jj_3R_150() {
if (jj_scan_token(OF)) return true;
if (jj_scan_token(THE)) return true;
if (jj_3R_224()) return true;
return false;
}
private boolean jj_3R_192() {
if (jj_scan_token(FALSE)) return true;
return false;
}
private boolean jj_3_4() {
if (jj_3R_36()) return true;
return false;
}
private boolean jj_3R_187() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_191()) {
jj_scanpos = xsp;
if (jj_3R_192()) return true;
}
return false;
}
private boolean jj_3R_191() {
if (jj_scan_token(TRUE)) return true;
return false;
}
private boolean jj_3R_220() {
if (jj_scan_token(INCR)) return true;
if (jj_3R_224()) return true;
return false;
}
private boolean jj_3R_218() {
if (jj_3R_223()) return true;
return false;
}
private boolean jj_3R_268() {
if (jj_scan_token(MINUS)) return true;
return false;
}
private boolean jj_3R_217() {
if (jj_3R_222()) return true;
return false;
}
private boolean jj_3R_264() {
if (jj_scan_token(RUNSIGNEDSHIFT)) return true;
return false;
}
private boolean jj_3R_216() {
if (jj_3R_221()) return true;
return false;
}
private boolean jj_3R_51() {
if (jj_3R_78()) return true;
if (jj_3R_79()) return true;
return false;
}
private boolean jj_3R_215() {
if (jj_3R_220()) return true;
return false;
}
private boolean jj_3R_271() {
if (jj_scan_token(SLASH)) return true;
return false;
}
private boolean jj_3R_214() {
if (jj_scan_token(BANG)) return true;
if (jj_3R_209()) return true;
return false;
}
/** Generated Token Manager. */
public BExGrammarTokenManager 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[121];
static private int[] jj_la1_0;
static private int[] jj_la1_1;
static private int[] jj_la1_2;
static private int[] jj_la1_3;
static private int[] jj_la1_4;
static private int[] jj_la1_5;
static {
jj_la1_init_0();
jj_la1_init_1();
jj_la1_init_2();
jj_la1_init_3();
jj_la1_init_4();
jj_la1_init_5();
}
private static void jj_la1_init_0() {
jj_la1_0 = new int[] {0x0,0x0,0x0,0x40,0x40,0x80,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4000000,0x4000000,0x0,0x0,0x0,0x100000,0x0,0x0,0x100000,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x2928400,0x1,0x2928400,0x2928400,0x40000,0x100000,0x0,0x0,0x0,0x100000,0x100000,0x0,0x100000,0x100000,0x100000,0x100000,0x0,0x0,0x0,0x80200200,0x80200200,0x80200200,0x80200200,0x0,0x0,0x0,0x0,0x80200200,};
}
private static void jj_la1_init_1() {
jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x22004003,0x0,0x0,0x22004003,0x0,0x0,0x20000000,0x80000,0x22004003,0x20000000,0x10000,0x0,0x0,0x0,0x0,0x2a004003,0x0,0x22004003,0x22000000,0x20000000,0x20000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4000,0x2,0x0,0x0,0x0,0x22000000,0x0,0x80000000,0x0,0x44000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x22000000,0x0,0x80000000,0x0,0x44000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4000,0xaa044843,0x80000000,0xaa044843,0xaa044843,0x0,0x2a004003,0x0,0x0,0x20000000,0x2a004003,0x2a004003,0x0,0x22004003,0x22004003,0x22004003,0x22004003,0x0,0x0,0x0,0x4b8,0x4b8,0x4b8,0x4b8,0x88000000,0x0,0x0,0x0,0x104b8,};
}
private static void jj_la1_init_2() {
jj_la1_2 = new int[] {0x10,0x10,0x800,0x200000,0x200000,0x400000,0x400000,0x80000000,0x20000000,0x186000,0x2000,0x80000,0x186000,0x781e0,0x781e0,0x0,0x0,0x6000000,0x6000000,0x18000000,0x18000000,0x7800600,0x40000000,0x1800000,0x1800000,0x40000000,0x0,0x0,0x0,0x2,0x600,0x0,0x0,0x0,0x1,0x0,0x1,0x47800600,0x1,0x47800600,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4000000,0x4,0x4000000,0x0,0x4000000,0x400000c,0x4000000,0x4000000,0x280a0,0x4000000,0x4000000,0x20280a0,0x4000000,0x0,0x4000000,0x4,0x4000000,0x0,0x4000000,0x400000c,0x4000000,0x4000000,0x280a0,0x4000000,0x4000000,0x20280a0,0x4000000,0x0,0x47800600,0x0,0x47800600,0x47800600,0x0,0x47800600,0x1,0x10,0x0,0x47800600,0x47800600,0x1,0x47800600,0x47800600,0x47800600,0x47800600,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,};
}
private static void jj_la1_init_3() {
jj_la1_3 = new int[] {0xff0,0xff0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xe,0xe,0x0,0x0,0x1,0x1,0x0,0xef820000,0x0,0x0,0x6f820000,0x80000000,0x80000000,0x0,0x0,0xef820000,0x0,0x80000000,0x80000000,0x0,0x80000000,0x0,0xef820000,0x0,0xef820000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x69820000,0x6000000,0x1020000,0x820000,0x1820000,0x0,0x1020000,0x0,0x1020000,0x0,0x1020000,0x0,0x1020000,0x1020000,0x0,0x1020000,0x1020000,0x0,0x1020000,0x0,0x1820000,0x0,0x1820000,0x0,0x1820000,0x0,0x1820000,0x1820000,0x0,0x1820000,0x1820000,0x0,0x1820000,0x0,0xef820000,0x0,0xef820000,0xef820000,0x0,0xef820000,0x0,0x0,0x0,0xef820000,0xef820000,0x0,0xef820000,0xef820000,0xef820000,0xef820000,0x0,0x80000000,0x80000000,0x0,0x0,0x0,0x0,0x0,0x0,0x80000000,0x80000000,0x80000000,};
}
private static void jj_la1_init_4() {
jj_la1_4 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1e00,0x600,0x1800,0x1e00,0xfe000,0xfe000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4,0x0,0x4,0x0,0x0,0x0,0x700000,0x3800000,0x1c000000,0x60000000,0x80000000,0x0,0x0,0xfff00000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4,0x0,0x4,0x4,0x0,0x4,0x0,0x0,0x0,0x4,0x4,0x0,0x4,0x4,0x4,0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,};
}
private static void jj_la1_init_5() {
jj_la1_5 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffffc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3,0xc,0x30,0x3f,0x1c0,0xe00,0x7000,0x18000,0xe0000,0x300000,0xc00000,0xffffc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3000000,0x0,0x0,0xc000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3000000,0x0,0x0,0xc000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,};
}
final private JJCalls[] jj_2_rtns = new JJCalls[34];
private boolean jj_rescan = false;
private int jj_gc = 0;
/** Constructor with InputStream. */
public BExGrammar(java.io.InputStream stream) {
this(stream, null);
}
/** Constructor with InputStream and supplied encoding */
public BExGrammar(java.io.InputStream stream, String encoding) {
try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
token_source = new BExGrammarTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 121; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(java.io.InputStream stream) {
ReInit(stream, null);
}
/** Reinitialise. */
public void ReInit(java.io.InputStream stream, String encoding) {
try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 121; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Constructor. */
public BExGrammar(java.io.Reader stream) {
jj_input_stream = new SimpleCharStream(stream, 1, 1);
token_source = new BExGrammarTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 121; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(java.io.Reader stream) {
jj_input_stream.ReInit(stream, 1, 1);
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 121; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Constructor with generated Token Manager. */
public BExGrammar(BExGrammarTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 121; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(BExGrammarTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 121; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
private Token jj_consume_token(int kind) throws ParseException {
Token oldToken;
if ((oldToken = token).next != null) token = token.next;
else token = token.next = token_source.getNextToken();
jj_ntk = -1;
if (token.kind == kind) {
jj_gen++;
if (++jj_gc > 100) {
jj_gc = 0;
for (int i = 0; i < jj_2_rtns.length; i++) {
JJCalls c = jj_2_rtns[i];
while (c != null) {
if (c.gen < jj_gen) c.first = null;
c = c.next;
}
}
}
return token;
}
token = oldToken;
jj_kind = kind;
throw generateParseException();
}
static private final class LookaheadSuccess extends java.lang.Error { }
final private LookaheadSuccess jj_ls = new LookaheadSuccess();
private boolean jj_scan_token(int kind) {
if (jj_scanpos == jj_lastpos) {
jj_la--;
if (jj_scanpos.next == null) {
jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
} else {
jj_lastpos = jj_scanpos = jj_scanpos.next;
}
} else {
jj_scanpos = jj_scanpos.next;
}
if (jj_rescan) {
int i = 0; Token tok = token;
while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
if (tok != null) jj_add_error_token(kind, i);
}
if (jj_scanpos.kind != kind) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls;
return false;
}
/** Get the next Token. */
final public Token getNextToken() {
if (token.next != null) token = token.next;
else token = token.next = token_source.getNextToken();
jj_ntk = -1;
jj_gen++;
return token;
}
/** Get the specific Token. */
final public Token getToken(int index) {
Token t = token;
for (int i = 0; i < index; i++) {
if (t.next != null) t = t.next;
else t = t.next = token_source.getNextToken();
}
return t;
}
private int jj_ntk() {
if ((jj_nt=token.next) == null)
return (jj_ntk = (token.next=token_source.getNextToken()).kind);
else
return (jj_ntk = jj_nt.kind);
}
private java.util.List jj_expentries = new java.util.ArrayList();
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;
if (pos == jj_endpos + 1) {
jj_lasttokens[jj_endpos++] = kind;
} else if (jj_endpos != 0) {
jj_expentry = new int[jj_endpos];
for (int i = 0; i < jj_endpos; i++) {
jj_expentry[i] = jj_lasttokens[i];
}
jj_entries_loop: for (java.util.Iterator> it = jj_expentries.iterator(); it.hasNext();) {
int[] oldentry = (int[])(it.next());
if (oldentry.length == jj_expentry.length) {
for (int i = 0; i < jj_expentry.length; i++) {
if (oldentry[i] != jj_expentry[i]) {
continue jj_entries_loop;
}
}
jj_expentries.add(jj_expentry);
break jj_entries_loop;
}
}
if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
}
}
/** Generate ParseException. */
public ParseException generateParseException() {
jj_expentries.clear();
boolean[] la1tokens = new boolean[188];
if (jj_kind >= 0) {
la1tokens[jj_kind] = true;
jj_kind = -1;
}
for (int i = 0; i < 121; i++) {
if (jj_la1[i] == jj_gen) {
for (int j = 0; j < 32; j++) {
if ((jj_la1_0[i] & (1< jj_gen) {
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 8: jj_3_9(); break;
case 9: jj_3_10(); break;
case 10: jj_3_11(); break;
case 11: jj_3_12(); break;
case 12: jj_3_13(); break;
case 13: jj_3_14(); break;
case 14: jj_3_15(); break;
case 15: jj_3_16(); break;
case 16: jj_3_17(); break;
case 17: jj_3_18(); break;
case 18: jj_3_19(); break;
case 19: jj_3_20(); break;
case 20: jj_3_21(); break;
case 21: jj_3_22(); break;
case 22: jj_3_23(); break;
case 23: jj_3_24(); break;
case 24: jj_3_25(); break;
case 25: jj_3_26(); break;
case 26: jj_3_27(); break;
case 27: jj_3_28(); break;
case 28: jj_3_29(); break;
case 29: jj_3_30(); break;
case 30: jj_3_31(); break;
case 31: jj_3_32(); break;
case 32: jj_3_33(); break;
case 33: jj_3_34(); break;
}
}
p = p.next;
} while (p != null);
} catch(LookaheadSuccess ls) { }
}
jj_rescan = false;
}
private void jj_save(int index, int xla) {
JJCalls p = jj_2_rtns[index];
while (p.gen > jj_gen) {
if (p.next == null) { p = p.next = new JJCalls(); break; }
p = p.next;
}
p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
}
static final class JJCalls {
int gen;
Token first;
int arg;
JJCalls next;
}
}