From 5d6dfac732349e3b776c93fa06f0a8377f4fb7f8 Mon Sep 17 00:00:00 2001 From: tison Date: Fri, 1 Dec 2023 00:01:44 +0800 Subject: [PATCH] chore: rename a bit ceresdb -> horaedb Signed-off-by: tison --- README.md | 10 +- .../java/io/ceresdb/sql/CeresDBSqlParser.java | 14269 ++++++++-------- .../sql/CeresDBSqlParserConstants.java | 925 +- .../sql/CeresDBSqlParserTokenManager.java | 6083 ++++--- docs/read.md | 2 +- pom.xml | 5 + 6 files changed, 10510 insertions(+), 10784 deletions(-) diff --git a/README.md b/README.md index 8a54429..db33223 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,18 @@ -# CeresDB Java Client +# HoraeDB Java Client -[![build](https://github.com/CeresDB/Horaedb-java-client/actions/workflows/build.yml/badge.svg)](https://github.com/CeresDB/Horaedb-java-client/actions/workflows/build.yml) +[![build](https://github.com/CeresDB/horaedb-java-client/actions/workflows/build.yml/badge.svg)](https://github.com/CeresDB/horaedb-java-client/actions/workflows/build.yml) ![License](https://img.shields.io/badge/license-Apache--2.0-green.svg) -[中文](./README_CN.md) +[中文](README_CN.md) ## Introduction + HoraeDB Client is a high-performance Java client for HoraeDB. HoraeDB is a high-performance, distributed, schema-less, cloud native time-series database that can handle both time-series and analytics workloads. ## Features -- With the well designed SPI, the network transport layer is extensible. And we provide the default implementation which uses the gRPC framework. + +- With the well-designed SPI, the network transport layer is extensible. And we provide the default implementation which uses the gRPC framework. - The client provides high-performance async streaming write API. - The client also collects lots of performance metrics by default. These metrics can be configured to write to local file. - We can take memory snapshots that contains the status of critical objects. The snapshots can also be configured to write to local file, which helps a lot when we diagnose complex problems. diff --git a/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParser.java b/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParser.java index 9063a39..319ccd0 100644 --- a/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParser.java +++ b/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParser.java @@ -1,6 +1,3 @@ -/* - * Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0. - */ /* CeresDBSqlParser.java */ /* Generated by: ParserGeneratorCC: Do not edit this line. CeresDBSqlParser.java */ package io.ceresdb.sql; @@ -11,16 +8,18 @@ import java.io.StringReader; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; public class CeresDBSqlParser implements CeresDBSqlParserConstants { - private static final boolean DEBUG = false; + private static final boolean DEBUG = false; - private static final Logger log = LoggerFactory.getLogger(CeresDBSqlParser.class); + private static final Logger log = LoggerFactory.getLogger(CeresDBSqlParser.class); private final List statements = new ArrayList<>(); - private ParseHandler handler; + private ParseHandler handler; private boolean tokenIn(int tokenIndex, int... tokens) { boolean matched = false; @@ -61,9 +60,7 @@ public static CeresDBSqlStatement[] parse(String sql, ParseHandler handler) { if (DEBUG) { throw new IllegalArgumentException(e); } else { - log.warn( - "{}. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.\n{}", - e.getMessage(), sql); + log.warn("{}. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.\n{}", e.getMessage(), sql); } } @@ -88,7661 +85,7267 @@ public void addStatement() { } } - // top-level statements - final public CeresDBSqlStatement[] sql() throws ParseException { - stmts(); - addStatement(); - label_1: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case SEMICOLON: { - break; - } - default: - break label_1; - } - label_2: while (true) { - jj_consume_token(SEMICOLON); - if (jj_2_1(2)) { - } else { - break label_2; - } - } - if (jj_2_2(1)) { - stmts(); - } else { - ; - } - addStatement(); - } - jj_consume_token(0); - { - if ("" != null) - return statements.toArray(new CeresDBSqlStatement[statements.size()]); - } - throw new IllegalStateException("Missing return statement in function"); - } - - final public void stmts() throws ParseException { - Token t; - if (jj_2_3(2)) { - stmt(); - } else if (jj_2_4(2)) { - anyExprList(); +// top-level statements + final public CeresDBSqlStatement[] sql() throws ParseException { + stmts(); +addStatement(); + label_1: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case SEMICOLON:{ + break; + } + default: + break label_1; + } + label_2: + while (true) { + jj_consume_token(SEMICOLON); + if (jj_2_1(2)) { } else { - jj_consume_token(-1); - throw new ParseException(); + break label_2; } - } + } + if (jj_2_2(1)) { + stmts(); + } else { + ; + } +addStatement(); + } + jj_consume_token(0); +{if ("" != null) return statements.toArray(new CeresDBSqlStatement[statements.size()]);} + throw new IllegalStateException ("Missing return statement in function"); +} - final public void stmt() throws ParseException { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: { - alterStmt(); - if (token_source.stmtType == StatementType.UNKNOWN) - token_source.stmtType = StatementType.ALTER; - break; - } - case CREATE: { - createStmt(); - token_source.stmtType = StatementType.CREATE; - break; - } - case DELETE: { - deleteStmt(); - token_source.stmtType = StatementType.DELETE; - break; - } - case DESC: - case DESCRIBE: { - describeStmt(); - token_source.stmtType = StatementType.DESCRIBE; - break; - } - case DROP: { - dropStmt(); - token_source.stmtType = StatementType.DROP; - break; - } - case INSERT: { - insertStmt(); - token_source.stmtType = StatementType.INSERT; - break; - } - case SELECT: - case WITH: { - selectStmt(); - token_source.stmtType = StatementType.SELECT; - break; - } - case SHOW: { - showStmt(); - token_source.stmtType = StatementType.SHOW; - break; - } - case EXISTS: { - existsStmt(); - token_source.stmtType = StatementType.EXISTS; - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } + final public void stmts() throws ParseException {Token t; + if (jj_2_3(2)) { + stmt(); + } else if (jj_2_4(2)) { + anyExprList(); + } else { + jj_consume_token(-1); + throw new ParseException(); } +} - final public void alterStmt() throws ParseException { - jj_consume_token(ALTER); - jj_consume_token(TABLE); - tableIdentifier(true); - anyExprList(); + final public void stmt() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER:{ + alterStmt(); +if (token_source.stmtType == StatementType.UNKNOWN) token_source.stmtType = StatementType.ALTER; + break; + } + case CREATE:{ + createStmt(); +token_source.stmtType = StatementType.CREATE; + break; + } + case DELETE:{ + deleteStmt(); +token_source.stmtType = StatementType.DELETE; + break; + } + case DESC: + case DESCRIBE:{ + describeStmt(); +token_source.stmtType = StatementType.DESCRIBE; + break; + } + case DROP:{ + dropStmt(); +token_source.stmtType = StatementType.DROP; + break; + } + case INSERT:{ + insertStmt(); +token_source.stmtType = StatementType.INSERT; + break; + } + case SELECT: + case WITH:{ + selectStmt(); +token_source.stmtType = StatementType.SELECT; + break; + } + case SHOW:{ + showStmt(); +token_source.stmtType = StatementType.SHOW; + break; + } + case EXISTS:{ + existsStmt(); +token_source.stmtType = StatementType.EXISTS; + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } +} - final public void createStmt() throws ParseException { - Token t; - jj_consume_token(CREATE); - if (jj_2_6(2)) { - jj_consume_token(TABLE); - if (jj_2_5(2)) { - jj_consume_token(IF); - jj_consume_token(NOT); - t = jj_consume_token(EXISTS); - token_source.setPosition(t.image); - } else { - ; - } - } else { - ; - } - tableIdentifier(true); - anyExprList(); + final public void alterStmt() throws ParseException { + jj_consume_token(ALTER); + jj_consume_token(TABLE); + tableIdentifier(true); + anyExprList(); +} + + final public void createStmt() throws ParseException {Token t; + jj_consume_token(CREATE); + if (jj_2_6(2)) { + jj_consume_token(TABLE); + if (jj_2_5(2)) { + jj_consume_token(IF); + jj_consume_token(NOT); + t = jj_consume_token(EXISTS); +token_source.setPosition(t.image); + } else { + ; + } + } else { + ; + } + tableIdentifier(true); + anyExprList(); +} + + final public void deleteStmt() throws ParseException { + jj_consume_token(DELETE); + jj_consume_token(FROM); + tableIdentifier(true); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case WHERE:{ + jj_consume_token(WHERE); + anyExprList(); + break; + } + default: + ; } +} - final public void deleteStmt() throws ParseException { - jj_consume_token(DELETE); - jj_consume_token(FROM); - tableIdentifier(true); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case WHERE: { - jj_consume_token(WHERE); - anyExprList(); - break; - } - default: - ; - } + final public void describeStmt() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DESCRIBE:{ + jj_consume_token(DESCRIBE); + break; + } + case DESC:{ + jj_consume_token(DESC); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + if (getToken(1).kind == TABLE) { + jj_consume_token(TABLE); + } else { + ; + } + tableIdentifier(true); + if (jj_2_7(1)) { + anyExprList(); + } else { + ; } +} - final public void describeStmt() throws ParseException { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DESCRIBE: { - jj_consume_token(DESCRIBE); - break; - } - case DESC: { - jj_consume_token(DESC); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - if (getToken(1).kind == TABLE) { - jj_consume_token(TABLE); - } else { - ; - } - tableIdentifier(true); - if (jj_2_7(1)) { - anyExprList(); - } else { - ; - } + final public void dropStmt() throws ParseException {Token t; + jj_consume_token(DROP); + if (jj_2_9(2)) { + jj_consume_token(TABLE); + if (jj_2_8(2)) { + jj_consume_token(IF); + t = jj_consume_token(EXISTS); +token_source.setPosition(t.image); + } else { + ; + } + } else { + ; + } + tableIdentifier(true); + if (jj_2_10(1)) { + anyExprList(); + } else { + ; } +} - final public void dropStmt() throws ParseException { - Token t; - jj_consume_token(DROP); - if (jj_2_9(2)) { - jj_consume_token(TABLE); - if (jj_2_8(2)) { - jj_consume_token(IF); - t = jj_consume_token(EXISTS); - token_source.setPosition(t.image); - } else { - ; - } + final public void insertStmt() throws ParseException { + jj_consume_token(INSERT); + jj_consume_token(INTO); + if (getToken(1).kind == FUNCTION) { + jj_consume_token(FUNCTION); + functionExpr(); + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + if (jj_2_11(2)) { + jj_consume_token(TABLE); } else { - ; + ; } tableIdentifier(true); - if (jj_2_10(1)) { - anyExprList(); - } else { - ; + break; } + default: + jj_consume_token(-1); + throw new ParseException(); + } } + if (jj_2_12(2)) { + jj_consume_token(LPAREN); + columnExprList(); + jj_consume_token(RPAREN); + } else { + ; + } + dataClause(); +} - final public void insertStmt() throws ParseException { - jj_consume_token(INSERT); - jj_consume_token(INTO); - if (getToken(1).kind == FUNCTION) { - jj_consume_token(FUNCTION); - functionExpr(); + final public void dataClause() throws ParseException {Token t; + try { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + anyIdentifier(); + if (jj_2_13(2)) { + anyExprList(); } else { + ; + } + break; + } + default: + if (jj_2_15(2)) { + t = jj_consume_token(VALUES); +token_source.setPosition(t.image); + jj_consume_token(LPAREN); + columnExprList(); + jj_consume_token(RPAREN); + label_3: + while (true) { + if (jj_2_14(2)) { + } else { + break label_3; + } switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - if (jj_2_11(2)) { - jj_consume_token(TABLE); - } else { - ; - } - tableIdentifier(true); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); + case COMMA:{ + jj_consume_token(COMMA); + break; + } + default: + ; } - } - if (jj_2_12(2)) { jj_consume_token(LPAREN); columnExprList(); jj_consume_token(RPAREN); + } + } else if (jj_2_16(1)) { + anyExprList(); } else { - ; - } - dataClause(); - } - - final public void dataClause() throws ParseException { - Token t; - try { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - anyIdentifier(); - if (jj_2_13(2)) { - anyExprList(); - } else { - ; - } - break; - } - default: - if (jj_2_15(2)) { - t = jj_consume_token(VALUES); - token_source.setPosition(t.image); - jj_consume_token(LPAREN); - columnExprList(); - jj_consume_token(RPAREN); - label_3: while (true) { - if (jj_2_14(2)) { - } else { - break label_3; - } - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - jj_consume_token(COMMA); - break; - } - default: - ; - } - jj_consume_token(LPAREN); - columnExprList(); - jj_consume_token(RPAREN); - } - } else if (jj_2_16(1)) { - anyExprList(); - } else { - jj_consume_token(-1); - throw new ParseException(); - } - } - } catch (ParseException e) { - Token nextToken; - do { - nextToken = getNextToken(); - } while (nextToken.kind != SEMICOLON && nextToken.kind != EOF); + jj_consume_token(-1); + throw new ParseException(); } + } + } catch (ParseException e) { +Token nextToken; + do { + nextToken = getNextToken(); + } while(nextToken.kind != SEMICOLON && nextToken.kind != EOF); } +} - final public void selectStmt() throws ParseException { + final public void selectStmt() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case WITH:{ + withClause(); + break; + } + default: + ; + } + jj_consume_token(SELECT); + if (jj_2_17(2)) { + jj_consume_token(DISTINCT); + } else { + ; + } + if (jj_2_18(2)) { + topClause(); + } else { + ; + } + columnExprList(); + if (jj_2_19(2)) { + jj_consume_token(FROM); + tableClause(true); + label_4: + while (true) { switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case WITH: { - withClause(); - break; - } - default: - ; - } - jj_consume_token(SELECT); - if (jj_2_17(2)) { - jj_consume_token(DISTINCT); - } else { - ; - } - if (jj_2_18(2)) { - topClause(); - } else { - ; - } - columnExprList(); - if (jj_2_19(2)) { - jj_consume_token(FROM); - tableClause(true); - label_4: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_4; - } - jj_consume_token(COMMA); - tableClause(true); - } - } else { - ; - } - if (jj_2_20(2)) { - jj_consume_token(INNER); - jj_consume_token(JOIN); - tableClause(true); - label_5: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_5; - } - jj_consume_token(COMMA); - tableClause(true); - } - } else { - ; - } - if (jj_2_21(2)) { - jj_consume_token(LEFT); - jj_consume_token(JOIN); - tableClause(true); - label_6: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_6; - } - jj_consume_token(COMMA); - tableClause(true); - } - } else { - ; - } - if (jj_2_22(2)) { - jj_consume_token(RIGHT); - jj_consume_token(JOIN); - tableClause(true); - label_7: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_7; - } - jj_consume_token(COMMA); - tableClause(true); - } - } else { - ; - } - if (jj_2_23(2)) { - jj_consume_token(JOIN); - tableClause(true); - label_8: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_8; - } - jj_consume_token(COMMA); - tableClause(true); - } - } else { - ; - } - if (jj_2_24(2)) { - anyExprList(); - } else { - ; - } + case COMMA:{ + break; + } + default: + break label_4; + } + jj_consume_token(COMMA); + tableClause(true); + } + } else { + ; + } + if (jj_2_20(2)) { + jj_consume_token(INNER); + jj_consume_token(JOIN); + tableClause(true); + label_5: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; + } + default: + break label_5; + } + jj_consume_token(COMMA); + tableClause(true); + } + } else { + ; + } + if (jj_2_21(2)) { + jj_consume_token(LEFT); + jj_consume_token(JOIN); + tableClause(true); + label_6: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; + } + default: + break label_6; + } + jj_consume_token(COMMA); + tableClause(true); + } + } else { + ; + } + if (jj_2_22(2)) { + jj_consume_token(RIGHT); + jj_consume_token(JOIN); + tableClause(true); + label_7: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; + } + default: + break label_7; + } + jj_consume_token(COMMA); + tableClause(true); + } + } else { + ; + } + if (jj_2_23(2)) { + jj_consume_token(JOIN); + tableClause(true); + label_8: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; + } + default: + break label_8; + } + jj_consume_token(COMMA); + tableClause(true); + } + } else { + ; + } + if (jj_2_24(2)) { + anyExprList(); + } else { + ; } +} - final public void withClause() throws ParseException { - jj_consume_token(WITH); - token_source.enterToken(WITH); - withExpr(); - label_9: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_9; - } - jj_consume_token(COMMA); - withExpr(); - } - token_source.leaveToken(WITH); + final public void withClause() throws ParseException { + jj_consume_token(WITH); +token_source.enterToken(WITH); + withExpr(); + label_9: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; + } + default: + break label_9; + } + jj_consume_token(COMMA); + withExpr(); + } +token_source.leaveToken(WITH); +} + + final public void topClause() throws ParseException { + jj_consume_token(TOP); + jj_consume_token(DECIMAL_LITERAL); + if (jj_2_25(2)) { + jj_consume_token(WITH); + jj_consume_token(TIES); + } else { + ; } +} - final public void topClause() throws ParseException { - jj_consume_token(TOP); - jj_consume_token(DECIMAL_LITERAL); - if (jj_2_25(2)) { - jj_consume_token(WITH); - jj_consume_token(TIES); + final public void tableClause(boolean record) throws ParseException {Token t; + if (jj_2_26(2)) { + tableIdentifier(record); + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case LPAREN:{ + jj_consume_token(LPAREN); + anyExprList(); + jj_consume_token(RPAREN); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + } + if (jj_2_27(2)) { + t = aliasExpr(); +if (record && t != null) token_source.tables.add(SqlUtils.unescape(t.image)); + } else { + ; + } + if (jj_2_28(2)) { + jj_consume_token(FINAL); + } else { + ; + } + if (jj_2_32(2)) { + jj_consume_token(SAMPLE); + numberLiteral(); + if (jj_2_29(2)) { + jj_consume_token(SLASH); + numberLiteral(); + } else { + ; + } + if (jj_2_31(2)) { + jj_consume_token(OFFSET); + numberLiteral(); + if (jj_2_30(2)) { + jj_consume_token(SLASH); + numberLiteral(); } else { - ; + ; } + } else { + ; + } + } else { + ; } +} - final public void tableClause(boolean record) throws ParseException { - Token t; - if (jj_2_26(2)) { - tableIdentifier(record); - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case LPAREN: { - jj_consume_token(LPAREN); - anyExprList(); - jj_consume_token(RPAREN); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - if (jj_2_27(2)) { - t = aliasExpr(); - if (record && t != null) - token_source.tables.add(SqlUtils.unescape(t.image)); - } else { - ; - } - if (jj_2_28(2)) { - jj_consume_token(FINAL); - } else { - ; - } - if (jj_2_32(2)) { - jj_consume_token(SAMPLE); - numberLiteral(); - if (jj_2_29(2)) { - jj_consume_token(SLASH); - numberLiteral(); - } else { - ; - } - if (jj_2_31(2)) { - jj_consume_token(OFFSET); - numberLiteral(); - if (jj_2_30(2)) { - jj_consume_token(SLASH); - numberLiteral(); - } else { - ; - } - } else { - ; - } - } else { - ; - } + final public void showStmt() throws ParseException { + jj_consume_token(SHOW); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case CREATE:{ + jj_consume_token(CREATE); + jj_consume_token(TABLE); + break; + } + default: + ; + } + tableIdentifier(true); + if (jj_2_33(2)) { + anyExprList(); + } else { + ; } +} - final public void showStmt() throws ParseException { - jj_consume_token(SHOW); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case CREATE: { - jj_consume_token(CREATE); - jj_consume_token(TABLE); - break; - } - default: - ; - } - tableIdentifier(true); - if (jj_2_33(2)) { - anyExprList(); - } else { - ; - } + final public void existsStmt() throws ParseException { + jj_consume_token(EXISTS); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case TABLE:{ + jj_consume_token(TABLE); + break; + } + default: + ; + } + tableIdentifier(true); + if (jj_2_34(2)) { + anyExprList(); + } else { + ; } +} - final public void existsStmt() throws ParseException { - jj_consume_token(EXISTS); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case TABLE: { - jj_consume_token(TABLE); - break; - } - default: - ; - } - tableIdentifier(true); - if (jj_2_34(2)) { - anyExprList(); - } else { - ; - } +// columns + final public void columnExprList() throws ParseException { + columnsExpr(); + label_10: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; + } + default: + break label_10; + } + jj_consume_token(COMMA); + columnsExpr(); } +} - // columns - final public void columnExprList() throws ParseException { - columnsExpr(); - label_10: while (true) { + final public void withExpr() throws ParseException { + nestedExpr(); + if (jj_2_46(1)) { + if (jj_2_38(1)) { + label_11: + while (true) { + if (getToken(1).kind == FLOATING_LITERAL) { + jj_consume_token(FLOATING_LITERAL); + } else { switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_10; + case DOT:{ + jj_consume_token(DOT); + jj_consume_token(DECIMAL_LITERAL); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } - jj_consume_token(COMMA); - columnsExpr(); + } + if (jj_2_35(1)) { + } else { + break label_11; + } } - } - - final public void withExpr() throws ParseException { - nestedExpr(); - if (jj_2_46(1)) { - if (jj_2_38(1)) { - label_11: while (true) { - if (getToken(1).kind == FLOATING_LITERAL) { - jj_consume_token(FLOATING_LITERAL); - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DOT: { - jj_consume_token(DOT); - jj_consume_token(DECIMAL_LITERAL); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - if (jj_2_35(1)) { - } else { - break label_11; - } - } + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case LBRACKET:{ + label_12: + while (true) { + jj_consume_token(LBRACKET); + anyExprList(); + jj_consume_token(RBRACKET); + if (jj_2_36(2)) { } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case LBRACKET: { - label_12: while (true) { - jj_consume_token(LBRACKET); - anyExprList(); - jj_consume_token(RBRACKET); - if (jj_2_36(2)) { - } else { - break label_12; - } - } - break; - } - default: - if (jj_2_39(2)) { - jj_consume_token(IS); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - jj_consume_token(NULL); - } else if (jj_2_40(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - betweenExpr(); - } else if (jj_2_41(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ILIKE: { - jj_consume_token(ILIKE); - break; - } - case LIKE: { - jj_consume_token(LIKE); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - nestedExpr(); - } else if (jj_2_42(2) && (noAndWithinBetween())) { - label_13: while (true) { - calcExpr(); - if (jj_2_37(2) && (noAndWithinBetween())) { - } else { - break label_13; - } - } - } else if (jj_2_43(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - jj_consume_token(IN); - nestedExpr(); - } else if (jj_2_44(2)) { - jj_consume_token(QUERY); - nestedExpr(); - jj_consume_token(COLON); - nestedExpr(); - } else if (jj_2_45(2)) { - jj_consume_token(AS); - columnExpr(); - } else { - jj_consume_token(-1); - throw new ParseException(); - } - } + break label_12; + } + } + break; + } + default: + if (jj_2_39(2)) { + jj_consume_token(IS); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; } - } else { - ; - } - } - - final public void columnsExpr() throws ParseException { - if (jj_2_60(2147483647)) { - allColumnsExpr(); - label_14: while (true) { - if (jj_2_47(2)) { - } else { - break label_14; - } - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case APPLY: { - jj_consume_token(APPLY); - break; - } - case EXCEPT: { - jj_consume_token(EXCEPT); - break; - } - case REPLACE: { - jj_consume_token(REPLACE); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - jj_consume_token(LPAREN); - anyExprList(); - jj_consume_token(RPAREN); + jj_consume_token(NULL); + } else if (jj_2_40(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; + } + betweenExpr(); + } else if (jj_2_41(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; + } + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ILIKE:{ + jj_consume_token(ILIKE); + break; + } + case LIKE:{ + jj_consume_token(LIKE); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } - } else if (jj_2_61(1)) { nestedExpr(); - if (jj_2_59(1)) { - if (jj_2_51(1)) { - label_15: while (true) { - if (getToken(1).kind == FLOATING_LITERAL) { - jj_consume_token(FLOATING_LITERAL); - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DOT: { - jj_consume_token(DOT); - jj_consume_token(DECIMAL_LITERAL); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - if (jj_2_48(1)) { - } else { - break label_15; - } - } - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case LBRACKET: { - label_16: while (true) { - jj_consume_token(LBRACKET); - anyExprList(); - jj_consume_token(RBRACKET); - if (jj_2_49(2)) { - } else { - break label_16; - } - } - break; - } - default: - if (jj_2_52(2)) { - jj_consume_token(IS); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - jj_consume_token(NULL); - } else if (jj_2_53(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - betweenExpr(); - } else if (jj_2_54(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ILIKE: { - jj_consume_token(ILIKE); - break; - } - case LIKE: { - jj_consume_token(LIKE); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - nestedExpr(); - } else if (jj_2_55(2) && (noAndWithinBetween())) { - label_17: while (true) { - calcExpr(); - if (jj_2_50(2) && (noAndWithinBetween())) { - } else { - break label_17; - } - } - } else if (jj_2_56(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - jj_consume_token(IN); - nestedExpr(); - } else if (jj_2_57(2)) { - jj_consume_token(QUERY); - nestedExpr(); - jj_consume_token(COLON); - nestedExpr(); - } else if (jj_2_58(2)) { - aliasExpr(); - } else { - jj_consume_token(-1); - throw new ParseException(); - } - } - } - } else { - ; + } else if (jj_2_42(2) && (noAndWithinBetween())) { + label_13: + while (true) { + calcExpr(); + if (jj_2_37(2) && (noAndWithinBetween())) { + } else { + break label_13; + } + } + } else if (jj_2_43(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; } - } else { + jj_consume_token(IN); + nestedExpr(); + } else if (jj_2_44(2)) { + jj_consume_token(QUERY); + nestedExpr(); + jj_consume_token(COLON); + nestedExpr(); + } else if (jj_2_45(2)) { + jj_consume_token(AS); + columnExpr(); + } else { jj_consume_token(-1); throw new ParseException(); + } } + } + } else { + ; } +} - final public void allColumnsExpr() throws ParseException { + final public void columnsExpr() throws ParseException { + if (jj_2_60(2147483647)) { + allColumnsExpr(); + label_14: + while (true) { + if (jj_2_47(2)) { + } else { + break label_14; + } switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ASTERISK: { - jj_consume_token(ASTERISK); - break; - } - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - anyIdentifier(); + case APPLY:{ + jj_consume_token(APPLY); + break; + } + case EXCEPT:{ + jj_consume_token(EXCEPT); + break; + } + case REPLACE:{ + jj_consume_token(REPLACE); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + jj_consume_token(LPAREN); + anyExprList(); + jj_consume_token(RPAREN); + } + } else if (jj_2_61(1)) { + nestedExpr(); + if (jj_2_59(1)) { + if (jj_2_51(1)) { + label_15: + while (true) { + if (getToken(1).kind == FLOATING_LITERAL) { + jj_consume_token(FLOATING_LITERAL); + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DOT:{ jj_consume_token(DOT); - if (jj_2_62(2)) { - anyIdentifier(); - jj_consume_token(DOT); - } else { - ; - } - jj_consume_token(ASTERISK); + jj_consume_token(DECIMAL_LITERAL); break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - - final public void nestedExpr() throws ParseException { - if (jj_2_74(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DASH: { - jj_consume_token(DASH); - break; - } - case NOT: { - jj_consume_token(NOT); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - nestedExpr(); - } else if (jj_2_75(2)) { - jj_consume_token(CASE); - if (getToken(1).kind != WHEN) { - nestedExpr(); - } else { - ; - } - label_18: while (true) { - jj_consume_token(WHEN); - nestedExpr(); - jj_consume_token(THEN); - nestedExpr(); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case WHEN: { - break; - } - default: - break label_18; - } - } - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ELSE: { - jj_consume_token(ELSE); - nestedExpr(); - break; - } - default: - ; - } - jj_consume_token(END); - } else if (jj_2_76(2)) { - jj_consume_token(INTERVAL); - if (jj_2_63(2)) { - jj_consume_token(STRING_LITERAL); - } else if (jj_2_64(1)) { - nestedExpr(); - interval(); - } else { + } + default: jj_consume_token(-1); throw new ParseException(); + } } - } else if (jj_2_77(1)) { - columnExpr(); - if (jj_2_73(1)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DOT: - case FLOATING_LITERAL: { - label_19: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case FLOATING_LITERAL: { - jj_consume_token(FLOATING_LITERAL); - break; - } - case DOT: { - jj_consume_token(DOT); - jj_consume_token(DECIMAL_LITERAL); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DOT: - case FLOATING_LITERAL: { - break; - } - default: - break label_19; - } - } - break; - } - case LBRACKET: { - label_20: while (true) { - jj_consume_token(LBRACKET); - anyExprList(); - jj_consume_token(RBRACKET); - if (jj_2_65(2)) { - } else { - break label_20; - } - } - break; - } - default: - if (jj_2_67(2)) { - jj_consume_token(IS); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - jj_consume_token(NULL); - } else if (jj_2_68(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - betweenExpr(); - } else if (jj_2_69(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ILIKE: { - jj_consume_token(ILIKE); - break; - } - case LIKE: { - jj_consume_token(LIKE); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - nestedExpr(); - } else if (jj_2_70(2) && (noAndWithinBetween())) { - label_21: while (true) { - calcExpr(); - if (jj_2_66(2) && (noAndWithinBetween())) { - } else { - break label_21; - } - } - } else if (jj_2_71(2)) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case NOT: { - jj_consume_token(NOT); - break; - } - default: - ; - } - jj_consume_token(IN); - nestedExpr(); - } else if (jj_2_72(2)) { - jj_consume_token(QUERY); - nestedExpr(); - jj_consume_token(COLON); - nestedExpr(); - } else { - jj_consume_token(-1); - throw new ParseException(); - } - } + if (jj_2_48(1)) { } else { - ; + break label_15; } + } } else { - jj_consume_token(-1); - throw new ParseException(); - } - } - - final public void calcExpr() throws ParseException { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case AND: { - jj_consume_token(AND); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case LBRACKET:{ + label_16: + while (true) { + jj_consume_token(LBRACKET); + anyExprList(); + jj_consume_token(RBRACKET); + if (jj_2_49(2)) { + } else { + break label_16; + } + } + break; + } + default: + if (jj_2_52(2)) { + jj_consume_token(IS); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); break; - } - case OR: { - jj_consume_token(OR); + } + default: + ; + } + jj_consume_token(NULL); + } else if (jj_2_53(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); break; - } - case ARROW: - case ASTERISK: - case CONCAT: - case DASH: - case EQ_DOUBLE: - case EQ_SINGLE: - case GE: - case GT: - case LE: - case LT: - case NOT_EQ: - case PERCENT: - case PLUS: - case SLASH: { - operator(); + } + default: + ; + } + betweenExpr(); + } else if (jj_2_54(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - nestedExpr(); - } - - final public void betweenExpr() throws ParseException { - jj_consume_token(BETWEEN); - token_source.enterToken(BETWEEN); - nestedExpr(); - jj_consume_token(AND); - token_source.leaveToken(BETWEEN); - nestedExpr(); - } - - final public void functionExpr() throws ParseException { - anyIdentifier(); - jj_consume_token(LPAREN); - if (jj_2_78(1)) { - anyExprList(); - } else { - ; - } - jj_consume_token(RPAREN); - if (jj_2_80(2)) { - jj_consume_token(LPAREN); - if (jj_2_79(1)) { - anyExprList(); - } else { + } + default: ; - } - jj_consume_token(RPAREN); - } else { - ; - } - } - - final public void columnExpr() throws ParseException { - Token t; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case QUERY: { - t = jj_consume_token(QUERY); - token_source.processParameter(t.image, handler); + } + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ILIKE:{ + jj_consume_token(ILIKE); break; - } - case LBRACE: { - jj_consume_token(LBRACE); - if (jj_2_81(2)) { - anyExprList(); - } else { - ; } - jj_consume_token(RBRACE); + case LIKE:{ + jj_consume_token(LIKE); break; - } - case LBRACKET: { - jj_consume_token(LBRACKET); - if (jj_2_82(2)) { - anyExprList(); + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + nestedExpr(); + } else if (jj_2_55(2) && (noAndWithinBetween())) { + label_17: + while (true) { + calcExpr(); + if (jj_2_50(2) && (noAndWithinBetween())) { } else { - ; + break label_17; } - jj_consume_token(RBRACKET); - break; - } - case LPAREN: { - jj_consume_token(LPAREN); - anyExprList(); - jj_consume_token(RPAREN); + } + } else if (jj_2_56(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); break; - } - case HASH: { - label_22: while (true) { - macro(); - if (jj_2_83(2)) { - } else { - break label_22; - } } - break; + default: + ; + } + jj_consume_token(IN); + nestedExpr(); + } else if (jj_2_57(2)) { + jj_consume_token(QUERY); + nestedExpr(); + jj_consume_token(COLON); + nestedExpr(); + } else if (jj_2_58(2)) { + aliasExpr(); + } else { + jj_consume_token(-1); + throw new ParseException(); } - default: - if (jj_2_85(2) && (!(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)))) { - literal(); - } else if (jj_2_86(2) && (getToken(2).kind == LPAREN)) { - functionExpr(); - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - anyIdentifier(); - label_23: while (true) { - if (jj_2_84(2)) { - } else { - break label_23; - } - jj_consume_token(DOT); - anyIdentifier(); - } - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } + } } + } else { + ; + } + } else { + jj_consume_token(-1); + throw new ParseException(); } +} - final public void withTotalPart() throws ParseException { - Token t; - jj_consume_token(WITH); - if (jj_2_87(2)) { - t = jj_consume_token(TOTALS); - token_source.setPosition(t.image); - } else { - ; - } + final public void allColumnsExpr() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ASTERISK:{ + jj_consume_token(ASTERISK); + break; + } + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + anyIdentifier(); + jj_consume_token(DOT); + if (jj_2_62(2)) { + anyIdentifier(); + jj_consume_token(DOT); + } else { + ; + } + jj_consume_token(ASTERISK); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } +} - // expressions - final public void anyExprList() throws ParseException { - anyExpr(); - label_24: while (true) { - if (jj_2_88(1)) { - } else { - break label_24; + final public void nestedExpr() throws ParseException { + if (jj_2_74(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DASH:{ + jj_consume_token(DASH); + break; + } + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + nestedExpr(); + } else if (jj_2_75(2)) { + jj_consume_token(CASE); + if (getToken(1).kind != WHEN) { + nestedExpr(); + } else { + ; + } + label_18: + while (true) { + jj_consume_token(WHEN); + nestedExpr(); + jj_consume_token(THEN); + nestedExpr(); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case WHEN:{ + break; + } + default: + break label_18; + } + } + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ELSE:{ + jj_consume_token(ELSE); + nestedExpr(); + break; + } + default: + ; + } + jj_consume_token(END); + } else if (jj_2_76(2)) { + jj_consume_token(INTERVAL); + if (jj_2_63(2)) { + jj_consume_token(STRING_LITERAL); + } else if (jj_2_64(1)) { + nestedExpr(); + interval(); + } else { + jj_consume_token(-1); + throw new ParseException(); + } + } else if (jj_2_77(1)) { + columnExpr(); + if (jj_2_73(1)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DOT: + case FLOATING_LITERAL:{ + label_19: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case FLOATING_LITERAL:{ + jj_consume_token(FLOATING_LITERAL); + break; + } + case DOT:{ + jj_consume_token(DOT); + jj_consume_token(DECIMAL_LITERAL); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } - if (jj_2_89(2)) { - jj_consume_token(COMMA); - } else if (jj_2_90(1)) { - anyExpr(); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DOT: + case FLOATING_LITERAL:{ + break; + } + default: + break label_19; + } + } + break; + } + case LBRACKET:{ + label_20: + while (true) { + jj_consume_token(LBRACKET); + anyExprList(); + jj_consume_token(RBRACKET); + if (jj_2_65(2)) { } else { - jj_consume_token(-1); - throw new ParseException(); + break label_20; + } + } + break; + } + default: + if (jj_2_67(2)) { + jj_consume_token(IS); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; } - } - } - - final public void anyExpr() throws ParseException { - anyNestedExpr(); - label_25: while (true) { - if (jj_2_91(2)) { - } else { - break label_25; + jj_consume_token(NULL); + } else if (jj_2_68(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; } + betweenExpr(); + } else if (jj_2_69(2)) { switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case AND: - case OR: - case ARROW: - case ASTERISK: - case AT: - case COLON: - case CONCAT: - case DASH: - case EQ_DOUBLE: - case EQ_SINGLE: - case GE: - case GT: - case LE: - case LT: - case NOT_EQ: - case PERCENT: - case PLUS: - case QUERY: - case SLASH: { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case AT: { - jj_consume_token(AT); - break; - } - case AND: { - jj_consume_token(AND); - break; - } - case OR: { - jj_consume_token(OR); - break; - } - case COLON: { - jj_consume_token(COLON); - break; - } - case QUERY: { - jj_consume_token(QUERY); - break; - } - case ARROW: - case ASTERISK: - case CONCAT: - case DASH: - case EQ_DOUBLE: - case EQ_SINGLE: - case GE: - case GT: - case LE: - case LT: - case NOT_EQ: - case PERCENT: - case PLUS: - case SLASH: { - operator(); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - break; - } - default: - ; + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; } - anyNestedExpr(); - } - } - - final public void anyNestedExpr() throws ParseException { - if (jj_2_94(2)) { - withTotalPart(); - } else if (jj_2_95(1)) { - if (jj_2_92(2)) { - jj_consume_token(DASH); - } else { - ; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ILIKE:{ + jj_consume_token(ILIKE); + break; + } + case LIKE:{ + jj_consume_token(LIKE); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } - anyColumnExpr(); - label_26: while (true) { - if (jj_2_93(1)) { - } else { - break label_26; - } - if (getToken(1).kind == FLOATING_LITERAL) { - jj_consume_token(FLOATING_LITERAL); - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DOT: { - jj_consume_token(DOT); - jj_consume_token(DECIMAL_LITERAL); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } + nestedExpr(); + } else if (jj_2_70(2) && (noAndWithinBetween())) { + label_21: + while (true) { + calcExpr(); + if (jj_2_66(2) && (noAndWithinBetween())) { + } else { + break label_21; + } + } + } else if (jj_2_71(2)) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case NOT:{ + jj_consume_token(NOT); + break; + } + default: + ; } - } else { + jj_consume_token(IN); + nestedExpr(); + } else if (jj_2_72(2)) { + jj_consume_token(QUERY); + nestedExpr(); + jj_consume_token(COLON); + nestedExpr(); + } else { jj_consume_token(-1); throw new ParseException(); + } } + } else { + ; + } + } else { + jj_consume_token(-1); + throw new ParseException(); } +} - final public void anyColumnExpr() throws ParseException { - Token t; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case QUERY: { - // - t = jj_consume_token(QUERY); - token_source.processParameter(t.image, handler); - break; - } - case LBRACE: { - jj_consume_token(LBRACE); - if (jj_2_96(2)) { - anyExprList(); - } else { - ; - } - jj_consume_token(RBRACE); - break; - } - case LBRACKET: { - jj_consume_token(LBRACKET); - if (jj_2_97(2)) { - anyExprList(); - } else { - ; - } - jj_consume_token(RBRACKET); - break; - } - case LPAREN: { - jj_consume_token(LPAREN); - if (jj_2_98(2)) { - anyExprList(); - } else { - ; - } - jj_consume_token(RPAREN); - break; - } - case HASH: { - label_27: while (true) { - macro(); - if (jj_2_99(2)) { - } else { - break label_27; - } - } - break; - } - default: - if (jj_2_100(2) && (!(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)))) { - literal(); - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case ASTERISK: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - nestedIdentifier(); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - } + final public void calcExpr() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case AND:{ + jj_consume_token(AND); + break; + } + case OR:{ + jj_consume_token(OR); + break; + } + case ARROW: + case ASTERISK: + case CONCAT: + case DASH: + case EQ_DOUBLE: + case EQ_SINGLE: + case GE: + case GT: + case LE: + case LT: + case NOT_EQ: + case PERCENT: + case PLUS: + case SLASH:{ + operator(); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + nestedExpr(); +} + + final public void betweenExpr() throws ParseException { + jj_consume_token(BETWEEN); +token_source.enterToken(BETWEEN); + nestedExpr(); + jj_consume_token(AND); +token_source.leaveToken(BETWEEN); + nestedExpr(); +} + + final public void functionExpr() throws ParseException { + anyIdentifier(); + jj_consume_token(LPAREN); + if (jj_2_78(1)) { + anyExprList(); + } else { + ; + } + jj_consume_token(RPAREN); + if (jj_2_80(2)) { + jj_consume_token(LPAREN); + if (jj_2_79(1)) { + anyExprList(); + } else { + ; + } + jj_consume_token(RPAREN); + } else { + ; } +} - final public Token aliasExpr() throws ParseException { - Token t = null; - if (jj_2_101(2)) { - jj_consume_token(AS); - t = anyIdentifier(); + final public void columnExpr() throws ParseException {Token t; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case QUERY:{ + t = jj_consume_token(QUERY); +token_source.processParameter(t.image, handler); + break; + } + case LBRACE:{ + jj_consume_token(LBRACE); + if (jj_2_81(2)) { + anyExprList(); + } else { + ; + } + jj_consume_token(RBRACE); + break; + } + case LBRACKET:{ + jj_consume_token(LBRACKET); + if (jj_2_82(2)) { + anyExprList(); + } else { + ; + } + jj_consume_token(RBRACKET); + break; + } + case LPAREN:{ + jj_consume_token(LPAREN); + anyExprList(); + jj_consume_token(RPAREN); + break; + } + case HASH:{ + label_22: + while (true) { + macro(); + if (jj_2_83(2)) { } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FUNCTION: - case IF: - case INTERVAL: - case IS: - case LIVE: - case MATERIALIZED: - case POLICY: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case USER: - case VALUES: - case VIEW: - case WHEN: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - t = identifier(); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - { - if ("" != null) - return t; + break label_22; } - throw new IllegalStateException("Missing return statement in function"); - } - - final public void nestedIdentifier() throws ParseException { + } + break; + } + default: + if (jj_2_85(2) && (!(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)))) { + literal(); + } else if (jj_2_86(2) && (getToken(2).kind == LPAREN)) { + functionExpr(); + } else { switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ASTERISK: { - jj_consume_token(ASTERISK); - break; - } - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - anyIdentifier(); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - label_28: while (true) { - if (jj_2_102(2)) { + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + anyIdentifier(); + label_23: + while (true) { + if (jj_2_84(2)) { } else { - break label_28; - } - jj_consume_token(DOT); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ASTERISK: { - jj_consume_token(ASTERISK); - break; - } - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: - case AT: - case IDENTIFIER: - case BACK_QUOTED_NAME: - case DOUBLE_QUOTED_NAME: { - anyIdentifier(); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); + break label_23; } - } - } - - final public void tableIdentifier(boolean record) throws ParseException { - Token t; - if (jj_2_103(2)) { - databaseIdentifier(record); jj_consume_token(DOT); - } else { - ; - } - t = anyIdentifier(); - if (jj_2_104(2)) { - jj_consume_token(LPAREN); - anyExprList(); - jj_consume_token(RPAREN); - } else { - ; - } - if (record && t != null) { - token_source.tables.add(SqlUtils.unescape(t.image)); + anyIdentifier(); + } + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } + } } +} - final public void databaseIdentifier(boolean record) throws ParseException { - Token t; - t = anyIdentifier(); - if (record) - token_source.database = SqlUtils.unescape(t.image); + final public void withTotalPart() throws ParseException {Token t; + jj_consume_token(WITH); + if (jj_2_87(2)) { + t = jj_consume_token(TOTALS); +token_source.setPosition(t.image); + } else { + ; } +} - final public void settingExprList() throws ParseException { - settingExpr(); - label_29: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_29; - } - jj_consume_token(COMMA); - settingExpr(); - } +// expressions + final public void anyExprList() throws ParseException { + anyExpr(); + label_24: + while (true) { + if (jj_2_88(1)) { + } else { + break label_24; + } + if (jj_2_89(2)) { + jj_consume_token(COMMA); + } else if (jj_2_90(1)) { + anyExpr(); + } else { + jj_consume_token(-1); + throw new ParseException(); + } } +} - final public void settingExpr() throws ParseException { - identifier(); - jj_consume_token(EQ_SINGLE); - literal(); + final public void anyExpr() throws ParseException { + anyNestedExpr(); + label_25: + while (true) { + if (jj_2_91(2)) { + } else { + break label_25; + } + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case AND: + case OR: + case ARROW: + case ASTERISK: + case AT: + case COLON: + case CONCAT: + case DASH: + case EQ_DOUBLE: + case EQ_SINGLE: + case GE: + case GT: + case LE: + case LT: + case NOT_EQ: + case PERCENT: + case PLUS: + case QUERY: + case SLASH:{ + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case AT:{ + jj_consume_token(AT); + break; + } + case AND:{ + jj_consume_token(AND); + break; + } + case OR:{ + jj_consume_token(OR); + break; + } + case COLON:{ + jj_consume_token(COLON); + break; + } + case QUERY:{ + jj_consume_token(QUERY); + break; + } + case ARROW: + case ASTERISK: + case CONCAT: + case DASH: + case EQ_DOUBLE: + case EQ_SINGLE: + case GE: + case GT: + case LE: + case LT: + case NOT_EQ: + case PERCENT: + case PLUS: + case SLASH:{ + operator(); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + break; + } + default: + ; + } + anyNestedExpr(); } +} - // basics - final public Token anyIdentifier() throws ParseException { - Token t; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case BACK_QUOTED_NAME: { - t = jj_consume_token(BACK_QUOTED_NAME); - break; - } - case DOUBLE_QUOTED_NAME: { - t = jj_consume_token(DOUBLE_QUOTED_NAME); - break; - } - case AT: { - t = variable(); - break; - } - case IDENTIFIER: { - t = jj_consume_token(IDENTIFIER); - break; - } - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: { - t = anyKeyword(); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); + final public void anyNestedExpr() throws ParseException { + if (jj_2_94(2)) { + withTotalPart(); + } else if (jj_2_95(1)) { + if (jj_2_92(2)) { + jj_consume_token(DASH); + } else { + ; + } + anyColumnExpr(); + label_26: + while (true) { + if (jj_2_93(1)) { + } else { + break label_26; } - { - if ("" != null) - return t; + if (getToken(1).kind == FLOATING_LITERAL) { + jj_consume_token(FLOATING_LITERAL); + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DOT:{ + jj_consume_token(DOT); + jj_consume_token(DECIMAL_LITERAL); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } } - throw new IllegalStateException("Missing return statement in function"); + } + } else { + jj_consume_token(-1); + throw new ParseException(); } +} - final public Token identifier() throws ParseException { - Token t; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case BACK_QUOTED_NAME: { - t = jj_consume_token(BACK_QUOTED_NAME); - break; - } - case DOUBLE_QUOTED_NAME: { - t = jj_consume_token(DOUBLE_QUOTED_NAME); - break; - } - case AT: { - t = variable(); - break; - } - case IDENTIFIER: { - t = jj_consume_token(IDENTIFIER); - break; - } - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FUNCTION: - case IF: - case INTERVAL: - case IS: - case LIVE: - case MATERIALIZED: - case POLICY: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case USER: - case VALUES: - case VIEW: - case WHEN: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: { - t = keyword(); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - { - if ("" != null) - return t; + final public void anyColumnExpr() throws ParseException {Token t; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case QUERY:{ + // + t = jj_consume_token(QUERY); +token_source.processParameter(t.image, handler); + break; + } + case LBRACE:{ + jj_consume_token(LBRACE); + if (jj_2_96(2)) { + anyExprList(); + } else { + ; + } + jj_consume_token(RBRACE); + break; + } + case LBRACKET:{ + jj_consume_token(LBRACKET); + if (jj_2_97(2)) { + anyExprList(); + } else { + ; + } + jj_consume_token(RBRACKET); + break; + } + case LPAREN:{ + jj_consume_token(LPAREN); + if (jj_2_98(2)) { + anyExprList(); + } else { + ; + } + jj_consume_token(RPAREN); + break; + } + case HASH:{ + label_27: + while (true) { + macro(); + if (jj_2_99(2)) { + } else { + break label_27; } - throw new IllegalStateException("Missing return statement in function"); + } + break; + } + default: + if (jj_2_100(2) && (!(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)))) { + literal(); + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case ASTERISK: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + nestedIdentifier(); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + } } +} - final public void interval() throws ParseException { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case SECOND: { - jj_consume_token(SECOND); - break; - } - case MINUTE: { - jj_consume_token(MINUTE); - break; - } - case HOUR: { - jj_consume_token(HOUR); - break; - } - case DAY: { - jj_consume_token(DAY); - break; - } - case WEEK: { - jj_consume_token(WEEK); - break; - } - case MONTH: { - jj_consume_token(MONTH); - break; - } - case QUARTER: { - jj_consume_token(QUARTER); - break; - } - case YEAR: { - jj_consume_token(YEAR); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - - final public Token literal() throws ParseException { - Token t; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DATE: - case TIMESTAMP: { - t = dateLiteral(); - break; - } - case INF: - case NAN: - case DASH: - case PLUS: - case FLOATING_LITERAL: - case DECIMAL_LITERAL: - case HEXADECIMAL_LITERAL: { - t = numberLiteral(); - break; - } - case STRING_LITERAL: { - t = jj_consume_token(STRING_LITERAL); - break; - } - case NULL: { - t = jj_consume_token(NULL); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - { - if ("" != null) - return t; - } - throw new IllegalStateException("Missing return statement in function"); - } - - final public Token dateLiteral() throws ParseException { - Token t; - String prefix; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DATE: { - t = jj_consume_token(DATE); - break; - } - case TIMESTAMP: { - t = jj_consume_token(TIMESTAMP); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - prefix = t.image; - t = jj_consume_token(STRING_LITERAL); - { - if ("" != null) - return Token.newToken(0, prefix + " " + t.image); - } - throw new IllegalStateException("Missing return statement in function"); - } - - final public Token numberLiteral() throws ParseException { - Token t = null; - StringBuilder sb = new StringBuilder(); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case DASH: - case PLUS: { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case PLUS: { - t = jj_consume_token(PLUS); - break; - } - case DASH: { - t = jj_consume_token(DASH); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - break; - } - default: - ; - } - if (t != null) - sb.append(t.image); - if (jj_2_105(2)) { - t = jj_consume_token(DECIMAL_LITERAL); - } else { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case HEXADECIMAL_LITERAL: { - t = jj_consume_token(HEXADECIMAL_LITERAL); - break; - } - case FLOATING_LITERAL: { - t = jj_consume_token(FLOATING_LITERAL); - break; - } - case INF: { - t = jj_consume_token(INF); - break; - } - case NAN: { - t = jj_consume_token(NAN); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - sb.append(t.image); - { - if ("" != null) - return Token.newToken(0, sb.toString()); - } - throw new IllegalStateException("Missing return statement in function"); - } - - final public void operator() throws ParseException { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ARROW: { - jj_consume_token(ARROW); - break; - } - case ASTERISK: { - jj_consume_token(ASTERISK); - break; - } - case CONCAT: { - jj_consume_token(CONCAT); - break; - } - case DASH: { - jj_consume_token(DASH); - break; - } - case EQ_DOUBLE: { - jj_consume_token(EQ_DOUBLE); - break; - } - case EQ_SINGLE: { - jj_consume_token(EQ_SINGLE); - break; - } - case GE: { - jj_consume_token(GE); - break; - } - case GT: { - jj_consume_token(GT); - break; - } - case LE: { - jj_consume_token(LE); - break; - } - case LT: { - jj_consume_token(LT); - break; - } - case NOT_EQ: { - jj_consume_token(NOT_EQ); - break; - } - case PERCENT: { - jj_consume_token(PERCENT); - break; - } - case PLUS: { - jj_consume_token(PLUS); - break; - } - case SLASH: { - jj_consume_token(SLASH); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - } - - final public void macro() throws ParseException { - Token t; - String name; - List params = new ArrayList<>(); - jj_consume_token(HASH); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: { - t = anyKeyword(); - break; - } - case IDENTIFIER: { - t = jj_consume_token(IDENTIFIER); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - name = t.image; - if (jj_2_106(2)) { - jj_consume_token(LPAREN); - t = jj_consume_token(STRING_LITERAL); - params.add(SqlUtils.unescape(t.image)); - label_30: while (true) { - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case COMMA: { - break; - } - default: - break label_30; - } - jj_consume_token(COMMA); - t = jj_consume_token(STRING_LITERAL); - params.add(SqlUtils.unescape(t.image)); - } - jj_consume_token(RPAREN); - } else { - ; - } - token_source.processMacro(name, params, handler); - } - - final public Token variable() throws ParseException { - Token t; - jj_consume_token(AT); - jj_consume_token(AT); - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: - case ATTACH: - case CHECK: - case CREATE: - case DELETE: - case DESC: - case DESCRIBE: - case DETACH: - case DROP: - case EXISTS: - case EXPLAIN: - case GRANT: - case INSERT: - case KILL: - case OPTIMIZE: - case RENAME: - case REVOKE: - case SELECT: - case SET: - case SHOW: - case SYSTEM: - case TRUNCATE: - case UPDATE: - case USE: - case WATCH: - case ALL: - case AND: - case APPLY: - case ARRAY: - case AS: - case ASOF: - case BETWEEN: - case CASE: - case DATE: - case DATABASE: - case DATABASES: - case DICTIONARY: - case DICTIONARIES: - case DISTINCT: - case ELSE: - case END: - case EXCEPT: - case FINAL: - case FROM: - case FULL: - case FUNCTION: - case GLOBAL: - case GROUP: - case HAVING: - case IF: - case ILIKE: - case IN: - case INNER: - case INTERVAL: - case INTO: - case IS: - case JOIN: - case LEFT: - case LIKE: - case LIMIT: - case LIVE: - case MATERIALIZED: - case NOT: - case OFFSET: - case ON: - case OR: - case ORDER: - case POLICY: - case PREWHERE: - case PROFILE: - case QUOTA: - case REPLACE: - case ROLE: - case ROW: - case RIGHT: - case SAMPLE: - case SETTINGS: - case TEMPORARY: - case TABLE: - case TABLES: - case THEN: - case TIES: - case TIMESTAMP: - case TOP: - case TOTALS: - case UNION: - case USER: - case USING: - case VALUES: - case VIEW: - case WHEN: - case WHERE: - case WITH: - case SECOND: - case MINUTE: - case HOUR: - case DAY: - case WEEK: - case MONTH: - case QUARTER: - case YEAR: - case INF: - case NAN: - case NULL: { - t = anyKeyword(); - break; - } - case IDENTIFIER: { - t = jj_consume_token(IDENTIFIER); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - { - if ("" != null) - return Token.newToken(0, "@@" + t.image); - } - throw new IllegalStateException("Missing return statement in function"); - } - - final public Token anyKeyword() throws ParseException { - Token t; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: { - // leading keywords(except with) - t = jj_consume_token(ALTER); - break; - } - case ATTACH: { - t = jj_consume_token(ATTACH); - break; - } - case CHECK: { - t = jj_consume_token(CHECK); - break; - } - case CREATE: { - t = jj_consume_token(CREATE); - break; - } - case DELETE: { - t = jj_consume_token(DELETE); - break; - } - case DESC: { - t = jj_consume_token(DESC); - break; - } - case DESCRIBE: { - t = jj_consume_token(DESCRIBE); - break; - } - case DETACH: { - t = jj_consume_token(DETACH); - break; - } - case DROP: { - t = jj_consume_token(DROP); - break; - } - case EXISTS: { - t = jj_consume_token(EXISTS); - break; - } - case EXPLAIN: { - t = jj_consume_token(EXPLAIN); - break; - } - case GRANT: { - t = jj_consume_token(GRANT); - break; - } - case INSERT: { - t = jj_consume_token(INSERT); - break; - } - case KILL: { - t = jj_consume_token(KILL); - break; - } - case OPTIMIZE: { - t = jj_consume_token(OPTIMIZE); - break; - } - case RENAME: { - t = jj_consume_token(RENAME); - break; - } - case REVOKE: { - t = jj_consume_token(REVOKE); - break; - } - case SELECT: { - t = jj_consume_token(SELECT); - break; - } - case SET: { - t = jj_consume_token(SET); - break; - } - case SHOW: { - t = jj_consume_token(SHOW); - break; - } - case SYSTEM: { - t = jj_consume_token(SYSTEM); - break; - } - case TRUNCATE: { - t = jj_consume_token(TRUNCATE); - break; - } - case UPDATE: { - t = jj_consume_token(UPDATE); - break; - } - case USE: { - t = jj_consume_token(USE); - break; - } - case WATCH: { - t = jj_consume_token(WATCH); - break; - } - case ALL: { - t = jj_consume_token(ALL); - break; - } - case AND: { - t = jj_consume_token(AND); - break; - } - case APPLY: { - t = jj_consume_token(APPLY); - break; - } - case ARRAY: { - t = jj_consume_token(ARRAY); - break; - } - case AS: { - t = jj_consume_token(AS); - break; - } - case ASOF: { - t = jj_consume_token(ASOF); - break; - } - case BETWEEN: { - t = jj_consume_token(BETWEEN); - break; - } - case CASE: { - t = jj_consume_token(CASE); - break; - } - case DATE: { - t = jj_consume_token(DATE); - break; - } - case DATABASE: { - t = jj_consume_token(DATABASE); - break; - } - case DATABASES: { - t = jj_consume_token(DATABASES); - break; - } - case DICTIONARY: { - t = jj_consume_token(DICTIONARY); - break; - } - case DICTIONARIES: { - t = jj_consume_token(DICTIONARIES); - break; - } - case DISTINCT: { - t = jj_consume_token(DISTINCT); - break; - } - case ELSE: { - t = jj_consume_token(ELSE); - break; - } - case END: { - t = jj_consume_token(END); - break; - } - case EXCEPT: { - t = jj_consume_token(EXCEPT); - break; - } - case FROM: { - t = jj_consume_token(FROM); - break; - } - case FINAL: { - t = jj_consume_token(FINAL); - break; - } - case FULL: { - t = jj_consume_token(FULL); - break; - } - case FUNCTION: { - t = jj_consume_token(FUNCTION); - break; - } - case GLOBAL: { - t = jj_consume_token(GLOBAL); - break; - } - case GROUP: { - t = jj_consume_token(GROUP); - break; - } - case HAVING: { - t = jj_consume_token(HAVING); - break; - } - case IF: { - t = jj_consume_token(IF); - break; - } - case ILIKE: { - t = jj_consume_token(ILIKE); - break; - } - case IN: { - t = jj_consume_token(IN); - break; - } - case INNER: { - t = jj_consume_token(INNER); - break; - } - case INTERVAL: { - t = jj_consume_token(INTERVAL); - break; - } - case INTO: { - t = jj_consume_token(INTO); - break; - } - case IS: { - t = jj_consume_token(IS); - break; - } - case JOIN: { - t = jj_consume_token(JOIN); - break; - } - case LEFT: { - t = jj_consume_token(LEFT); - break; - } - case LIKE: { - t = jj_consume_token(LIKE); - break; - } - case LIMIT: { - t = jj_consume_token(LIMIT); - break; - } - case LIVE: { - t = jj_consume_token(LIVE); - break; - } - case MATERIALIZED: { - t = jj_consume_token(MATERIALIZED); - break; - } - case NOT: { - t = jj_consume_token(NOT); - break; - } - case OFFSET: { - t = jj_consume_token(OFFSET); - break; - } - case ON: { - t = jj_consume_token(ON); - break; - } - case OR: { - t = jj_consume_token(OR); - break; - } - case ORDER: { - t = jj_consume_token(ORDER); - break; - } - case POLICY: { - t = jj_consume_token(POLICY); - break; - } - case PREWHERE: { - t = jj_consume_token(PREWHERE); - break; - } - case PROFILE: { - t = jj_consume_token(PROFILE); - break; - } - case QUOTA: { - t = jj_consume_token(QUOTA); - break; - } - case REPLACE: { - t = jj_consume_token(REPLACE); - break; - } - case RIGHT: { - t = jj_consume_token(RIGHT); - break; - } - case ROLE: { - t = jj_consume_token(ROLE); - break; - } - case ROW: { - t = jj_consume_token(ROW); - break; - } - case SAMPLE: { - t = jj_consume_token(SAMPLE); - break; - } - case SETTINGS: { - t = jj_consume_token(SETTINGS); - break; - } - case TEMPORARY: { - t = jj_consume_token(TEMPORARY); - break; - } - case TABLE: { - t = jj_consume_token(TABLE); - break; - } - case TABLES: { - t = jj_consume_token(TABLES); - break; - } - case THEN: { - t = jj_consume_token(THEN); - break; - } - case TIES: { - t = jj_consume_token(TIES); - break; - } - case TIMESTAMP: { - t = jj_consume_token(TIMESTAMP); - break; - } - case TOP: { - t = jj_consume_token(TOP); - break; - } - case TOTALS: { - t = jj_consume_token(TOTALS); - break; - } - case VALUES: { - t = jj_consume_token(VALUES); - break; - } - case VIEW: { - t = jj_consume_token(VIEW); - break; - } - case USER: { - t = jj_consume_token(USER); - break; - } - case UNION: { - t = jj_consume_token(UNION); - break; - } - case USING: { - t = jj_consume_token(USING); - break; - } - case WHEN: { - t = jj_consume_token(WHEN); - break; - } - case WHERE: { - t = jj_consume_token(WHERE); - break; - } - case WITH: { - t = jj_consume_token(WITH); - break; - } - case SECOND: { - t = jj_consume_token(SECOND); - break; - } - case MINUTE: { - t = jj_consume_token(MINUTE); - break; - } - case HOUR: { - t = jj_consume_token(HOUR); - break; - } - case DAY: { - t = jj_consume_token(DAY); - break; - } - case WEEK: { - t = jj_consume_token(WEEK); - break; - } - case MONTH: { - t = jj_consume_token(MONTH); - break; - } - case QUARTER: { - t = jj_consume_token(QUARTER); - break; - } - case YEAR: { - t = jj_consume_token(YEAR); - break; - } - case INF: { - t = jj_consume_token(INF); - break; - } - case NAN: { - t = jj_consume_token(NAN); - break; - } - case NULL: { - t = jj_consume_token(NULL); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - { - if ("" != null) - return t; - } - throw new IllegalStateException("Missing return statement in function"); - } - - final public Token keyword() throws ParseException { - Token t; - switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { - case ALTER: { - // leading keywords(except with) - t = jj_consume_token(ALTER); - break; - } - case ATTACH: { - t = jj_consume_token(ATTACH); - break; - } - case CHECK: { - t = jj_consume_token(CHECK); - break; - } - case CREATE: { - t = jj_consume_token(CREATE); - break; - } - case DELETE: { - t = jj_consume_token(DELETE); - break; - } - case DESC: { - t = jj_consume_token(DESC); - break; - } - case DESCRIBE: { - t = jj_consume_token(DESCRIBE); - break; - } - case DETACH: { - t = jj_consume_token(DETACH); - break; - } - case DROP: { - t = jj_consume_token(DROP); - break; - } - case EXISTS: { - t = jj_consume_token(EXISTS); - break; - } - case EXPLAIN: { - t = jj_consume_token(EXPLAIN); - break; - } - case GRANT: { - t = jj_consume_token(GRANT); - break; - } - case INSERT: { - t = jj_consume_token(INSERT); - break; - } - case KILL: { - t = jj_consume_token(KILL); - break; - } - case OPTIMIZE: { - t = jj_consume_token(OPTIMIZE); - break; - } - case RENAME: { - t = jj_consume_token(RENAME); - break; - } - case REVOKE: { - t = jj_consume_token(REVOKE); - break; - } - case SELECT: { - t = jj_consume_token(SELECT); - break; - } - case SET: { - t = jj_consume_token(SET); - break; - } - case SHOW: { - t = jj_consume_token(SHOW); - break; - } - case SYSTEM: { - t = jj_consume_token(SYSTEM); - break; - } - case TRUNCATE: { - t = jj_consume_token(TRUNCATE); - break; - } - case UPDATE: { - t = jj_consume_token(UPDATE); - break; - } - case USE: { - t = jj_consume_token(USE); - break; - } - case WATCH: { - t = jj_consume_token(WATCH); - break; - } - case CASE: { - t = jj_consume_token(CASE); - break; - } - case DATE: { - t = jj_consume_token(DATE); - break; - } - case DATABASE: { - t = jj_consume_token(DATABASE); - break; - } - case DATABASES: { - t = jj_consume_token(DATABASES); - break; - } - case DICTIONARY: { - t = jj_consume_token(DICTIONARY); - break; - } - case DICTIONARIES: { - t = jj_consume_token(DICTIONARIES); - break; - } - case DISTINCT: { - t = jj_consume_token(DISTINCT); - break; - } - case ELSE: { - t = jj_consume_token(ELSE); - break; - } - case END: { - t = jj_consume_token(END); - break; - } - case EXCEPT: { - t = jj_consume_token(EXCEPT); - break; - } - case FUNCTION: { - t = jj_consume_token(FUNCTION); - break; - } - case IF: { - t = jj_consume_token(IF); - break; - } - case INTERVAL: { - t = jj_consume_token(INTERVAL); - break; - } - case IS: { - t = jj_consume_token(IS); - break; - } - case LIVE: { - t = jj_consume_token(LIVE); - break; - } - case MATERIALIZED: { - t = jj_consume_token(MATERIALIZED); - break; - } - case POLICY: { - t = jj_consume_token(POLICY); - break; - } - case PROFILE: { - t = jj_consume_token(PROFILE); - break; - } - case QUOTA: { - t = jj_consume_token(QUOTA); - break; - } - case REPLACE: { - t = jj_consume_token(REPLACE); - break; - } - case ROLE: { - t = jj_consume_token(ROLE); - break; - } - case ROW: { - t = jj_consume_token(ROW); - break; - } - case TEMPORARY: { - t = jj_consume_token(TEMPORARY); - break; - } - case TABLE: { - t = jj_consume_token(TABLE); - break; - } - case TABLES: { - t = jj_consume_token(TABLES); - break; - } - case THEN: { - t = jj_consume_token(THEN); - break; - } - case TIES: { - t = jj_consume_token(TIES); - break; - } - case TIMESTAMP: { - t = jj_consume_token(TIMESTAMP); - break; - } - case TOP: { - t = jj_consume_token(TOP); - break; - } - case TOTALS: { - t = jj_consume_token(TOTALS); - break; - } - case VALUES: { - t = jj_consume_token(VALUES); - break; - } - case VIEW: { - t = jj_consume_token(VIEW); - break; - } - case WHEN: { - t = jj_consume_token(WHEN); - break; - } - case USER: { - t = jj_consume_token(USER); - break; - } - case SECOND: { - t = jj_consume_token(SECOND); - break; - } - case MINUTE: { - t = jj_consume_token(MINUTE); - break; - } - case HOUR: { - t = jj_consume_token(HOUR); - break; - } - case DAY: { - t = jj_consume_token(DAY); - break; - } - case WEEK: { - t = jj_consume_token(WEEK); - break; - } - case MONTH: { - t = jj_consume_token(MONTH); - break; - } - case QUARTER: { - t = jj_consume_token(QUARTER); - break; - } - case YEAR: { - t = jj_consume_token(YEAR); - break; - } - case INF: { - t = jj_consume_token(INF); - break; - } - case NAN: { - t = jj_consume_token(NAN); - break; - } - case NULL: { - t = jj_consume_token(NULL); - break; - } - default: - jj_consume_token(-1); - throw new ParseException(); - } - { - if ("" != null) - return t; - } - throw new IllegalStateException("Missing return statement in function"); - } - - private boolean jj_2_1(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_1()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_2(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_2()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_3(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_3()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_4(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_4()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_5(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_5()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_6(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_6()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_7(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_7()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_8(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_8()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_9(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_9()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_10(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_10()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_11(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_11()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_12(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_12()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_13(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_13()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_14(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_14()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_15(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_15()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_16(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_16()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_17(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_17()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_18(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_18()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_19(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_19()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_20(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_20()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_21(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_21()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_22(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_22()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_23(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_23()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_24(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_24()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_25(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_25()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_26(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_26()); - } catch (LookaheadSuccess ls) { - return true; - } - } - - private boolean jj_2_27(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_27()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token aliasExpr() throws ParseException {Token t = null; + if (jj_2_101(2)) { + jj_consume_token(AS); + t = anyIdentifier(); + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FUNCTION: + case IF: + case INTERVAL: + case IS: + case LIVE: + case MATERIALIZED: + case POLICY: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case USER: + case VALUES: + case VIEW: + case WHEN: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + t = identifier(); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + } +{if ("" != null) return t;} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_28(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_28()); - } catch (LookaheadSuccess ls) { - return true; + final public void nestedIdentifier() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ASTERISK:{ + jj_consume_token(ASTERISK); + break; + } + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + anyIdentifier(); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + label_28: + while (true) { + if (jj_2_102(2)) { + } else { + break label_28; + } + jj_consume_token(DOT); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ASTERISK:{ + jj_consume_token(ASTERISK); + break; + } + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL: + case AT: + case IDENTIFIER: + case BACK_QUOTED_NAME: + case DOUBLE_QUOTED_NAME:{ + anyIdentifier(); + break; } + default: + jj_consume_token(-1); + throw new ParseException(); + } } +} - private boolean jj_2_29(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_29()); - } catch (LookaheadSuccess ls) { - return true; + final public void tableIdentifier(boolean record) throws ParseException {Token t; + if (jj_2_103(2)) { + databaseIdentifier(record); + jj_consume_token(DOT); + } else { + ; + } + t = anyIdentifier(); + if (jj_2_104(2)) { + jj_consume_token(LPAREN); + anyExprList(); + jj_consume_token(RPAREN); + } else { + ; + } +if (record && t != null) { + token_source.tables.add(SqlUtils.unescape(t.image)); } - } +} - private boolean jj_2_30(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_30()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public void databaseIdentifier(boolean record) throws ParseException {Token t; + t = anyIdentifier(); +if (record) token_source.database = SqlUtils.unescape(t.image); +} - private boolean jj_2_31(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_31()); - } catch (LookaheadSuccess ls) { - return true; + final public void settingExprList() throws ParseException { + settingExpr(); + label_29: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; } + default: + break label_29; + } + jj_consume_token(COMMA); + settingExpr(); } +} - private boolean jj_2_32(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_32()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public void settingExpr() throws ParseException { + identifier(); + jj_consume_token(EQ_SINGLE); + literal(); +} - private boolean jj_2_33(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_33()); - } catch (LookaheadSuccess ls) { - return true; - } - } +// basics + final public Token anyIdentifier() throws ParseException {Token t; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case BACK_QUOTED_NAME:{ + t = jj_consume_token(BACK_QUOTED_NAME); + break; + } + case DOUBLE_QUOTED_NAME:{ + t = jj_consume_token(DOUBLE_QUOTED_NAME); + break; + } + case AT:{ + t = variable(); + break; + } + case IDENTIFIER:{ + t = jj_consume_token(IDENTIFIER); + break; + } + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL:{ + t = anyKeyword(); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +{if ("" != null) return t;} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_34(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_34()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token identifier() throws ParseException {Token t; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case BACK_QUOTED_NAME:{ + t = jj_consume_token(BACK_QUOTED_NAME); + break; + } + case DOUBLE_QUOTED_NAME:{ + t = jj_consume_token(DOUBLE_QUOTED_NAME); + break; + } + case AT:{ + t = variable(); + break; + } + case IDENTIFIER:{ + t = jj_consume_token(IDENTIFIER); + break; + } + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FUNCTION: + case IF: + case INTERVAL: + case IS: + case LIVE: + case MATERIALIZED: + case POLICY: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case USER: + case VALUES: + case VIEW: + case WHEN: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL:{ + t = keyword(); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +{if ("" != null) return t;} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_35(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_35()); - } catch (LookaheadSuccess ls) { - return true; - } + final public void interval() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case SECOND:{ + jj_consume_token(SECOND); + break; + } + case MINUTE:{ + jj_consume_token(MINUTE); + break; + } + case HOUR:{ + jj_consume_token(HOUR); + break; + } + case DAY:{ + jj_consume_token(DAY); + break; + } + case WEEK:{ + jj_consume_token(WEEK); + break; + } + case MONTH:{ + jj_consume_token(MONTH); + break; + } + case QUARTER:{ + jj_consume_token(QUARTER); + break; + } + case YEAR:{ + jj_consume_token(YEAR); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } +} - private boolean jj_2_36(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_36()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token literal() throws ParseException {Token t; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DATE: + case TIMESTAMP:{ + t = dateLiteral(); + break; + } + case INF: + case NAN: + case DASH: + case PLUS: + case FLOATING_LITERAL: + case DECIMAL_LITERAL: + case HEXADECIMAL_LITERAL:{ + t = numberLiteral(); + break; + } + case STRING_LITERAL:{ + t = jj_consume_token(STRING_LITERAL); + break; + } + case NULL:{ + t = jj_consume_token(NULL); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +{if ("" != null) return t;} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_37(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_37()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token dateLiteral() throws ParseException {Token t; String prefix; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DATE:{ + t = jj_consume_token(DATE); + break; + } + case TIMESTAMP:{ + t = jj_consume_token(TIMESTAMP); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +prefix = t.image; + t = jj_consume_token(STRING_LITERAL); +{if ("" != null) return Token.newToken(0, prefix + " " + t.image);} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_38(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_38()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token numberLiteral() throws ParseException {Token t = null; StringBuilder sb = new StringBuilder(); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case DASH: + case PLUS:{ + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case PLUS:{ + t = jj_consume_token(PLUS); + break; + } + case DASH:{ + t = jj_consume_token(DASH); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + break; + } + default: + ; + } +if (t != null) sb.append(t.image); + if (jj_2_105(2)) { + t = jj_consume_token(DECIMAL_LITERAL); + } else { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case HEXADECIMAL_LITERAL:{ + t = jj_consume_token(HEXADECIMAL_LITERAL); + break; + } + case FLOATING_LITERAL:{ + t = jj_consume_token(FLOATING_LITERAL); + break; + } + case INF:{ + t = jj_consume_token(INF); + break; + } + case NAN:{ + t = jj_consume_token(NAN); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } + } +sb.append(t.image); +{if ("" != null) return Token.newToken(0, sb.toString());} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_39(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_39()); - } catch (LookaheadSuccess ls) { - return true; - } + final public void operator() throws ParseException { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ARROW:{ + jj_consume_token(ARROW); + break; + } + case ASTERISK:{ + jj_consume_token(ASTERISK); + break; + } + case CONCAT:{ + jj_consume_token(CONCAT); + break; + } + case DASH:{ + jj_consume_token(DASH); + break; + } + case EQ_DOUBLE:{ + jj_consume_token(EQ_DOUBLE); + break; + } + case EQ_SINGLE:{ + jj_consume_token(EQ_SINGLE); + break; + } + case GE:{ + jj_consume_token(GE); + break; + } + case GT:{ + jj_consume_token(GT); + break; + } + case LE:{ + jj_consume_token(LE); + break; + } + case LT:{ + jj_consume_token(LT); + break; + } + case NOT_EQ:{ + jj_consume_token(NOT_EQ); + break; + } + case PERCENT:{ + jj_consume_token(PERCENT); + break; + } + case PLUS:{ + jj_consume_token(PLUS); + break; + } + case SLASH:{ + jj_consume_token(SLASH); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); } +} - private boolean jj_2_40(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_40()); - } catch (LookaheadSuccess ls) { - return true; + final public void macro() throws ParseException {Token t; + String name; + List params = new ArrayList<>(); + jj_consume_token(HASH); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL:{ + t = anyKeyword(); + break; + } + case IDENTIFIER:{ + t = jj_consume_token(IDENTIFIER); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +name = t.image; + if (jj_2_106(2)) { + jj_consume_token(LPAREN); + t = jj_consume_token(STRING_LITERAL); +params.add(SqlUtils.unescape(t.image)); + label_30: + while (true) { + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case COMMA:{ + break; + } + default: + break label_30; } + jj_consume_token(COMMA); + t = jj_consume_token(STRING_LITERAL); +params.add(SqlUtils.unescape(t.image)); + } + jj_consume_token(RPAREN); + } else { + ; } +token_source.processMacro(name, params, handler); +} - private boolean jj_2_41(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_41()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token variable() throws ParseException {Token t; + jj_consume_token(AT); + jj_consume_token(AT); + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER: + case ATTACH: + case CHECK: + case CREATE: + case DELETE: + case DESC: + case DESCRIBE: + case DETACH: + case DROP: + case EXISTS: + case EXPLAIN: + case GRANT: + case INSERT: + case KILL: + case OPTIMIZE: + case RENAME: + case REVOKE: + case SELECT: + case SET: + case SHOW: + case SYSTEM: + case TRUNCATE: + case UPDATE: + case USE: + case WATCH: + case ALL: + case AND: + case APPLY: + case ARRAY: + case AS: + case ASOF: + case BETWEEN: + case CASE: + case DATE: + case DATABASE: + case DATABASES: + case DICTIONARY: + case DICTIONARIES: + case DISTINCT: + case ELSE: + case END: + case EXCEPT: + case FINAL: + case FROM: + case FULL: + case FUNCTION: + case GLOBAL: + case GROUP: + case HAVING: + case IF: + case ILIKE: + case IN: + case INNER: + case INTERVAL: + case INTO: + case IS: + case JOIN: + case LEFT: + case LIKE: + case LIMIT: + case LIVE: + case MATERIALIZED: + case NOT: + case OFFSET: + case ON: + case OR: + case ORDER: + case POLICY: + case PREWHERE: + case PROFILE: + case QUOTA: + case REPLACE: + case ROLE: + case ROW: + case RIGHT: + case SAMPLE: + case SETTINGS: + case TEMPORARY: + case TABLE: + case TABLES: + case THEN: + case TIES: + case TIMESTAMP: + case TOP: + case TOTALS: + case UNION: + case USER: + case USING: + case VALUES: + case VIEW: + case WHEN: + case WHERE: + case WITH: + case SECOND: + case MINUTE: + case HOUR: + case DAY: + case WEEK: + case MONTH: + case QUARTER: + case YEAR: + case INF: + case NAN: + case NULL:{ + t = anyKeyword(); + break; + } + case IDENTIFIER:{ + t = jj_consume_token(IDENTIFIER); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +{if ("" != null) return Token.newToken(0, "@@" + t.image);} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_42(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_42()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token anyKeyword() throws ParseException {Token t; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER:{ + // leading keywords(except with) + t = jj_consume_token(ALTER); + break; + } + case ATTACH:{ + t = jj_consume_token(ATTACH); + break; + } + case CHECK:{ + t = jj_consume_token(CHECK); + break; + } + case CREATE:{ + t = jj_consume_token(CREATE); + break; + } + case DELETE:{ + t = jj_consume_token(DELETE); + break; + } + case DESC:{ + t = jj_consume_token(DESC); + break; + } + case DESCRIBE:{ + t = jj_consume_token(DESCRIBE); + break; + } + case DETACH:{ + t = jj_consume_token(DETACH); + break; + } + case DROP:{ + t = jj_consume_token(DROP); + break; + } + case EXISTS:{ + t = jj_consume_token(EXISTS); + break; + } + case EXPLAIN:{ + t = jj_consume_token(EXPLAIN); + break; + } + case GRANT:{ + t = jj_consume_token(GRANT); + break; + } + case INSERT:{ + t = jj_consume_token(INSERT); + break; + } + case KILL:{ + t = jj_consume_token(KILL); + break; + } + case OPTIMIZE:{ + t = jj_consume_token(OPTIMIZE); + break; + } + case RENAME:{ + t = jj_consume_token(RENAME); + break; + } + case REVOKE:{ + t = jj_consume_token(REVOKE); + break; + } + case SELECT:{ + t = jj_consume_token(SELECT); + break; + } + case SET:{ + t = jj_consume_token(SET); + break; + } + case SHOW:{ + t = jj_consume_token(SHOW); + break; + } + case SYSTEM:{ + t = jj_consume_token(SYSTEM); + break; + } + case TRUNCATE:{ + t = jj_consume_token(TRUNCATE); + break; + } + case UPDATE:{ + t = jj_consume_token(UPDATE); + break; + } + case USE:{ + t = jj_consume_token(USE); + break; + } + case WATCH:{ + t = jj_consume_token(WATCH); + break; + } + case ALL:{ + t = jj_consume_token(ALL); + break; + } + case AND:{ + t = jj_consume_token(AND); + break; + } + case APPLY:{ + t = jj_consume_token(APPLY); + break; + } + case ARRAY:{ + t = jj_consume_token(ARRAY); + break; + } + case AS:{ + t = jj_consume_token(AS); + break; + } + case ASOF:{ + t = jj_consume_token(ASOF); + break; + } + case BETWEEN:{ + t = jj_consume_token(BETWEEN); + break; + } + case CASE:{ + t = jj_consume_token(CASE); + break; + } + case DATE:{ + t = jj_consume_token(DATE); + break; + } + case DATABASE:{ + t = jj_consume_token(DATABASE); + break; + } + case DATABASES:{ + t = jj_consume_token(DATABASES); + break; + } + case DICTIONARY:{ + t = jj_consume_token(DICTIONARY); + break; + } + case DICTIONARIES:{ + t = jj_consume_token(DICTIONARIES); + break; + } + case DISTINCT:{ + t = jj_consume_token(DISTINCT); + break; + } + case ELSE:{ + t = jj_consume_token(ELSE); + break; + } + case END:{ + t = jj_consume_token(END); + break; + } + case EXCEPT:{ + t = jj_consume_token(EXCEPT); + break; + } + case FROM:{ + t = jj_consume_token(FROM); + break; + } + case FINAL:{ + t = jj_consume_token(FINAL); + break; + } + case FULL:{ + t = jj_consume_token(FULL); + break; + } + case FUNCTION:{ + t = jj_consume_token(FUNCTION); + break; + } + case GLOBAL:{ + t = jj_consume_token(GLOBAL); + break; + } + case GROUP:{ + t = jj_consume_token(GROUP); + break; + } + case HAVING:{ + t = jj_consume_token(HAVING); + break; + } + case IF:{ + t = jj_consume_token(IF); + break; + } + case ILIKE:{ + t = jj_consume_token(ILIKE); + break; + } + case IN:{ + t = jj_consume_token(IN); + break; + } + case INNER:{ + t = jj_consume_token(INNER); + break; + } + case INTERVAL:{ + t = jj_consume_token(INTERVAL); + break; + } + case INTO:{ + t = jj_consume_token(INTO); + break; + } + case IS:{ + t = jj_consume_token(IS); + break; + } + case JOIN:{ + t = jj_consume_token(JOIN); + break; + } + case LEFT:{ + t = jj_consume_token(LEFT); + break; + } + case LIKE:{ + t = jj_consume_token(LIKE); + break; + } + case LIMIT:{ + t = jj_consume_token(LIMIT); + break; + } + case LIVE:{ + t = jj_consume_token(LIVE); + break; + } + case MATERIALIZED:{ + t = jj_consume_token(MATERIALIZED); + break; + } + case NOT:{ + t = jj_consume_token(NOT); + break; + } + case OFFSET:{ + t = jj_consume_token(OFFSET); + break; + } + case ON:{ + t = jj_consume_token(ON); + break; + } + case OR:{ + t = jj_consume_token(OR); + break; + } + case ORDER:{ + t = jj_consume_token(ORDER); + break; + } + case POLICY:{ + t = jj_consume_token(POLICY); + break; + } + case PREWHERE:{ + t = jj_consume_token(PREWHERE); + break; + } + case PROFILE:{ + t = jj_consume_token(PROFILE); + break; + } + case QUOTA:{ + t = jj_consume_token(QUOTA); + break; + } + case REPLACE:{ + t = jj_consume_token(REPLACE); + break; + } + case RIGHT:{ + t = jj_consume_token(RIGHT); + break; + } + case ROLE:{ + t = jj_consume_token(ROLE); + break; + } + case ROW:{ + t = jj_consume_token(ROW); + break; + } + case SAMPLE:{ + t = jj_consume_token(SAMPLE); + break; + } + case SETTINGS:{ + t = jj_consume_token(SETTINGS); + break; + } + case TEMPORARY:{ + t = jj_consume_token(TEMPORARY); + break; + } + case TABLE:{ + t = jj_consume_token(TABLE); + break; + } + case TABLES:{ + t = jj_consume_token(TABLES); + break; + } + case THEN:{ + t = jj_consume_token(THEN); + break; + } + case TIES:{ + t = jj_consume_token(TIES); + break; + } + case TIMESTAMP:{ + t = jj_consume_token(TIMESTAMP); + break; + } + case TOP:{ + t = jj_consume_token(TOP); + break; + } + case TOTALS:{ + t = jj_consume_token(TOTALS); + break; + } + case VALUES:{ + t = jj_consume_token(VALUES); + break; + } + case VIEW:{ + t = jj_consume_token(VIEW); + break; + } + case USER:{ + t = jj_consume_token(USER); + break; + } + case UNION:{ + t = jj_consume_token(UNION); + break; + } + case USING:{ + t = jj_consume_token(USING); + break; + } + case WHEN:{ + t = jj_consume_token(WHEN); + break; + } + case WHERE:{ + t = jj_consume_token(WHERE); + break; + } + case WITH:{ + t = jj_consume_token(WITH); + break; + } + case SECOND:{ + t = jj_consume_token(SECOND); + break; + } + case MINUTE:{ + t = jj_consume_token(MINUTE); + break; + } + case HOUR:{ + t = jj_consume_token(HOUR); + break; + } + case DAY:{ + t = jj_consume_token(DAY); + break; + } + case WEEK:{ + t = jj_consume_token(WEEK); + break; + } + case MONTH:{ + t = jj_consume_token(MONTH); + break; + } + case QUARTER:{ + t = jj_consume_token(QUARTER); + break; + } + case YEAR:{ + t = jj_consume_token(YEAR); + break; + } + case INF:{ + t = jj_consume_token(INF); + break; + } + case NAN:{ + t = jj_consume_token(NAN); + break; + } + case NULL:{ + t = jj_consume_token(NULL); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +{if ("" != null) return t;} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_43(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_43()); - } catch (LookaheadSuccess ls) { - return true; - } - } + final public Token keyword() throws ParseException {Token t; + switch (jj_ntk == -1 ? jj_ntk_f() : jj_ntk) { + case ALTER:{ + // leading keywords(except with) + t = jj_consume_token(ALTER); + break; + } + case ATTACH:{ + t = jj_consume_token(ATTACH); + break; + } + case CHECK:{ + t = jj_consume_token(CHECK); + break; + } + case CREATE:{ + t = jj_consume_token(CREATE); + break; + } + case DELETE:{ + t = jj_consume_token(DELETE); + break; + } + case DESC:{ + t = jj_consume_token(DESC); + break; + } + case DESCRIBE:{ + t = jj_consume_token(DESCRIBE); + break; + } + case DETACH:{ + t = jj_consume_token(DETACH); + break; + } + case DROP:{ + t = jj_consume_token(DROP); + break; + } + case EXISTS:{ + t = jj_consume_token(EXISTS); + break; + } + case EXPLAIN:{ + t = jj_consume_token(EXPLAIN); + break; + } + case GRANT:{ + t = jj_consume_token(GRANT); + break; + } + case INSERT:{ + t = jj_consume_token(INSERT); + break; + } + case KILL:{ + t = jj_consume_token(KILL); + break; + } + case OPTIMIZE:{ + t = jj_consume_token(OPTIMIZE); + break; + } + case RENAME:{ + t = jj_consume_token(RENAME); + break; + } + case REVOKE:{ + t = jj_consume_token(REVOKE); + break; + } + case SELECT:{ + t = jj_consume_token(SELECT); + break; + } + case SET:{ + t = jj_consume_token(SET); + break; + } + case SHOW:{ + t = jj_consume_token(SHOW); + break; + } + case SYSTEM:{ + t = jj_consume_token(SYSTEM); + break; + } + case TRUNCATE:{ + t = jj_consume_token(TRUNCATE); + break; + } + case UPDATE:{ + t = jj_consume_token(UPDATE); + break; + } + case USE:{ + t = jj_consume_token(USE); + break; + } + case WATCH:{ + t = jj_consume_token(WATCH); + break; + } + case CASE:{ + t = jj_consume_token(CASE); + break; + } + case DATE:{ + t = jj_consume_token(DATE); + break; + } + case DATABASE:{ + t = jj_consume_token(DATABASE); + break; + } + case DATABASES:{ + t = jj_consume_token(DATABASES); + break; + } + case DICTIONARY:{ + t = jj_consume_token(DICTIONARY); + break; + } + case DICTIONARIES:{ + t = jj_consume_token(DICTIONARIES); + break; + } + case DISTINCT:{ + t = jj_consume_token(DISTINCT); + break; + } + case ELSE:{ + t = jj_consume_token(ELSE); + break; + } + case END:{ + t = jj_consume_token(END); + break; + } + case EXCEPT:{ + t = jj_consume_token(EXCEPT); + break; + } + case FUNCTION:{ + t = jj_consume_token(FUNCTION); + break; + } + case IF:{ + t = jj_consume_token(IF); + break; + } + case INTERVAL:{ + t = jj_consume_token(INTERVAL); + break; + } + case IS:{ + t = jj_consume_token(IS); + break; + } + case LIVE:{ + t = jj_consume_token(LIVE); + break; + } + case MATERIALIZED:{ + t = jj_consume_token(MATERIALIZED); + break; + } + case POLICY:{ + t = jj_consume_token(POLICY); + break; + } + case PROFILE:{ + t = jj_consume_token(PROFILE); + break; + } + case QUOTA:{ + t = jj_consume_token(QUOTA); + break; + } + case REPLACE:{ + t = jj_consume_token(REPLACE); + break; + } + case ROLE:{ + t = jj_consume_token(ROLE); + break; + } + case ROW:{ + t = jj_consume_token(ROW); + break; + } + case TEMPORARY:{ + t = jj_consume_token(TEMPORARY); + break; + } + case TABLE:{ + t = jj_consume_token(TABLE); + break; + } + case TABLES:{ + t = jj_consume_token(TABLES); + break; + } + case THEN:{ + t = jj_consume_token(THEN); + break; + } + case TIES:{ + t = jj_consume_token(TIES); + break; + } + case TIMESTAMP:{ + t = jj_consume_token(TIMESTAMP); + break; + } + case TOP:{ + t = jj_consume_token(TOP); + break; + } + case TOTALS:{ + t = jj_consume_token(TOTALS); + break; + } + case VALUES:{ + t = jj_consume_token(VALUES); + break; + } + case VIEW:{ + t = jj_consume_token(VIEW); + break; + } + case WHEN:{ + t = jj_consume_token(WHEN); + break; + } + case USER:{ + t = jj_consume_token(USER); + break; + } + case SECOND:{ + t = jj_consume_token(SECOND); + break; + } + case MINUTE:{ + t = jj_consume_token(MINUTE); + break; + } + case HOUR:{ + t = jj_consume_token(HOUR); + break; + } + case DAY:{ + t = jj_consume_token(DAY); + break; + } + case WEEK:{ + t = jj_consume_token(WEEK); + break; + } + case MONTH:{ + t = jj_consume_token(MONTH); + break; + } + case QUARTER:{ + t = jj_consume_token(QUARTER); + break; + } + case YEAR:{ + t = jj_consume_token(YEAR); + break; + } + case INF:{ + t = jj_consume_token(INF); + break; + } + case NAN:{ + t = jj_consume_token(NAN); + break; + } + case NULL:{ + t = jj_consume_token(NULL); + break; + } + default: + jj_consume_token(-1); + throw new ParseException(); + } +{if ("" != null) return t;} + throw new IllegalStateException ("Missing return statement in function"); +} - private boolean jj_2_44(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_44()); - } catch (LookaheadSuccess ls) { - return true; - } + private boolean jj_2_1(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_1()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_2(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_2()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_3(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_3()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_4(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_4()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_5(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_5()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_6(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_6()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_7(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_7()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_8(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_8()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_9(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_9()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_10(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_10()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_11(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_11()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_12(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_12()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_13(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_13()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_14(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_14()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_15(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_15()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_16(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_16()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_17(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_17()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_18(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_18()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_19(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_19()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_20(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_20()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_21(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_21()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_22(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_22()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_23(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_23()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_24(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_24()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_25(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_25()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_26(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_26()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_27(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_27()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_28(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_28()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_29(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_29()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_30(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_30()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_31(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_31()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_32(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_32()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_33(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_33()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_34(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_34()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_35(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_35()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_36(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_36()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_37(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_37()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_38(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_38()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_39(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_39()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_40(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_40()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_41(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_41()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_42(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_42()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_43(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_43()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_44(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_44()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_45(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_45()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_46(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_46()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_47(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_47()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_48(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_48()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_49(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_49()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_50(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_50()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_51(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_51()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_52(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_52()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_53(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_53()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_54(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_54()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_55(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_55()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_56(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_56()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_57(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_57()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_58(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_58()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_59(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_59()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_60(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_60()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_61(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_61()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_62(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_62()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_63(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_63()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_64(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_64()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_65(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_65()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_66(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_66()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_67(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_67()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_68(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_68()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_69(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_69()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_70(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_70()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_71(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_71()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_72(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_72()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_73(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_73()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_74(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_74()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_75(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_75()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_76(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_76()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_77(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_77()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_78(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_78()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_79(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_79()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_80(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_80()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_81(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_81()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_82(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_82()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_83(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_83()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_84(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_84()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_85(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_85()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_86(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_86()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_87(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_87()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_88(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_88()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_89(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_89()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_90(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_90()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_91(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_91()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_92(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_92()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_93(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_93()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_94(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_94()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_95(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_95()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_96(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_96()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_97(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_97()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_98(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_98()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_99(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_99()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_100(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_100()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_101(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_101()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_102(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_102()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_103(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_103()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_104(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_104()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_105(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_105()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_2_106(int xla) + { + jj_la = xla; + jj_scanpos = token; + jj_lastpos = token; + try { return (!jj_3_106()); } + catch(LookaheadSuccess ls) { return true; } + } + + private boolean jj_3R_95() + { + if (jj_scan_token(LBRACKET)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_97()) jj_scanpos = xsp; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3R_96() + { + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_98()) jj_scanpos = xsp; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3R_97() + { + Token xsp; + if (jj_3_99()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_99()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_99() + { + if (jj_3R_54()) return true; + return false; + } + + private boolean jj_3_100() + { + if (jj_3R_55()) return true; + return false; + } + + private boolean jj_3R_98() + { + if (jj_3R_115()) return true; + return false; + } + + private boolean jj_3_90() + { + if (jj_3R_57()) return true; + return false; + } + + private boolean jj_3R_38() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_101()) { + jj_scanpos = xsp; + if (jj_3R_76()) return true; + } + return false; + } + + private boolean jj_3_96() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_98() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_97() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_101() + { + if (jj_scan_token(AS)) return true; + if (jj_3R_49()) return true; + return false; + } + + private boolean jj_3R_60() + { + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3R_76() + { + if (jj_3R_109()) return true; + return false; + } + + private boolean jj_3R_115() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(142)) { + jj_scanpos = xsp; + if (jj_3R_120()) return true; + } + while (true) { + xsp = jj_scanpos; + if (jj_3_102()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_37() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_103()) jj_scanpos = xsp; + if (jj_3R_49()) return true; + xsp = jj_scanpos; + if (jj_3_104()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3_103() + { + if (jj_3R_64()) return true; + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3_104() + { + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_120() + { + if (jj_3R_49()) return true; + return false; + } + + private boolean jj_3R_64() + { + if (jj_3R_49()) return true; + return false; + } + + private boolean jj_3R_92() + { + if (jj_3R_110()) return true; + return false; + } + + private boolean jj_3R_49() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(176)) { + jj_scanpos = xsp; + if (jj_scan_token(177)) { + jj_scanpos = xsp; + if (jj_3R_86()) { + jj_scanpos = xsp; + if (jj_scan_token(175)) { + jj_scanpos = xsp; + if (jj_3R_87()) return true; + } + } + } + } + return false; + } + + private boolean jj_3_102() + { + if (jj_scan_token(DOT)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(142)) { + jj_scanpos = xsp; + if (jj_3R_63()) return true; + } + return false; + } + + private boolean jj_3R_86() + { + if (jj_3R_111()) return true; + return false; + } + + private boolean jj_3R_87() + { + if (jj_3R_112()) return true; + return false; + } + + private boolean jj_3R_109() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(176)) { + jj_scanpos = xsp; + if (jj_scan_token(177)) { + jj_scanpos = xsp; + if (jj_3R_118()) { + jj_scanpos = xsp; + if (jj_scan_token(175)) { + jj_scanpos = xsp; + if (jj_3R_119()) return true; + } + } + } + } + return false; + } + + private boolean jj_3R_118() + { + if (jj_3R_111()) return true; + return false; + } + + private boolean jj_3R_119() + { + if (jj_3R_122()) return true; + return false; + } + + private boolean jj_3R_55() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_90()) { + jj_scanpos = xsp; + if (jj_3R_91()) { + jj_scanpos = xsp; + if (jj_scan_token(174)) { + jj_scanpos = xsp; + if (jj_scan_token(110)) return true; + } + } + } + return false; + } + + private boolean jj_3R_90() + { + if (jj_3R_114()) return true; + return false; + } + + private boolean jj_3R_91() + { + if (jj_3R_39()) return true; + return false; + } + + private boolean jj_3R_63() + { + if (jj_3R_49()) return true; + return false; + } + + private boolean jj_3R_114() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(40)) { + jj_scanpos = xsp; + if (jj_scan_token(89)) return true; + } + if (jj_scan_token(STRING_LITERAL)) return true; + return false; + } + + private boolean jj_3R_39() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_77()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3_105()) { + jj_scanpos = xsp; + if (jj_scan_token(180)) { + jj_scanpos = xsp; + if (jj_scan_token(178)) { + jj_scanpos = xsp; + if (jj_scan_token(108)) { + jj_scanpos = xsp; + if (jj_scan_token(109)) return true; + } + } + } + } + return false; + } + + private boolean jj_3R_77() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(164)) { + jj_scanpos = xsp; + if (jj_scan_token(149)) return true; + } + return false; + } + + private boolean jj_3_105() + { + if (jj_scan_token(DECIMAL_LITERAL)) return true; + return false; + } + + private boolean jj_3R_110() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(141)) { + jj_scanpos = xsp; + if (jj_scan_token(142)) { + jj_scanpos = xsp; + if (jj_scan_token(148)) { + jj_scanpos = xsp; + if (jj_scan_token(149)) { + jj_scanpos = xsp; + if (jj_scan_token(152)) { + jj_scanpos = xsp; + if (jj_scan_token(153)) { + jj_scanpos = xsp; + if (jj_scan_token(154)) { + jj_scanpos = xsp; + if (jj_scan_token(155)) { + jj_scanpos = xsp; + if (jj_scan_token(159)) { + jj_scanpos = xsp; + if (jj_scan_token(161)) { + jj_scanpos = xsp; + if (jj_scan_token(162)) { + jj_scanpos = xsp; + if (jj_scan_token(163)) { + jj_scanpos = xsp; + if (jj_scan_token(164)) { + jj_scanpos = xsp; + if (jj_scan_token(172)) return true; + } + } + } + } + } + } + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_54() + { + if (jj_scan_token(HASH)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_89()) { + jj_scanpos = xsp; + if (jj_scan_token(175)) return true; + } + return false; + } + + private boolean jj_3R_89() + { + if (jj_3R_112()) return true; + return false; + } + + private boolean jj_3_106() + { + if (jj_scan_token(LPAREN)) return true; + if (jj_scan_token(STRING_LITERAL)) return true; + return false; + } + + private boolean jj_3R_111() + { + if (jj_scan_token(AT)) return true; + if (jj_scan_token(AT)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_124()) { + jj_scanpos = xsp; + if (jj_scan_token(175)) return true; + } + return false; + } + + private boolean jj_3R_112() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(7)) { + jj_scanpos = xsp; + if (jj_scan_token(8)) { + jj_scanpos = xsp; + if (jj_scan_token(9)) { + jj_scanpos = xsp; + if (jj_scan_token(10)) { + jj_scanpos = xsp; + if (jj_scan_token(11)) { + jj_scanpos = xsp; + if (jj_scan_token(12)) { + jj_scanpos = xsp; + if (jj_scan_token(13)) { + jj_scanpos = xsp; + if (jj_scan_token(14)) { + jj_scanpos = xsp; + if (jj_scan_token(15)) { + jj_scanpos = xsp; + if (jj_scan_token(16)) { + jj_scanpos = xsp; + if (jj_scan_token(17)) { + jj_scanpos = xsp; + if (jj_scan_token(18)) { + jj_scanpos = xsp; + if (jj_scan_token(19)) { + jj_scanpos = xsp; + if (jj_scan_token(20)) { + jj_scanpos = xsp; + if (jj_scan_token(21)) { + jj_scanpos = xsp; + if (jj_scan_token(22)) { + jj_scanpos = xsp; + if (jj_scan_token(23)) { + jj_scanpos = xsp; + if (jj_scan_token(24)) { + jj_scanpos = xsp; + if (jj_scan_token(25)) { + jj_scanpos = xsp; + if (jj_scan_token(26)) { + jj_scanpos = xsp; + if (jj_scan_token(27)) { + jj_scanpos = xsp; + if (jj_scan_token(28)) { + jj_scanpos = xsp; + if (jj_scan_token(29)) { + jj_scanpos = xsp; + if (jj_scan_token(30)) { + jj_scanpos = xsp; + if (jj_scan_token(31)) { + jj_scanpos = xsp; + if (jj_scan_token(32)) { + jj_scanpos = xsp; + if (jj_scan_token(33)) { + jj_scanpos = xsp; + if (jj_scan_token(34)) { + jj_scanpos = xsp; + if (jj_scan_token(35)) { + jj_scanpos = xsp; + if (jj_scan_token(36)) { + jj_scanpos = xsp; + if (jj_scan_token(37)) { + jj_scanpos = xsp; + if (jj_scan_token(38)) { + jj_scanpos = xsp; + if (jj_scan_token(39)) { + jj_scanpos = xsp; + if (jj_scan_token(40)) { + jj_scanpos = xsp; + if (jj_scan_token(41)) { + jj_scanpos = xsp; + if (jj_scan_token(42)) { + jj_scanpos = xsp; + if (jj_scan_token(43)) { + jj_scanpos = xsp; + if (jj_scan_token(44)) { + jj_scanpos = xsp; + if (jj_scan_token(45)) { + jj_scanpos = xsp; + if (jj_scan_token(46)) { + jj_scanpos = xsp; + if (jj_scan_token(47)) { + jj_scanpos = xsp; + if (jj_scan_token(48)) { + jj_scanpos = xsp; + if (jj_scan_token(50)) { + jj_scanpos = xsp; + if (jj_scan_token(49)) { + jj_scanpos = xsp; + if (jj_scan_token(51)) { + jj_scanpos = xsp; + if (jj_scan_token(52)) { + jj_scanpos = xsp; + if (jj_scan_token(53)) { + jj_scanpos = xsp; + if (jj_scan_token(54)) { + jj_scanpos = xsp; + if (jj_scan_token(55)) { + jj_scanpos = xsp; + if (jj_scan_token(56)) { + jj_scanpos = xsp; + if (jj_scan_token(57)) { + jj_scanpos = xsp; + if (jj_scan_token(58)) { + jj_scanpos = xsp; + if (jj_scan_token(59)) { + jj_scanpos = xsp; + if (jj_scan_token(60)) { + jj_scanpos = xsp; + if (jj_scan_token(61)) { + jj_scanpos = xsp; + if (jj_scan_token(62)) { + jj_scanpos = xsp; + if (jj_scan_token(63)) { + jj_scanpos = xsp; + if (jj_scan_token(64)) { + jj_scanpos = xsp; + if (jj_scan_token(65)) { + jj_scanpos = xsp; + if (jj_scan_token(66)) { + jj_scanpos = xsp; + if (jj_scan_token(67)) { + jj_scanpos = xsp; + if (jj_scan_token(68)) { + jj_scanpos = xsp; + if (jj_scan_token(69)) { + jj_scanpos = xsp; + if (jj_scan_token(70)) { + jj_scanpos = xsp; + if (jj_scan_token(71)) { + jj_scanpos = xsp; + if (jj_scan_token(72)) { + jj_scanpos = xsp; + if (jj_scan_token(73)) { + jj_scanpos = xsp; + if (jj_scan_token(74)) { + jj_scanpos = xsp; + if (jj_scan_token(75)) { + jj_scanpos = xsp; + if (jj_scan_token(76)) { + jj_scanpos = xsp; + if (jj_scan_token(77)) { + jj_scanpos = xsp; + if (jj_scan_token(78)) { + jj_scanpos = xsp; + if (jj_scan_token(81)) { + jj_scanpos = xsp; + if (jj_scan_token(79)) { + jj_scanpos = xsp; + if (jj_scan_token(80)) { + jj_scanpos = xsp; + if (jj_scan_token(82)) { + jj_scanpos = xsp; + if (jj_scan_token(83)) { + jj_scanpos = xsp; + if (jj_scan_token(84)) { + jj_scanpos = xsp; + if (jj_scan_token(85)) { + jj_scanpos = xsp; + if (jj_scan_token(86)) { + jj_scanpos = xsp; + if (jj_scan_token(87)) { + jj_scanpos = xsp; + if (jj_scan_token(88)) { + jj_scanpos = xsp; + if (jj_scan_token(89)) { + jj_scanpos = xsp; + if (jj_scan_token(90)) { + jj_scanpos = xsp; + if (jj_scan_token(91)) { + jj_scanpos = xsp; + if (jj_scan_token(95)) { + jj_scanpos = xsp; + if (jj_scan_token(96)) { + jj_scanpos = xsp; + if (jj_scan_token(93)) { + jj_scanpos = xsp; + if (jj_scan_token(92)) { + jj_scanpos = xsp; + if (jj_scan_token(94)) { + jj_scanpos = xsp; + if (jj_scan_token(97)) { + jj_scanpos = xsp; + if (jj_scan_token(98)) { + jj_scanpos = xsp; + if (jj_scan_token(99)) { + jj_scanpos = xsp; + if (jj_scan_token(100)) { + jj_scanpos = xsp; + if (jj_scan_token(101)) { + jj_scanpos = xsp; + if (jj_scan_token(102)) { + jj_scanpos = xsp; + if (jj_scan_token(103)) { + jj_scanpos = xsp; + if (jj_scan_token(104)) { + jj_scanpos = xsp; + if (jj_scan_token(105)) { + jj_scanpos = xsp; + if (jj_scan_token(106)) { + jj_scanpos = xsp; + if (jj_scan_token(107)) { + jj_scanpos = xsp; + if (jj_scan_token(108)) { + jj_scanpos = xsp; + if (jj_scan_token(109)) { + jj_scanpos = xsp; + if (jj_scan_token(110)) return true; + } + } + } } - - private boolean jj_2_45(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_45()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_46(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_46()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_47(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_47()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_48(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_48()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_49(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_49()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_50(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_50()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_51(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_51()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_52(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_52()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_53(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_53()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_54(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_54()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_55(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_55()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_56(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_56()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_57(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_57()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_58(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_58()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_59(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_59()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_60(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_60()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_61(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_61()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_62(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_62()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_63(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_63()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_64(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_64()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_65(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_65()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_66(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_66()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_67(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_67()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_68(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_68()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_69(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_69()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_70(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_70()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_71(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_71()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_72(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_72()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_73(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_73()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_74(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_74()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_75(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_75()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_76(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_76()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_77(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_77()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_78(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_78()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_79(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_79()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_80(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_80()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_81(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_81()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_82(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_82()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_83(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_83()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_84(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_84()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_85(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_85()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_86(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_86()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_87(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_87()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_88(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_88()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_89(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_89()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_90(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_90()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_91(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_91()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_92(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_92()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_93(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_93()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_94(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_94()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_95(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_95()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_96(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_96()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_97(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_97()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_98(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_98()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_99(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_99()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_100(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_100()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_101(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_101()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_102(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_102()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_103(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_103()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_104(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_104()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_105(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_105()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_2_106(int xla) { - jj_la = xla; - jj_scanpos = token; - jj_lastpos = token; - try { - return (!jj_3_106()); - } catch (LookaheadSuccess ls) { - return true; - } } - - private boolean jj_3R_95() { - if (jj_scan_token(LBRACKET)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_97()) - jj_scanpos = xsp; - if (jj_scan_token(RBRACKET)) - return true; - return false; - } - - private boolean jj_3R_96() { - if (jj_scan_token(LPAREN)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_98()) - jj_scanpos = xsp; - if (jj_scan_token(RPAREN)) - return true; - return false; - } - - private boolean jj_3R_97() { - Token xsp; - if (jj_3_99()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_99()) { - jj_scanpos = xsp; - break; - } - } - return false; } - - private boolean jj_3_99() { - if (jj_3R_54()) - return true; - return false; } - - private boolean jj_3_100() { - if (jj_3R_55()) - return true; - return false; } - - private boolean jj_3R_98() { - if (jj_3R_115()) - return true; - return false; } - - private boolean jj_3_90() { - if (jj_3R_57()) - return true; - return false; } - - private boolean jj_3R_38() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_101()) { - jj_scanpos = xsp; - if (jj_3R_76()) - return true; - } - return false; } - - private boolean jj_3_96() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_98() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_97() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_101() { - if (jj_scan_token(AS)) - return true; - if (jj_3R_49()) - return true; - return false; } - - private boolean jj_3R_60() { - if (jj_scan_token(DOT)) - return true; - return false; } - - private boolean jj_3R_76() { - if (jj_3R_109()) - return true; - return false; } - - private boolean jj_3R_115() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(142)) { - jj_scanpos = xsp; - if (jj_3R_120()) - return true; - } - while (true) { - xsp = jj_scanpos; - if (jj_3_102()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3R_37() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_103()) - jj_scanpos = xsp; - if (jj_3R_49()) - return true; - xsp = jj_scanpos; - if (jj_3_104()) - jj_scanpos = xsp; - return false; - } - - private boolean jj_3_103() { - if (jj_3R_64()) - return true; - if (jj_scan_token(DOT)) - return true; - return false; - } - - private boolean jj_3_104() { - if (jj_scan_token(LPAREN)) - return true; - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3R_120() { - if (jj_3R_49()) - return true; - return false; - } - - private boolean jj_3R_64() { - if (jj_3R_49()) - return true; - return false; - } - - private boolean jj_3R_92() { - if (jj_3R_110()) - return true; - return false; - } - - private boolean jj_3R_49() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(176)) { - jj_scanpos = xsp; - if (jj_scan_token(177)) { - jj_scanpos = xsp; - if (jj_3R_86()) { - jj_scanpos = xsp; - if (jj_scan_token(175)) { - jj_scanpos = xsp; - if (jj_3R_87()) - return true; - } - } - } - } - return false; - } - - private boolean jj_3_102() { - if (jj_scan_token(DOT)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(142)) { - jj_scanpos = xsp; - if (jj_3R_63()) - return true; - } - return false; - } - - private boolean jj_3R_86() { - if (jj_3R_111()) - return true; - return false; - } - - private boolean jj_3R_87() { - if (jj_3R_112()) - return true; - return false; - } - - private boolean jj_3R_109() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(176)) { - jj_scanpos = xsp; - if (jj_scan_token(177)) { - jj_scanpos = xsp; - if (jj_3R_118()) { - jj_scanpos = xsp; - if (jj_scan_token(175)) { - jj_scanpos = xsp; - if (jj_3R_119()) - return true; - } - } - } - } - return false; } - - private boolean jj_3R_118() { - if (jj_3R_111()) - return true; - return false; } - - private boolean jj_3R_119() { - if (jj_3R_122()) - return true; - return false; } - - private boolean jj_3R_55() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_90()) { - jj_scanpos = xsp; - if (jj_3R_91()) { - jj_scanpos = xsp; - if (jj_scan_token(174)) { - jj_scanpos = xsp; - if (jj_scan_token(110)) - return true; - } - } - } - return false; } - - private boolean jj_3R_90() { - if (jj_3R_114()) - return true; - return false; } - - private boolean jj_3R_91() { - if (jj_3R_39()) - return true; - return false; } - - private boolean jj_3R_63() { - if (jj_3R_49()) - return true; - return false; } - - private boolean jj_3R_114() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(40)) { - jj_scanpos = xsp; - if (jj_scan_token(89)) - return true; - } - if (jj_scan_token(STRING_LITERAL)) - return true; - return false; - } - - private boolean jj_3R_39() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_77()) - jj_scanpos = xsp; - xsp = jj_scanpos; - if (jj_3_105()) { - jj_scanpos = xsp; - if (jj_scan_token(180)) { - jj_scanpos = xsp; - if (jj_scan_token(178)) { - jj_scanpos = xsp; - if (jj_scan_token(108)) { - jj_scanpos = xsp; - if (jj_scan_token(109)) - return true; - } - } - } - } - return false; } - - private boolean jj_3R_77() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(164)) { - jj_scanpos = xsp; - if (jj_scan_token(149)) - return true; - } - return false; - } - - private boolean jj_3_105() { - if (jj_scan_token(DECIMAL_LITERAL)) - return true; - return false; - } - - private boolean jj_3R_110() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(141)) { - jj_scanpos = xsp; - if (jj_scan_token(142)) { - jj_scanpos = xsp; - if (jj_scan_token(148)) { - jj_scanpos = xsp; - if (jj_scan_token(149)) { - jj_scanpos = xsp; - if (jj_scan_token(152)) { - jj_scanpos = xsp; - if (jj_scan_token(153)) { - jj_scanpos = xsp; - if (jj_scan_token(154)) { - jj_scanpos = xsp; - if (jj_scan_token(155)) { - jj_scanpos = xsp; - if (jj_scan_token(159)) { - jj_scanpos = xsp; - if (jj_scan_token(161)) { - jj_scanpos = xsp; - if (jj_scan_token(162)) { - jj_scanpos = xsp; - if (jj_scan_token(163)) { - jj_scanpos = xsp; - if (jj_scan_token(164)) { - jj_scanpos = xsp; - if (jj_scan_token(172)) - return true; - } - } - } - } - } - } - } - } - } - } - } - } - } - return false; - } - - private boolean jj_3R_54() { - if (jj_scan_token(HASH)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_89()) { - jj_scanpos = xsp; - if (jj_scan_token(175)) - return true; - } - return false; - } - - private boolean jj_3R_89() { - if (jj_3R_112()) - return true; - return false; - } - - private boolean jj_3_106() { - if (jj_scan_token(LPAREN)) - return true; - if (jj_scan_token(STRING_LITERAL)) - return true; - return false; - } - - private boolean jj_3R_111() { - if (jj_scan_token(AT)) - return true; - if (jj_scan_token(AT)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_124()) { - jj_scanpos = xsp; - if (jj_scan_token(175)) - return true; - } - return false; - } - - private boolean jj_3R_112() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(7)) { - jj_scanpos = xsp; - if (jj_scan_token(8)) { - jj_scanpos = xsp; - if (jj_scan_token(9)) { - jj_scanpos = xsp; - if (jj_scan_token(10)) { - jj_scanpos = xsp; - if (jj_scan_token(11)) { - jj_scanpos = xsp; - if (jj_scan_token(12)) { - jj_scanpos = xsp; - if (jj_scan_token(13)) { - jj_scanpos = xsp; - if (jj_scan_token(14)) { - jj_scanpos = xsp; - if (jj_scan_token(15)) { - jj_scanpos = xsp; - if (jj_scan_token(16)) { - jj_scanpos = xsp; - if (jj_scan_token(17)) { - jj_scanpos = xsp; - if (jj_scan_token(18)) { - jj_scanpos = xsp; - if (jj_scan_token(19)) { - jj_scanpos = xsp; - if (jj_scan_token(20)) { - jj_scanpos = xsp; - if (jj_scan_token(21)) { - jj_scanpos = xsp; - if (jj_scan_token(22)) { - jj_scanpos = xsp; - if (jj_scan_token(23)) { - jj_scanpos = xsp; - if (jj_scan_token(24)) { - jj_scanpos = xsp; - if (jj_scan_token(25)) { - jj_scanpos = xsp; - if (jj_scan_token(26)) { - jj_scanpos = xsp; - if (jj_scan_token(27)) { - jj_scanpos = xsp; - if (jj_scan_token(28)) { - jj_scanpos = xsp; - if (jj_scan_token(29)) { - jj_scanpos = xsp; - if (jj_scan_token(30)) { - jj_scanpos = xsp; - if (jj_scan_token(31)) { - jj_scanpos = xsp; - if (jj_scan_token(32)) { - jj_scanpos = xsp; - if (jj_scan_token(33)) { - jj_scanpos = xsp; - if (jj_scan_token(34)) { - jj_scanpos = xsp; - if (jj_scan_token(35)) { - jj_scanpos = xsp; - if (jj_scan_token(36)) { - jj_scanpos = xsp; - if (jj_scan_token(37)) { - jj_scanpos = xsp; - if (jj_scan_token(38)) { - jj_scanpos = xsp; - if (jj_scan_token(39)) { - jj_scanpos = xsp; - if (jj_scan_token(40)) { - jj_scanpos = xsp; - if (jj_scan_token(41)) { - jj_scanpos = xsp; - if (jj_scan_token(42)) { - jj_scanpos = xsp; - if (jj_scan_token(43)) { - jj_scanpos = xsp; - if (jj_scan_token(44)) { - jj_scanpos = xsp; - if (jj_scan_token(45)) { - jj_scanpos = xsp; - if (jj_scan_token(46)) { - jj_scanpos = xsp; - if (jj_scan_token(47)) { - jj_scanpos = xsp; - if (jj_scan_token(48)) { - jj_scanpos = xsp; - if (jj_scan_token(50)) { - jj_scanpos = xsp; - if (jj_scan_token(49)) { - jj_scanpos = xsp; - if (jj_scan_token(51)) { - jj_scanpos = xsp; - if (jj_scan_token(52)) { - jj_scanpos = xsp; - if (jj_scan_token(53)) { - jj_scanpos = xsp; - if (jj_scan_token(54)) { - jj_scanpos = xsp; - if (jj_scan_token(55)) { - jj_scanpos = xsp; - if (jj_scan_token(56)) { - jj_scanpos = xsp; - if (jj_scan_token(57)) { - jj_scanpos = xsp; - if (jj_scan_token(58)) { - jj_scanpos = xsp; - if (jj_scan_token(59)) { - jj_scanpos = xsp; - if (jj_scan_token(60)) { - jj_scanpos = xsp; - if (jj_scan_token(61)) { - jj_scanpos = xsp; - if (jj_scan_token(62)) { - jj_scanpos = xsp; - if (jj_scan_token(63)) { - jj_scanpos = xsp; - if (jj_scan_token(64)) { - jj_scanpos = xsp; - if (jj_scan_token(65)) { - jj_scanpos = xsp; - if (jj_scan_token(66)) { - jj_scanpos = xsp; - if (jj_scan_token(67)) { - jj_scanpos = xsp; - if (jj_scan_token(68)) { - jj_scanpos = xsp; - if (jj_scan_token(69)) { - jj_scanpos = xsp; - if (jj_scan_token(70)) { - jj_scanpos = xsp; - if (jj_scan_token(71)) { - jj_scanpos = xsp; - if (jj_scan_token(72)) { - jj_scanpos = xsp; - if (jj_scan_token(73)) { - jj_scanpos = xsp; - if (jj_scan_token(74)) { - jj_scanpos = xsp; - if (jj_scan_token(75)) { - jj_scanpos = xsp; - if (jj_scan_token(76)) { - jj_scanpos = xsp; - if (jj_scan_token(77)) { - jj_scanpos = xsp; - if (jj_scan_token(78)) { - jj_scanpos = xsp; - if (jj_scan_token(81)) { - jj_scanpos = xsp; - if (jj_scan_token(79)) { - jj_scanpos = xsp; - if (jj_scan_token(80)) { - jj_scanpos = xsp; - if (jj_scan_token(82)) { - jj_scanpos = xsp; - if (jj_scan_token(83)) { - jj_scanpos = xsp; - if (jj_scan_token(84)) { - jj_scanpos = xsp; - if (jj_scan_token(85)) { - jj_scanpos = xsp; - if (jj_scan_token(86)) { - jj_scanpos = xsp; - if (jj_scan_token(87)) { - jj_scanpos = xsp; - if (jj_scan_token(88)) { - jj_scanpos = xsp; - if (jj_scan_token(89)) { - jj_scanpos = xsp; - if (jj_scan_token(90)) { - jj_scanpos = xsp; - if (jj_scan_token(91)) { - jj_scanpos = xsp; - if (jj_scan_token(95)) { - jj_scanpos = xsp; - if (jj_scan_token(96)) { - jj_scanpos = xsp; - if (jj_scan_token(93)) { - jj_scanpos = xsp; - if (jj_scan_token(92)) { - jj_scanpos = xsp; - if (jj_scan_token(94)) { - jj_scanpos = xsp; - if (jj_scan_token(97)) { - jj_scanpos = xsp; - if (jj_scan_token(98)) { - jj_scanpos = xsp; - if (jj_scan_token(99)) { - jj_scanpos = xsp; - if (jj_scan_token(100)) { - jj_scanpos = xsp; - if (jj_scan_token(101)) { - jj_scanpos = xsp; - if (jj_scan_token(102)) { - jj_scanpos = xsp; - if (jj_scan_token(103)) { - jj_scanpos = xsp; - if (jj_scan_token(104)) { - jj_scanpos = xsp; - if (jj_scan_token(105)) { - jj_scanpos = xsp; - if (jj_scan_token(106)) { - jj_scanpos = xsp; - if (jj_scan_token(107)) { - jj_scanpos = xsp; - if (jj_scan_token(108)) { - jj_scanpos = xsp; - if (jj_scan_token(109)) { - jj_scanpos = xsp; - if (jj_scan_token(110)) - return true; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return false; - } - - private boolean jj_3R_124() { - if (jj_3R_112()) - return true; - return false; - } - - private boolean jj_3R_122() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(7)) { - jj_scanpos = xsp; - if (jj_scan_token(8)) { - jj_scanpos = xsp; - if (jj_scan_token(9)) { - jj_scanpos = xsp; - if (jj_scan_token(10)) { - jj_scanpos = xsp; - if (jj_scan_token(11)) { - jj_scanpos = xsp; - if (jj_scan_token(12)) { - jj_scanpos = xsp; - if (jj_scan_token(13)) { - jj_scanpos = xsp; - if (jj_scan_token(14)) { - jj_scanpos = xsp; - if (jj_scan_token(15)) { - jj_scanpos = xsp; - if (jj_scan_token(16)) { - jj_scanpos = xsp; - if (jj_scan_token(17)) { - jj_scanpos = xsp; - if (jj_scan_token(18)) { - jj_scanpos = xsp; - if (jj_scan_token(19)) { - jj_scanpos = xsp; - if (jj_scan_token(20)) { - jj_scanpos = xsp; - if (jj_scan_token(21)) { - jj_scanpos = xsp; - if (jj_scan_token(22)) { - jj_scanpos = xsp; - if (jj_scan_token(23)) { - jj_scanpos = xsp; - if (jj_scan_token(24)) { - jj_scanpos = xsp; - if (jj_scan_token(25)) { - jj_scanpos = xsp; - if (jj_scan_token(26)) { - jj_scanpos = xsp; - if (jj_scan_token(27)) { - jj_scanpos = xsp; - if (jj_scan_token(28)) { - jj_scanpos = xsp; - if (jj_scan_token(29)) { - jj_scanpos = xsp; - if (jj_scan_token(30)) { - jj_scanpos = xsp; - if (jj_scan_token(31)) { - jj_scanpos = xsp; - if (jj_scan_token(39)) { - jj_scanpos = xsp; - if (jj_scan_token(40)) { - jj_scanpos = xsp; - if (jj_scan_token(41)) { - jj_scanpos = xsp; - if (jj_scan_token(42)) { - jj_scanpos = xsp; - if (jj_scan_token(43)) { - jj_scanpos = xsp; - if (jj_scan_token(44)) { - jj_scanpos = xsp; - if (jj_scan_token(45)) { - jj_scanpos = xsp; - if (jj_scan_token(46)) { - jj_scanpos = xsp; - if (jj_scan_token(47)) { - jj_scanpos = xsp; - if (jj_scan_token(48)) { - jj_scanpos = xsp; - if (jj_scan_token(52)) { - jj_scanpos = xsp; - if (jj_scan_token(56)) { - jj_scanpos = xsp; - if (jj_scan_token(60)) { - jj_scanpos = xsp; - if (jj_scan_token(62)) { - jj_scanpos = xsp; - if (jj_scan_token(67)) { - jj_scanpos = xsp; - if (jj_scan_token(68)) { - jj_scanpos = xsp; - if (jj_scan_token(74)) { - jj_scanpos = xsp; - if (jj_scan_token(76)) { - jj_scanpos = xsp; - if (jj_scan_token(77)) { - jj_scanpos = xsp; - if (jj_scan_token(78)) { - jj_scanpos = xsp; - if (jj_scan_token(79)) { - jj_scanpos = xsp; - if (jj_scan_token(80)) { - jj_scanpos = xsp; - if (jj_scan_token(84)) { - jj_scanpos = xsp; - if (jj_scan_token(85)) { - jj_scanpos = xsp; - if (jj_scan_token(86)) { - jj_scanpos = xsp; - if (jj_scan_token(87)) { - jj_scanpos = xsp; - if (jj_scan_token(88)) { - jj_scanpos = xsp; - if (jj_scan_token(89)) { - jj_scanpos = xsp; - if (jj_scan_token(90)) { - jj_scanpos = xsp; - if (jj_scan_token(91)) { - jj_scanpos = xsp; - if (jj_scan_token(95)) { - jj_scanpos = xsp; - if (jj_scan_token(96)) { - jj_scanpos = xsp; - if (jj_scan_token(97)) { - jj_scanpos = xsp; - if (jj_scan_token(93)) { - jj_scanpos = xsp; - if (jj_scan_token(100)) { - jj_scanpos = xsp; - if (jj_scan_token(101)) { - jj_scanpos = xsp; - if (jj_scan_token(102)) { - jj_scanpos = xsp; - if (jj_scan_token(103)) { - jj_scanpos = xsp; - if (jj_scan_token(104)) { - jj_scanpos = xsp; - if (jj_scan_token(105)) { - jj_scanpos = xsp; - if (jj_scan_token(106)) { - jj_scanpos = xsp; - if (jj_scan_token(107)) { - jj_scanpos = xsp; - if (jj_scan_token(108)) { - jj_scanpos = xsp; - if (jj_scan_token(109)) { - jj_scanpos = xsp; - if (jj_scan_token(110)) - return true; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return false; } - - private boolean jj_3_1() { - if (jj_scan_token(SEMICOLON)) - return true; - return false; } - - private boolean jj_3_2() { - if (jj_3R_31()) - return true; - return false; } - - private boolean jj_3_3() { - if (jj_3R_32()) - return true; - return false; } - - private boolean jj_3R_31() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_3()) { - jj_scanpos = xsp; - if (jj_3_4()) - return true; - } - return false; - } - - private boolean jj_3_4() { - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3R_32() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_65()) { - jj_scanpos = xsp; - if (jj_3R_66()) { - jj_scanpos = xsp; - if (jj_3R_67()) { - jj_scanpos = xsp; - 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()) { - jj_scanpos = xsp; - if (jj_3R_72()) { - jj_scanpos = xsp; - if (jj_3R_73()) - return true; - } - } - } - } - } - } - } - } - return false; } - - private boolean jj_3R_65() { - if (jj_3R_99()) - return true; - return false; } - - private boolean jj_3R_66() { - if (jj_3R_100()) - return true; - return false; } - - private boolean jj_3R_67() { - if (jj_3R_101()) - return true; - return false; } - - private boolean jj_3R_68() { - if (jj_3R_102()) - return true; - return false; } - - private boolean jj_3R_69() { - if (jj_3R_103()) - return true; - return false; } - - private boolean jj_3R_70() { - if (jj_3R_104()) - return true; - return false; } - - private boolean jj_3R_71() { - if (jj_3R_105()) - return true; - return false; } - - private boolean jj_3R_72() { - if (jj_3R_106()) - return true; - return false; } - - private boolean jj_3R_73() { - if (jj_3R_107()) - return true; - return false; } - - private boolean jj_3R_99() { - if (jj_scan_token(ALTER)) - return true; - if (jj_scan_token(TABLE)) - return true; - return false; } - - private boolean jj_3R_100() { - if (jj_scan_token(CREATE)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_6()) - jj_scanpos = xsp; - if (jj_3R_37()) - return true; - return false; } - - private boolean jj_3_6() { - if (jj_scan_token(TABLE)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_5()) - jj_scanpos = xsp; - return false; } + return false; + } - private boolean jj_3_5() { - if (jj_scan_token(IF)) - return true; - if (jj_scan_token(NOT)) - return true; - return false; - } + private boolean jj_3R_124() + { + if (jj_3R_112()) return true; + return false; + } - private boolean jj_3R_101() { - if (jj_scan_token(DELETE)) - return true; - if (jj_scan_token(FROM)) - return true; - return false; + private boolean jj_3R_122() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(7)) { + jj_scanpos = xsp; + if (jj_scan_token(8)) { + jj_scanpos = xsp; + if (jj_scan_token(9)) { + jj_scanpos = xsp; + if (jj_scan_token(10)) { + jj_scanpos = xsp; + if (jj_scan_token(11)) { + jj_scanpos = xsp; + if (jj_scan_token(12)) { + jj_scanpos = xsp; + if (jj_scan_token(13)) { + jj_scanpos = xsp; + if (jj_scan_token(14)) { + jj_scanpos = xsp; + if (jj_scan_token(15)) { + jj_scanpos = xsp; + if (jj_scan_token(16)) { + jj_scanpos = xsp; + if (jj_scan_token(17)) { + jj_scanpos = xsp; + if (jj_scan_token(18)) { + jj_scanpos = xsp; + if (jj_scan_token(19)) { + jj_scanpos = xsp; + if (jj_scan_token(20)) { + jj_scanpos = xsp; + if (jj_scan_token(21)) { + jj_scanpos = xsp; + if (jj_scan_token(22)) { + jj_scanpos = xsp; + if (jj_scan_token(23)) { + jj_scanpos = xsp; + if (jj_scan_token(24)) { + jj_scanpos = xsp; + if (jj_scan_token(25)) { + jj_scanpos = xsp; + if (jj_scan_token(26)) { + jj_scanpos = xsp; + if (jj_scan_token(27)) { + jj_scanpos = xsp; + if (jj_scan_token(28)) { + jj_scanpos = xsp; + if (jj_scan_token(29)) { + jj_scanpos = xsp; + if (jj_scan_token(30)) { + jj_scanpos = xsp; + if (jj_scan_token(31)) { + jj_scanpos = xsp; + if (jj_scan_token(39)) { + jj_scanpos = xsp; + if (jj_scan_token(40)) { + jj_scanpos = xsp; + if (jj_scan_token(41)) { + jj_scanpos = xsp; + if (jj_scan_token(42)) { + jj_scanpos = xsp; + if (jj_scan_token(43)) { + jj_scanpos = xsp; + if (jj_scan_token(44)) { + jj_scanpos = xsp; + if (jj_scan_token(45)) { + jj_scanpos = xsp; + if (jj_scan_token(46)) { + jj_scanpos = xsp; + if (jj_scan_token(47)) { + jj_scanpos = xsp; + if (jj_scan_token(48)) { + jj_scanpos = xsp; + if (jj_scan_token(52)) { + jj_scanpos = xsp; + if (jj_scan_token(56)) { + jj_scanpos = xsp; + if (jj_scan_token(60)) { + jj_scanpos = xsp; + if (jj_scan_token(62)) { + jj_scanpos = xsp; + if (jj_scan_token(67)) { + jj_scanpos = xsp; + if (jj_scan_token(68)) { + jj_scanpos = xsp; + if (jj_scan_token(74)) { + jj_scanpos = xsp; + if (jj_scan_token(76)) { + jj_scanpos = xsp; + if (jj_scan_token(77)) { + jj_scanpos = xsp; + if (jj_scan_token(78)) { + jj_scanpos = xsp; + if (jj_scan_token(79)) { + jj_scanpos = xsp; + if (jj_scan_token(80)) { + jj_scanpos = xsp; + if (jj_scan_token(84)) { + jj_scanpos = xsp; + if (jj_scan_token(85)) { + jj_scanpos = xsp; + if (jj_scan_token(86)) { + jj_scanpos = xsp; + if (jj_scan_token(87)) { + jj_scanpos = xsp; + if (jj_scan_token(88)) { + jj_scanpos = xsp; + if (jj_scan_token(89)) { + jj_scanpos = xsp; + if (jj_scan_token(90)) { + jj_scanpos = xsp; + if (jj_scan_token(91)) { + jj_scanpos = xsp; + if (jj_scan_token(95)) { + jj_scanpos = xsp; + if (jj_scan_token(96)) { + jj_scanpos = xsp; + if (jj_scan_token(97)) { + jj_scanpos = xsp; + if (jj_scan_token(93)) { + jj_scanpos = xsp; + if (jj_scan_token(100)) { + jj_scanpos = xsp; + if (jj_scan_token(101)) { + jj_scanpos = xsp; + if (jj_scan_token(102)) { + jj_scanpos = xsp; + if (jj_scan_token(103)) { + jj_scanpos = xsp; + if (jj_scan_token(104)) { + jj_scanpos = xsp; + if (jj_scan_token(105)) { + jj_scanpos = xsp; + if (jj_scan_token(106)) { + jj_scanpos = xsp; + if (jj_scan_token(107)) { + jj_scanpos = xsp; + if (jj_scan_token(108)) { + jj_scanpos = xsp; + if (jj_scan_token(109)) { + jj_scanpos = xsp; + if (jj_scan_token(110)) return true; } - - private boolean jj_3R_102() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(13)) { - jj_scanpos = xsp; - if (jj_scan_token(12)) - return true; - } - xsp = jj_scanpos; - if (jj_scan_token(85)) - jj_scanpos = xsp; - if (jj_3R_37()) - return true; - return false; - } - - private boolean jj_3R_103() { - if (jj_scan_token(DROP)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_9()) - jj_scanpos = xsp; - if (jj_3R_37()) - return true; - return false; - } - - private boolean jj_3_9() { - if (jj_scan_token(TABLE)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_8()) - jj_scanpos = xsp; - return false; - } - - private boolean jj_3_8() { - if (jj_scan_token(IF)) - return true; - if (jj_scan_token(EXISTS)) - return true; - return false; - } - - private boolean jj_3R_104() { - if (jj_scan_token(INSERT)) - return true; - if (jj_scan_token(INTO)) - return true; - return false; - } - - private boolean jj_3_12() { - if (jj_scan_token(LPAREN)) - return true; - if (jj_3R_34()) - return true; - return false; - } - - private boolean jj_3_11() { - if (jj_scan_token(TABLE)) - return true; - return false; - } - - private boolean jj_3_15() { - if (jj_scan_token(VALUES)) - return true; - if (jj_scan_token(LPAREN)) - return true; - return false; - } - - private boolean jj_3_10() { - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3_16() { - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3_14() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(147)) - jj_scanpos = xsp; - if (jj_scan_token(LPAREN)) - return true; - if (jj_3R_34()) - return true; - return false; - } - - private boolean jj_3R_105() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_116()) - jj_scanpos = xsp; - if (jj_scan_token(SELECT)) - return true; - xsp = jj_scanpos; - if (jj_3_17()) - jj_scanpos = xsp; - xsp = jj_scanpos; - if (jj_3_18()) - jj_scanpos = xsp; - if (jj_3R_34()) - return true; - return false; - } - - private boolean jj_3R_116() { - if (jj_3R_121()) - return true; - return false; - } - - private boolean jj_3_13() { - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3_19() { - if (jj_scan_token(FROM)) - return true; - if (jj_3R_36()) - return true; - return false; } - - private boolean jj_3_20() { - if (jj_scan_token(INNER)) - return true; - if (jj_scan_token(JOIN)) - return true; - return false; } - - private boolean jj_3_21() { - if (jj_scan_token(LEFT)) - return true; - if (jj_scan_token(JOIN)) - return true; - return false; } - - private boolean jj_3_22() { - if (jj_scan_token(RIGHT)) - return true; - if (jj_scan_token(JOIN)) - return true; - return false; } - - private boolean jj_3_23() { - if (jj_scan_token(JOIN)) - return true; - if (jj_3R_36()) - return true; - return false; - } - - private boolean jj_3_24() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_17() { - if (jj_scan_token(DISTINCT)) - return true; - return false; - } - - private boolean jj_3R_121() { - if (jj_scan_token(WITH)) - return true; - if (jj_3R_123()) - return true; - return false; - } - - private boolean jj_3R_36() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_26()) { - jj_scanpos = xsp; - if (jj_3R_75()) - return true; - } - return false; } - - private boolean jj_3_26() { - if (jj_3R_37()) - return true; - return false; } - - private boolean jj_3_27() { - if (jj_3R_38()) - return true; - return false; } - - private boolean jj_3_28() { - if (jj_scan_token(FINAL)) - return true; - return false; } - - private boolean jj_3_32() { - if (jj_scan_token(SAMPLE)) - return true; - if (jj_3R_39()) - return true; - return false; } - - private boolean jj_3_31() { - if (jj_scan_token(OFFSET)) - return true; - if (jj_3R_39()) - return true; - return false; } - - private boolean jj_3R_106() { - if (jj_scan_token(SHOW)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_117()) - jj_scanpos = xsp; - if (jj_3R_37()) - return true; - return false; } - - private boolean jj_3R_117() { - if (jj_scan_token(CREATE)) - return true; - return false; } - - private boolean jj_3_33() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_7() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3R_107() { - if (jj_scan_token(EXISTS)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(85)) - jj_scanpos = xsp; - if (jj_3R_37()) - return true; - return false; } - - private boolean jj_3R_35() { - if (jj_scan_token(TOP)) - return true; - if (jj_scan_token(DECIMAL_LITERAL)) - return true; - return false; } - - private boolean jj_3_34() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_18() { - if (jj_3R_35()) - return true; - return false; } - - private boolean jj_3R_34() { - if (jj_3R_74()) - return true; - return false; } - - private boolean jj_3R_123() { - if (jj_3R_43()) - return true; - return false; } - - private boolean jj_3_38() { - Token xsp; - if (jj_3_35()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_35()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_46() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_38()) { - jj_scanpos = xsp; - if (jj_3R_45()) { - jj_scanpos = xsp; - if (jj_3_39()) { - jj_scanpos = xsp; - if (jj_3_40()) { - jj_scanpos = xsp; - if (jj_3_41()) { - jj_scanpos = xsp; - jj_lookingAhead = true; - jj_semLA = noAndWithinBetween(); - jj_lookingAhead = false; - if (!jj_semLA || jj_3_42()) { - jj_scanpos = xsp; - if (jj_3_43()) { - jj_scanpos = xsp; - if (jj_3_44()) { - jj_scanpos = xsp; - if (jj_3_45()) - return true; - } - } - } - } - } - } - } - } - return false; - } - - private boolean jj_3_35() { - Token xsp; - xsp = jj_scanpos; - jj_lookingAhead = true; - jj_semLA = getToken(1).kind == FLOATING_LITERAL; - jj_lookingAhead = false; - if (!jj_semLA || jj_scan_token(178)) { - jj_scanpos = xsp; - if (jj_3R_40()) - return true; - } - return false; } - - private boolean jj_3R_45() { - Token xsp; - if (jj_3_36()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_36()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_36() { - if (jj_scan_token(LBRACKET)) - return true; - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3_39() { - if (jj_scan_token(IS)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_scan_token(NULL)) - return true; - return false; - } - - private boolean jj_3_40() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_3R_42()) - return true; - return false; - } - - private boolean jj_3R_75() { - if (jj_scan_token(LPAREN)) - return true; - return false; - } - - private boolean jj_3_25() { - if (jj_scan_token(WITH)) - return true; - if (jj_scan_token(TIES)) - return true; - return false; - } - - private boolean jj_3_41() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - xsp = jj_scanpos; - if (jj_scan_token(57)) { - jj_scanpos = xsp; - if (jj_scan_token(65)) - return true; - } - if (jj_3R_43()) - return true; - return false; } - - private boolean jj_3_42() { - Token xsp; - if (jj_3_37()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_37()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_29() { - if (jj_scan_token(SLASH)) - return true; - if (jj_3R_39()) - return true; - return false; - } - - private boolean jj_3_43() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_scan_token(IN)) - return true; - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3_44() { - if (jj_scan_token(QUERY)) - return true; - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3R_74() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_108()) { - jj_scanpos = xsp; - if (jj_3_61()) - return true; - } - return false; } - - private boolean jj_3R_108() { - if (jj_3R_48()) - return true; - return false; } - - private boolean jj_3_45() { - if (jj_scan_token(AS)) - return true; - if (jj_3R_44()) - return true; - return false; } - - private boolean jj_3_30() { - if (jj_scan_token(SLASH)) - return true; - if (jj_3R_39()) - return true; - return false; } - - private boolean jj_3_47() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(34)) { - jj_scanpos = xsp; - if (jj_scan_token(48)) { - jj_scanpos = xsp; - if (jj_scan_token(78)) - return true; - } - } - if (jj_scan_token(LPAREN)) - return true; - return false; } - - private boolean jj_3_61() { - if (jj_3R_43()) - return true; - return false; } - - private boolean jj_3_51() { - Token xsp; - if (jj_3_48()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_48()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_59() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_51()) { - jj_scanpos = xsp; - if (jj_3R_47()) { - jj_scanpos = xsp; - if (jj_3_52()) { - jj_scanpos = xsp; - if (jj_3_53()) { - jj_scanpos = xsp; - if (jj_3_54()) { - jj_scanpos = xsp; - jj_lookingAhead = true; - jj_semLA = noAndWithinBetween(); - jj_lookingAhead = false; - if (!jj_semLA || jj_3_55()) { - jj_scanpos = xsp; - if (jj_3_56()) { - jj_scanpos = xsp; - if (jj_3_57()) { - jj_scanpos = xsp; - if (jj_3_58()) - return true; - } - } - } - } - } - } - } - } - return false; } - - private boolean jj_3_60() { - if (jj_3R_48()) - return true; - return false; } - - private boolean jj_3_48() { - Token xsp; - xsp = jj_scanpos; - jj_lookingAhead = true; - jj_semLA = getToken(1).kind == FLOATING_LITERAL; - jj_lookingAhead = false; - if (!jj_semLA || jj_scan_token(178)) { - jj_scanpos = xsp; - if (jj_3R_46()) - return true; - } - return false; } - - private boolean jj_3R_40() { - if (jj_scan_token(DOT)) - return true; - return false; } - - private boolean jj_3R_47() { - Token xsp; - if (jj_3_49()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_49()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_49() { - if (jj_scan_token(LBRACKET)) - return true; - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3_52() { - if (jj_scan_token(IS)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_scan_token(NULL)) - return true; - return false; - } - - private boolean jj_3_53() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_3R_42()) - return true; - return false; - } - - private boolean jj_3_54() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - xsp = jj_scanpos; - if (jj_scan_token(57)) { - jj_scanpos = xsp; - if (jj_scan_token(65)) - return true; - } - if (jj_3R_43()) - return true; - return false; } - - private boolean jj_3_55() { - Token xsp; - if (jj_3_50()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_50()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_56() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_scan_token(IN)) - return true; - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3_57() { - if (jj_scan_token(QUERY)) - return true; - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3R_48() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(142)) { - jj_scanpos = xsp; - if (jj_3R_85()) - return true; - } - return false; } - - private boolean jj_3_58() { - if (jj_3R_38()) - return true; - return false; } - - private boolean jj_3_74() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(149)) { - jj_scanpos = xsp; - if (jj_scan_token(69)) - return true; - } - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3R_43() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_74()) { - jj_scanpos = xsp; - if (jj_3_75()) { - jj_scanpos = xsp; - if (jj_3_76()) { - jj_scanpos = xsp; - if (jj_3_77()) - return true; - } - } - } - return false; - } - - private boolean jj_3_75() { - if (jj_scan_token(CASE)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3R_52()) - jj_scanpos = xsp; - if (jj_3R_53()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3R_53()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_76() { - if (jj_scan_token(INTERVAL)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_63()) { - jj_scanpos = xsp; - if (jj_3_64()) - return true; - } - return false; - } - - private boolean jj_3_77() { - if (jj_3R_44()) - return true; - return false; - } - - private boolean jj_3R_53() { - if (jj_scan_token(WHEN)) - return true; - return false; - } - - private boolean jj_3R_85() { - if (jj_3R_49()) - return true; - if (jj_scan_token(DOT)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_62()) - jj_scanpos = xsp; - if (jj_scan_token(ASTERISK)) - return true; - return false; - } - - private boolean jj_3_73() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_50()) { - jj_scanpos = xsp; - if (jj_3R_51()) { - jj_scanpos = xsp; - if (jj_3_67()) { - jj_scanpos = xsp; - if (jj_3_68()) { - jj_scanpos = xsp; - if (jj_3_69()) { - jj_scanpos = xsp; - jj_lookingAhead = true; - jj_semLA = noAndWithinBetween(); - jj_lookingAhead = false; - if (!jj_semLA || jj_3_70()) { - jj_scanpos = xsp; - if (jj_3_71()) { - jj_scanpos = xsp; - if (jj_3_72()) - return true; - } - } - } - } - } - } - } - return false; } - - private boolean jj_3R_50() { - Token xsp; - if (jj_3R_88()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3R_88()) { - jj_scanpos = xsp; - break; - } - } - return false; } - - private boolean jj_3R_46() { - if (jj_scan_token(DOT)) - return true; - return false; } - - private boolean jj_3_37() { - if (jj_3R_41()) - return true; - return false; } - - private boolean jj_3R_51() { - Token xsp; - if (jj_3_65()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_65()) { - jj_scanpos = xsp; - break; - } - } - return false; } - - private boolean jj_3R_88() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(178)) { - jj_scanpos = xsp; - if (jj_3R_113()) - return true; - } - return false; - } - - private boolean jj_3_65() { - if (jj_scan_token(LBRACKET)) - return true; - if (jj_3R_33()) - return true; - return false; - } - - private boolean jj_3_67() { - if (jj_scan_token(IS)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_scan_token(NULL)) - return true; - return false; - } - - private boolean jj_3_68() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_3R_42()) - return true; - return false; - } - - private boolean jj_3_69() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - xsp = jj_scanpos; - if (jj_scan_token(57)) { - jj_scanpos = xsp; - if (jj_scan_token(65)) - return true; - } - if (jj_3R_43()) - return true; - return false; } - - private boolean jj_3_70() { - Token xsp; - if (jj_3_66()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_66()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - - private boolean jj_3_71() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(69)) - jj_scanpos = xsp; - if (jj_scan_token(IN)) - return true; - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3R_41() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(33)) { - jj_scanpos = xsp; - if (jj_scan_token(72)) { - jj_scanpos = xsp; - if (jj_3R_78()) - return true; - } - } - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3_72() { - if (jj_scan_token(QUERY)) - return true; - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3R_42() { - if (jj_scan_token(BETWEEN)) - return true; - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3R_52() { - if (jj_3R_43()) - return true; - return false; - } - - private boolean jj_3_63() { - if (jj_scan_token(STRING_LITERAL)) - return true; - return false; - } - - private boolean jj_3R_56() { - if (jj_3R_49()) - return true; - if (jj_scan_token(LPAREN)) - return true; - return false; - } - - private boolean jj_3_62() { - if (jj_3R_49()) - return true; - if (jj_scan_token(DOT)) - return true; - return false; - } - - private boolean jj_3_80() { - if (jj_scan_token(LPAREN)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_79()) - jj_scanpos = xsp; - if (jj_scan_token(RPAREN)) - return true; - return false; - } - - private boolean jj_3_50() { - if (jj_3R_41()) - return true; - return false; - } - - private boolean jj_3R_44() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_79()) { - jj_scanpos = xsp; - if (jj_3R_80()) { - jj_scanpos = xsp; - if (jj_3R_81()) { - jj_scanpos = xsp; - if (jj_3R_82()) { - jj_scanpos = xsp; - if (jj_3R_83()) { - jj_scanpos = xsp; - jj_lookingAhead = true; - jj_semLA = !(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)); - jj_lookingAhead = false; - if (!jj_semLA || jj_3_85()) { - jj_scanpos = xsp; - jj_lookingAhead = true; - jj_semLA = getToken(2).kind == LPAREN; - jj_lookingAhead = false; - if (!jj_semLA || jj_3_86()) { - jj_scanpos = xsp; - if (jj_3R_84()) - return true; - } - } - } - } - } - } - } - return false; } - - private boolean jj_3R_78() { - if (jj_3R_110()) - return true; - return false; } - - private boolean jj_3R_79() { - if (jj_scan_token(QUERY)) - return true; - return false; } - - private boolean jj_3R_113() { - if (jj_scan_token(DOT)) - return true; - return false; } - - private boolean jj_3R_80() { - if (jj_scan_token(LBRACE)) - return true; - return false; } - - private boolean jj_3R_81() { - if (jj_scan_token(LBRACKET)) - return true; - return false; } - - private boolean jj_3R_82() { - if (jj_scan_token(LPAREN)) - return true; - return false; } - - private boolean jj_3R_83() { - Token xsp; - if (jj_3_83()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_83()) { - jj_scanpos = xsp; - break; - } - } - return false; } - - private boolean jj_3_83() { - if (jj_3R_54()) - return true; - return false; } - - private boolean jj_3_85() { - if (jj_3R_55()) - return true; - return false; } - - private boolean jj_3_86() { - if (jj_3R_56()) - return true; - return false; } - - private boolean jj_3R_84() { - if (jj_3R_49()) - return true; - return false; } - - private boolean jj_3R_61() { - if (jj_scan_token(WITH)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_87()) - jj_scanpos = xsp; - return false; } - - private boolean jj_3_81() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_82() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3R_33() { - if (jj_3R_57()) - return true; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3_88()) { - jj_scanpos = xsp; - break; - } - } - return false; } - - private boolean jj_3_87() { - if (jj_scan_token(TOTALS)) - return true; - return false; } - - private boolean jj_3_79() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3R_57() { - if (jj_3R_59()) - return true; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3_91()) { - jj_scanpos = xsp; - break; - } - } - return false; } - - private boolean jj_3_78() { - if (jj_3R_33()) - return true; - return false; } - - private boolean jj_3_66() { - if (jj_3R_41()) - return true; - return false; } - - private boolean jj_3_91() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_58()) - jj_scanpos = xsp; - if (jj_3R_59()) - return true; - return false; } - - private boolean jj_3_64() { - if (jj_3R_43()) - return true; - return false; } - - private boolean jj_3_84() { - if (jj_scan_token(DOT)) - return true; - if (jj_3R_49()) - return true; - return false; } - - private boolean jj_3_88() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_89()) { - jj_scanpos = xsp; - if (jj_3_90()) - return true; - } - return false; } - - private boolean jj_3_89() { - if (jj_scan_token(COMMA)) - return true; - return false; } + return false; + } - private boolean jj_3_94() { - if (jj_3R_61()) - return true; - return false; - } + private boolean jj_3_1() + { + if (jj_scan_token(SEMICOLON)) return true; + return false; + } - private boolean jj_3R_59() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_94()) { - jj_scanpos = xsp; - if (jj_3_95()) - return true; - } - return false; - } - - private boolean jj_3R_58() { - Token xsp; - xsp = jj_scanpos; - if (jj_scan_token(143)) { - jj_scanpos = xsp; - if (jj_scan_token(33)) { - jj_scanpos = xsp; - if (jj_scan_token(72)) { - jj_scanpos = xsp; - if (jj_scan_token(146)) { - jj_scanpos = xsp; - if (jj_scan_token(165)) { - jj_scanpos = xsp; - if (jj_3R_92()) - return true; - } - } - } - } - } - return false; - } + private boolean jj_3_2() + { + if (jj_3R_31()) return true; + return false; + } - private boolean jj_3_95() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_92()) - jj_scanpos = xsp; - if (jj_3R_62()) - return true; - while (true) { - xsp = jj_scanpos; - if (jj_3_93()) { - jj_scanpos = xsp; - break; - } - } - return false; - } + private boolean jj_3_3() + { + if (jj_3R_32()) return true; + return false; + } - private boolean jj_3_92() { - if (jj_scan_token(DASH)) - return true; - return false; + private boolean jj_3R_31() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_3()) { + jj_scanpos = xsp; + if (jj_3_4()) return true; } + return false; + } - private boolean jj_3_93() { - Token xsp; - xsp = jj_scanpos; - jj_lookingAhead = true; - jj_semLA = getToken(1).kind == FLOATING_LITERAL; - jj_lookingAhead = false; - if (!jj_semLA || jj_scan_token(178)) { - jj_scanpos = xsp; - if (jj_3R_60()) - return true; - } - return false; - } - - private boolean jj_3R_62() { - 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; - jj_lookingAhead = true; - jj_semLA = !(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)); - jj_lookingAhead = false; - if (!jj_semLA || jj_3_100()) { - jj_scanpos = xsp; - if (jj_3R_98()) - return true; - } - } - } - } - } - } - return false; - } - - private boolean jj_3R_93() { - if (jj_scan_token(QUERY)) - return true; - return false; - } - - private boolean jj_3R_94() { - if (jj_scan_token(LBRACE)) - return true; - Token xsp; - xsp = jj_scanpos; - if (jj_3_96()) - jj_scanpos = xsp; - if (jj_scan_token(RBRACE)) - return true; - return false; - } - - /** Generated Token Manager. */ - public CeresDBSqlParserTokenManager 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; - /** Whether we are looking ahead. */ - private boolean jj_lookingAhead = false; - private boolean jj_semLA; - - /** - * Constructor with InputStream. - * @param stream input stream - */ - public CeresDBSqlParser(final java.io.InputStream stream) { - this(stream, null); - } - - /** - * Constructor with InputStream and supplied encoding - * @param stream input stream - * @param encoding charset to be used - */ - public CeresDBSqlParser(final java.io.InputStream stream, final java.nio.charset.Charset encoding) { - jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); - token_source = new CeresDBSqlParserTokenManager(jj_input_stream); - token = new Token(); - jj_ntk = -1; - } - - /** - * Reinitialise - * @param stream input stream - */ - public void ReInit(final java.io.InputStream stream) { - ReInit(stream, null); - } - - /** - * Reinitialise - * @param stream input stream - * @param encoding charset to be used - */ - public void ReInit(final java.io.InputStream stream, final java.nio.charset.Charset encoding) { - jj_input_stream.reInit(stream, encoding, 1, 1); - token_source.ReInit(jj_input_stream); - token = new Token(); - jj_ntk = -1; - } - - /** - * Constructor with InputStream. - * @param stream char stream - */ - public CeresDBSqlParser(final java.io.Reader stream) { - jj_input_stream = new SimpleCharStream(stream, 1, 1); - token_source = new CeresDBSqlParserTokenManager(jj_input_stream); - token = new Token(); - jj_ntk = -1; - } - - /** - * Reinitialise - * @param stream char stream - */ - public void ReInit(final java.io.Reader stream) { - if (jj_input_stream == null) { - jj_input_stream = new SimpleCharStream(stream, 1, 1); - } else { - jj_input_stream.reInit(stream, 1, 1); - } - if (token_source == null) { - token_source = new CeresDBSqlParserTokenManager(jj_input_stream); - } + private boolean jj_3_4() + { + if (jj_3R_33()) return true; + return false; + } - token_source.ReInit(jj_input_stream); - token = new Token(); - jj_ntk = -1; - } - - /** - * Constructor with generated Token Manager. - * @param tm Token manager to use - */ - public CeresDBSqlParser(final CeresDBSqlParserTokenManager tm) { - token_source = tm; - token = new Token(); - jj_ntk = -1; - } - - /** - * Reinitialise - * @param tm Token manager to use - */ - public void ReInit(final CeresDBSqlParserTokenManager tm) { - token_source = tm; - token = new Token(); - jj_ntk = -1; - } - - private Token jj_consume_token(final int kind) throws ParseException { - final Token oldToken = token; - if (token.next != null) - token = token.next; - else { - token.next = token_source.getNextToken(); - token = token.next; - } - jj_ntk = -1; - if (token.kind == kind) { - return token; - } - token = oldToken; - throw generateParseException(); + private boolean jj_3R_32() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_65()) { + jj_scanpos = xsp; + if (jj_3R_66()) { + jj_scanpos = xsp; + if (jj_3R_67()) { + jj_scanpos = xsp; + 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()) { + jj_scanpos = xsp; + if (jj_3R_72()) { + jj_scanpos = xsp; + if (jj_3R_73()) return true; } - - private static final class LookaheadSuccess extends IllegalStateException { } - - private final 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_scanpos.kind != kind) - return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) - throw jj_ls; - return false; - } - - /** - * @return the next Token. - */ - public final Token getNextToken() { - if (token.next != null) - token = token.next; - else - token = token.next = token_source.getNextToken(); - jj_ntk = -1; - return token; - } - - /** - * @param index index to be retrieved - * @return the specific Token. - */ - public final Token getToken(final int index) { - Token t = jj_lookingAhead ? jj_scanpos : token; - for (int i = 0; i < index; i++) { - if (t.next == null) - t.next = token_source.getNextToken(); - t = t.next; - } - return t; } - - private int jj_ntk_f() { - jj_nt = token.next; - if (jj_nt == null) { - token.next = token_source.getNextToken(); - jj_ntk = token.next.kind; - return jj_ntk; - } - jj_ntk = jj_nt.kind; - return jj_ntk; } - - /** Generate ParseException. */ - public ParseException generateParseException() { - final Token errortok = token.next; - final int line = errortok.beginLine; - final int column = errortok.beginColumn; - final String mess = errortok.kind == 0 ? tokenImage[0] : errortok.image; - return new ParseException("Parse error at line " + line + ", column " + column + ". Encountered: " + mess); } - - /** - * @return Always false. - */ - public final boolean trace_enabled() { - return false; } - - /** Enable tracing. */ - public final void enable_tracing() { } - - /** Disable tracing. */ - public final void disable_tracing() { } + return false; + } + + private boolean jj_3R_65() + { + if (jj_3R_99()) return true; + return false; + } + + private boolean jj_3R_66() + { + if (jj_3R_100()) return true; + return false; + } + + private boolean jj_3R_67() + { + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_68() + { + if (jj_3R_102()) return true; + return false; + } + + private boolean jj_3R_69() + { + if (jj_3R_103()) return true; + return false; + } + + private boolean jj_3R_70() + { + if (jj_3R_104()) return true; + return false; + } + + private boolean jj_3R_71() + { + if (jj_3R_105()) return true; + return false; + } + + private boolean jj_3R_72() + { + if (jj_3R_106()) return true; + return false; + } + + private boolean jj_3R_73() + { + if (jj_3R_107()) return true; + return false; + } + + private boolean jj_3R_99() + { + if (jj_scan_token(ALTER)) return true; + if (jj_scan_token(TABLE)) return true; + return false; + } + + private boolean jj_3R_100() + { + if (jj_scan_token(CREATE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_6()) jj_scanpos = xsp; + if (jj_3R_37()) return true; + return false; + } + + private boolean jj_3_6() + { + if (jj_scan_token(TABLE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_5()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3_5() + { + if (jj_scan_token(IF)) return true; + if (jj_scan_token(NOT)) return true; + return false; + } + + private boolean jj_3R_101() + { + if (jj_scan_token(DELETE)) return true; + if (jj_scan_token(FROM)) return true; + return false; + } + + private boolean jj_3R_102() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(13)) { + jj_scanpos = xsp; + if (jj_scan_token(12)) return true; + } + xsp = jj_scanpos; + if (jj_scan_token(85)) jj_scanpos = xsp; + if (jj_3R_37()) return true; + return false; + } + + private boolean jj_3R_103() + { + if (jj_scan_token(DROP)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_9()) jj_scanpos = xsp; + if (jj_3R_37()) return true; + return false; + } + + private boolean jj_3_9() + { + if (jj_scan_token(TABLE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_8()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3_8() + { + if (jj_scan_token(IF)) return true; + if (jj_scan_token(EXISTS)) return true; + return false; + } + + private boolean jj_3R_104() + { + if (jj_scan_token(INSERT)) return true; + if (jj_scan_token(INTO)) return true; + return false; + } + + private boolean jj_3_12() + { + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_34()) return true; + return false; + } + + private boolean jj_3_11() + { + if (jj_scan_token(TABLE)) return true; + return false; + } + + private boolean jj_3_15() + { + if (jj_scan_token(VALUES)) return true; + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3_10() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_16() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_14() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(147)) jj_scanpos = xsp; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_34()) return true; + return false; + } + + private boolean jj_3R_105() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_116()) jj_scanpos = xsp; + if (jj_scan_token(SELECT)) return true; + xsp = jj_scanpos; + if (jj_3_17()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3_18()) jj_scanpos = xsp; + if (jj_3R_34()) return true; + return false; + } + + private boolean jj_3R_116() + { + if (jj_3R_121()) return true; + return false; + } + + private boolean jj_3_13() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_19() + { + if (jj_scan_token(FROM)) return true; + if (jj_3R_36()) return true; + return false; + } + + private boolean jj_3_20() + { + if (jj_scan_token(INNER)) return true; + if (jj_scan_token(JOIN)) return true; + return false; + } + + private boolean jj_3_21() + { + if (jj_scan_token(LEFT)) return true; + if (jj_scan_token(JOIN)) return true; + return false; + } + + private boolean jj_3_22() + { + if (jj_scan_token(RIGHT)) return true; + if (jj_scan_token(JOIN)) return true; + return false; + } + + private boolean jj_3_23() + { + if (jj_scan_token(JOIN)) return true; + if (jj_3R_36()) return true; + return false; + } + + private boolean jj_3_24() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_17() + { + if (jj_scan_token(DISTINCT)) return true; + return false; + } + + private boolean jj_3R_121() + { + if (jj_scan_token(WITH)) return true; + if (jj_3R_123()) return true; + return false; + } + + private boolean jj_3R_36() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_26()) { + jj_scanpos = xsp; + if (jj_3R_75()) return true; + } + return false; + } + + private boolean jj_3_26() + { + if (jj_3R_37()) return true; + return false; + } + + private boolean jj_3_27() + { + if (jj_3R_38()) return true; + return false; + } + + private boolean jj_3_28() + { + if (jj_scan_token(FINAL)) return true; + return false; + } + + private boolean jj_3_32() + { + if (jj_scan_token(SAMPLE)) return true; + if (jj_3R_39()) return true; + return false; + } + + private boolean jj_3_31() + { + if (jj_scan_token(OFFSET)) return true; + if (jj_3R_39()) return true; + return false; + } + + private boolean jj_3R_106() + { + if (jj_scan_token(SHOW)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_117()) jj_scanpos = xsp; + if (jj_3R_37()) return true; + return false; + } + + private boolean jj_3R_117() + { + if (jj_scan_token(CREATE)) return true; + return false; + } + + private boolean jj_3_33() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_7() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_107() + { + if (jj_scan_token(EXISTS)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(85)) jj_scanpos = xsp; + if (jj_3R_37()) return true; + return false; + } + + private boolean jj_3R_35() + { + if (jj_scan_token(TOP)) return true; + if (jj_scan_token(DECIMAL_LITERAL)) return true; + return false; + } + + private boolean jj_3_34() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_18() + { + if (jj_3R_35()) return true; + return false; + } + + private boolean jj_3R_34() + { + if (jj_3R_74()) return true; + return false; + } + + private boolean jj_3R_123() + { + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_38() + { + Token xsp; + if (jj_3_35()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_35()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_46() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_38()) { + jj_scanpos = xsp; + if (jj_3R_45()) { + jj_scanpos = xsp; + if (jj_3_39()) { + jj_scanpos = xsp; + if (jj_3_40()) { + jj_scanpos = xsp; + if (jj_3_41()) { + jj_scanpos = xsp; + jj_lookingAhead = true; + jj_semLA = noAndWithinBetween(); + jj_lookingAhead = false; + if (!jj_semLA || jj_3_42()) { + jj_scanpos = xsp; + if (jj_3_43()) { + jj_scanpos = xsp; + if (jj_3_44()) { + jj_scanpos = xsp; + if (jj_3_45()) return true; + } + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3_35() + { + Token xsp; + xsp = jj_scanpos; + jj_lookingAhead = true; + jj_semLA = getToken(1).kind == FLOATING_LITERAL; + jj_lookingAhead = false; + if (!jj_semLA || jj_scan_token(178)) { + jj_scanpos = xsp; + if (jj_3R_40()) return true; + } + return false; + } + + private boolean jj_3R_45() + { + Token xsp; + if (jj_3_36()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_36()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_36() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_39() + { + if (jj_scan_token(IS)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_scan_token(NULL)) return true; + return false; + } + + private boolean jj_3_40() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_3R_42()) return true; + return false; + } + + private boolean jj_3R_75() + { + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3_25() + { + if (jj_scan_token(WITH)) return true; + if (jj_scan_token(TIES)) return true; + return false; + } + + private boolean jj_3_41() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(57)) { + jj_scanpos = xsp; + if (jj_scan_token(65)) return true; + } + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_42() + { + Token xsp; + if (jj_3_37()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_37()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_29() + { + if (jj_scan_token(SLASH)) return true; + if (jj_3R_39()) return true; + return false; + } + + private boolean jj_3_43() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_scan_token(IN)) return true; + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_44() + { + if (jj_scan_token(QUERY)) return true; + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3R_74() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_108()) { + jj_scanpos = xsp; + if (jj_3_61()) return true; + } + return false; + } + + private boolean jj_3R_108() + { + if (jj_3R_48()) return true; + return false; + } + + private boolean jj_3_45() + { + if (jj_scan_token(AS)) return true; + if (jj_3R_44()) return true; + return false; + } + + private boolean jj_3_30() + { + if (jj_scan_token(SLASH)) return true; + if (jj_3R_39()) return true; + return false; + } + + private boolean jj_3_47() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(34)) { + jj_scanpos = xsp; + if (jj_scan_token(48)) { + jj_scanpos = xsp; + if (jj_scan_token(78)) return true; + } + } + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3_61() + { + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_51() + { + Token xsp; + if (jj_3_48()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_48()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_59() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_51()) { + jj_scanpos = xsp; + if (jj_3R_47()) { + jj_scanpos = xsp; + if (jj_3_52()) { + jj_scanpos = xsp; + if (jj_3_53()) { + jj_scanpos = xsp; + if (jj_3_54()) { + jj_scanpos = xsp; + jj_lookingAhead = true; + jj_semLA = noAndWithinBetween(); + jj_lookingAhead = false; + if (!jj_semLA || jj_3_55()) { + jj_scanpos = xsp; + if (jj_3_56()) { + jj_scanpos = xsp; + if (jj_3_57()) { + jj_scanpos = xsp; + if (jj_3_58()) return true; + } + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3_60() + { + if (jj_3R_48()) return true; + return false; + } + + private boolean jj_3_48() + { + Token xsp; + xsp = jj_scanpos; + jj_lookingAhead = true; + jj_semLA = getToken(1).kind == FLOATING_LITERAL; + jj_lookingAhead = false; + if (!jj_semLA || jj_scan_token(178)) { + jj_scanpos = xsp; + if (jj_3R_46()) return true; + } + return false; + } + + private boolean jj_3R_40() + { + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3R_47() + { + Token xsp; + if (jj_3_49()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_49()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_49() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_52() + { + if (jj_scan_token(IS)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_scan_token(NULL)) return true; + return false; + } + + private boolean jj_3_53() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_3R_42()) return true; + return false; + } + + private boolean jj_3_54() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(57)) { + jj_scanpos = xsp; + if (jj_scan_token(65)) return true; + } + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_55() + { + Token xsp; + if (jj_3_50()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_50()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_56() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_scan_token(IN)) return true; + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_57() + { + if (jj_scan_token(QUERY)) return true; + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3R_48() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(142)) { + jj_scanpos = xsp; + if (jj_3R_85()) return true; + } + return false; + } + + private boolean jj_3_58() + { + if (jj_3R_38()) return true; + return false; + } + + private boolean jj_3_74() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(149)) { + jj_scanpos = xsp; + if (jj_scan_token(69)) return true; + } + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3R_43() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_74()) { + jj_scanpos = xsp; + if (jj_3_75()) { + jj_scanpos = xsp; + if (jj_3_76()) { + jj_scanpos = xsp; + if (jj_3_77()) return true; + } + } + } + return false; + } + + private boolean jj_3_75() + { + if (jj_scan_token(CASE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_52()) jj_scanpos = xsp; + if (jj_3R_53()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_53()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_76() + { + if (jj_scan_token(INTERVAL)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_63()) { + jj_scanpos = xsp; + if (jj_3_64()) return true; + } + return false; + } + + private boolean jj_3_77() + { + if (jj_3R_44()) return true; + return false; + } + + private boolean jj_3R_53() + { + if (jj_scan_token(WHEN)) return true; + return false; + } + + private boolean jj_3R_85() + { + if (jj_3R_49()) return true; + if (jj_scan_token(DOT)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_62()) jj_scanpos = xsp; + if (jj_scan_token(ASTERISK)) return true; + return false; + } + + private boolean jj_3_73() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_50()) { + jj_scanpos = xsp; + if (jj_3R_51()) { + jj_scanpos = xsp; + if (jj_3_67()) { + jj_scanpos = xsp; + if (jj_3_68()) { + jj_scanpos = xsp; + if (jj_3_69()) { + jj_scanpos = xsp; + jj_lookingAhead = true; + jj_semLA = noAndWithinBetween(); + jj_lookingAhead = false; + if (!jj_semLA || jj_3_70()) { + jj_scanpos = xsp; + if (jj_3_71()) { + jj_scanpos = xsp; + if (jj_3_72()) return true; + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_50() + { + Token xsp; + if (jj_3R_88()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_88()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_46() + { + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3_37() + { + if (jj_3R_41()) return true; + return false; + } + + private boolean jj_3R_51() + { + Token xsp; + if (jj_3_65()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_65()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_88() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(178)) { + jj_scanpos = xsp; + if (jj_3R_113()) return true; + } + return false; + } + + private boolean jj_3_65() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_67() + { + if (jj_scan_token(IS)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_scan_token(NULL)) return true; + return false; + } + + private boolean jj_3_68() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_3R_42()) return true; + return false; + } + + private boolean jj_3_69() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(57)) { + jj_scanpos = xsp; + if (jj_scan_token(65)) return true; + } + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_70() + { + Token xsp; + if (jj_3_66()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_66()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_71() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(69)) jj_scanpos = xsp; + if (jj_scan_token(IN)) return true; + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3R_41() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(33)) { + jj_scanpos = xsp; + if (jj_scan_token(72)) { + jj_scanpos = xsp; + if (jj_3R_78()) return true; + } + } + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_72() + { + if (jj_scan_token(QUERY)) return true; + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3R_42() + { + if (jj_scan_token(BETWEEN)) return true; + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3R_52() + { + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_63() + { + if (jj_scan_token(STRING_LITERAL)) return true; + return false; + } + + private boolean jj_3R_56() + { + if (jj_3R_49()) return true; + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3_62() + { + if (jj_3R_49()) return true; + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3_80() + { + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_79()) jj_scanpos = xsp; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3_50() + { + if (jj_3R_41()) return true; + return false; + } + + private boolean jj_3R_44() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_79()) { + jj_scanpos = xsp; + if (jj_3R_80()) { + jj_scanpos = xsp; + if (jj_3R_81()) { + jj_scanpos = xsp; + if (jj_3R_82()) { + jj_scanpos = xsp; + if (jj_3R_83()) { + jj_scanpos = xsp; + jj_lookingAhead = true; + jj_semLA = !(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)); + jj_lookingAhead = false; + if (!jj_semLA || jj_3_85()) { + jj_scanpos = xsp; + jj_lookingAhead = true; + jj_semLA = getToken(2).kind == LPAREN; + jj_lookingAhead = false; + if (!jj_semLA || jj_3_86()) { + jj_scanpos = xsp; + if (jj_3R_84()) return true; + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_78() + { + if (jj_3R_110()) return true; + return false; + } + + private boolean jj_3R_79() + { + if (jj_scan_token(QUERY)) return true; + return false; + } + + private boolean jj_3R_113() + { + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3R_80() + { + if (jj_scan_token(LBRACE)) return true; + return false; + } + + private boolean jj_3R_81() + { + if (jj_scan_token(LBRACKET)) return true; + return false; + } + + private boolean jj_3R_82() + { + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3R_83() + { + Token xsp; + if (jj_3_83()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_83()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_83() + { + if (jj_3R_54()) return true; + return false; + } + + private boolean jj_3_85() + { + if (jj_3R_55()) return true; + return false; + } + + private boolean jj_3_86() + { + if (jj_3R_56()) return true; + return false; + } + + private boolean jj_3R_84() + { + if (jj_3R_49()) return true; + return false; + } + + private boolean jj_3R_61() + { + if (jj_scan_token(WITH)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_87()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3_81() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_82() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_33() + { + if (jj_3R_57()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_88()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_87() + { + if (jj_scan_token(TOTALS)) return true; + return false; + } + + private boolean jj_3_79() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_57() + { + if (jj_3R_59()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_91()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_78() + { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3_66() + { + if (jj_3R_41()) return true; + return false; + } + + private boolean jj_3_91() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_58()) jj_scanpos = xsp; + if (jj_3R_59()) return true; + return false; + } + + private boolean jj_3_64() + { + if (jj_3R_43()) return true; + return false; + } + + private boolean jj_3_84() + { + if (jj_scan_token(DOT)) return true; + if (jj_3R_49()) return true; + return false; + } + + private boolean jj_3_88() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_89()) { + jj_scanpos = xsp; + if (jj_3_90()) return true; + } + return false; + } + + private boolean jj_3_89() + { + if (jj_scan_token(COMMA)) return true; + return false; + } + + private boolean jj_3_94() + { + if (jj_3R_61()) return true; + return false; + } + + private boolean jj_3R_59() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_94()) { + jj_scanpos = xsp; + if (jj_3_95()) return true; + } + return false; + } + + private boolean jj_3R_58() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(143)) { + jj_scanpos = xsp; + if (jj_scan_token(33)) { + jj_scanpos = xsp; + if (jj_scan_token(72)) { + jj_scanpos = xsp; + if (jj_scan_token(146)) { + jj_scanpos = xsp; + if (jj_scan_token(165)) { + jj_scanpos = xsp; + if (jj_3R_92()) return true; + } + } + } + } + } + return false; + } + + private boolean jj_3_95() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_92()) jj_scanpos = xsp; + if (jj_3R_62()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_93()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_92() + { + if (jj_scan_token(DASH)) return true; + return false; + } + + private boolean jj_3_93() + { + Token xsp; + xsp = jj_scanpos; + jj_lookingAhead = true; + jj_semLA = getToken(1).kind == FLOATING_LITERAL; + jj_lookingAhead = false; + if (!jj_semLA || jj_scan_token(178)) { + jj_scanpos = xsp; + if (jj_3R_60()) return true; + } + return false; + } + + private boolean jj_3R_62() + { + 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; + jj_lookingAhead = true; + jj_semLA = !(tokenIn(1, INF, NAN, NULL) && tokenIn(2, DOT)); + jj_lookingAhead = false; + if (!jj_semLA || jj_3_100()) { + jj_scanpos = xsp; + if (jj_3R_98()) return true; + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_93() + { + if (jj_scan_token(QUERY)) return true; + return false; + } + + private boolean jj_3R_94() + { + if (jj_scan_token(LBRACE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_96()) jj_scanpos = xsp; + if (jj_scan_token(RBRACE)) return true; + return false; + } + + /** Generated Token Manager. */ + public CeresDBSqlParserTokenManager 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; + /** Whether we are looking ahead. */ + private boolean jj_lookingAhead = false; + private boolean jj_semLA; + + /** + * Constructor with InputStream. + * @param stream input stream + */ + public CeresDBSqlParser(final java.io.InputStream stream) { + this(stream, null); + } + + /** + * Constructor with InputStream and supplied encoding + * @param stream input stream + * @param encoding charset to be used + */ + public CeresDBSqlParser(final java.io.InputStream stream, final java.nio.charset.Charset encoding) { + jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); + token_source = new CeresDBSqlParserTokenManager(jj_input_stream); + token = new Token(); + jj_ntk = -1; + } + + /** + * Reinitialise + * @param stream input stream + */ + public void ReInit(final java.io.InputStream stream) { + ReInit(stream, null); + } + /** + * Reinitialise + * @param stream input stream + * @param encoding charset to be used + */ + public void ReInit(final java.io.InputStream stream, final java.nio.charset.Charset encoding) { + jj_input_stream.reInit(stream, encoding, 1, 1); + token_source.ReInit(jj_input_stream); + token = new Token(); + jj_ntk = -1; + } + + /** + * Constructor with InputStream. + * @param stream char stream + */ + public CeresDBSqlParser(final java.io.Reader stream) { + jj_input_stream = new SimpleCharStream(stream, 1, 1); + token_source = new CeresDBSqlParserTokenManager(jj_input_stream); + token = new Token(); + jj_ntk = -1; + } + + /** + * Reinitialise + * @param stream char stream + */ + public void ReInit(final java.io.Reader stream) { + if (jj_input_stream == null) { + jj_input_stream = new SimpleCharStream(stream, 1, 1); + } else { + jj_input_stream.reInit(stream, 1, 1); + } + if (token_source == null) { + token_source = new CeresDBSqlParserTokenManager(jj_input_stream); + } + + token_source.ReInit(jj_input_stream); + token = new Token(); + jj_ntk = -1; + } + + /** + * Constructor with generated Token Manager. + * @param tm Token manager to use + */ + public CeresDBSqlParser(final CeresDBSqlParserTokenManager tm) { + token_source = tm; + token = new Token(); + jj_ntk = -1; + } + + /** + * Reinitialise + * @param tm Token manager to use + */ + public void ReInit(final CeresDBSqlParserTokenManager tm) { + token_source = tm; + token = new Token(); + jj_ntk = -1; + } + + private Token jj_consume_token(final int kind) throws ParseException { + final Token oldToken = token; + if (token.next != null) + token = token.next; + else { + token.next = token_source.getNextToken(); + token = token.next; + } + jj_ntk = -1; + if (token.kind == kind) { + return token; + } + token = oldToken; + throw generateParseException(); + } + + private static final class LookaheadSuccess extends IllegalStateException {} + private final 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_scanpos.kind != kind) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls; + return false; + } + + + /** + * @return the next Token. + */ + public final Token getNextToken() { + if (token.next != null) + token = token.next; + else + token = token.next = token_source.getNextToken(); + jj_ntk = -1; + return token; + } + + /** + * @param index index to be retrieved + * @return the specific Token. + */ + public final Token getToken(final int index) { + Token t = jj_lookingAhead ? jj_scanpos : token; + for (int i = 0; i < index; i++) { + if (t.next == null) + t.next = token_source.getNextToken(); + t = t.next; + } + return t; + } + + private int jj_ntk_f() { + jj_nt = token.next; + if (jj_nt == null) { + token.next = token_source.getNextToken(); + jj_ntk = token.next.kind; + return jj_ntk; + } + jj_ntk = jj_nt.kind; + return jj_ntk; + } + + /** Generate ParseException. */ + public ParseException generateParseException() { + final Token errortok = token.next; + final int line = errortok.beginLine; + final int column = errortok.beginColumn; + final String mess = errortok.kind == 0 ? tokenImage[0] : errortok.image; + return new ParseException("Parse error at line " + line + ", column " + column + ". Encountered: " + mess); + } + + /** + * @return Always false. + */ + public final boolean trace_enabled() { + return false; + } + + /** Enable tracing. */ + public final void enable_tracing() {} + + /** Disable tracing. */ + public final void disable_tracing() {} } diff --git a/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserConstants.java b/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserConstants.java index 9a5ec6d..98de6e2 100644 --- a/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserConstants.java +++ b/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserConstants.java @@ -1,395 +1,556 @@ -/* - * Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0. - */ /* Generated by: ParserGeneratorCC: Do not edit this line. CeresDBSqlParserConstants.java */ package io.ceresdb.sql; + /** * Token literal values and constants. * Generated by com.helger.pgcc.output.java.OtherFilesGenJava#start() */ public interface CeresDBSqlParserConstants { - /** End of File. */ - int EOF = 0; - /** RegularExpression Id. */ - int WHITESPACE = 1; - /** RegularExpression Id. */ - int SINGLE_LINE_COMMENT = 2; - /** RegularExpression Id. */ - int ALTER = 7; - /** RegularExpression Id. */ - int ATTACH = 8; - /** RegularExpression Id. */ - int CHECK = 9; - /** RegularExpression Id. */ - int CREATE = 10; - /** RegularExpression Id. */ - int DELETE = 11; - /** RegularExpression Id. */ - int DESC = 12; - /** RegularExpression Id. */ - int DESCRIBE = 13; - /** RegularExpression Id. */ - int DETACH = 14; - /** RegularExpression Id. */ - int DROP = 15; - /** RegularExpression Id. */ - int EXISTS = 16; - /** RegularExpression Id. */ - int EXPLAIN = 17; - /** RegularExpression Id. */ - int GRANT = 18; - /** RegularExpression Id. */ - int INSERT = 19; - /** RegularExpression Id. */ - int KILL = 20; - /** RegularExpression Id. */ - int OPTIMIZE = 21; - /** RegularExpression Id. */ - int RENAME = 22; - /** RegularExpression Id. */ - int REVOKE = 23; - /** RegularExpression Id. */ - int SELECT = 24; - /** RegularExpression Id. */ - int SET = 25; - /** RegularExpression Id. */ - int SHOW = 26; - /** RegularExpression Id. */ - int SYSTEM = 27; - /** RegularExpression Id. */ - int TRUNCATE = 28; - /** RegularExpression Id. */ - int UPDATE = 29; - /** RegularExpression Id. */ - int USE = 30; - /** RegularExpression Id. */ - int WATCH = 31; - /** RegularExpression Id. */ - int ALL = 32; - /** RegularExpression Id. */ - int AND = 33; - /** RegularExpression Id. */ - int APPLY = 34; - /** RegularExpression Id. */ - int ARRAY = 35; - /** RegularExpression Id. */ - int AS = 36; - /** RegularExpression Id. */ - int ASOF = 37; - /** RegularExpression Id. */ - int BETWEEN = 38; - /** RegularExpression Id. */ - int CASE = 39; - /** RegularExpression Id. */ - int DATE = 40; - /** RegularExpression Id. */ - int DATABASE = 41; - /** RegularExpression Id. */ - int DATABASES = 42; - /** RegularExpression Id. */ - int DICTIONARY = 43; - /** RegularExpression Id. */ - int DICTIONARIES = 44; - /** RegularExpression Id. */ - int DISTINCT = 45; - /** RegularExpression Id. */ - int ELSE = 46; - /** RegularExpression Id. */ - int END = 47; - /** RegularExpression Id. */ - int EXCEPT = 48; - /** RegularExpression Id. */ - int FINAL = 49; - /** RegularExpression Id. */ - int FROM = 50; - /** RegularExpression Id. */ - int FULL = 51; - /** RegularExpression Id. */ - int FUNCTION = 52; - /** RegularExpression Id. */ - int GLOBAL = 53; - /** RegularExpression Id. */ - int GROUP = 54; - /** RegularExpression Id. */ - int HAVING = 55; - /** RegularExpression Id. */ - int IF = 56; - /** RegularExpression Id. */ - int ILIKE = 57; - /** RegularExpression Id. */ - int IN = 58; - /** RegularExpression Id. */ - int INNER = 59; - /** RegularExpression Id. */ - int INTERVAL = 60; - /** RegularExpression Id. */ - int INTO = 61; - /** RegularExpression Id. */ - int IS = 62; - /** RegularExpression Id. */ - int JOIN = 63; - /** RegularExpression Id. */ - int LEFT = 64; - /** RegularExpression Id. */ - int LIKE = 65; - /** RegularExpression Id. */ - int LIMIT = 66; - /** RegularExpression Id. */ - int LIVE = 67; - /** RegularExpression Id. */ - int MATERIALIZED = 68; - /** RegularExpression Id. */ - int NOT = 69; - /** RegularExpression Id. */ - int OFFSET = 70; - /** RegularExpression Id. */ - int ON = 71; - /** RegularExpression Id. */ - int OR = 72; - /** RegularExpression Id. */ - int ORDER = 73; - /** RegularExpression Id. */ - int POLICY = 74; - /** RegularExpression Id. */ - int PREWHERE = 75; - /** RegularExpression Id. */ - int PROFILE = 76; - /** RegularExpression Id. */ - int QUOTA = 77; - /** RegularExpression Id. */ - int REPLACE = 78; - /** RegularExpression Id. */ - int ROLE = 79; - /** RegularExpression Id. */ - int ROW = 80; - /** RegularExpression Id. */ - int RIGHT = 81; - /** RegularExpression Id. */ - int SAMPLE = 82; - /** RegularExpression Id. */ - int SETTINGS = 83; - /** RegularExpression Id. */ - int TEMPORARY = 84; - /** RegularExpression Id. */ - int TABLE = 85; - /** RegularExpression Id. */ - int TABLES = 86; - /** RegularExpression Id. */ - int THEN = 87; - /** RegularExpression Id. */ - int TIES = 88; - /** RegularExpression Id. */ - int TIMESTAMP = 89; - /** RegularExpression Id. */ - int TOP = 90; - /** RegularExpression Id. */ - int TOTALS = 91; - /** RegularExpression Id. */ - int UNION = 92; - /** RegularExpression Id. */ - int USER = 93; - /** RegularExpression Id. */ - int USING = 94; - /** RegularExpression Id. */ - int VALUES = 95; - /** RegularExpression Id. */ - int VIEW = 96; - /** RegularExpression Id. */ - int WHEN = 97; - /** RegularExpression Id. */ - int WHERE = 98; - /** RegularExpression Id. */ - int WITH = 99; - /** RegularExpression Id. */ - int SECOND = 100; - /** RegularExpression Id. */ - int MINUTE = 101; - /** RegularExpression Id. */ - int HOUR = 102; - /** RegularExpression Id. */ - int DAY = 103; - /** RegularExpression Id. */ - int WEEK = 104; - /** RegularExpression Id. */ - int MONTH = 105; - /** RegularExpression Id. */ - int QUARTER = 106; - /** RegularExpression Id. */ - int YEAR = 107; - /** RegularExpression Id. */ - int INF = 108; - /** RegularExpression Id. */ - int NAN = 109; - /** RegularExpression Id. */ - int NULL = 110; - /** RegularExpression Id. */ - int A = 111; - /** RegularExpression Id. */ - int B = 112; - /** RegularExpression Id. */ - int C = 113; - /** RegularExpression Id. */ - int D = 114; - /** RegularExpression Id. */ - int E = 115; - /** RegularExpression Id. */ - int F = 116; - /** RegularExpression Id. */ - int G = 117; - /** RegularExpression Id. */ - int H = 118; - /** RegularExpression Id. */ - int I = 119; - /** RegularExpression Id. */ - int J = 120; - /** RegularExpression Id. */ - int K = 121; - /** RegularExpression Id. */ - int L = 122; - /** RegularExpression Id. */ - int M = 123; - /** RegularExpression Id. */ - int N = 124; - /** RegularExpression Id. */ - int O = 125; - /** RegularExpression Id. */ - int P = 126; - /** RegularExpression Id. */ - int Q = 127; - /** RegularExpression Id. */ - int R = 128; - /** RegularExpression Id. */ - int S = 129; - /** RegularExpression Id. */ - int T = 130; - /** RegularExpression Id. */ - int U = 131; - /** RegularExpression Id. */ - int V = 132; - /** RegularExpression Id. */ - int W = 133; - /** RegularExpression Id. */ - int X = 134; - /** RegularExpression Id. */ - int Y = 135; - /** RegularExpression Id. */ - int Z = 136; - /** RegularExpression Id. */ - int LETTER = 137; - /** RegularExpression Id. */ - int ZERO = 138; - /** RegularExpression Id. */ - int DEC_DIGIT = 139; - /** RegularExpression Id. */ - int HEX_DIGIT = 140; - /** RegularExpression Id. */ - int ARROW = 141; - /** RegularExpression Id. */ - int ASTERISK = 142; - /** RegularExpression Id. */ - int AT = 143; - /** RegularExpression Id. */ - int BACK_QUOTE = 144; - /** RegularExpression Id. */ - int BACK_SLASH = 145; - /** RegularExpression Id. */ - int COLON = 146; - /** RegularExpression Id. */ - int COMMA = 147; - /** RegularExpression Id. */ - int CONCAT = 148; - /** RegularExpression Id. */ - int DASH = 149; - /** RegularExpression Id. */ - int DOLLAR = 150; - /** RegularExpression Id. */ - int DOT = 151; - /** RegularExpression Id. */ - int EQ_DOUBLE = 152; - /** RegularExpression Id. */ - int EQ_SINGLE = 153; - /** RegularExpression Id. */ - int GE = 154; - /** RegularExpression Id. */ - int GT = 155; - /** RegularExpression Id. */ - int HASH = 156; - /** RegularExpression Id. */ - int LBRACE = 157; - /** RegularExpression Id. */ - int LBRACKET = 158; - /** RegularExpression Id. */ - int LE = 159; - /** RegularExpression Id. */ - int LPAREN = 160; - /** RegularExpression Id. */ - int LT = 161; - /** RegularExpression Id. */ - int NOT_EQ = 162; - /** RegularExpression Id. */ - int PERCENT = 163; - /** RegularExpression Id. */ - int PLUS = 164; - /** RegularExpression Id. */ - int QUERY = 165; - /** RegularExpression Id. */ - int DOUBLE_QUOTE = 166; - /** RegularExpression Id. */ - int SINGLE_QUOTE = 167; - /** RegularExpression Id. */ - int RBRACE = 168; - /** RegularExpression Id. */ - int RBRACKET = 169; - /** RegularExpression Id. */ - int RPAREN = 170; - /** RegularExpression Id. */ - int SEMICOLON = 171; - /** RegularExpression Id. */ - int SLASH = 172; - /** RegularExpression Id. */ - int UNDERSCORE = 173; - /** RegularExpression Id. */ - int STRING_LITERAL = 174; - /** RegularExpression Id. */ - int IDENTIFIER = 175; - /** RegularExpression Id. */ - int BACK_QUOTED_NAME = 176; - /** RegularExpression Id. */ - int DOUBLE_QUOTED_NAME = 177; - /** RegularExpression Id. */ - int FLOATING_LITERAL = 178; - /** RegularExpression Id. */ - int DECIMAL_LITERAL = 179; - /** RegularExpression Id. */ - int HEXADECIMAL_LITERAL = 180; + /** End of File. */ + int EOF = 0; + /** RegularExpression Id. */ + int WHITESPACE = 1; + /** RegularExpression Id. */ + int SINGLE_LINE_COMMENT = 2; + /** RegularExpression Id. */ + int ALTER = 7; + /** RegularExpression Id. */ + int ATTACH = 8; + /** RegularExpression Id. */ + int CHECK = 9; + /** RegularExpression Id. */ + int CREATE = 10; + /** RegularExpression Id. */ + int DELETE = 11; + /** RegularExpression Id. */ + int DESC = 12; + /** RegularExpression Id. */ + int DESCRIBE = 13; + /** RegularExpression Id. */ + int DETACH = 14; + /** RegularExpression Id. */ + int DROP = 15; + /** RegularExpression Id. */ + int EXISTS = 16; + /** RegularExpression Id. */ + int EXPLAIN = 17; + /** RegularExpression Id. */ + int GRANT = 18; + /** RegularExpression Id. */ + int INSERT = 19; + /** RegularExpression Id. */ + int KILL = 20; + /** RegularExpression Id. */ + int OPTIMIZE = 21; + /** RegularExpression Id. */ + int RENAME = 22; + /** RegularExpression Id. */ + int REVOKE = 23; + /** RegularExpression Id. */ + int SELECT = 24; + /** RegularExpression Id. */ + int SET = 25; + /** RegularExpression Id. */ + int SHOW = 26; + /** RegularExpression Id. */ + int SYSTEM = 27; + /** RegularExpression Id. */ + int TRUNCATE = 28; + /** RegularExpression Id. */ + int UPDATE = 29; + /** RegularExpression Id. */ + int USE = 30; + /** RegularExpression Id. */ + int WATCH = 31; + /** RegularExpression Id. */ + int ALL = 32; + /** RegularExpression Id. */ + int AND = 33; + /** RegularExpression Id. */ + int APPLY = 34; + /** RegularExpression Id. */ + int ARRAY = 35; + /** RegularExpression Id. */ + int AS = 36; + /** RegularExpression Id. */ + int ASOF = 37; + /** RegularExpression Id. */ + int BETWEEN = 38; + /** RegularExpression Id. */ + int CASE = 39; + /** RegularExpression Id. */ + int DATE = 40; + /** RegularExpression Id. */ + int DATABASE = 41; + /** RegularExpression Id. */ + int DATABASES = 42; + /** RegularExpression Id. */ + int DICTIONARY = 43; + /** RegularExpression Id. */ + int DICTIONARIES = 44; + /** RegularExpression Id. */ + int DISTINCT = 45; + /** RegularExpression Id. */ + int ELSE = 46; + /** RegularExpression Id. */ + int END = 47; + /** RegularExpression Id. */ + int EXCEPT = 48; + /** RegularExpression Id. */ + int FINAL = 49; + /** RegularExpression Id. */ + int FROM = 50; + /** RegularExpression Id. */ + int FULL = 51; + /** RegularExpression Id. */ + int FUNCTION = 52; + /** RegularExpression Id. */ + int GLOBAL = 53; + /** RegularExpression Id. */ + int GROUP = 54; + /** RegularExpression Id. */ + int HAVING = 55; + /** RegularExpression Id. */ + int IF = 56; + /** RegularExpression Id. */ + int ILIKE = 57; + /** RegularExpression Id. */ + int IN = 58; + /** RegularExpression Id. */ + int INNER = 59; + /** RegularExpression Id. */ + int INTERVAL = 60; + /** RegularExpression Id. */ + int INTO = 61; + /** RegularExpression Id. */ + int IS = 62; + /** RegularExpression Id. */ + int JOIN = 63; + /** RegularExpression Id. */ + int LEFT = 64; + /** RegularExpression Id. */ + int LIKE = 65; + /** RegularExpression Id. */ + int LIMIT = 66; + /** RegularExpression Id. */ + int LIVE = 67; + /** RegularExpression Id. */ + int MATERIALIZED = 68; + /** RegularExpression Id. */ + int NOT = 69; + /** RegularExpression Id. */ + int OFFSET = 70; + /** RegularExpression Id. */ + int ON = 71; + /** RegularExpression Id. */ + int OR = 72; + /** RegularExpression Id. */ + int ORDER = 73; + /** RegularExpression Id. */ + int POLICY = 74; + /** RegularExpression Id. */ + int PREWHERE = 75; + /** RegularExpression Id. */ + int PROFILE = 76; + /** RegularExpression Id. */ + int QUOTA = 77; + /** RegularExpression Id. */ + int REPLACE = 78; + /** RegularExpression Id. */ + int ROLE = 79; + /** RegularExpression Id. */ + int ROW = 80; + /** RegularExpression Id. */ + int RIGHT = 81; + /** RegularExpression Id. */ + int SAMPLE = 82; + /** RegularExpression Id. */ + int SETTINGS = 83; + /** RegularExpression Id. */ + int TEMPORARY = 84; + /** RegularExpression Id. */ + int TABLE = 85; + /** RegularExpression Id. */ + int TABLES = 86; + /** RegularExpression Id. */ + int THEN = 87; + /** RegularExpression Id. */ + int TIES = 88; + /** RegularExpression Id. */ + int TIMESTAMP = 89; + /** RegularExpression Id. */ + int TOP = 90; + /** RegularExpression Id. */ + int TOTALS = 91; + /** RegularExpression Id. */ + int UNION = 92; + /** RegularExpression Id. */ + int USER = 93; + /** RegularExpression Id. */ + int USING = 94; + /** RegularExpression Id. */ + int VALUES = 95; + /** RegularExpression Id. */ + int VIEW = 96; + /** RegularExpression Id. */ + int WHEN = 97; + /** RegularExpression Id. */ + int WHERE = 98; + /** RegularExpression Id. */ + int WITH = 99; + /** RegularExpression Id. */ + int SECOND = 100; + /** RegularExpression Id. */ + int MINUTE = 101; + /** RegularExpression Id. */ + int HOUR = 102; + /** RegularExpression Id. */ + int DAY = 103; + /** RegularExpression Id. */ + int WEEK = 104; + /** RegularExpression Id. */ + int MONTH = 105; + /** RegularExpression Id. */ + int QUARTER = 106; + /** RegularExpression Id. */ + int YEAR = 107; + /** RegularExpression Id. */ + int INF = 108; + /** RegularExpression Id. */ + int NAN = 109; + /** RegularExpression Id. */ + int NULL = 110; + /** RegularExpression Id. */ + int A = 111; + /** RegularExpression Id. */ + int B = 112; + /** RegularExpression Id. */ + int C = 113; + /** RegularExpression Id. */ + int D = 114; + /** RegularExpression Id. */ + int E = 115; + /** RegularExpression Id. */ + int F = 116; + /** RegularExpression Id. */ + int G = 117; + /** RegularExpression Id. */ + int H = 118; + /** RegularExpression Id. */ + int I = 119; + /** RegularExpression Id. */ + int J = 120; + /** RegularExpression Id. */ + int K = 121; + /** RegularExpression Id. */ + int L = 122; + /** RegularExpression Id. */ + int M = 123; + /** RegularExpression Id. */ + int N = 124; + /** RegularExpression Id. */ + int O = 125; + /** RegularExpression Id. */ + int P = 126; + /** RegularExpression Id. */ + int Q = 127; + /** RegularExpression Id. */ + int R = 128; + /** RegularExpression Id. */ + int S = 129; + /** RegularExpression Id. */ + int T = 130; + /** RegularExpression Id. */ + int U = 131; + /** RegularExpression Id. */ + int V = 132; + /** RegularExpression Id. */ + int W = 133; + /** RegularExpression Id. */ + int X = 134; + /** RegularExpression Id. */ + int Y = 135; + /** RegularExpression Id. */ + int Z = 136; + /** RegularExpression Id. */ + int LETTER = 137; + /** RegularExpression Id. */ + int ZERO = 138; + /** RegularExpression Id. */ + int DEC_DIGIT = 139; + /** RegularExpression Id. */ + int HEX_DIGIT = 140; + /** RegularExpression Id. */ + int ARROW = 141; + /** RegularExpression Id. */ + int ASTERISK = 142; + /** RegularExpression Id. */ + int AT = 143; + /** RegularExpression Id. */ + int BACK_QUOTE = 144; + /** RegularExpression Id. */ + int BACK_SLASH = 145; + /** RegularExpression Id. */ + int COLON = 146; + /** RegularExpression Id. */ + int COMMA = 147; + /** RegularExpression Id. */ + int CONCAT = 148; + /** RegularExpression Id. */ + int DASH = 149; + /** RegularExpression Id. */ + int DOLLAR = 150; + /** RegularExpression Id. */ + int DOT = 151; + /** RegularExpression Id. */ + int EQ_DOUBLE = 152; + /** RegularExpression Id. */ + int EQ_SINGLE = 153; + /** RegularExpression Id. */ + int GE = 154; + /** RegularExpression Id. */ + int GT = 155; + /** RegularExpression Id. */ + int HASH = 156; + /** RegularExpression Id. */ + int LBRACE = 157; + /** RegularExpression Id. */ + int LBRACKET = 158; + /** RegularExpression Id. */ + int LE = 159; + /** RegularExpression Id. */ + int LPAREN = 160; + /** RegularExpression Id. */ + int LT = 161; + /** RegularExpression Id. */ + int NOT_EQ = 162; + /** RegularExpression Id. */ + int PERCENT = 163; + /** RegularExpression Id. */ + int PLUS = 164; + /** RegularExpression Id. */ + int QUERY = 165; + /** RegularExpression Id. */ + int DOUBLE_QUOTE = 166; + /** RegularExpression Id. */ + int SINGLE_QUOTE = 167; + /** RegularExpression Id. */ + int RBRACE = 168; + /** RegularExpression Id. */ + int RBRACKET = 169; + /** RegularExpression Id. */ + int RPAREN = 170; + /** RegularExpression Id. */ + int SEMICOLON = 171; + /** RegularExpression Id. */ + int SLASH = 172; + /** RegularExpression Id. */ + int UNDERSCORE = 173; + /** RegularExpression Id. */ + int STRING_LITERAL = 174; + /** RegularExpression Id. */ + int IDENTIFIER = 175; + /** RegularExpression Id. */ + int BACK_QUOTED_NAME = 176; + /** RegularExpression Id. */ + int DOUBLE_QUOTED_NAME = 177; + /** RegularExpression Id. */ + int FLOATING_LITERAL = 178; + /** RegularExpression Id. */ + int DECIMAL_LITERAL = 179; + /** RegularExpression Id. */ + int HEXADECIMAL_LITERAL = 180; - /** Lexical state. */ - int DEFAULT = 0; - /** Lexical state. */ - int MULTI_LINE_COMMENT = 1; + /** Lexical state. */ + int DEFAULT = 0; + /** Lexical state. */ + int MULTI_LINE_COMMENT = 1; - /** Literal token values. */ - String[] tokenImage = { "", "", "", "\"/*\"", "\"/*\"", "\"*/\"", - "", "", "", "", "", "", "", "", - "", "", "", "", "", "", "", "", "", - "", "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "

", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\"0\"", + "", + "", + "\"->\"", + "\"*\"", + "\"@\"", + "\"`\"", + "\"\\\\\"", + "\":\"", + "\",\"", + "\"||\"", + "\"-\"", + "\"$\"", + "\".\"", + "\"==\"", + "\"=\"", + "\">=\"", + "\">\"", + "\"#\"", + "\"{\"", + "\"[\"", + "\"<=\"", + "\"(\"", + "\"<\"", + "", + "\"%\"", + "\"+\"", + "\"?\"", + "\"\\\"\"", + "\"\\\'\"", + "\"}\"", + "\"]\"", + "\")\"", + "\";\"", + "\"/\"", + "\"_\"", + "", + "", + "", + "", + "", + "", + "", + }; } diff --git a/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserTokenManager.java b/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserTokenManager.java index f3eaf32..1a4e13f 100644 --- a/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserTokenManager.java +++ b/ceresdb-sql-javacc/src/main/java/io/ceresdb/sql/CeresDBSqlParserTokenManager.java @@ -1,34 +1,33 @@ -/* - * Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0. - */ /* CeresDBSqlParserTokenManager.java */ /* Generated by: ParserGeneratorCC: Do not edit this line. CeresDBSqlParserTokenManager.java */ package io.ceresdb.sql; - +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import java.io.StringReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** Token Manager. */ -@SuppressWarnings("unused") +@SuppressWarnings ("unused") public class CeresDBSqlParserTokenManager implements CeresDBSqlParserConstants { // whitespaces and comments are invalid - private int validTokens = 0; + private int validTokens = 0; // see http://www.engr.mun.ca/~theo/JavaCC-FAQ/javacc-faq-moz.htm#tth_sEc3.17 - private int commentNestingDepth = 0; + private int commentNestingDepth = 0; - final java.util.Deque stack = new java.util.LinkedList<>(); - int parentToken = -1; + final java.util.Deque stack = new java.util.LinkedList<>(); + int parentToken = -1; - final StringBuilder builder = new StringBuilder(); + final StringBuilder builder = new StringBuilder(); - StatementType stmtType = StatementType.UNKNOWN; - String database = null; + StatementType stmtType = StatementType.UNKNOWN; + String database = null; - final List tables = new ArrayList<>(); - final List parameters = new ArrayList<>(); - final Map positions = new HashMap<>(); + final List tables = new ArrayList<>(); + final List parameters = new ArrayList<>(); + final Map positions = new HashMap<>(); public void CommonTokenAction(Token t) { if (t.kind != CeresDBSqlParserConstants.SEMICOLON) { @@ -106,11 +105,13 @@ CeresDBSqlStatement build(ParseHandler handler) { String sqlStmt = builder.toString(); CeresDBSqlStatement s = null; if (handler != null) { - s = handler.handleStatement(sqlStmt, stmtType, database, tables, parameters, positions); + s = handler.handleStatement( + sqlStmt, stmtType, database, tables, parameters, positions); } if (s == null) { - s = new CeresDBSqlStatement(sqlStmt, stmtType, database, tables, parameters, positions); + s = new CeresDBSqlStatement( + sqlStmt, stmtType, database, tables, parameters, positions); } // reset variables @@ -130,3065 +131,3019 @@ void setPosition(String keyword) { this.positions.put(keyword, builder.lastIndexOf(keyword)); } - - private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2) { - switch (pos) { - case 0: - if ((active0 & 0x8L) != 0x0L || (active2 & 0x100000000000L) != 0x0L) - return 4; - if ((active2 & 0x400000L) != 0x0L) - return 37; - if ((active2 & 0x800000L) != 0x0L) - return 53; - if ((active2 & 0x280000000L) != 0x0L) - return 27; - if ((active2 & 0x10000L) != 0x0L) - return 536; - if ((active2 & 0x202000L) != 0x0L) - return 1; - if ((active2 & 0x8000000000L) != 0x0L) - return 537; - if ((active2 & 0x4000000000L) != 0x0L) - return 538; - return -1; - default: - return -1; - } - } - - private final int jjStartNfa_0(int pos, long active0, long active1, long active2) { - return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); - } - - private int jjStopAtPos(int pos, int kind) { - jjmatchedKind = kind; - jjmatchedPos = pos; - return pos + 1; - } - - private int jjMoveStringLiteralDfa0_0() { - switch (curChar) { - case '"': - return jjStartNfaWithStates_0(0, 166, 538); - case '#': - return jjStopAtPos(0, 156); - case '$': - return jjStartNfaWithStates_0(0, 150, 37); - case '%': - return jjStopAtPos(0, 163); - case '\'': - return jjStartNfaWithStates_0(0, 167, 537); - case '(': - return jjStopAtPos(0, 160); - case ')': - return jjStopAtPos(0, 170); - case '*': - return jjStopAtPos(0, 142); - case '+': - return jjStopAtPos(0, 164); - case ',': - return jjStopAtPos(0, 147); - case '-': - jjmatchedKind = 149; - return jjMoveStringLiteralDfa1_0(0x0L, 0x2000L); - case '.': - return jjStartNfaWithStates_0(0, 151, 53); - case '/': - jjmatchedKind = 172; - return jjMoveStringLiteralDfa1_0(0x8L, 0x0L); - case ':': - return jjStopAtPos(0, 146); - case ';': - return jjStopAtPos(0, 171); - case '<': - jjmatchedKind = 161; - return jjMoveStringLiteralDfa1_0(0x0L, 0x80000000L); - case '=': - jjmatchedKind = 153; - return jjMoveStringLiteralDfa1_0(0x0L, 0x1000000L); - case '>': - jjmatchedKind = 155; - return jjMoveStringLiteralDfa1_0(0x0L, 0x4000000L); - case '?': - return jjStopAtPos(0, 165); - case '@': - return jjStopAtPos(0, 143); - case '[': - return jjStopAtPos(0, 158); - case '\\': - return jjStopAtPos(0, 145); - case ']': - return jjStopAtPos(0, 169); - case '`': - return jjStartNfaWithStates_0(0, 144, 536); - case '{': - return jjStopAtPos(0, 157); - case '|': - return jjMoveStringLiteralDfa1_0(0x0L, 0x100000L); - case '}': - return jjStopAtPos(0, 168); - default: - return jjMoveNfa_0(0, 0); - } - } - - private int jjMoveStringLiteralDfa1_0(long active0, long active2) { - try { - curChar = input_stream.readChar(); - } catch (java.io.IOException e) { - jjStopStringLiteralDfa_0(0, active0, 0L, active2); +private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2){ + switch (pos) + { + case 0: + if ((active0 & 0x8L) != 0x0L || (active2 & 0x100000000000L) != 0x0L) + return 4; + if ((active2 & 0x400000L) != 0x0L) + return 37; + if ((active2 & 0x800000L) != 0x0L) + return 53; + if ((active2 & 0x280000000L) != 0x0L) + return 27; + if ((active2 & 0x10000L) != 0x0L) + return 536; + if ((active2 & 0x202000L) != 0x0L) return 1; - } - switch (curChar) { - case '*': - if ((active0 & 0x8L) != 0x0L) - return jjStopAtPos(1, 3); - break; - case '=': - if ((active2 & 0x1000000L) != 0x0L) - return jjStopAtPos(1, 152); - else if ((active2 & 0x4000000L) != 0x0L) - return jjStopAtPos(1, 154); - else if ((active2 & 0x80000000L) != 0x0L) - return jjStopAtPos(1, 159); - break; - case '>': - if ((active2 & 0x2000L) != 0x0L) - return jjStopAtPos(1, 141); - break; - case '|': - if ((active2 & 0x100000L) != 0x0L) - return jjStopAtPos(1, 148); - break; - default: - break; - } - return jjStartNfa_0(0, active0, 0L, active2); - } - - private int jjStartNfaWithStates_0(int pos, int kind, int state) { - jjmatchedKind = kind; - jjmatchedPos = pos; - try { - curChar = input_stream.readChar(); - } catch (java.io.IOException e) { - return pos + 1; - } - return jjMoveNfa_0(state, pos + 1); - } - - static final long[] jjbitVec0 = { 0x0L, 0x0L, 0x100000020L, 0x0L }; - static final long[] jjbitVec1 = { 0x4000L, 0x0L, 0x0L, 0x0L }; - static final long[] jjbitVec2 = { 0x830000003c01L, 0x180000000L, 0x0L, 0x0L }; - static final long[] jjbitVec3 = { 0x1L, 0x0L, 0x0L, 0x0L }; - static final long[] jjbitVec4 = { 0x0L, 0x0L, 0x0L, 0x8000000000000000L }; - static final long[] jjbitVec5 = { 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, - 0xffffffffffffffffL }; - static final long[] jjbitVec7 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; - - private int jjMoveNfa_0(int startState, int curPos) { - int startsAt = 0; - jjnewStateCnt = 536; - int i = 1; - jjstateSet[0] = startState; - int kind = 0x7fffffff; - for (;;) { - if (++jjround == 0x7fffffff) - ReInitRounds(); - if (curChar < 64) { - long l = 1L << curChar; - do { - switch (jjstateSet[--i]) { - case 536: - case 41: - case 40: { - jjCheckNAddStates(0, 3); - } - break; - case 537: - if ((0xffffff7fffffffffL & l) != 0x0L) { - jjCheckNAddStates(4, 7); - } else if (curChar == 39) { - if (kind > 174) - kind = 174; - } - if (curChar == 39) - jjstateSet[jjnewStateCnt++] = 33; - break; - case 538: - if ((0xfffffffbffffffffL & l) != 0x0L) { - jjCheckNAddStates(8, 11); - } else if (curChar == 34) { - if (kind > 177) - kind = 177; - } - if (curChar == 34) - jjstateSet[jjnewStateCnt++] = 49; - break; - case 0: - if ((0x3ff000000000000L & l) != 0x0L) { - if (kind > 179) - kind = 179; - { - jjCheckNAddStates(12, 19); - } - } else if ((0x100003e00L & l) != 0x0L) { - if (kind > 1) - kind = 1; - } else if (curChar == 46) { - jjCheckNAdd(53); - } else if (curChar == 34) { - jjCheckNAddStates(8, 11); - } else if (curChar == 36) { - if (kind > 175) - kind = 175; - { - jjCheckNAdd(37); - } - } else if (curChar == 39) { - jjCheckNAddStates(4, 7); - } else if (curChar == 60) - jjstateSet[jjnewStateCnt++] = 27; - else if (curChar == 33) - jjstateSet[jjnewStateCnt++] = 25; - else if (curChar == 47) - jjstateSet[jjnewStateCnt++] = 4; - else if (curChar == 45) - jjstateSet[jjnewStateCnt++] = 1; - if (curChar == 48) { - jjAddStates(20, 22); - } - break; - case 1: - if (curChar != 45) - break; - if (kind > 2) - kind = 2; - { - jjCheckNAdd(2); - } - break; - case 2: - if ((0xffffffffffffdbffL & l) == 0x0L) - break; - if (kind > 2) - kind = 2; - { - jjCheckNAdd(2); - } - break; - case 3: - if (curChar == 45) - jjstateSet[jjnewStateCnt++] = 1; - break; - case 4: - if (curChar != 47) - break; - if (kind > 2) - kind = 2; - { - jjCheckNAdd(2); - } - break; - case 5: - if (curChar == 47) - jjstateSet[jjnewStateCnt++] = 4; - break; - case 25: - if (curChar == 61 && kind > 162) - kind = 162; - break; - case 26: - if (curChar == 33) - jjstateSet[jjnewStateCnt++] = 25; - break; - case 27: - if (curChar == 62 && kind > 162) - kind = 162; - break; - case 28: - if (curChar == 60) - jjstateSet[jjnewStateCnt++] = 27; - break; - case 29: - case 33: - if (curChar == 39) { - jjCheckNAddStates(4, 7); - } - break; - case 31: { - jjCheckNAddStates(4, 7); - } - break; - case 32: - if ((0xffffff7fffffffffL & l) != 0x0L) { - jjCheckNAddStates(4, 7); - } - break; - case 34: - if (curChar == 39) - jjstateSet[jjnewStateCnt++] = 33; - break; - case 35: - if (curChar == 39 && kind > 174) - kind = 174; - break; - case 36: - if (curChar != 36) - break; - if (kind > 175) - kind = 175; - { - jjCheckNAdd(37); - } - break; - case 37: - if ((0x3ff001000000000L & l) == 0x0L) - break; - if (kind > 175) - kind = 175; - { - jjCheckNAdd(37); - } - break; - case 45: - case 49: - if (curChar == 34) { - jjCheckNAddStates(8, 11); - } - break; - case 47: { - jjCheckNAddStates(8, 11); - } - break; - case 48: - if ((0xfffffffbffffffffL & l) != 0x0L) { - jjCheckNAddStates(8, 11); - } - break; - case 50: - if (curChar == 34) - jjstateSet[jjnewStateCnt++] = 49; - break; - case 51: - if (curChar == 34 && kind > 177) - kind = 177; - break; - case 52: - if (curChar == 46) { - jjCheckNAdd(53); - } - break; - case 53: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAddTwoStates(53, 54); - } - break; - case 55: - if ((0x280000000000L & l) != 0x0L) { - jjCheckNAdd(56); - } - break; - case 56: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAdd(56); - } - break; - case 502: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 179) - kind = 179; - { - jjCheckNAddStates(12, 19); - } - break; - case 503: - if ((0x3ff000000000000L & l) != 0x0L) { - jjCheckNAddStates(23, 25); - } - break; - case 507: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 175) - kind = 175; - jjstateSet[jjnewStateCnt++] = 507; - break; - case 508: - if ((0x3ff000000000000L & l) != 0x0L) { - jjCheckNAddTwoStates(508, 509); - } - break; - case 509: - if (curChar != 46) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAddTwoStates(510, 511); - } - break; - case 510: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAddTwoStates(510, 511); - } - break; - case 512: - if ((0x280000000000L & l) != 0x0L) { - jjCheckNAdd(513); - } - break; - case 513: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAdd(513); - } - break; - case 514: - if ((0x3ff000000000000L & l) != 0x0L) { - jjCheckNAddTwoStates(514, 515); - } - break; - case 516: - if ((0x280000000000L & l) != 0x0L) { - jjCheckNAdd(517); - } - break; - case 517: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAdd(517); - } - break; - case 518: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 179) - kind = 179; - { - jjCheckNAdd(518); - } - break; - case 519: - if (curChar == 48) { - jjAddStates(20, 22); - } - break; - case 521: - if ((0x3ff000000000000L & l) != 0x0L) { - jjAddStates(26, 27); - } - break; - case 522: - if (curChar == 46) { - jjCheckNAddTwoStates(523, 526); - } - break; - case 523: - if (curChar == 48) - jjstateSet[jjnewStateCnt++] = 524; - break; - case 525: - if ((0x3ff000000000000L & l) != 0x0L) { - jjCheckNAddTwoStates(525, 526); - } - break; - case 527: - if ((0x280000000000L & l) != 0x0L) { - jjCheckNAdd(528); - } - break; - case 528: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAdd(528); - } - break; - case 530: - if ((0x3ff000000000000L & l) != 0x0L) { - jjAddStates(28, 29); - } - break; - case 532: - if ((0x280000000000L & l) != 0x0L) { - jjCheckNAdd(533); - } - break; - case 533: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 178) - kind = 178; - { - jjCheckNAdd(533); - } - break; - case 535: - if ((0x3ff000000000000L & l) == 0x0L) - break; - if (kind > 180) - kind = 180; - jjstateSet[jjnewStateCnt++] = 535; - break; - default: - break; - } - } while (i != startsAt); - } else if (curChar < 128) { - long l = 1L << (curChar & 077); - do { - switch (jjstateSet[--i]) { - case 536: - if ((0xfffffffeefffffffL & l) != 0x0L) { - jjCheckNAddStates(0, 3); - } else if (curChar == 96) { - if (kind > 176) - kind = 176; - } else if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 40; - if (curChar == 96) - jjstateSet[jjnewStateCnt++] = 42; - break; - case 537: - if ((0xffffffffefffffffL & l) != 0x0L) { - jjCheckNAddStates(4, 7); - } else if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 31; - break; - case 538: - if ((0xffffffffefffffffL & l) != 0x0L) { - jjCheckNAddStates(8, 11); - } else if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 47; - break; - case 0: - if ((0x7fffffe87fffffeL & l) != 0x0L) { - if (kind > 175) - kind = 175; - { - jjCheckNAdd(37); - } - } else if (curChar == 96) { - jjCheckNAddStates(0, 3); - } - if ((0x40000000400000L & l) != 0x0L) { - jjAddStates(30, 31); - } else if ((0x2000000020000L & l) != 0x0L) { - jjAddStates(32, 33); - } else if ((0x1000000010000L & l) != 0x0L) { - jjAddStates(34, 36); - } else if ((0x400000004000L & l) != 0x0L) { - jjAddStates(37, 39); - } else if ((0x200000002000L & l) != 0x0L) { - jjAddStates(40, 42); - } else if ((0x100000001000L & l) != 0x0L) { - jjAddStates(43, 46); - } else if ((0x10000000100L & l) != 0x0L) { - jjAddStates(47, 48); - } else if ((0x4000000040L & l) != 0x0L) { - jjAddStates(49, 52); - } else if ((0x80000000800000L & l) != 0x0L) { - jjAddStates(53, 57); - } else if ((0x20000000200000L & l) != 0x0L) { - jjAddStates(58, 62); - } else if ((0x10000000100000L & l) != 0x0L) { - jjAddStates(63, 71); - } else if ((0x8000000080000L & l) != 0x0L) { - jjAddStates(72, 78); - } else if ((0x4000000040000L & l) != 0x0L) { - jjAddStates(79, 84); - } else if ((0x800000008000L & l) != 0x0L) { - jjAddStates(85, 89); - } else if ((0x20000000200L & l) != 0x0L) { - jjAddStates(90, 98); - } else if ((0x8000000080L & l) != 0x0L) { - jjAddStates(99, 101); - } else if ((0x2000000020L & l) != 0x0L) { - jjAddStates(102, 106); - } else if ((0x1000000010L & l) != 0x0L) { - jjAddStates(107, 118); - } else if ((0x800000008L & l) != 0x0L) { - jjAddStates(119, 121); - } else if ((0x200000002L & l) != 0x0L) { - jjAddStates(122, 129); - } else if ((0x200000002000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 22; - else if ((0x40000000400L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 18; - else if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 11; - else if ((0x80000000800L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 7; - break; - case 2: - if (kind > 2) - kind = 2; - jjstateSet[jjnewStateCnt++] = 2; - break; - case 6: - if ((0x80000000800L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 7; - break; - case 7: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 8; - break; - case 8: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 9; - break; - case 9: - if ((0x100000001000L & l) != 0x0L && kind > 20) - kind = 20; - break; - case 10: - if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 11; - break; - case 11: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 12; - break; - case 12: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 13; - break; - case 13: - if ((0x80000000800000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 14; - break; - case 14: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 15; - break; - case 15: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 16; - break; - case 16: - if ((0x400000004000L & l) != 0x0L && kind > 38) - kind = 38; - break; - case 17: - if ((0x40000000400L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 18; - break; - case 18: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 19; - break; - case 19: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 20; - break; - case 20: - if ((0x400000004000L & l) != 0x0L && kind > 63) - kind = 63; - break; - case 21: - if ((0x200000002000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 22; - break; - case 22: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 23; - break; - case 23: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 24; - break; - case 24: - if ((0x4000000040000L & l) != 0x0L && kind > 107) - kind = 107; - break; - case 30: - if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 31; - break; - case 31: { - jjCheckNAddStates(4, 7); - } - break; - case 32: - if ((0xffffffffefffffffL & l) != 0x0L) { - jjCheckNAddStates(4, 7); - } - break; - case 36: - case 37: - if ((0x7fffffe87fffffeL & l) == 0x0L) - break; - if (kind > 175) - kind = 175; - { - jjCheckNAdd(37); - } - break; - case 38: - case 42: - if (curChar == 96) { - jjCheckNAddStates(0, 3); - } - break; - case 39: - if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 40; - break; - case 40: { - jjCheckNAddStates(0, 3); - } - break; - case 41: - if ((0xfffffffeefffffffL & l) != 0x0L) { - jjCheckNAddStates(0, 3); - } - break; - case 43: - if (curChar == 96) - jjstateSet[jjnewStateCnt++] = 42; - break; - case 44: - if (curChar == 96 && kind > 176) - kind = 176; - break; - case 46: - if (curChar == 92) - jjstateSet[jjnewStateCnt++] = 47; - break; - case 47: { - jjCheckNAddStates(8, 11); - } - break; - case 48: - if ((0xffffffffefffffffL & l) != 0x0L) { - jjCheckNAddStates(8, 11); - } - break; - case 54: - if ((0x2000000020L & l) != 0x0L) { - jjAddStates(130, 131); - } - break; - case 57: - if ((0x200000002L & l) != 0x0L) { - jjAddStates(122, 129); - } - break; - case 58: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 59; - break; - case 59: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 60; - break; - case 60: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 61; - break; - case 61: - if ((0x4000000040000L & l) != 0x0L && kind > 7) - kind = 7; - break; - case 62: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 63; - break; - case 63: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 64; - break; - case 64: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 65; - break; - case 65: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 66; - break; - case 66: - if ((0x10000000100L & l) != 0x0L && kind > 8) - kind = 8; - break; - case 67: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 68; - break; - case 68: - if ((0x100000001000L & l) != 0x0L && kind > 32) - kind = 32; - break; - case 69: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 70; - break; - case 70: - if ((0x1000000010L & l) != 0x0L && kind > 33) - kind = 33; - break; - case 71: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 72; - break; - case 72: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 73; - break; - case 73: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 74; - break; - case 74: - if ((0x200000002000000L & l) != 0x0L && kind > 34) - kind = 34; - break; - case 75: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 76; - break; - case 76: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 77; - break; - case 77: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 78; - break; - case 78: - if ((0x200000002000000L & l) != 0x0L && kind > 35) - kind = 35; - break; - case 79: - if ((0x8000000080000L & l) != 0x0L && kind > 36) - kind = 36; - break; - case 80: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 81; - break; - case 81: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 82; - break; - case 82: - if ((0x4000000040L & l) != 0x0L && kind > 37) - kind = 37; - break; - case 83: - if ((0x800000008L & l) != 0x0L) { - jjAddStates(119, 121); - } - break; - case 84: - if ((0x10000000100L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 85; - break; - case 85: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 86; - break; - case 86: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 87; - break; - case 87: - if ((0x80000000800L & l) != 0x0L && kind > 9) - kind = 9; - break; - case 88: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 89; - break; - case 89: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 90; - break; - case 90: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 91; - break; - case 91: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 92; - break; - case 92: - if ((0x2000000020L & l) != 0x0L && kind > 10) - kind = 10; - break; - case 93: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 94; - break; - case 94: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 95; - break; - case 95: - if ((0x2000000020L & l) != 0x0L && kind > 39) - kind = 39; - break; - case 96: - if ((0x1000000010L & l) != 0x0L) { - jjAddStates(107, 118); - } - break; - case 97: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 98; - break; - case 98: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 99; - break; - case 99: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 100; - break; - case 100: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 101; - break; - case 101: - if ((0x2000000020L & l) != 0x0L && kind > 11) - kind = 11; - break; - case 102: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 103; - break; - case 103: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 104; - break; - case 104: - if ((0x800000008L & l) != 0x0L && kind > 12) - kind = 12; - break; - case 105: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 106; - break; - case 106: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 107; - break; - case 107: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 108; - break; - case 108: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 109; - break; - case 109: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 110; - break; - case 110: - if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 111; - break; - case 111: - if ((0x2000000020L & l) != 0x0L && kind > 13) - kind = 13; - break; - case 112: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 113; - break; - case 113: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 114; - break; - case 114: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 115; - break; - case 115: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 116; - break; - case 116: - if ((0x10000000100L & l) != 0x0L && kind > 14) - kind = 14; - break; - case 117: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 118; - break; - case 118: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 119; - break; - case 119: - if ((0x1000000010000L & l) != 0x0L && kind > 15) - kind = 15; - break; - case 120: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 121; - break; - case 121: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 122; - break; - case 122: - if ((0x2000000020L & l) != 0x0L && kind > 40) - kind = 40; - break; - case 123: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 124; - break; - case 124: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 125; - break; - case 125: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 126; - break; - case 126: - if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 127; - break; - case 127: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 128; - break; - case 128: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 129; - break; - case 129: - if ((0x2000000020L & l) != 0x0L && kind > 41) - kind = 41; - break; - case 130: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 131; - break; - case 131: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 132; - break; - case 132: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 133; - break; - case 133: - if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 134; - break; - case 134: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 135; - break; - case 135: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 136; - break; - case 136: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 137; - break; - case 137: - if ((0x8000000080000L & l) != 0x0L && kind > 42) - kind = 42; - break; - case 138: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 139; - break; - case 139: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 140; - break; - case 140: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 141; - break; - case 141: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 142; - break; - case 142: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 143; - break; - case 143: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 144; - break; - case 144: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 145; - break; - case 145: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 146; - break; - case 146: - if ((0x200000002000000L & l) != 0x0L && kind > 43) - kind = 43; - break; - case 147: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 148; - break; - case 148: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 149; - break; - case 149: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 150; - break; - case 150: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 151; - break; - case 151: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 152; - break; - case 152: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 153; - break; - case 153: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 154; - break; - case 154: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 155; - break; - case 155: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 156; - break; - case 156: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 157; - break; - case 157: - if ((0x8000000080000L & l) != 0x0L && kind > 44) - kind = 44; - break; - case 158: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 159; - break; - case 159: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 160; - break; - case 160: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 161; - break; - case 161: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 162; - break; - case 162: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 163; - break; - case 163: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 164; - break; - case 164: - if ((0x10000000100000L & l) != 0x0L && kind > 45) - kind = 45; - break; - case 165: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 166; - break; - case 166: - if ((0x200000002000000L & l) != 0x0L && kind > 103) - kind = 103; - break; - case 167: - if ((0x2000000020L & l) != 0x0L) { - jjAddStates(102, 106); - } - break; - case 168: - if ((0x100000001000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 169; - break; - case 169: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 170; - break; - case 170: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 171; - break; - case 171: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 172; - break; - case 172: - if ((0x8000000080000L & l) != 0x0L && kind > 16) - kind = 16; - break; - case 173: - if ((0x100000001000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 174; - break; - case 174: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 175; - break; - case 175: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 176; - break; - case 176: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 177; - break; - case 177: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 178; - break; - case 178: - if ((0x400000004000L & l) != 0x0L && kind > 17) - kind = 17; - break; - case 179: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 180; - break; - case 180: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 181; - break; - case 181: - if ((0x2000000020L & l) != 0x0L && kind > 46) - kind = 46; - break; - case 182: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 183; - break; - case 183: - if ((0x1000000010L & l) != 0x0L && kind > 47) - kind = 47; - break; - case 184: - if ((0x100000001000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 185; - break; - case 185: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 186; - break; - case 186: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 187; - break; - case 187: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 188; - break; - case 188: - if ((0x10000000100000L & l) != 0x0L && kind > 48) - kind = 48; - break; - case 189: - if ((0x8000000080L & l) != 0x0L) { - jjAddStates(99, 101); - } - break; - case 190: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 191; - break; - case 191: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 192; - break; - case 192: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 193; - break; - case 193: - if ((0x10000000100000L & l) != 0x0L && kind > 18) - kind = 18; - break; - case 194: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 195; - break; - case 195: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 196; - break; - case 196: - if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 197; - break; - case 197: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 198; - break; - case 198: - if ((0x100000001000L & l) != 0x0L && kind > 53) - kind = 53; - break; - case 199: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 200; - break; - case 200: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 201; - break; - case 201: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 202; - break; - case 202: - if ((0x1000000010000L & l) != 0x0L && kind > 54) - kind = 54; - break; - case 203: - if ((0x20000000200L & l) != 0x0L) { - jjAddStates(90, 98); - } - break; - case 204: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 205; - break; - case 205: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 206; - break; - case 206: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 207; - break; - case 207: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 208; - break; - case 208: - if ((0x10000000100000L & l) != 0x0L && kind > 19) - kind = 19; - break; - case 209: - if ((0x4000000040L & l) != 0x0L && kind > 56) - kind = 56; - break; - case 210: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 211; - break; - case 211: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 212; - break; - case 212: - if ((0x80000000800L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 213; - break; - case 213: - if ((0x2000000020L & l) != 0x0L && kind > 57) - kind = 57; - break; - case 214: - if ((0x400000004000L & l) != 0x0L && kind > 58) - kind = 58; - break; - case 215: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 216; - break; - case 216: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 217; - break; - case 217: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 218; - break; - case 218: - if ((0x4000000040000L & l) != 0x0L && kind > 59) - kind = 59; - break; - case 219: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 220; - break; - case 220: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 221; - break; - case 221: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 222; - break; - case 222: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 223; - break; - case 223: - if ((0x40000000400000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 224; - break; - case 224: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 225; - break; - case 225: - if ((0x100000001000L & l) != 0x0L && kind > 60) - kind = 60; - break; - case 226: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 227; - break; - case 227: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 228; - break; - case 228: - if ((0x800000008000L & l) != 0x0L && kind > 61) - kind = 61; - break; - case 229: - if ((0x8000000080000L & l) != 0x0L && kind > 62) - kind = 62; - break; - case 230: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 231; - break; - case 231: - if ((0x4000000040L & l) != 0x0L && kind > 108) - kind = 108; - break; - case 232: - if ((0x800000008000L & l) != 0x0L) { - jjAddStates(85, 89); - } - break; - case 233: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 234; - break; - case 234: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 235; - break; - case 235: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 236; - break; - case 236: - if ((0x200000002000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 237; - break; - case 237: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 238; - break; - case 238: - if ((0x400000004000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 239; - break; - case 239: - if ((0x2000000020L & l) != 0x0L && kind > 21) - kind = 21; - break; - case 240: - if ((0x4000000040L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 241; - break; - case 241: - if ((0x4000000040L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 242; - break; - case 242: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 243; - break; - case 243: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 244; - break; - case 244: - if ((0x10000000100000L & l) != 0x0L && kind > 70) - kind = 70; - break; - case 245: - if ((0x400000004000L & l) != 0x0L && kind > 71) - kind = 71; - break; - case 246: - if ((0x4000000040000L & l) != 0x0L && kind > 72) - kind = 72; - break; - case 247: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 248; - break; - case 248: - if ((0x1000000010L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 249; - break; - case 249: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 250; - break; - case 250: - if ((0x4000000040000L & l) != 0x0L && kind > 73) - kind = 73; - break; - case 251: - if ((0x4000000040000L & l) != 0x0L) { - jjAddStates(79, 84); - } - break; - case 252: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 253; - break; - case 253: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 254; - break; - case 254: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 255; - break; - case 255: - if ((0x200000002000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 256; - break; - case 256: - if ((0x2000000020L & l) != 0x0L && kind > 22) - kind = 22; - break; - case 257: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 258; - break; - case 258: - if ((0x40000000400000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 259; - break; - case 259: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 260; - break; - case 260: - if ((0x80000000800L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 261; - break; - case 261: - if ((0x2000000020L & l) != 0x0L && kind > 23) - kind = 23; - break; - case 262: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 263; - break; - case 263: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 264; - break; - case 264: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 265; - break; - case 265: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 266; - break; - case 266: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 267; - break; - case 267: - if ((0x2000000020L & l) != 0x0L && kind > 78) - kind = 78; - break; - case 268: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 269; - break; - case 269: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 270; - break; - case 270: - if ((0x2000000020L & l) != 0x0L && kind > 79) - kind = 79; - break; - case 271: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 272; - break; - case 272: - if ((0x80000000800000L & l) != 0x0L && kind > 80) - kind = 80; - break; - case 273: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 274; - break; - case 274: - if ((0x8000000080L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 275; - break; - case 275: - if ((0x10000000100L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 276; - break; - case 276: - if ((0x10000000100000L & l) != 0x0L && kind > 81) - kind = 81; - break; - case 277: - if ((0x8000000080000L & l) != 0x0L) { - jjAddStates(72, 78); - } - break; - case 278: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 279; - break; - case 279: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 280; - break; - case 280: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 281; - break; - case 281: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 282; - break; - case 282: - if ((0x10000000100000L & l) != 0x0L && kind > 24) - kind = 24; - break; - case 283: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 284; - break; - case 284: - if ((0x10000000100000L & l) != 0x0L && kind > 25) - kind = 25; - break; - case 285: - if ((0x10000000100L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 286; - break; - case 286: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 287; - break; - case 287: - if ((0x80000000800000L & l) != 0x0L && kind > 26) - kind = 26; - break; - case 288: - if ((0x200000002000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 289; - break; - case 289: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 290; - break; - case 290: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 291; - break; - case 291: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 292; - break; - case 292: - if ((0x200000002000L & l) != 0x0L && kind > 27) - kind = 27; - break; - case 293: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 294; - break; - case 294: - if ((0x200000002000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 295; - break; - case 295: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 296; - break; - case 296: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 297; - break; - case 297: - if ((0x2000000020L & l) != 0x0L && kind > 82) - kind = 82; - break; - case 298: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 299; - break; - case 299: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 300; - break; - case 300: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 301; - break; - case 301: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 302; - break; - case 302: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 303; - break; - case 303: - if ((0x8000000080L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 304; - break; - case 304: - if ((0x8000000080000L & l) != 0x0L && kind > 83) - kind = 83; - break; - case 305: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 306; - break; - case 306: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 307; - break; - case 307: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 308; - break; - case 308: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 309; - break; - case 309: - if ((0x1000000010L & l) != 0x0L && kind > 100) - kind = 100; - break; - case 310: - if ((0x10000000100000L & l) != 0x0L) { - jjAddStates(63, 71); - } - break; - case 311: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 312; - break; - case 312: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 313; - break; - case 313: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 314; - break; - case 314: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 315; - break; - case 315: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 316; - break; - case 316: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 317; - break; - case 317: - if ((0x2000000020L & l) != 0x0L && kind > 28) - kind = 28; - break; - case 318: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 319; - break; - case 319: - if ((0x200000002000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 320; - break; - case 320: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 321; - break; - case 321: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 322; - break; - case 322: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 323; - break; - case 323: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 324; - break; - case 324: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 325; - break; - case 325: - if ((0x200000002000000L & l) != 0x0L && kind > 84) - kind = 84; - break; - case 326: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 327; - break; - case 327: - if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 328; - break; - case 328: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 329; - break; - case 329: - if ((0x2000000020L & l) != 0x0L && kind > 85) - kind = 85; - break; - case 330: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 331; - break; - case 331: - if ((0x400000004L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 332; - break; - case 332: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 333; - break; - case 333: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 334; - break; - case 334: - if ((0x8000000080000L & l) != 0x0L && kind > 86) - kind = 86; - break; - case 335: - if ((0x10000000100L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 336; - break; - case 336: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 337; - break; - case 337: - if ((0x400000004000L & l) != 0x0L && kind > 87) - kind = 87; - break; - case 338: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 339; - break; - case 339: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 340; - break; - case 340: - if ((0x8000000080000L & l) != 0x0L && kind > 88) - kind = 88; - break; - case 341: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 342; - break; - case 342: - if ((0x200000002000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 343; - break; - case 343: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 344; - break; - case 344: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 345; - break; - case 345: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 346; - break; - case 346: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 347; - break; - case 347: - if ((0x200000002000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 348; - break; - case 348: - if ((0x1000000010000L & l) != 0x0L && kind > 89) - kind = 89; - break; - case 349: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 350; - break; - case 350: - if ((0x1000000010000L & l) != 0x0L && kind > 90) - kind = 90; - break; - case 351: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 352; - break; - case 352: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 353; - break; - case 353: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 354; - break; - case 354: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 355; - break; - case 355: - if ((0x8000000080000L & l) != 0x0L && kind > 91) - kind = 91; - break; - case 356: - if ((0x20000000200000L & l) != 0x0L) { - jjAddStates(58, 62); - } - break; - case 357: - if ((0x1000000010000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 358; - break; - case 358: - if ((0x1000000010L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 359; - break; - case 359: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 360; - break; - case 360: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 361; - break; - case 361: - if ((0x2000000020L & l) != 0x0L && kind > 29) - kind = 29; - break; - case 362: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 363; - break; - case 363: - if ((0x2000000020L & l) != 0x0L && kind > 30) - kind = 30; - break; - case 364: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 365; - break; - case 365: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 366; - break; - case 366: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 367; - break; - case 367: - if ((0x400000004000L & l) != 0x0L && kind > 92) - kind = 92; - break; - case 368: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 369; - break; - case 369: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 370; - break; - case 370: - if ((0x4000000040000L & l) != 0x0L && kind > 93) - kind = 93; - break; - case 371: - if ((0x8000000080000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 372; - break; - case 372: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 373; - break; - case 373: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 374; - break; - case 374: - if ((0x8000000080L & l) != 0x0L && kind > 94) - kind = 94; - break; - case 375: - if ((0x80000000800000L & l) != 0x0L) { - jjAddStates(53, 57); - } - break; - case 376: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 377; - break; - case 377: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 378; - break; - case 378: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 379; - break; - case 379: - if ((0x10000000100L & l) != 0x0L && kind > 31) - kind = 31; - break; - case 380: - if ((0x10000000100L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 381; - break; - case 381: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 382; - break; - case 382: - if ((0x400000004000L & l) != 0x0L && kind > 97) - kind = 97; - break; - case 383: - if ((0x10000000100L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 384; - break; - case 384: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 385; - break; - case 385: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 386; - break; - case 386: - if ((0x2000000020L & l) != 0x0L && kind > 98) - kind = 98; - break; - case 387: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 388; - break; - case 388: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 389; - break; - case 389: - if ((0x10000000100L & l) != 0x0L && kind > 99) - kind = 99; - break; - case 390: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 391; - break; - case 391: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 392; - break; - case 392: - if ((0x80000000800L & l) != 0x0L && kind > 104) - kind = 104; - break; - case 393: - if ((0x4000000040L & l) != 0x0L) { - jjAddStates(49, 52); - } - break; - case 394: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 395; - break; - case 395: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 396; - break; - case 396: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 397; - break; - case 397: - if ((0x100000001000L & l) != 0x0L && kind > 49) - kind = 49; - break; - case 398: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 399; - break; - case 399: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 400; - break; - case 400: - if ((0x200000002000L & l) != 0x0L && kind > 50) - kind = 50; - break; - case 401: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 402; - break; - case 402: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 403; - break; - case 403: - if ((0x100000001000L & l) != 0x0L && kind > 51) - kind = 51; - break; - case 404: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 405; - break; - case 405: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 406; - break; - case 406: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 407; - break; - case 407: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 408; - break; - case 408: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 409; - break; - case 409: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 410; - break; - case 410: - if ((0x400000004000L & l) != 0x0L && kind > 52) - kind = 52; - break; - case 411: - if ((0x10000000100L & l) != 0x0L) { - jjAddStates(47, 48); - } - break; - case 412: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 413; - break; - case 413: - if ((0x40000000400000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 414; - break; - case 414: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 415; - break; - case 415: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 416; - break; - case 416: - if ((0x8000000080L & l) != 0x0L && kind > 55) - kind = 55; - break; - case 417: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 418; - break; - case 418: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 419; - break; - case 419: - if ((0x4000000040000L & l) != 0x0L && kind > 102) - kind = 102; - break; - case 420: - if ((0x100000001000L & l) != 0x0L) { - jjAddStates(43, 46); - } - break; - case 421: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 422; - break; - case 422: - if ((0x4000000040L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 423; - break; - case 423: - if ((0x10000000100000L & l) != 0x0L && kind > 64) - kind = 64; - break; - case 424: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 425; - break; - case 425: - if ((0x80000000800L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 426; - break; - case 426: - if ((0x2000000020L & l) != 0x0L && kind > 65) - kind = 65; - break; - case 427: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 428; - break; - case 428: - if ((0x200000002000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 429; - break; - case 429: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 430; - break; - case 430: - if ((0x10000000100000L & l) != 0x0L && kind > 66) - kind = 66; - break; - case 431: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 432; - break; - case 432: - if ((0x40000000400000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 433; - break; - case 433: - if ((0x2000000020L & l) != 0x0L && kind > 67) - kind = 67; - break; - case 434: - if ((0x200000002000L & l) != 0x0L) { - jjAddStates(40, 42); - } - break; - case 435: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 436; - break; - case 436: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 437; - break; - case 437: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 438; - break; - case 438: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 439; - break; - case 439: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 440; - break; - case 440: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 441; - break; - case 441: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 442; - break; - case 442: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 443; - break; - case 443: - if ((0x400000004000000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 444; - break; - case 444: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 445; - break; - case 445: - if ((0x1000000010L & l) != 0x0L && kind > 68) - kind = 68; - break; - case 446: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 447; - break; - case 447: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 448; - break; - case 448: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 449; - break; - case 449: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 450; - break; - case 450: - if ((0x2000000020L & l) != 0x0L && kind > 101) - kind = 101; - break; - case 451: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 452; - break; - case 452: - if ((0x400000004000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 453; - break; - case 453: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 454; - break; - case 454: - if ((0x10000000100L & l) != 0x0L && kind > 105) - kind = 105; - break; - case 455: - if ((0x400000004000L & l) != 0x0L) { - jjAddStates(37, 39); - } - break; - case 456: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 457; - break; - case 457: - if ((0x10000000100000L & l) != 0x0L && kind > 69) - kind = 69; - break; - case 458: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 459; - break; - case 459: - if ((0x400000004000L & l) != 0x0L && kind > 109) - kind = 109; - break; - case 460: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 461; - break; - case 461: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 462; - break; - case 462: - if ((0x100000001000L & l) != 0x0L && kind > 110) - kind = 110; - break; - case 463: - if ((0x1000000010000L & l) != 0x0L) { - jjAddStates(34, 36); - } - break; - case 464: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 465; - break; - case 465: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 466; - break; - case 466: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 467; - break; - case 467: - if ((0x800000008L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 468; - break; - case 468: - if ((0x200000002000000L & l) != 0x0L && kind > 74) - kind = 74; - break; - case 469: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 470; - break; - case 470: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 471; - break; - case 471: - if ((0x80000000800000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 472; - break; - case 472: - if ((0x10000000100L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 473; - break; - case 473: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 474; - break; - case 474: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 475; - break; - case 475: - if ((0x2000000020L & l) != 0x0L && kind > 75) - kind = 75; - break; - case 476: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 477; - break; - case 477: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 478; - break; - case 478: - if ((0x4000000040L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 479; - break; - case 479: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 480; - break; - case 480: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 481; - break; - case 481: - if ((0x2000000020L & l) != 0x0L && kind > 76) - kind = 76; - break; - case 482: - if ((0x2000000020000L & l) != 0x0L) { - jjAddStates(32, 33); - } - break; - case 483: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 484; - break; - case 484: - if ((0x800000008000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 485; - break; - case 485: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 486; - break; - case 486: - if ((0x200000002L & l) != 0x0L && kind > 77) - kind = 77; - break; - case 487: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 488; - break; - case 488: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 489; - break; - case 489: - if ((0x4000000040000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 490; - break; - case 490: - if ((0x10000000100000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 491; - break; - case 491: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 492; - break; - case 492: - if ((0x4000000040000L & l) != 0x0L && kind > 106) - kind = 106; - break; - case 493: - if ((0x40000000400000L & l) != 0x0L) { - jjAddStates(30, 31); - } - break; - case 494: - if ((0x200000002L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 495; - break; - case 495: - if ((0x100000001000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 496; - break; - case 496: - if ((0x20000000200000L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 497; - break; - case 497: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 498; - break; - case 498: - if ((0x8000000080000L & l) != 0x0L && kind > 95) - kind = 95; - break; - case 499: - if ((0x20000000200L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 500; - break; - case 500: - if ((0x2000000020L & l) != 0x0L) - jjstateSet[jjnewStateCnt++] = 501; - break; - case 501: - if ((0x80000000800000L & l) != 0x0L && kind > 96) - kind = 96; - break; - case 504: - if ((0x2000000020L & l) == 0x0L) - break; - if (kind > 175) - kind = 175; - { - jjCheckNAdd(505); - } - break; - case 505: - if ((0x7fffffe87fffffeL & l) == 0x0L) - break; - if (kind > 175) - kind = 175; - { - jjCheckNAdd(505); - } - break; - case 506: - if ((0x7ffffde87ffffdeL & l) == 0x0L) - break; - if (kind > 175) - kind = 175; - { - jjCheckNAdd(507); - } - break; - case 507: - if ((0x7fffffe87fffffeL & l) == 0x0L) - break; - if (kind > 175) - kind = 175; - { - jjCheckNAdd(507); - } - break; - case 511: - if ((0x2000000020L & l) != 0x0L) { - jjAddStates(132, 133); - } - break; - case 515: - if ((0x2000000020L & l) != 0x0L) { - jjAddStates(134, 135); - } - break; - case 520: - if ((0x100000001000000L & l) != 0x0L) { - jjCheckNAdd(521); - } - break; - case 521: - if ((0x7e0000007eL & l) != 0x0L) { - jjCheckNAddTwoStates(521, 522); - } - break; - case 524: - if ((0x100000001000000L & l) != 0x0L) { - jjCheckNAdd(525); - } - break; - case 525: - if ((0x7e0000007eL & l) != 0x0L) { - jjCheckNAddTwoStates(525, 526); - } - break; - case 526: - if ((0x1002000010020L & l) != 0x0L) { - jjAddStates(136, 137); - } - break; - case 529: - if ((0x100000001000000L & l) != 0x0L) { - jjCheckNAdd(530); - } - break; - case 530: - if ((0x7e0000007eL & l) != 0x0L) { - jjCheckNAddTwoStates(530, 531); - } - break; - case 531: - if ((0x1002000010020L & l) != 0x0L) { - jjAddStates(138, 139); - } - break; - case 534: - if ((0x100000001000000L & l) != 0x0L) { - jjCheckNAdd(535); - } - break; - case 535: - if ((0x7e0000007eL & l) == 0x0L) - break; - if (kind > 180) - kind = 180; - { - jjCheckNAdd(535); - } - break; - default: - break; - } - } while (i != startsAt); - } else { - int hiByte = (curChar >> 8); - int i1 = hiByte >> 6; - long l1 = 1L << (hiByte & 077); - int i2 = (curChar & 0xff) >> 6; - long l2 = 1L << (curChar & 077); - do { - switch (jjstateSet[--i]) { - case 536: - case 41: - case 40: - if (jjCanMove_1(hiByte, i1, i2, l1, l2)) { - jjCheckNAddStates(0, 3); - } - break; - case 537: - case 32: - case 31: - if (jjCanMove_1(hiByte, i1, i2, l1, l2)) { - jjCheckNAddStates(4, 7); - } - break; - case 538: - case 48: - case 47: - if (jjCanMove_1(hiByte, i1, i2, l1, l2)) { - jjCheckNAddStates(8, 11); - } - break; - case 0: - if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 1) - kind = 1; - break; - case 2: - if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) - break; - if (kind > 2) - kind = 2; - jjstateSet[jjnewStateCnt++] = 2; - break; - default: - if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) - break; - else - break; - } - } while (i != startsAt); + if ((active2 & 0x8000000000L) != 0x0L) + return 537; + if ((active2 & 0x4000000000L) != 0x0L) + return 538; + return -1; + default : + return -1; + } +} +private final int jjStartNfa_0(int pos, long active0, long active1, long active2){ + return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); +} +private int jjStopAtPos(int pos, int kind) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + return pos + 1; +} +private int jjMoveStringLiteralDfa0_0(){ + switch(curChar) + { + case '"': + return jjStartNfaWithStates_0(0, 166, 538); + case '#': + return jjStopAtPos(0, 156); + case '$': + return jjStartNfaWithStates_0(0, 150, 37); + case '%': + return jjStopAtPos(0, 163); + case '\'': + return jjStartNfaWithStates_0(0, 167, 537); + case '(': + return jjStopAtPos(0, 160); + case ')': + return jjStopAtPos(0, 170); + case '*': + return jjStopAtPos(0, 142); + case '+': + return jjStopAtPos(0, 164); + case ',': + return jjStopAtPos(0, 147); + case '-': + jjmatchedKind = 149; + return jjMoveStringLiteralDfa1_0(0x0L, 0x2000L); + case '.': + return jjStartNfaWithStates_0(0, 151, 53); + case '/': + jjmatchedKind = 172; + return jjMoveStringLiteralDfa1_0(0x8L, 0x0L); + case ':': + return jjStopAtPos(0, 146); + case ';': + return jjStopAtPos(0, 171); + case '<': + jjmatchedKind = 161; + return jjMoveStringLiteralDfa1_0(0x0L, 0x80000000L); + case '=': + jjmatchedKind = 153; + return jjMoveStringLiteralDfa1_0(0x0L, 0x1000000L); + case '>': + jjmatchedKind = 155; + return jjMoveStringLiteralDfa1_0(0x0L, 0x4000000L); + case '?': + return jjStopAtPos(0, 165); + case '@': + return jjStopAtPos(0, 143); + case '[': + return jjStopAtPos(0, 158); + case '\\': + return jjStopAtPos(0, 145); + case ']': + return jjStopAtPos(0, 169); + case '`': + return jjStartNfaWithStates_0(0, 144, 536); + case '{': + return jjStopAtPos(0, 157); + case '|': + return jjMoveStringLiteralDfa1_0(0x0L, 0x100000L); + case '}': + return jjStopAtPos(0, 168); + default : + return jjMoveNfa_0(0, 0); + } +} +private int jjMoveStringLiteralDfa1_0(long active0, long active2){ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(0, active0, 0L, active2); + return 1; + } + switch(curChar) + { + case '*': + if ((active0 & 0x8L) != 0x0L) + return jjStopAtPos(1, 3); + break; + case '=': + if ((active2 & 0x1000000L) != 0x0L) + return jjStopAtPos(1, 152); + else if ((active2 & 0x4000000L) != 0x0L) + return jjStopAtPos(1, 154); + else if ((active2 & 0x80000000L) != 0x0L) + return jjStopAtPos(1, 159); + break; + case '>': + if ((active2 & 0x2000L) != 0x0L) + return jjStopAtPos(1, 141); + break; + case '|': + if ((active2 & 0x100000L) != 0x0L) + return jjStopAtPos(1, 148); + break; + default : + break; + } + return jjStartNfa_0(0, active0, 0L, active2); +} +private int jjStartNfaWithStates_0(int pos, int kind, int state) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return pos + 1; } + return jjMoveNfa_0(state, pos + 1); +} +static final long[] jjbitVec0 = { + 0x0L, 0x0L, 0x100000020L, 0x0L +}; +static final long[] jjbitVec1 = { + 0x4000L, 0x0L, 0x0L, 0x0L +}; +static final long[] jjbitVec2 = { + 0x830000003c01L, 0x180000000L, 0x0L, 0x0L +}; +static final long[] jjbitVec3 = { + 0x1L, 0x0L, 0x0L, 0x0L +}; +static final long[] jjbitVec4 = { + 0x0L, 0x0L, 0x0L, 0x8000000000000000L +}; +static final long[] jjbitVec5 = { + 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL +}; +static final long[] jjbitVec7 = { + 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL +}; +private int jjMoveNfa_0(int startState, int curPos) +{ + int startsAt = 0; + jjnewStateCnt = 536; + int i = 1; + jjstateSet[0] = startState; + int kind = 0x7fffffff; + for (;;) + { + if (++jjround == 0x7fffffff) + ReInitRounds(); + if (curChar < 64) + { + long l = 1L << curChar; + do + { + switch(jjstateSet[--i]) + { + case 536: + case 41: + case 40: + { jjCheckNAddStates(0, 3); } + break; + case 537: + if ((0xffffff7fffffffffL & l) != 0x0L) + { jjCheckNAddStates(4, 7); } + else if (curChar == 39) + { + if (kind > 174) + kind = 174; + } + if (curChar == 39) + jjstateSet[jjnewStateCnt++] = 33; + break; + case 538: + if ((0xfffffffbffffffffL & l) != 0x0L) + { jjCheckNAddStates(8, 11); } + else if (curChar == 34) + { + if (kind > 177) + kind = 177; + } + if (curChar == 34) + jjstateSet[jjnewStateCnt++] = 49; + break; + case 0: + if ((0x3ff000000000000L & l) != 0x0L) + { + if (kind > 179) + kind = 179; + { jjCheckNAddStates(12, 19); } + } + else if ((0x100003e00L & l) != 0x0L) + { + if (kind > 1) + kind = 1; + } + else if (curChar == 46) + { jjCheckNAdd(53); } + else if (curChar == 34) + { jjCheckNAddStates(8, 11); } + else if (curChar == 36) + { + if (kind > 175) + kind = 175; + { jjCheckNAdd(37); } + } + else if (curChar == 39) + { jjCheckNAddStates(4, 7); } + else if (curChar == 60) + jjstateSet[jjnewStateCnt++] = 27; + else if (curChar == 33) + jjstateSet[jjnewStateCnt++] = 25; + else if (curChar == 47) + jjstateSet[jjnewStateCnt++] = 4; + else if (curChar == 45) + jjstateSet[jjnewStateCnt++] = 1; + if (curChar == 48) + { jjAddStates(20, 22); } + break; + case 1: + if (curChar != 45) + break; + if (kind > 2) + kind = 2; + { jjCheckNAdd(2); } + break; + case 2: + if ((0xffffffffffffdbffL & l) == 0x0L) + break; + if (kind > 2) + kind = 2; + { jjCheckNAdd(2); } + break; + case 3: + if (curChar == 45) + jjstateSet[jjnewStateCnt++] = 1; + break; + case 4: + if (curChar != 47) + break; + if (kind > 2) + kind = 2; + { jjCheckNAdd(2); } + break; + case 5: + if (curChar == 47) + jjstateSet[jjnewStateCnt++] = 4; + break; + case 25: + if (curChar == 61 && kind > 162) + kind = 162; + break; + case 26: + if (curChar == 33) + jjstateSet[jjnewStateCnt++] = 25; + break; + case 27: + if (curChar == 62 && kind > 162) + kind = 162; + break; + case 28: + if (curChar == 60) + jjstateSet[jjnewStateCnt++] = 27; + break; + case 29: + case 33: + if (curChar == 39) + { jjCheckNAddStates(4, 7); } + break; + case 31: + { jjCheckNAddStates(4, 7); } + break; + case 32: + if ((0xffffff7fffffffffL & l) != 0x0L) + { jjCheckNAddStates(4, 7); } + break; + case 34: + if (curChar == 39) + jjstateSet[jjnewStateCnt++] = 33; + break; + case 35: + if (curChar == 39 && kind > 174) + kind = 174; + break; + case 36: + if (curChar != 36) + break; + if (kind > 175) + kind = 175; + { jjCheckNAdd(37); } + break; + case 37: + if ((0x3ff001000000000L & l) == 0x0L) + break; + if (kind > 175) + kind = 175; + { jjCheckNAdd(37); } + break; + case 45: + case 49: + if (curChar == 34) + { jjCheckNAddStates(8, 11); } + break; + case 47: + { jjCheckNAddStates(8, 11); } + break; + case 48: + if ((0xfffffffbffffffffL & l) != 0x0L) + { jjCheckNAddStates(8, 11); } + break; + case 50: + if (curChar == 34) + jjstateSet[jjnewStateCnt++] = 49; + break; + case 51: + if (curChar == 34 && kind > 177) + kind = 177; + break; + case 52: + if (curChar == 46) + { jjCheckNAdd(53); } + break; + case 53: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 178) + kind = 178; + { jjCheckNAddTwoStates(53, 54); } + break; + case 55: + if ((0x280000000000L & l) != 0x0L) + { jjCheckNAdd(56); } + break; + case 56: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 178) + kind = 178; + { jjCheckNAdd(56); } + break; + case 502: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 179) + kind = 179; + { jjCheckNAddStates(12, 19); } + break; + case 503: + if ((0x3ff000000000000L & l) != 0x0L) + { jjCheckNAddStates(23, 25); } + break; + case 507: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 175) + kind = 175; + jjstateSet[jjnewStateCnt++] = 507; + break; + case 508: + if ((0x3ff000000000000L & l) != 0x0L) + { jjCheckNAddTwoStates(508, 509); } + break; + case 509: + if (curChar != 46) + break; + if (kind > 178) + kind = 178; + { jjCheckNAddTwoStates(510, 511); } + break; + case 510: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 178) + kind = 178; + { jjCheckNAddTwoStates(510, 511); } + break; + case 512: + if ((0x280000000000L & l) != 0x0L) + { jjCheckNAdd(513); } + break; + case 513: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 178) + kind = 178; + { jjCheckNAdd(513); } + break; + case 514: + if ((0x3ff000000000000L & l) != 0x0L) + { jjCheckNAddTwoStates(514, 515); } + break; + case 516: + if ((0x280000000000L & l) != 0x0L) + { jjCheckNAdd(517); } + break; + case 517: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 178) + kind = 178; + { jjCheckNAdd(517); } + break; + case 518: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 179) + kind = 179; + { jjCheckNAdd(518); } + break; + case 519: + if (curChar == 48) + { jjAddStates(20, 22); } + break; + case 521: + if ((0x3ff000000000000L & l) != 0x0L) + { jjAddStates(26, 27); } + break; + case 522: + if (curChar == 46) + { jjCheckNAddTwoStates(523, 526); } + break; + case 523: + if (curChar == 48) + jjstateSet[jjnewStateCnt++] = 524; + break; + case 525: + if ((0x3ff000000000000L & l) != 0x0L) + { jjCheckNAddTwoStates(525, 526); } + break; + case 527: + if ((0x280000000000L & l) != 0x0L) + { jjCheckNAdd(528); } + break; + case 528: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 178) + kind = 178; + { jjCheckNAdd(528); } + break; + case 530: + if ((0x3ff000000000000L & l) != 0x0L) + { jjAddStates(28, 29); } + break; + case 532: + if ((0x280000000000L & l) != 0x0L) + { jjCheckNAdd(533); } + break; + case 533: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 178) + kind = 178; + { jjCheckNAdd(533); } + break; + case 535: + if ((0x3ff000000000000L & l) == 0x0L) + break; + if (kind > 180) + kind = 180; + jjstateSet[jjnewStateCnt++] = 535; + break; + default : break; } - if (kind != 0x7fffffff) { - jjmatchedKind = kind; - jjmatchedPos = curPos; - kind = 0x7fffffff; + } while(i != startsAt); + } + else if (curChar < 128) + { + long l = 1L << (curChar & 077); + do + { + switch(jjstateSet[--i]) + { + case 536: + if ((0xfffffffeefffffffL & l) != 0x0L) + { jjCheckNAddStates(0, 3); } + else if (curChar == 96) + { + if (kind > 176) + kind = 176; + } + else if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 40; + if (curChar == 96) + jjstateSet[jjnewStateCnt++] = 42; + break; + case 537: + if ((0xffffffffefffffffL & l) != 0x0L) + { jjCheckNAddStates(4, 7); } + else if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 31; + break; + case 538: + if ((0xffffffffefffffffL & l) != 0x0L) + { jjCheckNAddStates(8, 11); } + else if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 47; + break; + case 0: + if ((0x7fffffe87fffffeL & l) != 0x0L) + { + if (kind > 175) + kind = 175; + { jjCheckNAdd(37); } + } + else if (curChar == 96) + { jjCheckNAddStates(0, 3); } + if ((0x40000000400000L & l) != 0x0L) + { jjAddStates(30, 31); } + else if ((0x2000000020000L & l) != 0x0L) + { jjAddStates(32, 33); } + else if ((0x1000000010000L & l) != 0x0L) + { jjAddStates(34, 36); } + else if ((0x400000004000L & l) != 0x0L) + { jjAddStates(37, 39); } + else if ((0x200000002000L & l) != 0x0L) + { jjAddStates(40, 42); } + else if ((0x100000001000L & l) != 0x0L) + { jjAddStates(43, 46); } + else if ((0x10000000100L & l) != 0x0L) + { jjAddStates(47, 48); } + else if ((0x4000000040L & l) != 0x0L) + { jjAddStates(49, 52); } + else if ((0x80000000800000L & l) != 0x0L) + { jjAddStates(53, 57); } + else if ((0x20000000200000L & l) != 0x0L) + { jjAddStates(58, 62); } + else if ((0x10000000100000L & l) != 0x0L) + { jjAddStates(63, 71); } + else if ((0x8000000080000L & l) != 0x0L) + { jjAddStates(72, 78); } + else if ((0x4000000040000L & l) != 0x0L) + { jjAddStates(79, 84); } + else if ((0x800000008000L & l) != 0x0L) + { jjAddStates(85, 89); } + else if ((0x20000000200L & l) != 0x0L) + { jjAddStates(90, 98); } + else if ((0x8000000080L & l) != 0x0L) + { jjAddStates(99, 101); } + else if ((0x2000000020L & l) != 0x0L) + { jjAddStates(102, 106); } + else if ((0x1000000010L & l) != 0x0L) + { jjAddStates(107, 118); } + else if ((0x800000008L & l) != 0x0L) + { jjAddStates(119, 121); } + else if ((0x200000002L & l) != 0x0L) + { jjAddStates(122, 129); } + else if ((0x200000002000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 22; + else if ((0x40000000400L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 18; + else if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 11; + else if ((0x80000000800L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 7; + break; + case 2: + if (kind > 2) + kind = 2; + jjstateSet[jjnewStateCnt++] = 2; + break; + case 6: + if ((0x80000000800L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 7; + break; + case 7: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 8; + break; + case 8: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 9; + break; + case 9: + if ((0x100000001000L & l) != 0x0L && kind > 20) + kind = 20; + break; + case 10: + if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 11; + break; + case 11: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 12; + break; + case 12: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 13; + break; + case 13: + if ((0x80000000800000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 14; + break; + case 14: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 15; + break; + case 15: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 16; + break; + case 16: + if ((0x400000004000L & l) != 0x0L && kind > 38) + kind = 38; + break; + case 17: + if ((0x40000000400L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 18; + break; + case 18: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 19; + break; + case 19: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 20; + break; + case 20: + if ((0x400000004000L & l) != 0x0L && kind > 63) + kind = 63; + break; + case 21: + if ((0x200000002000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 22; + break; + case 22: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 23; + break; + case 23: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 24; + break; + case 24: + if ((0x4000000040000L & l) != 0x0L && kind > 107) + kind = 107; + break; + case 30: + if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 31; + break; + case 31: + { jjCheckNAddStates(4, 7); } + break; + case 32: + if ((0xffffffffefffffffL & l) != 0x0L) + { jjCheckNAddStates(4, 7); } + break; + case 36: + case 37: + if ((0x7fffffe87fffffeL & l) == 0x0L) + break; + if (kind > 175) + kind = 175; + { jjCheckNAdd(37); } + break; + case 38: + case 42: + if (curChar == 96) + { jjCheckNAddStates(0, 3); } + break; + case 39: + if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 40; + break; + case 40: + { jjCheckNAddStates(0, 3); } + break; + case 41: + if ((0xfffffffeefffffffL & l) != 0x0L) + { jjCheckNAddStates(0, 3); } + break; + case 43: + if (curChar == 96) + jjstateSet[jjnewStateCnt++] = 42; + break; + case 44: + if (curChar == 96 && kind > 176) + kind = 176; + break; + case 46: + if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 47; + break; + case 47: + { jjCheckNAddStates(8, 11); } + break; + case 48: + if ((0xffffffffefffffffL & l) != 0x0L) + { jjCheckNAddStates(8, 11); } + break; + case 54: + if ((0x2000000020L & l) != 0x0L) + { jjAddStates(130, 131); } + break; + case 57: + if ((0x200000002L & l) != 0x0L) + { jjAddStates(122, 129); } + break; + case 58: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 59; + break; + case 59: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 60; + break; + case 60: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 61; + break; + case 61: + if ((0x4000000040000L & l) != 0x0L && kind > 7) + kind = 7; + break; + case 62: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 63; + break; + case 63: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 64; + break; + case 64: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 65; + break; + case 65: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 66; + break; + case 66: + if ((0x10000000100L & l) != 0x0L && kind > 8) + kind = 8; + break; + case 67: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 68; + break; + case 68: + if ((0x100000001000L & l) != 0x0L && kind > 32) + kind = 32; + break; + case 69: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 70; + break; + case 70: + if ((0x1000000010L & l) != 0x0L && kind > 33) + kind = 33; + break; + case 71: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 72; + break; + case 72: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 73; + break; + case 73: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 74; + break; + case 74: + if ((0x200000002000000L & l) != 0x0L && kind > 34) + kind = 34; + break; + case 75: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 76; + break; + case 76: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 77; + break; + case 77: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 78; + break; + case 78: + if ((0x200000002000000L & l) != 0x0L && kind > 35) + kind = 35; + break; + case 79: + if ((0x8000000080000L & l) != 0x0L && kind > 36) + kind = 36; + break; + case 80: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 81; + break; + case 81: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 82; + break; + case 82: + if ((0x4000000040L & l) != 0x0L && kind > 37) + kind = 37; + break; + case 83: + if ((0x800000008L & l) != 0x0L) + { jjAddStates(119, 121); } + break; + case 84: + if ((0x10000000100L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 85; + break; + case 85: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 86; + break; + case 86: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 87; + break; + case 87: + if ((0x80000000800L & l) != 0x0L && kind > 9) + kind = 9; + break; + case 88: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 89; + break; + case 89: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 90; + break; + case 90: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 91; + break; + case 91: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 92; + break; + case 92: + if ((0x2000000020L & l) != 0x0L && kind > 10) + kind = 10; + break; + case 93: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 94; + break; + case 94: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 95; + break; + case 95: + if ((0x2000000020L & l) != 0x0L && kind > 39) + kind = 39; + break; + case 96: + if ((0x1000000010L & l) != 0x0L) + { jjAddStates(107, 118); } + break; + case 97: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 98; + break; + case 98: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 99; + break; + case 99: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 100; + break; + case 100: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 101; + break; + case 101: + if ((0x2000000020L & l) != 0x0L && kind > 11) + kind = 11; + break; + case 102: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 103; + break; + case 103: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 104; + break; + case 104: + if ((0x800000008L & l) != 0x0L && kind > 12) + kind = 12; + break; + case 105: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 106; + break; + case 106: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 107; + break; + case 107: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 108; + break; + case 108: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 109; + break; + case 109: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 110; + break; + case 110: + if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 111; + break; + case 111: + if ((0x2000000020L & l) != 0x0L && kind > 13) + kind = 13; + break; + case 112: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 113; + break; + case 113: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 114; + break; + case 114: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 115; + break; + case 115: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 116; + break; + case 116: + if ((0x10000000100L & l) != 0x0L && kind > 14) + kind = 14; + break; + case 117: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 118; + break; + case 118: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 119; + break; + case 119: + if ((0x1000000010000L & l) != 0x0L && kind > 15) + kind = 15; + break; + case 120: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 121; + break; + case 121: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 122; + break; + case 122: + if ((0x2000000020L & l) != 0x0L && kind > 40) + kind = 40; + break; + case 123: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 124; + break; + case 124: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 125; + break; + case 125: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 126; + break; + case 126: + if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 127; + break; + case 127: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 128; + break; + case 128: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 129; + break; + case 129: + if ((0x2000000020L & l) != 0x0L && kind > 41) + kind = 41; + break; + case 130: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 131; + break; + case 131: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 132; + break; + case 132: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 133; + break; + case 133: + if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 134; + break; + case 134: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 135; + break; + case 135: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 136; + break; + case 136: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 137; + break; + case 137: + if ((0x8000000080000L & l) != 0x0L && kind > 42) + kind = 42; + break; + case 138: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 139; + break; + case 139: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 140; + break; + case 140: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 141; + break; + case 141: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 142; + break; + case 142: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 143; + break; + case 143: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 144; + break; + case 144: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 145; + break; + case 145: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 146; + break; + case 146: + if ((0x200000002000000L & l) != 0x0L && kind > 43) + kind = 43; + break; + case 147: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 148; + break; + case 148: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 149; + break; + case 149: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 150; + break; + case 150: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 151; + break; + case 151: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 152; + break; + case 152: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 153; + break; + case 153: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 154; + break; + case 154: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 155; + break; + case 155: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 156; + break; + case 156: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 157; + break; + case 157: + if ((0x8000000080000L & l) != 0x0L && kind > 44) + kind = 44; + break; + case 158: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 159; + break; + case 159: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 160; + break; + case 160: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 161; + break; + case 161: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 162; + break; + case 162: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 163; + break; + case 163: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 164; + break; + case 164: + if ((0x10000000100000L & l) != 0x0L && kind > 45) + kind = 45; + break; + case 165: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 166; + break; + case 166: + if ((0x200000002000000L & l) != 0x0L && kind > 103) + kind = 103; + break; + case 167: + if ((0x2000000020L & l) != 0x0L) + { jjAddStates(102, 106); } + break; + case 168: + if ((0x100000001000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 169; + break; + case 169: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 170; + break; + case 170: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 171; + break; + case 171: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 172; + break; + case 172: + if ((0x8000000080000L & l) != 0x0L && kind > 16) + kind = 16; + break; + case 173: + if ((0x100000001000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 174; + break; + case 174: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 175; + break; + case 175: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 176; + break; + case 176: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 177; + break; + case 177: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 178; + break; + case 178: + if ((0x400000004000L & l) != 0x0L && kind > 17) + kind = 17; + break; + case 179: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 180; + break; + case 180: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 181; + break; + case 181: + if ((0x2000000020L & l) != 0x0L && kind > 46) + kind = 46; + break; + case 182: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 183; + break; + case 183: + if ((0x1000000010L & l) != 0x0L && kind > 47) + kind = 47; + break; + case 184: + if ((0x100000001000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 185; + break; + case 185: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 186; + break; + case 186: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 187; + break; + case 187: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 188; + break; + case 188: + if ((0x10000000100000L & l) != 0x0L && kind > 48) + kind = 48; + break; + case 189: + if ((0x8000000080L & l) != 0x0L) + { jjAddStates(99, 101); } + break; + case 190: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 191; + break; + case 191: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 192; + break; + case 192: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 193; + break; + case 193: + if ((0x10000000100000L & l) != 0x0L && kind > 18) + kind = 18; + break; + case 194: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 195; + break; + case 195: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 196; + break; + case 196: + if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 197; + break; + case 197: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 198; + break; + case 198: + if ((0x100000001000L & l) != 0x0L && kind > 53) + kind = 53; + break; + case 199: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 200; + break; + case 200: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 201; + break; + case 201: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 202; + break; + case 202: + if ((0x1000000010000L & l) != 0x0L && kind > 54) + kind = 54; + break; + case 203: + if ((0x20000000200L & l) != 0x0L) + { jjAddStates(90, 98); } + break; + case 204: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 205; + break; + case 205: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 206; + break; + case 206: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 207; + break; + case 207: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 208; + break; + case 208: + if ((0x10000000100000L & l) != 0x0L && kind > 19) + kind = 19; + break; + case 209: + if ((0x4000000040L & l) != 0x0L && kind > 56) + kind = 56; + break; + case 210: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 211; + break; + case 211: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 212; + break; + case 212: + if ((0x80000000800L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 213; + break; + case 213: + if ((0x2000000020L & l) != 0x0L && kind > 57) + kind = 57; + break; + case 214: + if ((0x400000004000L & l) != 0x0L && kind > 58) + kind = 58; + break; + case 215: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 216; + break; + case 216: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 217; + break; + case 217: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 218; + break; + case 218: + if ((0x4000000040000L & l) != 0x0L && kind > 59) + kind = 59; + break; + case 219: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 220; + break; + case 220: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 221; + break; + case 221: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 222; + break; + case 222: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 223; + break; + case 223: + if ((0x40000000400000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 224; + break; + case 224: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 225; + break; + case 225: + if ((0x100000001000L & l) != 0x0L && kind > 60) + kind = 60; + break; + case 226: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 227; + break; + case 227: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 228; + break; + case 228: + if ((0x800000008000L & l) != 0x0L && kind > 61) + kind = 61; + break; + case 229: + if ((0x8000000080000L & l) != 0x0L && kind > 62) + kind = 62; + break; + case 230: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 231; + break; + case 231: + if ((0x4000000040L & l) != 0x0L && kind > 108) + kind = 108; + break; + case 232: + if ((0x800000008000L & l) != 0x0L) + { jjAddStates(85, 89); } + break; + case 233: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 234; + break; + case 234: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 235; + break; + case 235: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 236; + break; + case 236: + if ((0x200000002000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 237; + break; + case 237: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 238; + break; + case 238: + if ((0x400000004000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 239; + break; + case 239: + if ((0x2000000020L & l) != 0x0L && kind > 21) + kind = 21; + break; + case 240: + if ((0x4000000040L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 241; + break; + case 241: + if ((0x4000000040L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 242; + break; + case 242: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 243; + break; + case 243: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 244; + break; + case 244: + if ((0x10000000100000L & l) != 0x0L && kind > 70) + kind = 70; + break; + case 245: + if ((0x400000004000L & l) != 0x0L && kind > 71) + kind = 71; + break; + case 246: + if ((0x4000000040000L & l) != 0x0L && kind > 72) + kind = 72; + break; + case 247: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 248; + break; + case 248: + if ((0x1000000010L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 249; + break; + case 249: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 250; + break; + case 250: + if ((0x4000000040000L & l) != 0x0L && kind > 73) + kind = 73; + break; + case 251: + if ((0x4000000040000L & l) != 0x0L) + { jjAddStates(79, 84); } + break; + case 252: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 253; + break; + case 253: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 254; + break; + case 254: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 255; + break; + case 255: + if ((0x200000002000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 256; + break; + case 256: + if ((0x2000000020L & l) != 0x0L && kind > 22) + kind = 22; + break; + case 257: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 258; + break; + case 258: + if ((0x40000000400000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 259; + break; + case 259: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 260; + break; + case 260: + if ((0x80000000800L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 261; + break; + case 261: + if ((0x2000000020L & l) != 0x0L && kind > 23) + kind = 23; + break; + case 262: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 263; + break; + case 263: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 264; + break; + case 264: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 265; + break; + case 265: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 266; + break; + case 266: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 267; + break; + case 267: + if ((0x2000000020L & l) != 0x0L && kind > 78) + kind = 78; + break; + case 268: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 269; + break; + case 269: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 270; + break; + case 270: + if ((0x2000000020L & l) != 0x0L && kind > 79) + kind = 79; + break; + case 271: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 272; + break; + case 272: + if ((0x80000000800000L & l) != 0x0L && kind > 80) + kind = 80; + break; + case 273: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 274; + break; + case 274: + if ((0x8000000080L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 275; + break; + case 275: + if ((0x10000000100L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 276; + break; + case 276: + if ((0x10000000100000L & l) != 0x0L && kind > 81) + kind = 81; + break; + case 277: + if ((0x8000000080000L & l) != 0x0L) + { jjAddStates(72, 78); } + break; + case 278: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 279; + break; + case 279: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 280; + break; + case 280: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 281; + break; + case 281: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 282; + break; + case 282: + if ((0x10000000100000L & l) != 0x0L && kind > 24) + kind = 24; + break; + case 283: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 284; + break; + case 284: + if ((0x10000000100000L & l) != 0x0L && kind > 25) + kind = 25; + break; + case 285: + if ((0x10000000100L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 286; + break; + case 286: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 287; + break; + case 287: + if ((0x80000000800000L & l) != 0x0L && kind > 26) + kind = 26; + break; + case 288: + if ((0x200000002000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 289; + break; + case 289: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 290; + break; + case 290: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 291; + break; + case 291: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 292; + break; + case 292: + if ((0x200000002000L & l) != 0x0L && kind > 27) + kind = 27; + break; + case 293: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 294; + break; + case 294: + if ((0x200000002000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 295; + break; + case 295: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 296; + break; + case 296: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 297; + break; + case 297: + if ((0x2000000020L & l) != 0x0L && kind > 82) + kind = 82; + break; + case 298: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 299; + break; + case 299: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 300; + break; + case 300: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 301; + break; + case 301: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 302; + break; + case 302: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 303; + break; + case 303: + if ((0x8000000080L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 304; + break; + case 304: + if ((0x8000000080000L & l) != 0x0L && kind > 83) + kind = 83; + break; + case 305: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 306; + break; + case 306: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 307; + break; + case 307: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 308; + break; + case 308: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 309; + break; + case 309: + if ((0x1000000010L & l) != 0x0L && kind > 100) + kind = 100; + break; + case 310: + if ((0x10000000100000L & l) != 0x0L) + { jjAddStates(63, 71); } + break; + case 311: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 312; + break; + case 312: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 313; + break; + case 313: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 314; + break; + case 314: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 315; + break; + case 315: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 316; + break; + case 316: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 317; + break; + case 317: + if ((0x2000000020L & l) != 0x0L && kind > 28) + kind = 28; + break; + case 318: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 319; + break; + case 319: + if ((0x200000002000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 320; + break; + case 320: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 321; + break; + case 321: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 322; + break; + case 322: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 323; + break; + case 323: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 324; + break; + case 324: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 325; + break; + case 325: + if ((0x200000002000000L & l) != 0x0L && kind > 84) + kind = 84; + break; + case 326: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 327; + break; + case 327: + if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 328; + break; + case 328: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 329; + break; + case 329: + if ((0x2000000020L & l) != 0x0L && kind > 85) + kind = 85; + break; + case 330: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 331; + break; + case 331: + if ((0x400000004L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 332; + break; + case 332: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 333; + break; + case 333: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 334; + break; + case 334: + if ((0x8000000080000L & l) != 0x0L && kind > 86) + kind = 86; + break; + case 335: + if ((0x10000000100L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 336; + break; + case 336: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 337; + break; + case 337: + if ((0x400000004000L & l) != 0x0L && kind > 87) + kind = 87; + break; + case 338: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 339; + break; + case 339: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 340; + break; + case 340: + if ((0x8000000080000L & l) != 0x0L && kind > 88) + kind = 88; + break; + case 341: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 342; + break; + case 342: + if ((0x200000002000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 343; + break; + case 343: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 344; + break; + case 344: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 345; + break; + case 345: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 346; + break; + case 346: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 347; + break; + case 347: + if ((0x200000002000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 348; + break; + case 348: + if ((0x1000000010000L & l) != 0x0L && kind > 89) + kind = 89; + break; + case 349: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 350; + break; + case 350: + if ((0x1000000010000L & l) != 0x0L && kind > 90) + kind = 90; + break; + case 351: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 352; + break; + case 352: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 353; + break; + case 353: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 354; + break; + case 354: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 355; + break; + case 355: + if ((0x8000000080000L & l) != 0x0L && kind > 91) + kind = 91; + break; + case 356: + if ((0x20000000200000L & l) != 0x0L) + { jjAddStates(58, 62); } + break; + case 357: + if ((0x1000000010000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 358; + break; + case 358: + if ((0x1000000010L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 359; + break; + case 359: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 360; + break; + case 360: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 361; + break; + case 361: + if ((0x2000000020L & l) != 0x0L && kind > 29) + kind = 29; + break; + case 362: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 363; + break; + case 363: + if ((0x2000000020L & l) != 0x0L && kind > 30) + kind = 30; + break; + case 364: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 365; + break; + case 365: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 366; + break; + case 366: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 367; + break; + case 367: + if ((0x400000004000L & l) != 0x0L && kind > 92) + kind = 92; + break; + case 368: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 369; + break; + case 369: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 370; + break; + case 370: + if ((0x4000000040000L & l) != 0x0L && kind > 93) + kind = 93; + break; + case 371: + if ((0x8000000080000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 372; + break; + case 372: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 373; + break; + case 373: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 374; + break; + case 374: + if ((0x8000000080L & l) != 0x0L && kind > 94) + kind = 94; + break; + case 375: + if ((0x80000000800000L & l) != 0x0L) + { jjAddStates(53, 57); } + break; + case 376: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 377; + break; + case 377: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 378; + break; + case 378: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 379; + break; + case 379: + if ((0x10000000100L & l) != 0x0L && kind > 31) + kind = 31; + break; + case 380: + if ((0x10000000100L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 381; + break; + case 381: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 382; + break; + case 382: + if ((0x400000004000L & l) != 0x0L && kind > 97) + kind = 97; + break; + case 383: + if ((0x10000000100L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 384; + break; + case 384: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 385; + break; + case 385: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 386; + break; + case 386: + if ((0x2000000020L & l) != 0x0L && kind > 98) + kind = 98; + break; + case 387: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 388; + break; + case 388: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 389; + break; + case 389: + if ((0x10000000100L & l) != 0x0L && kind > 99) + kind = 99; + break; + case 390: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 391; + break; + case 391: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 392; + break; + case 392: + if ((0x80000000800L & l) != 0x0L && kind > 104) + kind = 104; + break; + case 393: + if ((0x4000000040L & l) != 0x0L) + { jjAddStates(49, 52); } + break; + case 394: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 395; + break; + case 395: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 396; + break; + case 396: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 397; + break; + case 397: + if ((0x100000001000L & l) != 0x0L && kind > 49) + kind = 49; + break; + case 398: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 399; + break; + case 399: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 400; + break; + case 400: + if ((0x200000002000L & l) != 0x0L && kind > 50) + kind = 50; + break; + case 401: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 402; + break; + case 402: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 403; + break; + case 403: + if ((0x100000001000L & l) != 0x0L && kind > 51) + kind = 51; + break; + case 404: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 405; + break; + case 405: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 406; + break; + case 406: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 407; + break; + case 407: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 408; + break; + case 408: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 409; + break; + case 409: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 410; + break; + case 410: + if ((0x400000004000L & l) != 0x0L && kind > 52) + kind = 52; + break; + case 411: + if ((0x10000000100L & l) != 0x0L) + { jjAddStates(47, 48); } + break; + case 412: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 413; + break; + case 413: + if ((0x40000000400000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 414; + break; + case 414: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 415; + break; + case 415: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 416; + break; + case 416: + if ((0x8000000080L & l) != 0x0L && kind > 55) + kind = 55; + break; + case 417: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 418; + break; + case 418: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 419; + break; + case 419: + if ((0x4000000040000L & l) != 0x0L && kind > 102) + kind = 102; + break; + case 420: + if ((0x100000001000L & l) != 0x0L) + { jjAddStates(43, 46); } + break; + case 421: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 422; + break; + case 422: + if ((0x4000000040L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 423; + break; + case 423: + if ((0x10000000100000L & l) != 0x0L && kind > 64) + kind = 64; + break; + case 424: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 425; + break; + case 425: + if ((0x80000000800L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 426; + break; + case 426: + if ((0x2000000020L & l) != 0x0L && kind > 65) + kind = 65; + break; + case 427: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 428; + break; + case 428: + if ((0x200000002000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 429; + break; + case 429: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 430; + break; + case 430: + if ((0x10000000100000L & l) != 0x0L && kind > 66) + kind = 66; + break; + case 431: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 432; + break; + case 432: + if ((0x40000000400000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 433; + break; + case 433: + if ((0x2000000020L & l) != 0x0L && kind > 67) + kind = 67; + break; + case 434: + if ((0x200000002000L & l) != 0x0L) + { jjAddStates(40, 42); } + break; + case 435: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 436; + break; + case 436: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 437; + break; + case 437: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 438; + break; + case 438: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 439; + break; + case 439: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 440; + break; + case 440: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 441; + break; + case 441: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 442; + break; + case 442: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 443; + break; + case 443: + if ((0x400000004000000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 444; + break; + case 444: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 445; + break; + case 445: + if ((0x1000000010L & l) != 0x0L && kind > 68) + kind = 68; + break; + case 446: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 447; + break; + case 447: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 448; + break; + case 448: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 449; + break; + case 449: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 450; + break; + case 450: + if ((0x2000000020L & l) != 0x0L && kind > 101) + kind = 101; + break; + case 451: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 452; + break; + case 452: + if ((0x400000004000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 453; + break; + case 453: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 454; + break; + case 454: + if ((0x10000000100L & l) != 0x0L && kind > 105) + kind = 105; + break; + case 455: + if ((0x400000004000L & l) != 0x0L) + { jjAddStates(37, 39); } + break; + case 456: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 457; + break; + case 457: + if ((0x10000000100000L & l) != 0x0L && kind > 69) + kind = 69; + break; + case 458: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 459; + break; + case 459: + if ((0x400000004000L & l) != 0x0L && kind > 109) + kind = 109; + break; + case 460: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 461; + break; + case 461: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 462; + break; + case 462: + if ((0x100000001000L & l) != 0x0L && kind > 110) + kind = 110; + break; + case 463: + if ((0x1000000010000L & l) != 0x0L) + { jjAddStates(34, 36); } + break; + case 464: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 465; + break; + case 465: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 466; + break; + case 466: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 467; + break; + case 467: + if ((0x800000008L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 468; + break; + case 468: + if ((0x200000002000000L & l) != 0x0L && kind > 74) + kind = 74; + break; + case 469: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 470; + break; + case 470: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 471; + break; + case 471: + if ((0x80000000800000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 472; + break; + case 472: + if ((0x10000000100L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 473; + break; + case 473: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 474; + break; + case 474: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 475; + break; + case 475: + if ((0x2000000020L & l) != 0x0L && kind > 75) + kind = 75; + break; + case 476: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 477; + break; + case 477: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 478; + break; + case 478: + if ((0x4000000040L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 479; + break; + case 479: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 480; + break; + case 480: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 481; + break; + case 481: + if ((0x2000000020L & l) != 0x0L && kind > 76) + kind = 76; + break; + case 482: + if ((0x2000000020000L & l) != 0x0L) + { jjAddStates(32, 33); } + break; + case 483: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 484; + break; + case 484: + if ((0x800000008000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 485; + break; + case 485: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 486; + break; + case 486: + if ((0x200000002L & l) != 0x0L && kind > 77) + kind = 77; + break; + case 487: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 488; + break; + case 488: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 489; + break; + case 489: + if ((0x4000000040000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 490; + break; + case 490: + if ((0x10000000100000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 491; + break; + case 491: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 492; + break; + case 492: + if ((0x4000000040000L & l) != 0x0L && kind > 106) + kind = 106; + break; + case 493: + if ((0x40000000400000L & l) != 0x0L) + { jjAddStates(30, 31); } + break; + case 494: + if ((0x200000002L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 495; + break; + case 495: + if ((0x100000001000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 496; + break; + case 496: + if ((0x20000000200000L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 497; + break; + case 497: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 498; + break; + case 498: + if ((0x8000000080000L & l) != 0x0L && kind > 95) + kind = 95; + break; + case 499: + if ((0x20000000200L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 500; + break; + case 500: + if ((0x2000000020L & l) != 0x0L) + jjstateSet[jjnewStateCnt++] = 501; + break; + case 501: + if ((0x80000000800000L & l) != 0x0L && kind > 96) + kind = 96; + break; + case 504: + if ((0x2000000020L & l) == 0x0L) + break; + if (kind > 175) + kind = 175; + { jjCheckNAdd(505); } + break; + case 505: + if ((0x7fffffe87fffffeL & l) == 0x0L) + break; + if (kind > 175) + kind = 175; + { jjCheckNAdd(505); } + break; + case 506: + if ((0x7ffffde87ffffdeL & l) == 0x0L) + break; + if (kind > 175) + kind = 175; + { jjCheckNAdd(507); } + break; + case 507: + if ((0x7fffffe87fffffeL & l) == 0x0L) + break; + if (kind > 175) + kind = 175; + { jjCheckNAdd(507); } + break; + case 511: + if ((0x2000000020L & l) != 0x0L) + { jjAddStates(132, 133); } + break; + case 515: + if ((0x2000000020L & l) != 0x0L) + { jjAddStates(134, 135); } + break; + case 520: + if ((0x100000001000000L & l) != 0x0L) + { jjCheckNAdd(521); } + break; + case 521: + if ((0x7e0000007eL & l) != 0x0L) + { jjCheckNAddTwoStates(521, 522); } + break; + case 524: + if ((0x100000001000000L & l) != 0x0L) + { jjCheckNAdd(525); } + break; + case 525: + if ((0x7e0000007eL & l) != 0x0L) + { jjCheckNAddTwoStates(525, 526); } + break; + case 526: + if ((0x1002000010020L & l) != 0x0L) + { jjAddStates(136, 137); } + break; + case 529: + if ((0x100000001000000L & l) != 0x0L) + { jjCheckNAdd(530); } + break; + case 530: + if ((0x7e0000007eL & l) != 0x0L) + { jjCheckNAddTwoStates(530, 531); } + break; + case 531: + if ((0x1002000010020L & l) != 0x0L) + { jjAddStates(138, 139); } + break; + case 534: + if ((0x100000001000000L & l) != 0x0L) + { jjCheckNAdd(535); } + break; + case 535: + if ((0x7e0000007eL & l) == 0x0L) + break; + if (kind > 180) + kind = 180; + { jjCheckNAdd(535); } + break; + default : break; } - ++curPos; - i = jjnewStateCnt; - jjnewStateCnt = startsAt; - startsAt = 536 - jjnewStateCnt; - if (i == startsAt) - return curPos; - try { - curChar = input_stream.readChar(); - } catch (java.io.IOException e) { - return curPos; + } while(i != startsAt); + } + else + { + int hiByte = (curChar >> 8); + int i1 = hiByte >> 6; + long l1 = 1L << (hiByte & 077); + int i2 = (curChar & 0xff) >> 6; + long l2 = 1L << (curChar & 077); + do + { + switch(jjstateSet[--i]) + { + case 536: + case 41: + case 40: + if (jjCanMove_1(hiByte, i1, i2, l1, l2)) + { jjCheckNAddStates(0, 3); } + break; + case 537: + case 32: + case 31: + if (jjCanMove_1(hiByte, i1, i2, l1, l2)) + { jjCheckNAddStates(4, 7); } + break; + case 538: + case 48: + case 47: + if (jjCanMove_1(hiByte, i1, i2, l1, l2)) + { jjCheckNAddStates(8, 11); } + break; + case 0: + if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 1) + kind = 1; + break; + case 2: + if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) + break; + if (kind > 2) + kind = 2; + jjstateSet[jjnewStateCnt++] = 2; + break; + default : if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) break; else break; } - } - } + } while(i != startsAt); + } + if (kind != 0x7fffffff) + { + jjmatchedKind = kind; + jjmatchedPos = curPos; + kind = 0x7fffffff; + } + ++curPos; + i = jjnewStateCnt; + jjnewStateCnt = startsAt; + startsAt = 536 - jjnewStateCnt; + if (i == startsAt) + return curPos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return curPos; } + } +} +private int jjMoveStringLiteralDfa0_1(){ + switch(curChar) + { + case '*': + return jjMoveStringLiteralDfa1_1(0x20L); + case '/': + return jjMoveStringLiteralDfa1_1(0x10L); + default : + return 1; + } +} +private int jjMoveStringLiteralDfa1_1(long active0){ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + return 1; + } + switch(curChar) + { + case '*': + if ((active0 & 0x10L) != 0x0L) + return jjStopAtPos(1, 4); + break; + case '/': + if ((active0 & 0x20L) != 0x0L) + return jjStopAtPos(1, 5); + break; + default : + return 2; + } + return 2; +} - private int jjMoveStringLiteralDfa0_1() { - switch (curChar) { - case '*': - return jjMoveStringLiteralDfa1_1(0x20L); - case '/': - return jjMoveStringLiteralDfa1_1(0x10L); - default: - return 1; - } - } +/** Token literal values. */ +public static final String[] jjstrLiteralImages = { +"", null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, "\55\76", "\52", "\100", "\140", "\134", "\72", "\54", "\174\174", "\55", +"\44", "\56", "\75\75", "\75", "\76\75", "\76", "\43", "\173", "\133", "\74\75", +"\50", "\74", null, "\45", "\53", "\77", "\42", "\47", "\175", "\135", "\51", "\73", +"\57", null, null, null, null, null, null, null, null, }; +protected Token jjFillToken() +{ + final Token t; + final String curTokenImage; + final int beginLine; + final int endLine; + final int beginColumn; + final int endColumn; + String im = jjstrLiteralImages[jjmatchedKind]; + curTokenImage = im == null ? input_stream.getImage() : im; + beginLine = input_stream.getBeginLine(); + beginColumn = input_stream.getBeginColumn(); + endLine = input_stream.getEndLine(); + endColumn = input_stream.getEndColumn(); + t = Token.newToken(jjmatchedKind); + t.kind = jjmatchedKind; + t.image = curTokenImage; + + t.beginLine = beginLine; + t.endLine = endLine; + t.beginColumn = beginColumn; + t.endColumn = endColumn; + + return t; +} +static final int[] jjnextStates = { + 39, 41, 43, 44, 30, 32, 34, 35, 46, 48, 50, 51, 503, 504, 506, 508, + 509, 514, 515, 518, 520, 529, 534, 503, 504, 506, 521, 522, 530, 531, 494, 499, + 483, 487, 464, 469, 476, 456, 458, 460, 435, 446, 451, 421, 424, 427, 431, 412, + 417, 394, 398, 401, 404, 376, 380, 383, 387, 390, 357, 362, 364, 368, 371, 311, + 318, 326, 330, 335, 338, 341, 349, 351, 278, 283, 285, 288, 293, 298, 305, 252, + 257, 262, 268, 271, 273, 233, 240, 245, 246, 247, 204, 209, 210, 214, 215, 219, + 226, 229, 230, 190, 194, 199, 168, 173, 179, 182, 184, 97, 102, 105, 112, 117, + 120, 123, 130, 138, 147, 158, 165, 84, 88, 93, 58, 62, 67, 69, 71, 75, + 79, 80, 55, 56, 512, 513, 516, 517, 527, 528, 532, 533, +}; +private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) +{ + switch(hiByte) + { + case 0: + return ((jjbitVec0[i2] & l2) != 0L); + case 24: + return ((jjbitVec1[i2] & l2) != 0L); + case 32: + return ((jjbitVec2[i2] & l2) != 0L); + case 48: + return ((jjbitVec3[i2] & l2) != 0L); + case 254: + return ((jjbitVec4[i2] & l2) != 0L); + default : + return false; + } +} +private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) +{ + switch(hiByte) + { + case 0: + return ((jjbitVec7[i2] & l2) != 0L); + default : + if ((jjbitVec5[i1] & l1) != 0L) + return true; + return false; + } +} - private int jjMoveStringLiteralDfa1_1(long active0) { - try { - curChar = input_stream.readChar(); - } catch (java.io.IOException e) { - return 1; +int curLexState = 0; +int defaultLexState = 0; +int jjnewStateCnt; +int jjround; +int jjmatchedPos; +int jjmatchedKind; + +/** Get the next Token. */ +public Token getNextToken() +{ + Token matchedToken; + int curPos = 0; + + EOFLoop: + for (;;) + { + try + { + curChar = input_stream.beginToken(); + } + catch(final Exception e) + { + jjmatchedKind = 0; + jjmatchedPos = -1; + matchedToken = jjFillToken(); + CommonTokenAction(matchedToken); + return matchedToken; + } + image = jjimage; + image.setLength(0); + jjimageLen = 0; + + switch(curLexState) + { + case 0: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_0(); + break; + case 1: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_1(); + if (jjmatchedPos == 0 && jjmatchedKind > 6) + { + jjmatchedKind = 6; + } + break; + } + if (jjmatchedKind != 0x7fffffff) + { + if (jjmatchedPos + 1 < curPos) + input_stream.backup(curPos - jjmatchedPos - 1); + if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) + { + matchedToken = jjFillToken(); + if (jjnewLexState[jjmatchedKind] != -1) + curLexState = jjnewLexState[jjmatchedKind]; + CommonTokenAction(matchedToken); + return matchedToken; } - switch (curChar) { - case '*': - if ((active0 & 0x10L) != 0x0L) - return jjStopAtPos(1, 4); - break; - case '/': - if ((active0 & 0x20L) != 0x0L) - return jjStopAtPos(1, 5); - break; - default: - return 2; - } - return 2; - } - - /** Token literal values. */ - public static final String[] jjstrLiteralImages = { "", null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, "\55\76", "\52", "\100", "\140", "\134", "\72", "\54", "\174\174", "\55", "\44", - "\56", "\75\75", "\75", "\76\75", "\76", "\43", "\173", "\133", "\74\75", "\50", "\74", null, "\45", "\53", - "\77", "\42", "\47", "\175", "\135", "\51", "\73", "\57", null, null, null, null, null, null, null, null, }; - - protected Token jjFillToken() { - final Token t; - final String curTokenImage; - final int beginLine; - final int endLine; - final int beginColumn; - final int endColumn; - String im = jjstrLiteralImages[jjmatchedKind]; - curTokenImage = im == null ? input_stream.getImage() : im; - beginLine = input_stream.getBeginLine(); - beginColumn = input_stream.getBeginColumn(); - endLine = input_stream.getEndLine(); - endColumn = input_stream.getEndColumn(); - t = Token.newToken(jjmatchedKind); - t.kind = jjmatchedKind; - t.image = curTokenImage; - - t.beginLine = beginLine; - t.endLine = endLine; - t.beginColumn = beginColumn; - t.endColumn = endColumn; - - return t; - } - - static final int[] jjnextStates = { 39, 41, 43, 44, 30, 32, 34, 35, 46, 48, 50, 51, 503, 504, 506, 508, 509, 514, - 515, 518, 520, 529, 534, 503, 504, 506, 521, 522, 530, 531, 494, 499, 483, 487, 464, 469, 476, 456, 458, - 460, 435, 446, 451, 421, 424, 427, 431, 412, 417, 394, 398, 401, 404, 376, 380, 383, 387, 390, 357, 362, - 364, 368, 371, 311, 318, 326, 330, 335, 338, 341, 349, 351, 278, 283, 285, 288, 293, 298, 305, 252, 257, - 262, 268, 271, 273, 233, 240, 245, 246, 247, 204, 209, 210, 214, 215, 219, 226, 229, 230, 190, 194, 199, - 168, 173, 179, 182, 184, 97, 102, 105, 112, 117, 120, 123, 130, 138, 147, 158, 165, 84, 88, 93, 58, 62, 67, - 69, 71, 75, 79, 80, 55, 56, 512, 513, 516, 517, 527, 528, 532, 533, }; - - private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) { - switch (hiByte) { - case 0: - return ((jjbitVec0[i2] & l2) != 0L); - case 24: - return ((jjbitVec1[i2] & l2) != 0L); - case 32: - return ((jjbitVec2[i2] & l2) != 0L); - case 48: - return ((jjbitVec3[i2] & l2) != 0L); - case 254: - return ((jjbitVec4[i2] & l2) != 0L); - default: - return false; + else + { + SkipLexicalActions(null); + if (jjnewLexState[jjmatchedKind] != -1) + curLexState = jjnewLexState[jjmatchedKind]; + continue EOFLoop; } - } - - private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) { - switch (hiByte) { - case 0: - return ((jjbitVec7[i2] & l2) != 0L); - default: - if ((jjbitVec5[i1] & l1) != 0L) - return true; - return false; + } + int error_line = input_stream.getEndLine(); + int error_column = input_stream.getEndColumn(); + String error_after = null; + boolean EOFSeen = false; + try { + input_stream.readChar(); + input_stream.backup(1); + } + catch (final java.io.IOException e1) { + EOFSeen = true; + error_after = curPos <= 1 ? "" : input_stream.getImage(); + if (curChar == '\n' || curChar == '\r') { + error_line++; + error_column = 0; } - } - - int curLexState = 0; - int defaultLexState = 0; - int jjnewStateCnt; - int jjround; - int jjmatchedPos; - int jjmatchedKind; - - /** Get the next Token. */ - public Token getNextToken() { - Token matchedToken; - int curPos = 0; - - EOFLoop: for (;;) { - try { - curChar = input_stream.beginToken(); - } catch (final Exception e) { - jjmatchedKind = 0; - jjmatchedPos = -1; - matchedToken = jjFillToken(); - CommonTokenAction(matchedToken); - return matchedToken; - } - image = jjimage; - image.setLength(0); - jjimageLen = 0; - - switch (curLexState) { - case 0: - jjmatchedKind = 0x7fffffff; - jjmatchedPos = 0; - curPos = jjMoveStringLiteralDfa0_0(); - break; - case 1: - jjmatchedKind = 0x7fffffff; - jjmatchedPos = 0; - curPos = jjMoveStringLiteralDfa0_1(); - if (jjmatchedPos == 0 && jjmatchedKind > 6) { - jjmatchedKind = 6; - } - break; - } - if (jjmatchedKind != 0x7fffffff) { - if (jjmatchedPos + 1 < curPos) - input_stream.backup(curPos - jjmatchedPos - 1); - if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { - matchedToken = jjFillToken(); - if (jjnewLexState[jjmatchedKind] != -1) - curLexState = jjnewLexState[jjmatchedKind]; - CommonTokenAction(matchedToken); - return matchedToken; - } else { - SkipLexicalActions(null); - if (jjnewLexState[jjmatchedKind] != -1) - curLexState = jjnewLexState[jjmatchedKind]; - continue EOFLoop; - } - } - int error_line = input_stream.getEndLine(); - int error_column = input_stream.getEndColumn(); - String error_after = null; - boolean EOFSeen = false; - try { - input_stream.readChar(); - input_stream.backup(1); - } catch (final java.io.IOException e1) { - EOFSeen = true; - error_after = curPos <= 1 ? "" : input_stream.getImage(); - if (curChar == '\n' || curChar == '\r') { - error_line++; - error_column = 0; - } else - error_column++; - } - if (!EOFSeen) { - input_stream.backup(1); - error_after = curPos <= 1 ? "" : input_stream.getImage(); - } - throw new TokenMgrException(EOFSeen, curLexState, error_line, error_column, error_after, curChar, - TokenMgrException.LEXICAL_ERROR); - } - } + else + error_column++; + } + if (!EOFSeen) { + input_stream.backup(1); + error_after = curPos <= 1 ? "" : input_stream.getImage(); + } + throw new TokenMgrException(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrException.LEXICAL_ERROR); + } +} - void SkipLexicalActions(Token matchedToken) { - switch (jjmatchedKind) { - case 1: - image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); - append(image); - break; - case 2: - image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); - append(image); - break; - case 3: - image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); - commentNestingDepth = 1; - append(image); - break; - case 4: - image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); - commentNestingDepth += 1; +void SkipLexicalActions(Token matchedToken) +{ + switch(jjmatchedKind) + { + case 1 : + image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); + append(image); + break; + case 2 : + image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); + append(image); + break; + case 3 : + image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); + commentNestingDepth = 1; append(image); + break; + case 4 : + image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); + commentNestingDepth += 1; append(image); + break; + case 5 : + image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); + SwitchTo(--commentNestingDepth == 0 ? DEFAULT : MULTI_LINE_COMMENT); append(image); + break; + case 6 : + image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); append(image); - break; - case 5: - image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); - SwitchTo(--commentNestingDepth == 0 ? DEFAULT : MULTI_LINE_COMMENT); - append(image); - break; - case 6: - image.append(input_stream.getSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); - append(image); - break; - default: - break; - } - } - - void MoreLexicalActions() { - jjimageLen += (lengthOfMatch = jjmatchedPos + 1); - switch (jjmatchedKind) { - default: - break; - } - } - - void TokenLexicalActions(Token matchedToken) { - switch (jjmatchedKind) { - default: - break; - } - } - - private void jjCheckNAdd(int state) { - if (jjrounds[state] != jjround) { - jjstateSet[jjnewStateCnt++] = state; - jjrounds[state] = jjround; - } - } - - private void jjAddStates(int start, int end) { - do { - jjstateSet[jjnewStateCnt++] = jjnextStates[start]; - } while (start++ != end); - } - - private void jjCheckNAddTwoStates(int state1, int state2) { - jjCheckNAdd(state1); - jjCheckNAdd(state2); - } - - private void jjCheckNAddStates(int start, int end) { - do { - jjCheckNAdd(jjnextStates[start]); - } while (start++ != end); - } + break; + default : + break; + } +} +void MoreLexicalActions() +{ + jjimageLen += (lengthOfMatch = jjmatchedPos + 1); + switch(jjmatchedKind) + { + default : + break; + } +} +void TokenLexicalActions(Token matchedToken) +{ + switch(jjmatchedKind) + { + default : + break; + } +} +private void jjCheckNAdd(int state) +{ + if (jjrounds[state] != jjround) + { + jjstateSet[jjnewStateCnt++] = state; + jjrounds[state] = jjround; + } +} +private void jjAddStates(int start, int end) +{ + do { + jjstateSet[jjnewStateCnt++] = jjnextStates[start]; + } while (start++ != end); +} +private void jjCheckNAddTwoStates(int state1, int state2) +{ + jjCheckNAdd(state1); + jjCheckNAdd(state2); +} - /** Constructor. */ - public CeresDBSqlParserTokenManager(SimpleCharStream stream) { - input_stream = stream; - } +private void jjCheckNAddStates(int start, int end) +{ + do { + jjCheckNAdd(jjnextStates[start]); + } while (start++ != end); +} /** Constructor. */ - public CeresDBSqlParserTokenManager(SimpleCharStream stream, int lexState) { - ReInit(stream); - SwitchTo(lexState); - } - - /** Reinitialise parser. */ - - public void ReInit(SimpleCharStream stream) { - - jjmatchedPos = jjnewStateCnt = 0; - curLexState = defaultLexState; - input_stream = stream; - ReInitRounds(); - } - - private void ReInitRounds() { - int i; - jjround = 0x80000001; - for (i = 536; i-- > 0;) - jjrounds[i] = 0x80000000; - } - - /** Reinitialise parser. */ - public void ReInit(SimpleCharStream stream, int lexState) { - ReInit(stream); - SwitchTo(lexState); - } - - /** Switch to specified lex state. */ - public void SwitchTo(int lexState) { - if (lexState >= 2 || lexState < 0) - throw new TokenMgrException("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", - TokenMgrException.INVALID_LEXICAL_STATE); - else - curLexState = lexState; - } - - /** Lexer state names. */ - public static final String[] lexStateNames = { "DEFAULT", "MULTI_LINE_COMMENT", }; - - /** Lex State array. */ - public static final int[] jjnewLexState = { -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, }; - static final long[] jjtoToken = { 0xffffffffffffff81L, 0x7fffffffffffL, 0x1fdfffffffe000L, }; - static final long[] jjtoSkip = { 0x7eL, 0x0L, 0x0L, }; - static final long[] jjtoSpecial = { 0x0L, 0x0L, 0x0L, }; - static final long[] jjtoMore = { 0x0L, 0x0L, 0x0L, }; - protected SimpleCharStream input_stream; - - private final int[] jjrounds = new int[536]; - private final int[] jjstateSet = new int[2 * 536]; - private final StringBuilder jjimage = new StringBuilder(); - private StringBuilder image = jjimage; - private int jjimageLen; - private int lengthOfMatch; - protected int curChar; + public CeresDBSqlParserTokenManager(SimpleCharStream stream){ + input_stream = stream; + } + + /** Constructor. */ + public CeresDBSqlParserTokenManager (SimpleCharStream stream, int lexState){ + ReInit(stream); + SwitchTo(lexState); + } + + /** Reinitialise parser. */ + + public void ReInit(SimpleCharStream stream) + { + + + jjmatchedPos = + jjnewStateCnt = + 0; + curLexState = defaultLexState; + input_stream = stream; + ReInitRounds(); + } + + private void ReInitRounds() + { + int i; + jjround = 0x80000001; + for (i = 536; i-- > 0;) + jjrounds[i] = 0x80000000; + } + + /** Reinitialise parser. */ + public void ReInit(SimpleCharStream stream, int lexState) + { + ReInit(stream); + SwitchTo(lexState); + } + + /** Switch to specified lex state. */ + public void SwitchTo(int lexState) + { + if (lexState >= 2 || lexState < 0) + throw new TokenMgrException("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrException.INVALID_LEXICAL_STATE); + else + curLexState = lexState; + } + + +/** Lexer state names. */ +public static final String[] lexStateNames = { + "DEFAULT", + "MULTI_LINE_COMMENT", +}; + +/** Lex State array. */ +public static final int[] jjnewLexState = { + -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, +}; +static final long[] jjtoToken = { + 0xffffffffffffff81L, 0x7fffffffffffL, 0x1fdfffffffe000L, +}; +static final long[] jjtoSkip = { + 0x7eL, 0x0L, 0x0L, +}; +static final long[] jjtoSpecial = { + 0x0L, 0x0L, 0x0L, +}; +static final long[] jjtoMore = { + 0x0L, 0x0L, 0x0L, +}; + protected SimpleCharStream input_stream; + + private final int[] jjrounds = new int[536]; + private final int[] jjstateSet = new int[2 * 536]; + private final StringBuilder jjimage = new StringBuilder(); + private StringBuilder image = jjimage; + private int jjimageLen; + private int lengthOfMatch; + protected int curChar; } diff --git a/docs/read.md b/docs/read.md index 4ace81b..9551c96 100644 --- a/docs/read.md +++ b/docs/read.md @@ -2,7 +2,7 @@ ``` ┌─────────────────────┐ - │ HoraeClient │ + │ HoraeDBClient │ └─────────────────────┘ │ ▼ diff --git a/pom.xml b/pom.xml index f10d3a2..7c1823f 100644 --- a/pom.xml +++ b/pom.xml @@ -427,6 +427,11 @@ **/src/main/java/** **/src/test/java/** + + **/sql/CeresDBSqlParser.java + **/sql/CeresDBSqlParserConstants.java + **/sql/CeresDBSqlParserTokenManager.java + true SLASHSTAR_STYLE