|
|
@@ -30,12 +30,15 @@ class KqlBaseParser extends Parser {
|
|
|
RIGHT_CURLY_BRACKET=13, UNQUOTED_LITERAL=14, QUOTED_STRING=15, WILDCARD=16;
|
|
|
public static final int
|
|
|
RULE_topLevelQuery = 0, RULE_query = 1, RULE_simpleQuery = 2, RULE_notQuery = 3,
|
|
|
- RULE_nestedQuery = 4, RULE_matchAllQuery = 5, RULE_parenthesizedQuery = 6,
|
|
|
- RULE_rangeQuery = 7, RULE_rangeQueryValue = 8, RULE_existsQuery = 9, RULE_fieldQuery = 10,
|
|
|
- RULE_fieldLessQuery = 11, RULE_fieldQueryValue = 12, RULE_fieldName = 13;
|
|
|
+ RULE_nestedQuery = 4, RULE_nestedSubQuery = 5, RULE_nestedSimpleSubQuery = 6,
|
|
|
+ RULE_nestedParenthesizedQuery = 7, RULE_matchAllQuery = 8, RULE_parenthesizedQuery = 9,
|
|
|
+ RULE_rangeQuery = 10, RULE_rangeQueryValue = 11, RULE_existsQuery = 12,
|
|
|
+ RULE_fieldQuery = 13, RULE_fieldLessQuery = 14, RULE_fieldQueryValue = 15,
|
|
|
+ RULE_fieldName = 16;
|
|
|
private static String[] makeRuleNames() {
|
|
|
return new String[] {
|
|
|
- "topLevelQuery", "query", "simpleQuery", "notQuery", "nestedQuery", "matchAllQuery",
|
|
|
+ "topLevelQuery", "query", "simpleQuery", "notQuery", "nestedQuery", "nestedSubQuery",
|
|
|
+ "nestedSimpleSubQuery", "nestedParenthesizedQuery", "matchAllQuery",
|
|
|
"parenthesizedQuery", "rangeQuery", "rangeQueryValue", "existsQuery",
|
|
|
"fieldQuery", "fieldLessQuery", "fieldQueryValue", "fieldName"
|
|
|
};
|
|
|
@@ -139,17 +142,17 @@ class KqlBaseParser extends Parser {
|
|
|
try {
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(29);
|
|
|
+ setState(35);
|
|
|
_errHandler.sync(this);
|
|
|
_la = _input.LA(1);
|
|
|
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 115740L) != 0)) {
|
|
|
{
|
|
|
- setState(28);
|
|
|
+ setState(34);
|
|
|
query(0);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- setState(31);
|
|
|
+ setState(37);
|
|
|
match(EOF);
|
|
|
}
|
|
|
}
|
|
|
@@ -244,11 +247,11 @@ class KqlBaseParser extends Parser {
|
|
|
_ctx = _localctx;
|
|
|
_prevctx = _localctx;
|
|
|
|
|
|
- setState(34);
|
|
|
+ setState(40);
|
|
|
simpleQuery();
|
|
|
}
|
|
|
_ctx.stop = _input.LT(-1);
|
|
|
- setState(41);
|
|
|
+ setState(47);
|
|
|
_errHandler.sync(this);
|
|
|
_alt = getInterpreter().adaptivePredict(_input,1,_ctx);
|
|
|
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
@@ -259,9 +262,9 @@ class KqlBaseParser extends Parser {
|
|
|
{
|
|
|
_localctx = new BooleanQueryContext(new QueryContext(_parentctx, _parentState));
|
|
|
pushNewRecursionContext(_localctx, _startState, RULE_query);
|
|
|
- setState(36);
|
|
|
+ setState(42);
|
|
|
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
|
|
- setState(37);
|
|
|
+ setState(43);
|
|
|
((BooleanQueryContext)_localctx).operator = _input.LT(1);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !(_la==AND || _la==OR) ) {
|
|
|
@@ -272,12 +275,12 @@ class KqlBaseParser extends Parser {
|
|
|
_errHandler.reportMatch(this);
|
|
|
consume();
|
|
|
}
|
|
|
- setState(38);
|
|
|
+ setState(44);
|
|
|
query(2);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- setState(43);
|
|
|
+ setState(49);
|
|
|
_errHandler.sync(this);
|
|
|
_alt = getInterpreter().adaptivePredict(_input,1,_ctx);
|
|
|
}
|
|
|
@@ -343,62 +346,62 @@ class KqlBaseParser extends Parser {
|
|
|
SimpleQueryContext _localctx = new SimpleQueryContext(_ctx, getState());
|
|
|
enterRule(_localctx, 4, RULE_simpleQuery);
|
|
|
try {
|
|
|
- setState(52);
|
|
|
+ setState(58);
|
|
|
_errHandler.sync(this);
|
|
|
switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) {
|
|
|
case 1:
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(44);
|
|
|
+ setState(50);
|
|
|
notQuery();
|
|
|
}
|
|
|
break;
|
|
|
case 2:
|
|
|
enterOuterAlt(_localctx, 2);
|
|
|
{
|
|
|
- setState(45);
|
|
|
+ setState(51);
|
|
|
nestedQuery();
|
|
|
}
|
|
|
break;
|
|
|
case 3:
|
|
|
enterOuterAlt(_localctx, 3);
|
|
|
{
|
|
|
- setState(46);
|
|
|
+ setState(52);
|
|
|
parenthesizedQuery();
|
|
|
}
|
|
|
break;
|
|
|
case 4:
|
|
|
enterOuterAlt(_localctx, 4);
|
|
|
{
|
|
|
- setState(47);
|
|
|
+ setState(53);
|
|
|
matchAllQuery();
|
|
|
}
|
|
|
break;
|
|
|
case 5:
|
|
|
enterOuterAlt(_localctx, 5);
|
|
|
{
|
|
|
- setState(48);
|
|
|
+ setState(54);
|
|
|
existsQuery();
|
|
|
}
|
|
|
break;
|
|
|
case 6:
|
|
|
enterOuterAlt(_localctx, 6);
|
|
|
{
|
|
|
- setState(49);
|
|
|
+ setState(55);
|
|
|
rangeQuery();
|
|
|
}
|
|
|
break;
|
|
|
case 7:
|
|
|
enterOuterAlt(_localctx, 7);
|
|
|
{
|
|
|
- setState(50);
|
|
|
+ setState(56);
|
|
|
fieldQuery();
|
|
|
}
|
|
|
break;
|
|
|
case 8:
|
|
|
enterOuterAlt(_localctx, 8);
|
|
|
{
|
|
|
- setState(51);
|
|
|
+ setState(57);
|
|
|
fieldLessQuery();
|
|
|
}
|
|
|
break;
|
|
|
@@ -447,9 +450,9 @@ class KqlBaseParser extends Parser {
|
|
|
try {
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(54);
|
|
|
+ setState(60);
|
|
|
match(NOT);
|
|
|
- setState(55);
|
|
|
+ setState(61);
|
|
|
((NotQueryContext)_localctx).subQuery = simpleQuery();
|
|
|
}
|
|
|
}
|
|
|
@@ -471,8 +474,8 @@ class KqlBaseParser extends Parser {
|
|
|
}
|
|
|
public TerminalNode COLON() { return getToken(KqlBaseParser.COLON, 0); }
|
|
|
public TerminalNode LEFT_CURLY_BRACKET() { return getToken(KqlBaseParser.LEFT_CURLY_BRACKET, 0); }
|
|
|
- public QueryContext query() {
|
|
|
- return getRuleContext(QueryContext.class,0);
|
|
|
+ public NestedSubQueryContext nestedSubQuery() {
|
|
|
+ return getRuleContext(NestedSubQueryContext.class,0);
|
|
|
}
|
|
|
public TerminalNode RIGHT_CURLY_BRACKET() { return getToken(KqlBaseParser.RIGHT_CURLY_BRACKET, 0); }
|
|
|
public NestedQueryContext(ParserRuleContext parent, int invokingState) {
|
|
|
@@ -500,15 +503,15 @@ class KqlBaseParser extends Parser {
|
|
|
try {
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(57);
|
|
|
+ setState(63);
|
|
|
fieldName();
|
|
|
- setState(58);
|
|
|
+ setState(64);
|
|
|
match(COLON);
|
|
|
- setState(59);
|
|
|
+ setState(65);
|
|
|
match(LEFT_CURLY_BRACKET);
|
|
|
- setState(60);
|
|
|
- query(0);
|
|
|
- setState(61);
|
|
|
+ setState(66);
|
|
|
+ nestedSubQuery(0);
|
|
|
+ setState(67);
|
|
|
match(RIGHT_CURLY_BRACKET);
|
|
|
}
|
|
|
}
|
|
|
@@ -523,6 +526,288 @@ class KqlBaseParser extends Parser {
|
|
|
return _localctx;
|
|
|
}
|
|
|
|
|
|
+ @SuppressWarnings("CheckReturnValue")
|
|
|
+ public static class NestedSubQueryContext extends ParserRuleContext {
|
|
|
+ public NestedSubQueryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_nestedSubQuery; }
|
|
|
+
|
|
|
+ public NestedSubQueryContext() { }
|
|
|
+ public void copyFrom(NestedSubQueryContext ctx) {
|
|
|
+ super.copyFrom(ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @SuppressWarnings("CheckReturnValue")
|
|
|
+ public static class BooleanNestedQueryContext extends NestedSubQueryContext {
|
|
|
+ public Token operator;
|
|
|
+ public List<NestedSubQueryContext> nestedSubQuery() {
|
|
|
+ return getRuleContexts(NestedSubQueryContext.class);
|
|
|
+ }
|
|
|
+ public NestedSubQueryContext nestedSubQuery(int i) {
|
|
|
+ return getRuleContext(NestedSubQueryContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode AND() { return getToken(KqlBaseParser.AND, 0); }
|
|
|
+ public TerminalNode OR() { return getToken(KqlBaseParser.OR, 0); }
|
|
|
+ public BooleanNestedQueryContext(NestedSubQueryContext ctx) { copyFrom(ctx); }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).enterBooleanNestedQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).exitBooleanNestedQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof KqlBaseVisitor ) return ((KqlBaseVisitor<? extends T>)visitor).visitBooleanNestedQuery(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @SuppressWarnings("CheckReturnValue")
|
|
|
+ public static class DefaultNestedQueryContext extends NestedSubQueryContext {
|
|
|
+ public NestedSimpleSubQueryContext nestedSimpleSubQuery() {
|
|
|
+ return getRuleContext(NestedSimpleSubQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public DefaultNestedQueryContext(NestedSubQueryContext ctx) { copyFrom(ctx); }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).enterDefaultNestedQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).exitDefaultNestedQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof KqlBaseVisitor ) return ((KqlBaseVisitor<? extends T>)visitor).visitDefaultNestedQuery(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final NestedSubQueryContext nestedSubQuery() throws RecognitionException {
|
|
|
+ return nestedSubQuery(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private NestedSubQueryContext nestedSubQuery(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ NestedSubQueryContext _localctx = new NestedSubQueryContext(_ctx, _parentState);
|
|
|
+ NestedSubQueryContext _prevctx = _localctx;
|
|
|
+ int _startState = 10;
|
|
|
+ enterRecursionRule(_localctx, 10, RULE_nestedSubQuery, _p);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new DefaultNestedQueryContext(_localctx);
|
|
|
+ _ctx = _localctx;
|
|
|
+ _prevctx = _localctx;
|
|
|
+
|
|
|
+ setState(70);
|
|
|
+ nestedSimpleSubQuery();
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(77);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,3,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new BooleanNestedQueryContext(new NestedSubQueryContext(_parentctx, _parentState));
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_nestedSubQuery);
|
|
|
+ setState(72);
|
|
|
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
|
|
+ setState(73);
|
|
|
+ ((BooleanNestedQueryContext)_localctx).operator = _input.LT(1);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ( !(_la==AND || _la==OR) ) {
|
|
|
+ ((BooleanNestedQueryContext)_localctx).operator = (Token)_errHandler.recoverInline(this);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
|
|
|
+ _errHandler.reportMatch(this);
|
|
|
+ consume();
|
|
|
+ }
|
|
|
+ setState(74);
|
|
|
+ nestedSubQuery(2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(79);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,3,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ @SuppressWarnings("CheckReturnValue")
|
|
|
+ public static class NestedSimpleSubQueryContext extends ParserRuleContext {
|
|
|
+ public NotQueryContext notQuery() {
|
|
|
+ return getRuleContext(NotQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public NestedQueryContext nestedQuery() {
|
|
|
+ return getRuleContext(NestedQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public NestedParenthesizedQueryContext nestedParenthesizedQuery() {
|
|
|
+ return getRuleContext(NestedParenthesizedQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public ExistsQueryContext existsQuery() {
|
|
|
+ return getRuleContext(ExistsQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public RangeQueryContext rangeQuery() {
|
|
|
+ return getRuleContext(RangeQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldQueryContext fieldQuery() {
|
|
|
+ return getRuleContext(FieldQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public NestedSimpleSubQueryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_nestedSimpleSubQuery; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).enterNestedSimpleSubQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).exitNestedSimpleSubQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof KqlBaseVisitor ) return ((KqlBaseVisitor<? extends T>)visitor).visitNestedSimpleSubQuery(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final NestedSimpleSubQueryContext nestedSimpleSubQuery() throws RecognitionException {
|
|
|
+ NestedSimpleSubQueryContext _localctx = new NestedSimpleSubQueryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 12, RULE_nestedSimpleSubQuery);
|
|
|
+ try {
|
|
|
+ setState(86);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(80);
|
|
|
+ notQuery();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(81);
|
|
|
+ nestedQuery();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(82);
|
|
|
+ nestedParenthesizedQuery();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(83);
|
|
|
+ existsQuery();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(84);
|
|
|
+ rangeQuery();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(85);
|
|
|
+ fieldQuery();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ @SuppressWarnings("CheckReturnValue")
|
|
|
+ public static class NestedParenthesizedQueryContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LEFT_PARENTHESIS() { return getToken(KqlBaseParser.LEFT_PARENTHESIS, 0); }
|
|
|
+ public NestedSubQueryContext nestedSubQuery() {
|
|
|
+ return getRuleContext(NestedSubQueryContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RIGHT_PARENTHESIS() { return getToken(KqlBaseParser.RIGHT_PARENTHESIS, 0); }
|
|
|
+ public NestedParenthesizedQueryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_nestedParenthesizedQuery; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).enterNestedParenthesizedQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof KqlBaseListener ) ((KqlBaseListener)listener).exitNestedParenthesizedQuery(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof KqlBaseVisitor ) return ((KqlBaseVisitor<? extends T>)visitor).visitNestedParenthesizedQuery(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final NestedParenthesizedQueryContext nestedParenthesizedQuery() throws RecognitionException {
|
|
|
+ NestedParenthesizedQueryContext _localctx = new NestedParenthesizedQueryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 14, RULE_nestedParenthesizedQuery);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(88);
|
|
|
+ match(LEFT_PARENTHESIS);
|
|
|
+ setState(89);
|
|
|
+ nestedSubQuery(0);
|
|
|
+ setState(90);
|
|
|
+ match(RIGHT_PARENTHESIS);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
@SuppressWarnings("CheckReturnValue")
|
|
|
public static class MatchAllQueryContext extends ParserRuleContext {
|
|
|
public List<TerminalNode> WILDCARD() { return getTokens(KqlBaseParser.WILDCARD); }
|
|
|
@@ -551,23 +836,23 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final MatchAllQueryContext matchAllQuery() throws RecognitionException {
|
|
|
MatchAllQueryContext _localctx = new MatchAllQueryContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 10, RULE_matchAllQuery);
|
|
|
+ enterRule(_localctx, 16, RULE_matchAllQuery);
|
|
|
try {
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(65);
|
|
|
+ setState(94);
|
|
|
_errHandler.sync(this);
|
|
|
- switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) {
|
|
|
case 1:
|
|
|
{
|
|
|
- setState(63);
|
|
|
+ setState(92);
|
|
|
match(WILDCARD);
|
|
|
- setState(64);
|
|
|
+ setState(93);
|
|
|
match(COLON);
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
- setState(67);
|
|
|
+ setState(96);
|
|
|
match(WILDCARD);
|
|
|
}
|
|
|
}
|
|
|
@@ -610,15 +895,15 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final ParenthesizedQueryContext parenthesizedQuery() throws RecognitionException {
|
|
|
ParenthesizedQueryContext _localctx = new ParenthesizedQueryContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 12, RULE_parenthesizedQuery);
|
|
|
+ enterRule(_localctx, 18, RULE_parenthesizedQuery);
|
|
|
try {
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(69);
|
|
|
+ setState(98);
|
|
|
match(LEFT_PARENTHESIS);
|
|
|
- setState(70);
|
|
|
+ setState(99);
|
|
|
query(0);
|
|
|
- setState(71);
|
|
|
+ setState(100);
|
|
|
match(RIGHT_PARENTHESIS);
|
|
|
}
|
|
|
}
|
|
|
@@ -667,14 +952,14 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final RangeQueryContext rangeQuery() throws RecognitionException {
|
|
|
RangeQueryContext _localctx = new RangeQueryContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 14, RULE_rangeQuery);
|
|
|
+ enterRule(_localctx, 20, RULE_rangeQuery);
|
|
|
int _la;
|
|
|
try {
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(73);
|
|
|
+ setState(102);
|
|
|
fieldName();
|
|
|
- setState(74);
|
|
|
+ setState(103);
|
|
|
((RangeQueryContext)_localctx).operator = _input.LT(1);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 960L) != 0)) ) {
|
|
|
@@ -685,7 +970,7 @@ class KqlBaseParser extends Parser {
|
|
|
_errHandler.reportMatch(this);
|
|
|
consume();
|
|
|
}
|
|
|
- setState(75);
|
|
|
+ setState(104);
|
|
|
rangeQueryValue();
|
|
|
}
|
|
|
}
|
|
|
@@ -732,18 +1017,18 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final RangeQueryValueContext rangeQueryValue() throws RecognitionException {
|
|
|
RangeQueryValueContext _localctx = new RangeQueryValueContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 16, RULE_rangeQueryValue);
|
|
|
+ enterRule(_localctx, 22, RULE_rangeQueryValue);
|
|
|
int _la;
|
|
|
try {
|
|
|
int _alt;
|
|
|
- setState(83);
|
|
|
+ setState(112);
|
|
|
_errHandler.sync(this);
|
|
|
switch (_input.LA(1)) {
|
|
|
case UNQUOTED_LITERAL:
|
|
|
case WILDCARD:
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(78);
|
|
|
+ setState(107);
|
|
|
_errHandler.sync(this);
|
|
|
_alt = 1;
|
|
|
do {
|
|
|
@@ -751,7 +1036,7 @@ class KqlBaseParser extends Parser {
|
|
|
case 1:
|
|
|
{
|
|
|
{
|
|
|
- setState(77);
|
|
|
+ setState(106);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !(_la==UNQUOTED_LITERAL || _la==WILDCARD) ) {
|
|
|
_errHandler.recoverInline(this);
|
|
|
@@ -767,16 +1052,16 @@ class KqlBaseParser extends Parser {
|
|
|
default:
|
|
|
throw new NoViableAltException(this);
|
|
|
}
|
|
|
- setState(80);
|
|
|
+ setState(109);
|
|
|
_errHandler.sync(this);
|
|
|
- _alt = getInterpreter().adaptivePredict(_input,4,_ctx);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,6,_ctx);
|
|
|
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
|
|
|
}
|
|
|
break;
|
|
|
case QUOTED_STRING:
|
|
|
enterOuterAlt(_localctx, 2);
|
|
|
{
|
|
|
- setState(82);
|
|
|
+ setState(111);
|
|
|
match(QUOTED_STRING);
|
|
|
}
|
|
|
break;
|
|
|
@@ -823,15 +1108,15 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final ExistsQueryContext existsQuery() throws RecognitionException {
|
|
|
ExistsQueryContext _localctx = new ExistsQueryContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 18, RULE_existsQuery);
|
|
|
+ enterRule(_localctx, 24, RULE_existsQuery);
|
|
|
try {
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(85);
|
|
|
+ setState(114);
|
|
|
fieldName();
|
|
|
- setState(86);
|
|
|
+ setState(115);
|
|
|
match(COLON);
|
|
|
- setState(87);
|
|
|
+ setState(116);
|
|
|
match(WILDCARD);
|
|
|
}
|
|
|
}
|
|
|
@@ -878,34 +1163,34 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final FieldQueryContext fieldQuery() throws RecognitionException {
|
|
|
FieldQueryContext _localctx = new FieldQueryContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 20, RULE_fieldQuery);
|
|
|
+ enterRule(_localctx, 26, RULE_fieldQuery);
|
|
|
try {
|
|
|
- setState(99);
|
|
|
+ setState(128);
|
|
|
_errHandler.sync(this);
|
|
|
- switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) {
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,8,_ctx) ) {
|
|
|
case 1:
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(89);
|
|
|
+ setState(118);
|
|
|
fieldName();
|
|
|
- setState(90);
|
|
|
+ setState(119);
|
|
|
match(COLON);
|
|
|
- setState(91);
|
|
|
+ setState(120);
|
|
|
fieldQueryValue();
|
|
|
}
|
|
|
break;
|
|
|
case 2:
|
|
|
enterOuterAlt(_localctx, 2);
|
|
|
{
|
|
|
- setState(93);
|
|
|
+ setState(122);
|
|
|
fieldName();
|
|
|
- setState(94);
|
|
|
+ setState(123);
|
|
|
match(COLON);
|
|
|
- setState(95);
|
|
|
+ setState(124);
|
|
|
match(LEFT_PARENTHESIS);
|
|
|
- setState(96);
|
|
|
+ setState(125);
|
|
|
fieldQueryValue();
|
|
|
- setState(97);
|
|
|
+ setState(126);
|
|
|
match(RIGHT_PARENTHESIS);
|
|
|
}
|
|
|
break;
|
|
|
@@ -950,9 +1235,9 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final FieldLessQueryContext fieldLessQuery() throws RecognitionException {
|
|
|
FieldLessQueryContext _localctx = new FieldLessQueryContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 22, RULE_fieldLessQuery);
|
|
|
+ enterRule(_localctx, 28, RULE_fieldLessQuery);
|
|
|
try {
|
|
|
- setState(106);
|
|
|
+ setState(135);
|
|
|
_errHandler.sync(this);
|
|
|
switch (_input.LA(1)) {
|
|
|
case AND:
|
|
|
@@ -963,18 +1248,18 @@ class KqlBaseParser extends Parser {
|
|
|
case WILDCARD:
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(101);
|
|
|
+ setState(130);
|
|
|
fieldQueryValue();
|
|
|
}
|
|
|
break;
|
|
|
case LEFT_PARENTHESIS:
|
|
|
enterOuterAlt(_localctx, 2);
|
|
|
{
|
|
|
- setState(102);
|
|
|
+ setState(131);
|
|
|
match(LEFT_PARENTHESIS);
|
|
|
- setState(103);
|
|
|
+ setState(132);
|
|
|
fieldQueryValue();
|
|
|
- setState(104);
|
|
|
+ setState(133);
|
|
|
match(RIGHT_PARENTHESIS);
|
|
|
}
|
|
|
break;
|
|
|
@@ -1037,22 +1322,22 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final FieldQueryValueContext fieldQueryValue() throws RecognitionException {
|
|
|
FieldQueryValueContext _localctx = new FieldQueryValueContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 24, RULE_fieldQueryValue);
|
|
|
+ enterRule(_localctx, 30, RULE_fieldQueryValue);
|
|
|
int _la;
|
|
|
try {
|
|
|
int _alt;
|
|
|
- setState(128);
|
|
|
+ setState(157);
|
|
|
_errHandler.sync(this);
|
|
|
- switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
|
|
|
case 1:
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(109);
|
|
|
+ setState(138);
|
|
|
_errHandler.sync(this);
|
|
|
_la = _input.LA(1);
|
|
|
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 28L) != 0)) {
|
|
|
{
|
|
|
- setState(108);
|
|
|
+ setState(137);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 28L) != 0)) ) {
|
|
|
_errHandler.recoverInline(this);
|
|
|
@@ -1065,7 +1350,7 @@ class KqlBaseParser extends Parser {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- setState(112);
|
|
|
+ setState(141);
|
|
|
_errHandler.sync(this);
|
|
|
_alt = 1;
|
|
|
do {
|
|
|
@@ -1073,7 +1358,7 @@ class KqlBaseParser extends Parser {
|
|
|
case 1:
|
|
|
{
|
|
|
{
|
|
|
- setState(111);
|
|
|
+ setState(140);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !(_la==UNQUOTED_LITERAL || _la==WILDCARD) ) {
|
|
|
_errHandler.recoverInline(this);
|
|
|
@@ -1089,16 +1374,16 @@ class KqlBaseParser extends Parser {
|
|
|
default:
|
|
|
throw new NoViableAltException(this);
|
|
|
}
|
|
|
- setState(114);
|
|
|
+ setState(143);
|
|
|
_errHandler.sync(this);
|
|
|
- _alt = getInterpreter().adaptivePredict(_input,9,_ctx);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,11,_ctx);
|
|
|
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
|
|
|
- setState(117);
|
|
|
+ setState(146);
|
|
|
_errHandler.sync(this);
|
|
|
- switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
|
|
|
case 1:
|
|
|
{
|
|
|
- setState(116);
|
|
|
+ setState(145);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 28L) != 0)) ) {
|
|
|
_errHandler.recoverInline(this);
|
|
|
@@ -1116,7 +1401,7 @@ class KqlBaseParser extends Parser {
|
|
|
case 2:
|
|
|
enterOuterAlt(_localctx, 2);
|
|
|
{
|
|
|
- setState(119);
|
|
|
+ setState(148);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !(_la==AND || _la==OR) ) {
|
|
|
_errHandler.recoverInline(this);
|
|
|
@@ -1126,12 +1411,12 @@ class KqlBaseParser extends Parser {
|
|
|
_errHandler.reportMatch(this);
|
|
|
consume();
|
|
|
}
|
|
|
- setState(121);
|
|
|
+ setState(150);
|
|
|
_errHandler.sync(this);
|
|
|
- switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) {
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
|
|
|
case 1:
|
|
|
{
|
|
|
- setState(120);
|
|
|
+ setState(149);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 28L) != 0)) ) {
|
|
|
_errHandler.recoverInline(this);
|
|
|
@@ -1149,14 +1434,14 @@ class KqlBaseParser extends Parser {
|
|
|
case 3:
|
|
|
enterOuterAlt(_localctx, 3);
|
|
|
{
|
|
|
- setState(123);
|
|
|
+ setState(152);
|
|
|
match(NOT);
|
|
|
- setState(125);
|
|
|
+ setState(154);
|
|
|
_errHandler.sync(this);
|
|
|
- switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
|
|
|
case 1:
|
|
|
{
|
|
|
- setState(124);
|
|
|
+ setState(153);
|
|
|
_la = _input.LA(1);
|
|
|
if ( !(_la==AND || _la==OR) ) {
|
|
|
_errHandler.recoverInline(this);
|
|
|
@@ -1174,7 +1459,7 @@ class KqlBaseParser extends Parser {
|
|
|
case 4:
|
|
|
enterOuterAlt(_localctx, 4);
|
|
|
{
|
|
|
- setState(127);
|
|
|
+ setState(156);
|
|
|
match(QUOTED_STRING);
|
|
|
}
|
|
|
break;
|
|
|
@@ -1218,29 +1503,29 @@ class KqlBaseParser extends Parser {
|
|
|
|
|
|
public final FieldNameContext fieldName() throws RecognitionException {
|
|
|
FieldNameContext _localctx = new FieldNameContext(_ctx, getState());
|
|
|
- enterRule(_localctx, 26, RULE_fieldName);
|
|
|
+ enterRule(_localctx, 32, RULE_fieldName);
|
|
|
try {
|
|
|
- setState(133);
|
|
|
+ setState(162);
|
|
|
_errHandler.sync(this);
|
|
|
switch (_input.LA(1)) {
|
|
|
case UNQUOTED_LITERAL:
|
|
|
enterOuterAlt(_localctx, 1);
|
|
|
{
|
|
|
- setState(130);
|
|
|
+ setState(159);
|
|
|
((FieldNameContext)_localctx).value = match(UNQUOTED_LITERAL);
|
|
|
}
|
|
|
break;
|
|
|
case QUOTED_STRING:
|
|
|
enterOuterAlt(_localctx, 2);
|
|
|
{
|
|
|
- setState(131);
|
|
|
+ setState(160);
|
|
|
((FieldNameContext)_localctx).value = match(QUOTED_STRING);
|
|
|
}
|
|
|
break;
|
|
|
case WILDCARD:
|
|
|
enterOuterAlt(_localctx, 3);
|
|
|
{
|
|
|
- setState(132);
|
|
|
+ setState(161);
|
|
|
((FieldNameContext)_localctx).value = match(WILDCARD);
|
|
|
}
|
|
|
break;
|
|
|
@@ -1263,6 +1548,8 @@ class KqlBaseParser extends Parser {
|
|
|
switch (ruleIndex) {
|
|
|
case 1:
|
|
|
return query_sempred((QueryContext)_localctx, predIndex);
|
|
|
+ case 5:
|
|
|
+ return nestedSubQuery_sempred((NestedSubQueryContext)_localctx, predIndex);
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
|
@@ -1273,87 +1560,117 @@ class KqlBaseParser extends Parser {
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
|
+ private boolean nestedSubQuery_sempred(NestedSubQueryContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 1:
|
|
|
+ return precpred(_ctx, 2);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
|
|
|
public static final String _serializedATN =
|
|
|
- "\u0004\u0001\u0010\u0088\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+
|
|
|
+ "\u0004\u0001\u0010\u00a5\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+
|
|
|
"\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004"+
|
|
|
"\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007"+
|
|
|
"\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b"+
|
|
|
- "\u0002\f\u0007\f\u0002\r\u0007\r\u0001\u0000\u0003\u0000\u001e\b\u0000"+
|
|
|
- "\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+
|
|
|
- "\u0001\u0001\u0001\u0001\u0005\u0001(\b\u0001\n\u0001\f\u0001+\t\u0001"+
|
|
|
- "\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002"+
|
|
|
- "\u0001\u0002\u0001\u0002\u0003\u00025\b\u0002\u0001\u0003\u0001\u0003"+
|
|
|
- "\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+
|
|
|
- "\u0001\u0004\u0001\u0005\u0001\u0005\u0003\u0005B\b\u0005\u0001\u0005"+
|
|
|
- "\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0007"+
|
|
|
- "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0004\bO\b\b\u000b\b\f\b"+
|
|
|
- "P\u0001\b\u0003\bT\b\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001\n\u0001\n"+
|
|
|
- "\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0003"+
|
|
|
- "\nd\b\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0003"+
|
|
|
- "\u000bk\b\u000b\u0001\f\u0003\fn\b\f\u0001\f\u0004\fq\b\f\u000b\f\f\f"+
|
|
|
- "r\u0001\f\u0003\fv\b\f\u0001\f\u0001\f\u0003\fz\b\f\u0001\f\u0001\f\u0003"+
|
|
|
- "\f~\b\f\u0001\f\u0003\f\u0081\b\f\u0001\r\u0001\r\u0001\r\u0003\r\u0086"+
|
|
|
- "\b\r\u0001\r\u0000\u0001\u0002\u000e\u0000\u0002\u0004\u0006\b\n\f\u000e"+
|
|
|
- "\u0010\u0012\u0014\u0016\u0018\u001a\u0000\u0004\u0001\u0000\u0002\u0003"+
|
|
|
- "\u0001\u0000\u0006\t\u0002\u0000\u000e\u000e\u0010\u0010\u0001\u0000\u0002"+
|
|
|
- "\u0004\u0091\u0000\u001d\u0001\u0000\u0000\u0000\u0002!\u0001\u0000\u0000"+
|
|
|
- "\u0000\u00044\u0001\u0000\u0000\u0000\u00066\u0001\u0000\u0000\u0000\b"+
|
|
|
- "9\u0001\u0000\u0000\u0000\nA\u0001\u0000\u0000\u0000\fE\u0001\u0000\u0000"+
|
|
|
- "\u0000\u000eI\u0001\u0000\u0000\u0000\u0010S\u0001\u0000\u0000\u0000\u0012"+
|
|
|
- "U\u0001\u0000\u0000\u0000\u0014c\u0001\u0000\u0000\u0000\u0016j\u0001"+
|
|
|
- "\u0000\u0000\u0000\u0018\u0080\u0001\u0000\u0000\u0000\u001a\u0085\u0001"+
|
|
|
- "\u0000\u0000\u0000\u001c\u001e\u0003\u0002\u0001\u0000\u001d\u001c\u0001"+
|
|
|
- "\u0000\u0000\u0000\u001d\u001e\u0001\u0000\u0000\u0000\u001e\u001f\u0001"+
|
|
|
- "\u0000\u0000\u0000\u001f \u0005\u0000\u0000\u0001 \u0001\u0001\u0000\u0000"+
|
|
|
- "\u0000!\"\u0006\u0001\uffff\uffff\u0000\"#\u0003\u0004\u0002\u0000#)\u0001"+
|
|
|
- "\u0000\u0000\u0000$%\n\u0002\u0000\u0000%&\u0007\u0000\u0000\u0000&(\u0003"+
|
|
|
- "\u0002\u0001\u0002\'$\u0001\u0000\u0000\u0000(+\u0001\u0000\u0000\u0000"+
|
|
|
- ")\'\u0001\u0000\u0000\u0000)*\u0001\u0000\u0000\u0000*\u0003\u0001\u0000"+
|
|
|
- "\u0000\u0000+)\u0001\u0000\u0000\u0000,5\u0003\u0006\u0003\u0000-5\u0003"+
|
|
|
- "\b\u0004\u0000.5\u0003\f\u0006\u0000/5\u0003\n\u0005\u000005\u0003\u0012"+
|
|
|
- "\t\u000015\u0003\u000e\u0007\u000025\u0003\u0014\n\u000035\u0003\u0016"+
|
|
|
- "\u000b\u00004,\u0001\u0000\u0000\u00004-\u0001\u0000\u0000\u00004.\u0001"+
|
|
|
- "\u0000\u0000\u00004/\u0001\u0000\u0000\u000040\u0001\u0000\u0000\u0000"+
|
|
|
- "41\u0001\u0000\u0000\u000042\u0001\u0000\u0000\u000043\u0001\u0000\u0000"+
|
|
|
- "\u00005\u0005\u0001\u0000\u0000\u000067\u0005\u0004\u0000\u000078\u0003"+
|
|
|
- "\u0004\u0002\u00008\u0007\u0001\u0000\u0000\u00009:\u0003\u001a\r\u0000"+
|
|
|
- ":;\u0005\u0005\u0000\u0000;<\u0005\f\u0000\u0000<=\u0003\u0002\u0001\u0000"+
|
|
|
- "=>\u0005\r\u0000\u0000>\t\u0001\u0000\u0000\u0000?@\u0005\u0010\u0000"+
|
|
|
- "\u0000@B\u0005\u0005\u0000\u0000A?\u0001\u0000\u0000\u0000AB\u0001\u0000"+
|
|
|
- "\u0000\u0000BC\u0001\u0000\u0000\u0000CD\u0005\u0010\u0000\u0000D\u000b"+
|
|
|
- "\u0001\u0000\u0000\u0000EF\u0005\n\u0000\u0000FG\u0003\u0002\u0001\u0000"+
|
|
|
- "GH\u0005\u000b\u0000\u0000H\r\u0001\u0000\u0000\u0000IJ\u0003\u001a\r"+
|
|
|
- "\u0000JK\u0007\u0001\u0000\u0000KL\u0003\u0010\b\u0000L\u000f\u0001\u0000"+
|
|
|
- "\u0000\u0000MO\u0007\u0002\u0000\u0000NM\u0001\u0000\u0000\u0000OP\u0001"+
|
|
|
- "\u0000\u0000\u0000PN\u0001\u0000\u0000\u0000PQ\u0001\u0000\u0000\u0000"+
|
|
|
- "QT\u0001\u0000\u0000\u0000RT\u0005\u000f\u0000\u0000SN\u0001\u0000\u0000"+
|
|
|
- "\u0000SR\u0001\u0000\u0000\u0000T\u0011\u0001\u0000\u0000\u0000UV\u0003"+
|
|
|
- "\u001a\r\u0000VW\u0005\u0005\u0000\u0000WX\u0005\u0010\u0000\u0000X\u0013"+
|
|
|
- "\u0001\u0000\u0000\u0000YZ\u0003\u001a\r\u0000Z[\u0005\u0005\u0000\u0000"+
|
|
|
- "[\\\u0003\u0018\f\u0000\\d\u0001\u0000\u0000\u0000]^\u0003\u001a\r\u0000"+
|
|
|
- "^_\u0005\u0005\u0000\u0000_`\u0005\n\u0000\u0000`a\u0003\u0018\f\u0000"+
|
|
|
- "ab\u0005\u000b\u0000\u0000bd\u0001\u0000\u0000\u0000cY\u0001\u0000\u0000"+
|
|
|
- "\u0000c]\u0001\u0000\u0000\u0000d\u0015\u0001\u0000\u0000\u0000ek\u0003"+
|
|
|
- "\u0018\f\u0000fg\u0005\n\u0000\u0000gh\u0003\u0018\f\u0000hi\u0005\u000b"+
|
|
|
- "\u0000\u0000ik\u0001\u0000\u0000\u0000je\u0001\u0000\u0000\u0000jf\u0001"+
|
|
|
- "\u0000\u0000\u0000k\u0017\u0001\u0000\u0000\u0000ln\u0007\u0003\u0000"+
|
|
|
- "\u0000ml\u0001\u0000\u0000\u0000mn\u0001\u0000\u0000\u0000np\u0001\u0000"+
|
|
|
- "\u0000\u0000oq\u0007\u0002\u0000\u0000po\u0001\u0000\u0000\u0000qr\u0001"+
|
|
|
- "\u0000\u0000\u0000rp\u0001\u0000\u0000\u0000rs\u0001\u0000\u0000\u0000"+
|
|
|
- "su\u0001\u0000\u0000\u0000tv\u0007\u0003\u0000\u0000ut\u0001\u0000\u0000"+
|
|
|
- "\u0000uv\u0001\u0000\u0000\u0000v\u0081\u0001\u0000\u0000\u0000wy\u0007"+
|
|
|
- "\u0000\u0000\u0000xz\u0007\u0003\u0000\u0000yx\u0001\u0000\u0000\u0000"+
|
|
|
- "yz\u0001\u0000\u0000\u0000z\u0081\u0001\u0000\u0000\u0000{}\u0005\u0004"+
|
|
|
- "\u0000\u0000|~\u0007\u0000\u0000\u0000}|\u0001\u0000\u0000\u0000}~\u0001"+
|
|
|
- "\u0000\u0000\u0000~\u0081\u0001\u0000\u0000\u0000\u007f\u0081\u0005\u000f"+
|
|
|
- "\u0000\u0000\u0080m\u0001\u0000\u0000\u0000\u0080w\u0001\u0000\u0000\u0000"+
|
|
|
- "\u0080{\u0001\u0000\u0000\u0000\u0080\u007f\u0001\u0000\u0000\u0000\u0081"+
|
|
|
- "\u0019\u0001\u0000\u0000\u0000\u0082\u0086\u0005\u000e\u0000\u0000\u0083"+
|
|
|
- "\u0086\u0005\u000f\u0000\u0000\u0084\u0086\u0005\u0010\u0000\u0000\u0085"+
|
|
|
- "\u0082\u0001\u0000\u0000\u0000\u0085\u0083\u0001\u0000\u0000\u0000\u0085"+
|
|
|
- "\u0084\u0001\u0000\u0000\u0000\u0086\u001b\u0001\u0000\u0000\u0000\u000f"+
|
|
|
- "\u001d)4APScjmruy}\u0080\u0085";
|
|
|
+ "\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002\u000f\u0007"+
|
|
|
+ "\u000f\u0002\u0010\u0007\u0010\u0001\u0000\u0003\u0000$\b\u0000\u0001"+
|
|
|
+ "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+
|
|
|
+ "\u0001\u0001\u0001\u0005\u0001.\b\u0001\n\u0001\f\u00011\t\u0001\u0001"+
|
|
|
+ "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001"+
|
|
|
+ "\u0002\u0001\u0002\u0003\u0002;\b\u0002\u0001\u0003\u0001\u0003\u0001"+
|
|
|
+ "\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001"+
|
|
|
+ "\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+
|
|
|
+ "\u0005\u0005\u0005L\b\u0005\n\u0005\f\u0005O\t\u0005\u0001\u0006\u0001"+
|
|
|
+ "\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0003\u0006W\b"+
|
|
|
+ "\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b"+
|
|
|
+ "\u0003\b_\b\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001\n"+
|
|
|
+ "\u0001\n\u0001\n\u0001\n\u0001\u000b\u0004\u000bl\b\u000b\u000b\u000b"+
|
|
|
+ "\f\u000bm\u0001\u000b\u0003\u000bq\b\u000b\u0001\f\u0001\f\u0001\f\u0001"+
|
|
|
+ "\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+
|
|
|
+ "\r\u0001\r\u0003\r\u0081\b\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+
|
|
|
+ "\u000e\u0001\u000e\u0003\u000e\u0088\b\u000e\u0001\u000f\u0003\u000f\u008b"+
|
|
|
+ "\b\u000f\u0001\u000f\u0004\u000f\u008e\b\u000f\u000b\u000f\f\u000f\u008f"+
|
|
|
+ "\u0001\u000f\u0003\u000f\u0093\b\u000f\u0001\u000f\u0001\u000f\u0003\u000f"+
|
|
|
+ "\u0097\b\u000f\u0001\u000f\u0001\u000f\u0003\u000f\u009b\b\u000f\u0001"+
|
|
|
+ "\u000f\u0003\u000f\u009e\b\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0003"+
|
|
|
+ "\u0010\u00a3\b\u0010\u0001\u0010\u0000\u0002\u0002\n\u0011\u0000\u0002"+
|
|
|
+ "\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e"+
|
|
|
+ " \u0000\u0004\u0001\u0000\u0002\u0003\u0001\u0000\u0006\t\u0002\u0000"+
|
|
|
+ "\u000e\u000e\u0010\u0010\u0001\u0000\u0002\u0004\u00b1\u0000#\u0001\u0000"+
|
|
|
+ "\u0000\u0000\u0002\'\u0001\u0000\u0000\u0000\u0004:\u0001\u0000\u0000"+
|
|
|
+ "\u0000\u0006<\u0001\u0000\u0000\u0000\b?\u0001\u0000\u0000\u0000\nE\u0001"+
|
|
|
+ "\u0000\u0000\u0000\fV\u0001\u0000\u0000\u0000\u000eX\u0001\u0000\u0000"+
|
|
|
+ "\u0000\u0010^\u0001\u0000\u0000\u0000\u0012b\u0001\u0000\u0000\u0000\u0014"+
|
|
|
+ "f\u0001\u0000\u0000\u0000\u0016p\u0001\u0000\u0000\u0000\u0018r\u0001"+
|
|
|
+ "\u0000\u0000\u0000\u001a\u0080\u0001\u0000\u0000\u0000\u001c\u0087\u0001"+
|
|
|
+ "\u0000\u0000\u0000\u001e\u009d\u0001\u0000\u0000\u0000 \u00a2\u0001\u0000"+
|
|
|
+ "\u0000\u0000\"$\u0003\u0002\u0001\u0000#\"\u0001\u0000\u0000\u0000#$\u0001"+
|
|
|
+ "\u0000\u0000\u0000$%\u0001\u0000\u0000\u0000%&\u0005\u0000\u0000\u0001"+
|
|
|
+ "&\u0001\u0001\u0000\u0000\u0000\'(\u0006\u0001\uffff\uffff\u0000()\u0003"+
|
|
|
+ "\u0004\u0002\u0000)/\u0001\u0000\u0000\u0000*+\n\u0002\u0000\u0000+,\u0007"+
|
|
|
+ "\u0000\u0000\u0000,.\u0003\u0002\u0001\u0002-*\u0001\u0000\u0000\u0000"+
|
|
|
+ ".1\u0001\u0000\u0000\u0000/-\u0001\u0000\u0000\u0000/0\u0001\u0000\u0000"+
|
|
|
+ "\u00000\u0003\u0001\u0000\u0000\u00001/\u0001\u0000\u0000\u00002;\u0003"+
|
|
|
+ "\u0006\u0003\u00003;\u0003\b\u0004\u00004;\u0003\u0012\t\u00005;\u0003"+
|
|
|
+ "\u0010\b\u00006;\u0003\u0018\f\u00007;\u0003\u0014\n\u00008;\u0003\u001a"+
|
|
|
+ "\r\u00009;\u0003\u001c\u000e\u0000:2\u0001\u0000\u0000\u0000:3\u0001\u0000"+
|
|
|
+ "\u0000\u0000:4\u0001\u0000\u0000\u0000:5\u0001\u0000\u0000\u0000:6\u0001"+
|
|
|
+ "\u0000\u0000\u0000:7\u0001\u0000\u0000\u0000:8\u0001\u0000\u0000\u0000"+
|
|
|
+ ":9\u0001\u0000\u0000\u0000;\u0005\u0001\u0000\u0000\u0000<=\u0005\u0004"+
|
|
|
+ "\u0000\u0000=>\u0003\u0004\u0002\u0000>\u0007\u0001\u0000\u0000\u0000"+
|
|
|
+ "?@\u0003 \u0010\u0000@A\u0005\u0005\u0000\u0000AB\u0005\f\u0000\u0000"+
|
|
|
+ "BC\u0003\n\u0005\u0000CD\u0005\r\u0000\u0000D\t\u0001\u0000\u0000\u0000"+
|
|
|
+ "EF\u0006\u0005\uffff\uffff\u0000FG\u0003\f\u0006\u0000GM\u0001\u0000\u0000"+
|
|
|
+ "\u0000HI\n\u0002\u0000\u0000IJ\u0007\u0000\u0000\u0000JL\u0003\n\u0005"+
|
|
|
+ "\u0002KH\u0001\u0000\u0000\u0000LO\u0001\u0000\u0000\u0000MK\u0001\u0000"+
|
|
|
+ "\u0000\u0000MN\u0001\u0000\u0000\u0000N\u000b\u0001\u0000\u0000\u0000"+
|
|
|
+ "OM\u0001\u0000\u0000\u0000PW\u0003\u0006\u0003\u0000QW\u0003\b\u0004\u0000"+
|
|
|
+ "RW\u0003\u000e\u0007\u0000SW\u0003\u0018\f\u0000TW\u0003\u0014\n\u0000"+
|
|
|
+ "UW\u0003\u001a\r\u0000VP\u0001\u0000\u0000\u0000VQ\u0001\u0000\u0000\u0000"+
|
|
|
+ "VR\u0001\u0000\u0000\u0000VS\u0001\u0000\u0000\u0000VT\u0001\u0000\u0000"+
|
|
|
+ "\u0000VU\u0001\u0000\u0000\u0000W\r\u0001\u0000\u0000\u0000XY\u0005\n"+
|
|
|
+ "\u0000\u0000YZ\u0003\n\u0005\u0000Z[\u0005\u000b\u0000\u0000[\u000f\u0001"+
|
|
|
+ "\u0000\u0000\u0000\\]\u0005\u0010\u0000\u0000]_\u0005\u0005\u0000\u0000"+
|
|
|
+ "^\\\u0001\u0000\u0000\u0000^_\u0001\u0000\u0000\u0000_`\u0001\u0000\u0000"+
|
|
|
+ "\u0000`a\u0005\u0010\u0000\u0000a\u0011\u0001\u0000\u0000\u0000bc\u0005"+
|
|
|
+ "\n\u0000\u0000cd\u0003\u0002\u0001\u0000de\u0005\u000b\u0000\u0000e\u0013"+
|
|
|
+ "\u0001\u0000\u0000\u0000fg\u0003 \u0010\u0000gh\u0007\u0001\u0000\u0000"+
|
|
|
+ "hi\u0003\u0016\u000b\u0000i\u0015\u0001\u0000\u0000\u0000jl\u0007\u0002"+
|
|
|
+ "\u0000\u0000kj\u0001\u0000\u0000\u0000lm\u0001\u0000\u0000\u0000mk\u0001"+
|
|
|
+ "\u0000\u0000\u0000mn\u0001\u0000\u0000\u0000nq\u0001\u0000\u0000\u0000"+
|
|
|
+ "oq\u0005\u000f\u0000\u0000pk\u0001\u0000\u0000\u0000po\u0001\u0000\u0000"+
|
|
|
+ "\u0000q\u0017\u0001\u0000\u0000\u0000rs\u0003 \u0010\u0000st\u0005\u0005"+
|
|
|
+ "\u0000\u0000tu\u0005\u0010\u0000\u0000u\u0019\u0001\u0000\u0000\u0000"+
|
|
|
+ "vw\u0003 \u0010\u0000wx\u0005\u0005\u0000\u0000xy\u0003\u001e\u000f\u0000"+
|
|
|
+ "y\u0081\u0001\u0000\u0000\u0000z{\u0003 \u0010\u0000{|\u0005\u0005\u0000"+
|
|
|
+ "\u0000|}\u0005\n\u0000\u0000}~\u0003\u001e\u000f\u0000~\u007f\u0005\u000b"+
|
|
|
+ "\u0000\u0000\u007f\u0081\u0001\u0000\u0000\u0000\u0080v\u0001\u0000\u0000"+
|
|
|
+ "\u0000\u0080z\u0001\u0000\u0000\u0000\u0081\u001b\u0001\u0000\u0000\u0000"+
|
|
|
+ "\u0082\u0088\u0003\u001e\u000f\u0000\u0083\u0084\u0005\n\u0000\u0000\u0084"+
|
|
|
+ "\u0085\u0003\u001e\u000f\u0000\u0085\u0086\u0005\u000b\u0000\u0000\u0086"+
|
|
|
+ "\u0088\u0001\u0000\u0000\u0000\u0087\u0082\u0001\u0000\u0000\u0000\u0087"+
|
|
|
+ "\u0083\u0001\u0000\u0000\u0000\u0088\u001d\u0001\u0000\u0000\u0000\u0089"+
|
|
|
+ "\u008b\u0007\u0003\u0000\u0000\u008a\u0089\u0001\u0000\u0000\u0000\u008a"+
|
|
|
+ "\u008b\u0001\u0000\u0000\u0000\u008b\u008d\u0001\u0000\u0000\u0000\u008c"+
|
|
|
+ "\u008e\u0007\u0002\u0000\u0000\u008d\u008c\u0001\u0000\u0000\u0000\u008e"+
|
|
|
+ "\u008f\u0001\u0000\u0000\u0000\u008f\u008d\u0001\u0000\u0000\u0000\u008f"+
|
|
|
+ "\u0090\u0001\u0000\u0000\u0000\u0090\u0092\u0001\u0000\u0000\u0000\u0091"+
|
|
|
+ "\u0093\u0007\u0003\u0000\u0000\u0092\u0091\u0001\u0000\u0000\u0000\u0092"+
|
|
|
+ "\u0093\u0001\u0000\u0000\u0000\u0093\u009e\u0001\u0000\u0000\u0000\u0094"+
|
|
|
+ "\u0096\u0007\u0000\u0000\u0000\u0095\u0097\u0007\u0003\u0000\u0000\u0096"+
|
|
|
+ "\u0095\u0001\u0000\u0000\u0000\u0096\u0097\u0001\u0000\u0000\u0000\u0097"+
|
|
|
+ "\u009e\u0001\u0000\u0000\u0000\u0098\u009a\u0005\u0004\u0000\u0000\u0099"+
|
|
|
+ "\u009b\u0007\u0000\u0000\u0000\u009a\u0099\u0001\u0000\u0000\u0000\u009a"+
|
|
|
+ "\u009b\u0001\u0000\u0000\u0000\u009b\u009e\u0001\u0000\u0000\u0000\u009c"+
|
|
|
+ "\u009e\u0005\u000f\u0000\u0000\u009d\u008a\u0001\u0000\u0000\u0000\u009d"+
|
|
|
+ "\u0094\u0001\u0000\u0000\u0000\u009d\u0098\u0001\u0000\u0000\u0000\u009d"+
|
|
|
+ "\u009c\u0001\u0000\u0000\u0000\u009e\u001f\u0001\u0000\u0000\u0000\u009f"+
|
|
|
+ "\u00a3\u0005\u000e\u0000\u0000\u00a0\u00a3\u0005\u000f\u0000\u0000\u00a1"+
|
|
|
+ "\u00a3\u0005\u0010\u0000\u0000\u00a2\u009f\u0001\u0000\u0000\u0000\u00a2"+
|
|
|
+ "\u00a0\u0001\u0000\u0000\u0000\u00a2\u00a1\u0001\u0000\u0000\u0000\u00a3"+
|
|
|
+ "!\u0001\u0000\u0000\u0000\u0011#/:MV^mp\u0080\u0087\u008a\u008f\u0092"+
|
|
|
+ "\u0096\u009a\u009d\u00a2";
|
|
|
public static final ATN _ATN =
|
|
|
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
|
|
static {
|