EQL: Add explicit 'any where ...' handling (#52526)
This commit is contained in:
parent
f68917160e
commit
a5e82d7fd6
|
@ -63,7 +63,7 @@ subquery
|
|||
;
|
||||
|
||||
eventQuery
|
||||
: event=identifier WHERE expression
|
||||
: (ANY | event=identifier) WHERE expression
|
||||
;
|
||||
|
||||
expression
|
||||
|
@ -143,6 +143,7 @@ string
|
|||
;
|
||||
|
||||
AND: 'and';
|
||||
ANY: 'any';
|
||||
BY: 'by';
|
||||
FALSE: 'false';
|
||||
FORK: 'fork';
|
||||
|
|
|
@ -17,18 +17,18 @@ class EqlBaseLexer extends Lexer {
|
|||
protected static final PredictionContextCache _sharedContextCache =
|
||||
new PredictionContextCache();
|
||||
public static final int
|
||||
AND=1, BY=2, FALSE=3, FORK=4, IN=5, JOIN=6, MAXSPAN=7, NOT=8, NULL=9,
|
||||
OF=10, OR=11, SEQUENCE=12, TRUE=13, UNTIL=14, WHERE=15, WITH=16, EQ=17,
|
||||
NEQ=18, LT=19, LTE=20, GT=21, GTE=22, PLUS=23, MINUS=24, ASTERISK=25,
|
||||
SLASH=26, PERCENT=27, DOT=28, COMMA=29, LB=30, RB=31, LP=32, RP=33, PIPE=34,
|
||||
ESCAPED_IDENTIFIER=35, STRING=36, INTEGER_VALUE=37, DECIMAL_VALUE=38,
|
||||
IDENTIFIER=39, LINE_COMMENT=40, BRACKETED_COMMENT=41, WS=42;
|
||||
AND=1, ANY=2, BY=3, FALSE=4, FORK=5, IN=6, JOIN=7, MAXSPAN=8, NOT=9, NULL=10,
|
||||
OF=11, OR=12, SEQUENCE=13, TRUE=14, UNTIL=15, WHERE=16, WITH=17, EQ=18,
|
||||
NEQ=19, LT=20, LTE=21, GT=22, GTE=23, PLUS=24, MINUS=25, ASTERISK=26,
|
||||
SLASH=27, PERCENT=28, DOT=29, COMMA=30, LB=31, RB=32, LP=33, RP=34, PIPE=35,
|
||||
ESCAPED_IDENTIFIER=36, STRING=37, INTEGER_VALUE=38, DECIMAL_VALUE=39,
|
||||
IDENTIFIER=40, LINE_COMMENT=41, BRACKETED_COMMENT=42, WS=43;
|
||||
public static String[] modeNames = {
|
||||
"DEFAULT_MODE"
|
||||
};
|
||||
|
||||
public static final String[] ruleNames = {
|
||||
"AND", "BY", "FALSE", "FORK", "IN", "JOIN", "MAXSPAN", "NOT", "NULL",
|
||||
"AND", "ANY", "BY", "FALSE", "FORK", "IN", "JOIN", "MAXSPAN", "NOT", "NULL",
|
||||
"OF", "OR", "SEQUENCE", "TRUE", "UNTIL", "WHERE", "WITH", "EQ", "NEQ",
|
||||
"LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT",
|
||||
"DOT", "COMMA", "LB", "RB", "LP", "RP", "PIPE", "ESCAPED_IDENTIFIER",
|
||||
|
@ -37,17 +37,17 @@ class EqlBaseLexer extends Lexer {
|
|||
};
|
||||
|
||||
private static final String[] _LITERAL_NAMES = {
|
||||
null, "'and'", "'by'", "'false'", "'fork'", "'in'", "'join'", "'maxspan'",
|
||||
"'not'", "'null'", "'of'", "'or'", "'sequence'", "'true'", "'until'",
|
||||
"'where'", "'with'", null, "'!='", "'<'", "'<='", "'>'", "'>='", "'+'",
|
||||
"'-'", "'*'", "'/'", "'%'", "'.'", "','", "'['", "']'", "'('", "')'",
|
||||
"'|'"
|
||||
null, "'and'", "'any'", "'by'", "'false'", "'fork'", "'in'", "'join'",
|
||||
"'maxspan'", "'not'", "'null'", "'of'", "'or'", "'sequence'", "'true'",
|
||||
"'until'", "'where'", "'with'", null, "'!='", "'<'", "'<='", "'>'", "'>='",
|
||||
"'+'", "'-'", "'*'", "'/'", "'%'", "'.'", "','", "'['", "']'", "'('",
|
||||
"')'", "'|'"
|
||||
};
|
||||
private static final String[] _SYMBOLIC_NAMES = {
|
||||
null, "AND", "BY", "FALSE", "FORK", "IN", "JOIN", "MAXSPAN", "NOT", "NULL",
|
||||
"OF", "OR", "SEQUENCE", "TRUE", "UNTIL", "WHERE", "WITH", "EQ", "NEQ",
|
||||
"LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT",
|
||||
"DOT", "COMMA", "LB", "RB", "LP", "RP", "PIPE", "ESCAPED_IDENTIFIER",
|
||||
null, "AND", "ANY", "BY", "FALSE", "FORK", "IN", "JOIN", "MAXSPAN", "NOT",
|
||||
"NULL", "OF", "OR", "SEQUENCE", "TRUE", "UNTIL", "WHERE", "WITH", "EQ",
|
||||
"NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH",
|
||||
"PERCENT", "DOT", "COMMA", "LB", "RB", "LP", "RP", "PIPE", "ESCAPED_IDENTIFIER",
|
||||
"STRING", "INTEGER_VALUE", "DECIMAL_VALUE", "IDENTIFIER", "LINE_COMMENT",
|
||||
"BRACKETED_COMMENT", "WS"
|
||||
};
|
||||
|
@ -106,140 +106,142 @@ class EqlBaseLexer extends Lexer {
|
|||
public ATN getATN() { return _ATN; }
|
||||
|
||||
public static final String _serializedATN =
|
||||
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2,\u017f\b\1\4\2\t"+
|
||||
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2-\u0185\b\1\4\2\t"+
|
||||
"\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
|
||||
"\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
|
||||
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
|
||||
"\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
|
||||
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+
|
||||
",\t,\4-\t-\4.\t.\3\2\3\2\3\2\3\2\3\3\3\3\3\3\3\4\3\4\3\4\3\4\3\4\3\4\3"+
|
||||
"\5\3\5\3\5\3\5\3\5\3\6\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3\b"+
|
||||
"\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\f\3"+
|
||||
"\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16\3"+
|
||||
"\17\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3\21\3"+
|
||||
"\21\3\21\3\21\3\22\3\22\3\22\5\22\u00b1\n\22\3\23\3\23\3\23\3\24\3\24"+
|
||||
"\3\25\3\25\3\25\3\26\3\26\3\27\3\27\3\27\3\30\3\30\3\31\3\31\3\32\3\32"+
|
||||
"\3\33\3\33\3\34\3\34\3\35\3\35\3\36\3\36\3\37\3\37\3 \3 \3!\3!\3\"\3\""+
|
||||
"\3#\3#\3$\3$\7$\u00da\n$\f$\16$\u00dd\13$\3$\3$\3%\3%\3%\3%\7%\u00e5\n"+
|
||||
"%\f%\16%\u00e8\13%\3%\3%\3%\3%\3%\7%\u00ef\n%\f%\16%\u00f2\13%\3%\3%\3"+
|
||||
"%\3%\3%\3%\3%\7%\u00fb\n%\f%\16%\u00fe\13%\3%\3%\3%\3%\3%\3%\3%\7%\u0107"+
|
||||
"\n%\f%\16%\u010a\13%\3%\5%\u010d\n%\3&\6&\u0110\n&\r&\16&\u0111\3\'\6"+
|
||||
"\'\u0115\n\'\r\'\16\'\u0116\3\'\3\'\7\'\u011b\n\'\f\'\16\'\u011e\13\'"+
|
||||
"\3\'\3\'\6\'\u0122\n\'\r\'\16\'\u0123\3\'\6\'\u0127\n\'\r\'\16\'\u0128"+
|
||||
"\3\'\3\'\7\'\u012d\n\'\f\'\16\'\u0130\13\'\5\'\u0132\n\'\3\'\3\'\3\'\3"+
|
||||
"\'\6\'\u0138\n\'\r\'\16\'\u0139\3\'\3\'\5\'\u013e\n\'\3(\3(\5(\u0142\n"+
|
||||
"(\3(\3(\3(\7(\u0147\n(\f(\16(\u014a\13(\3)\3)\5)\u014e\n)\3)\6)\u0151"+
|
||||
"\n)\r)\16)\u0152\3*\3*\3+\3+\3,\3,\3,\3,\7,\u015d\n,\f,\16,\u0160\13,"+
|
||||
"\3,\5,\u0163\n,\3,\5,\u0166\n,\3,\3,\3-\3-\3-\3-\3-\7-\u016f\n-\f-\16"+
|
||||
"-\u0172\13-\3-\3-\3-\3-\3-\3.\6.\u017a\n.\r.\16.\u017b\3.\3.\3\u0170\2"+
|
||||
"/\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20"+
|
||||
"\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33\65\34\67\359\36;\37"+
|
||||
"= ?!A\"C#E$G%I&K\'M(O)Q\2S\2U\2W*Y+[,\3\2\17\3\2bb\n\2$$))^^ddhhppttv"+
|
||||
"v\6\2\f\f\17\17))^^\6\2\f\f\17\17$$^^\5\2\f\f\17\17$$\5\2\f\f\17\17))"+
|
||||
"\4\2BBaa\4\2GGgg\4\2--//\3\2\62;\4\2C\\c|\4\2\f\f\17\17\5\2\13\f\17\17"+
|
||||
"\"\"\u019f\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2"+
|
||||
"\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27"+
|
||||
"\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2"+
|
||||
"\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2"+
|
||||
"\2/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2"+
|
||||
"\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2"+
|
||||
"\2G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2W\3\2\2\2\2Y"+
|
||||
"\3\2\2\2\2[\3\2\2\2\3]\3\2\2\2\5a\3\2\2\2\7d\3\2\2\2\tj\3\2\2\2\13o\3"+
|
||||
"\2\2\2\rr\3\2\2\2\17w\3\2\2\2\21\177\3\2\2\2\23\u0083\3\2\2\2\25\u0088"+
|
||||
"\3\2\2\2\27\u008b\3\2\2\2\31\u008e\3\2\2\2\33\u0097\3\2\2\2\35\u009c\3"+
|
||||
"\2\2\2\37\u00a2\3\2\2\2!\u00a8\3\2\2\2#\u00b0\3\2\2\2%\u00b2\3\2\2\2\'"+
|
||||
"\u00b5\3\2\2\2)\u00b7\3\2\2\2+\u00ba\3\2\2\2-\u00bc\3\2\2\2/\u00bf\3\2"+
|
||||
"\2\2\61\u00c1\3\2\2\2\63\u00c3\3\2\2\2\65\u00c5\3\2\2\2\67\u00c7\3\2\2"+
|
||||
"\29\u00c9\3\2\2\2;\u00cb\3\2\2\2=\u00cd\3\2\2\2?\u00cf\3\2\2\2A\u00d1"+
|
||||
"\3\2\2\2C\u00d3\3\2\2\2E\u00d5\3\2\2\2G\u00d7\3\2\2\2I\u010c\3\2\2\2K"+
|
||||
"\u010f\3\2\2\2M\u013d\3\2\2\2O\u0141\3\2\2\2Q\u014b\3\2\2\2S\u0154\3\2"+
|
||||
"\2\2U\u0156\3\2\2\2W\u0158\3\2\2\2Y\u0169\3\2\2\2[\u0179\3\2\2\2]^\7c"+
|
||||
"\2\2^_\7p\2\2_`\7f\2\2`\4\3\2\2\2ab\7d\2\2bc\7{\2\2c\6\3\2\2\2de\7h\2"+
|
||||
"\2ef\7c\2\2fg\7n\2\2gh\7u\2\2hi\7g\2\2i\b\3\2\2\2jk\7h\2\2kl\7q\2\2lm"+
|
||||
"\7t\2\2mn\7m\2\2n\n\3\2\2\2op\7k\2\2pq\7p\2\2q\f\3\2\2\2rs\7l\2\2st\7"+
|
||||
"q\2\2tu\7k\2\2uv\7p\2\2v\16\3\2\2\2wx\7o\2\2xy\7c\2\2yz\7z\2\2z{\7u\2"+
|
||||
"\2{|\7r\2\2|}\7c\2\2}~\7p\2\2~\20\3\2\2\2\177\u0080\7p\2\2\u0080\u0081"+
|
||||
"\7q\2\2\u0081\u0082\7v\2\2\u0082\22\3\2\2\2\u0083\u0084\7p\2\2\u0084\u0085"+
|
||||
"\7w\2\2\u0085\u0086\7n\2\2\u0086\u0087\7n\2\2\u0087\24\3\2\2\2\u0088\u0089"+
|
||||
"\7q\2\2\u0089\u008a\7h\2\2\u008a\26\3\2\2\2\u008b\u008c\7q\2\2\u008c\u008d"+
|
||||
"\7t\2\2\u008d\30\3\2\2\2\u008e\u008f\7u\2\2\u008f\u0090\7g\2\2\u0090\u0091"+
|
||||
"\7s\2\2\u0091\u0092\7w\2\2\u0092\u0093\7g\2\2\u0093\u0094\7p\2\2\u0094"+
|
||||
"\u0095\7e\2\2\u0095\u0096\7g\2\2\u0096\32\3\2\2\2\u0097\u0098\7v\2\2\u0098"+
|
||||
"\u0099\7t\2\2\u0099\u009a\7w\2\2\u009a\u009b\7g\2\2\u009b\34\3\2\2\2\u009c"+
|
||||
"\u009d\7w\2\2\u009d\u009e\7p\2\2\u009e\u009f\7v\2\2\u009f\u00a0\7k\2\2"+
|
||||
"\u00a0\u00a1\7n\2\2\u00a1\36\3\2\2\2\u00a2\u00a3\7y\2\2\u00a3\u00a4\7"+
|
||||
"j\2\2\u00a4\u00a5\7g\2\2\u00a5\u00a6\7t\2\2\u00a6\u00a7\7g\2\2\u00a7 "+
|
||||
"\3\2\2\2\u00a8\u00a9\7y\2\2\u00a9\u00aa\7k\2\2\u00aa\u00ab\7v\2\2\u00ab"+
|
||||
"\u00ac\7j\2\2\u00ac\"\3\2\2\2\u00ad\u00b1\7?\2\2\u00ae\u00af\7?\2\2\u00af"+
|
||||
"\u00b1\7?\2\2\u00b0\u00ad\3\2\2\2\u00b0\u00ae\3\2\2\2\u00b1$\3\2\2\2\u00b2"+
|
||||
"\u00b3\7#\2\2\u00b3\u00b4\7?\2\2\u00b4&\3\2\2\2\u00b5\u00b6\7>\2\2\u00b6"+
|
||||
"(\3\2\2\2\u00b7\u00b8\7>\2\2\u00b8\u00b9\7?\2\2\u00b9*\3\2\2\2\u00ba\u00bb"+
|
||||
"\7@\2\2\u00bb,\3\2\2\2\u00bc\u00bd\7@\2\2\u00bd\u00be\7?\2\2\u00be.\3"+
|
||||
"\2\2\2\u00bf\u00c0\7-\2\2\u00c0\60\3\2\2\2\u00c1\u00c2\7/\2\2\u00c2\62"+
|
||||
"\3\2\2\2\u00c3\u00c4\7,\2\2\u00c4\64\3\2\2\2\u00c5\u00c6\7\61\2\2\u00c6"+
|
||||
"\66\3\2\2\2\u00c7\u00c8\7\'\2\2\u00c88\3\2\2\2\u00c9\u00ca\7\60\2\2\u00ca"+
|
||||
":\3\2\2\2\u00cb\u00cc\7.\2\2\u00cc<\3\2\2\2\u00cd\u00ce\7]\2\2\u00ce>"+
|
||||
"\3\2\2\2\u00cf\u00d0\7_\2\2\u00d0@\3\2\2\2\u00d1\u00d2\7*\2\2\u00d2B\3"+
|
||||
"\2\2\2\u00d3\u00d4\7+\2\2\u00d4D\3\2\2\2\u00d5\u00d6\7~\2\2\u00d6F\3\2"+
|
||||
"\2\2\u00d7\u00db\7b\2\2\u00d8\u00da\n\2\2\2\u00d9\u00d8\3\2\2\2\u00da"+
|
||||
"\u00dd\3\2\2\2\u00db\u00d9\3\2\2\2\u00db\u00dc\3\2\2\2\u00dc\u00de\3\2"+
|
||||
"\2\2\u00dd\u00db\3\2\2\2\u00de\u00df\7b\2\2\u00dfH\3\2\2\2\u00e0\u00e6"+
|
||||
"\7)\2\2\u00e1\u00e2\7^\2\2\u00e2\u00e5\t\3\2\2\u00e3\u00e5\n\4\2\2\u00e4"+
|
||||
"\u00e1\3\2\2\2\u00e4\u00e3\3\2\2\2\u00e5\u00e8\3\2\2\2\u00e6\u00e4\3\2"+
|
||||
"\2\2\u00e6\u00e7\3\2\2\2\u00e7\u00e9\3\2\2\2\u00e8\u00e6\3\2\2\2\u00e9"+
|
||||
"\u010d\7)\2\2\u00ea\u00f0\7$\2\2\u00eb\u00ec\7^\2\2\u00ec\u00ef\t\3\2"+
|
||||
"\2\u00ed\u00ef\n\5\2\2\u00ee\u00eb\3\2\2\2\u00ee\u00ed\3\2\2\2\u00ef\u00f2"+
|
||||
"\3\2\2\2\u00f0\u00ee\3\2\2\2\u00f0\u00f1\3\2\2\2\u00f1\u00f3\3\2\2\2\u00f2"+
|
||||
"\u00f0\3\2\2\2\u00f3\u010d\7$\2\2\u00f4\u00f5\7A\2\2\u00f5\u00f6\7$\2"+
|
||||
"\2\u00f6\u00fc\3\2\2\2\u00f7\u00f8\7^\2\2\u00f8\u00fb\7$\2\2\u00f9\u00fb"+
|
||||
"\n\6\2\2\u00fa\u00f7\3\2\2\2\u00fa\u00f9\3\2\2\2\u00fb\u00fe\3\2\2\2\u00fc"+
|
||||
"\u00fa\3\2\2\2\u00fc\u00fd\3\2\2\2\u00fd\u00ff\3\2\2\2\u00fe\u00fc\3\2"+
|
||||
"\2\2\u00ff\u010d\7$\2\2\u0100\u0101\7A\2\2\u0101\u0102\7)\2\2\u0102\u0108"+
|
||||
"\3\2\2\2\u0103\u0104\7^\2\2\u0104\u0107\7)\2\2\u0105\u0107\n\7\2\2\u0106"+
|
||||
"\u0103\3\2\2\2\u0106\u0105\3\2\2\2\u0107\u010a\3\2\2\2\u0108\u0106\3\2"+
|
||||
"\2\2\u0108\u0109\3\2\2\2\u0109\u010b\3\2\2\2\u010a\u0108\3\2\2\2\u010b"+
|
||||
"\u010d\7)\2\2\u010c\u00e0\3\2\2\2\u010c\u00ea\3\2\2\2\u010c\u00f4\3\2"+
|
||||
"\2\2\u010c\u0100\3\2\2\2\u010dJ\3\2\2\2\u010e\u0110\5S*\2\u010f\u010e"+
|
||||
"\3\2\2\2\u0110\u0111\3\2\2\2\u0111\u010f\3\2\2\2\u0111\u0112\3\2\2\2\u0112"+
|
||||
"L\3\2\2\2\u0113\u0115\5S*\2\u0114\u0113\3\2\2\2\u0115\u0116\3\2\2\2\u0116"+
|
||||
"\u0114\3\2\2\2\u0116\u0117\3\2\2\2\u0117\u0118\3\2\2\2\u0118\u011c\59"+
|
||||
"\35\2\u0119\u011b\5S*\2\u011a\u0119\3\2\2\2\u011b\u011e\3\2\2\2\u011c"+
|
||||
"\u011a\3\2\2\2\u011c\u011d\3\2\2\2\u011d\u013e\3\2\2\2\u011e\u011c\3\2"+
|
||||
"\2\2\u011f\u0121\59\35\2\u0120\u0122\5S*\2\u0121\u0120\3\2\2\2\u0122\u0123"+
|
||||
"\3\2\2\2\u0123\u0121\3\2\2\2\u0123\u0124\3\2\2\2\u0124\u013e\3\2\2\2\u0125"+
|
||||
"\u0127\5S*\2\u0126\u0125\3\2\2\2\u0127\u0128\3\2\2\2\u0128\u0126\3\2\2"+
|
||||
"\2\u0128\u0129\3\2\2\2\u0129\u0131\3\2\2\2\u012a\u012e\59\35\2\u012b\u012d"+
|
||||
"\5S*\2\u012c\u012b\3\2\2\2\u012d\u0130\3\2\2\2\u012e\u012c\3\2\2\2\u012e"+
|
||||
"\u012f\3\2\2\2\u012f\u0132\3\2\2\2\u0130\u012e\3\2\2\2\u0131\u012a\3\2"+
|
||||
"\2\2\u0131\u0132\3\2\2\2\u0132\u0133\3\2\2\2\u0133\u0134\5Q)\2\u0134\u013e"+
|
||||
"\3\2\2\2\u0135\u0137\59\35\2\u0136\u0138\5S*\2\u0137\u0136\3\2\2\2\u0138"+
|
||||
"\u0139\3\2\2\2\u0139\u0137\3\2\2\2\u0139\u013a\3\2\2\2\u013a\u013b\3\2"+
|
||||
"\2\2\u013b\u013c\5Q)\2\u013c\u013e\3\2\2\2\u013d\u0114\3\2\2\2\u013d\u011f"+
|
||||
"\3\2\2\2\u013d\u0126\3\2\2\2\u013d\u0135\3\2\2\2\u013eN\3\2\2\2\u013f"+
|
||||
"\u0142\5U+\2\u0140\u0142\t\b\2\2\u0141\u013f\3\2\2\2\u0141\u0140\3\2\2"+
|
||||
"\2\u0142\u0148\3\2\2\2\u0143\u0147\5U+\2\u0144\u0147\5S*\2\u0145\u0147"+
|
||||
"\7a\2\2\u0146\u0143\3\2\2\2\u0146\u0144\3\2\2\2\u0146\u0145\3\2\2\2\u0147"+
|
||||
"\u014a\3\2\2\2\u0148\u0146\3\2\2\2\u0148\u0149\3\2\2\2\u0149P\3\2\2\2"+
|
||||
"\u014a\u0148\3\2\2\2\u014b\u014d\t\t\2\2\u014c\u014e\t\n\2\2\u014d\u014c"+
|
||||
"\3\2\2\2\u014d\u014e\3\2\2\2\u014e\u0150\3\2\2\2\u014f\u0151\5S*\2\u0150"+
|
||||
"\u014f\3\2\2\2\u0151\u0152\3\2\2\2\u0152\u0150\3\2\2\2\u0152\u0153\3\2"+
|
||||
"\2\2\u0153R\3\2\2\2\u0154\u0155\t\13\2\2\u0155T\3\2\2\2\u0156\u0157\t"+
|
||||
"\f\2\2\u0157V\3\2\2\2\u0158\u0159\7\61\2\2\u0159\u015a\7\61\2\2\u015a"+
|
||||
"\u015e\3\2\2\2\u015b\u015d\n\r\2\2\u015c\u015b\3\2\2\2\u015d\u0160\3\2"+
|
||||
"\2\2\u015e\u015c\3\2\2\2\u015e\u015f\3\2\2\2\u015f\u0162\3\2\2\2\u0160"+
|
||||
"\u015e\3\2\2\2\u0161\u0163\7\17\2\2\u0162\u0161\3\2\2\2\u0162\u0163\3"+
|
||||
"\2\2\2\u0163\u0165\3\2\2\2\u0164\u0166\7\f\2\2\u0165\u0164\3\2\2\2\u0165"+
|
||||
"\u0166\3\2\2\2\u0166\u0167\3\2\2\2\u0167\u0168\b,\2\2\u0168X\3\2\2\2\u0169"+
|
||||
"\u016a\7\61\2\2\u016a\u016b\7,\2\2\u016b\u0170\3\2\2\2\u016c\u016f\5Y"+
|
||||
"-\2\u016d\u016f\13\2\2\2\u016e\u016c\3\2\2\2\u016e\u016d\3\2\2\2\u016f"+
|
||||
"\u0172\3\2\2\2\u0170\u0171\3\2\2\2\u0170\u016e\3\2\2\2\u0171\u0173\3\2"+
|
||||
"\2\2\u0172\u0170\3\2\2\2\u0173\u0174\7,\2\2\u0174\u0175\7\61\2\2\u0175"+
|
||||
"\u0176\3\2\2\2\u0176\u0177\b-\2\2\u0177Z\3\2\2\2\u0178\u017a\t\16\2\2"+
|
||||
"\u0179\u0178\3\2\2\2\u017a\u017b\3\2\2\2\u017b\u0179\3\2\2\2\u017b\u017c"+
|
||||
"\3\2\2\2\u017c\u017d\3\2\2\2\u017d\u017e\b.\2\2\u017e\\\3\2\2\2\"\2\u00b0"+
|
||||
"\u00db\u00e4\u00e6\u00ee\u00f0\u00fa\u00fc\u0106\u0108\u010c\u0111\u0116"+
|
||||
"\u011c\u0123\u0128\u012e\u0131\u0139\u013d\u0141\u0146\u0148\u014d\u0152"+
|
||||
"\u015e\u0162\u0165\u016e\u0170\u017b\3\2\3\2";
|
||||
",\t,\4-\t-\4.\t.\4/\t/\3\2\3\2\3\2\3\2\3\3\3\3\3\3\3\3\3\4\3\4\3\4\3\5"+
|
||||
"\3\5\3\5\3\5\3\5\3\5\3\6\3\6\3\6\3\6\3\6\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3"+
|
||||
"\b\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\13"+
|
||||
"\3\13\3\f\3\f\3\f\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16"+
|
||||
"\3\16\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3\21"+
|
||||
"\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\5\23\u00b7"+
|
||||
"\n\23\3\24\3\24\3\24\3\25\3\25\3\26\3\26\3\26\3\27\3\27\3\30\3\30\3\30"+
|
||||
"\3\31\3\31\3\32\3\32\3\33\3\33\3\34\3\34\3\35\3\35\3\36\3\36\3\37\3\37"+
|
||||
"\3 \3 \3!\3!\3\"\3\"\3#\3#\3$\3$\3%\3%\7%\u00e0\n%\f%\16%\u00e3\13%\3"+
|
||||
"%\3%\3&\3&\3&\3&\7&\u00eb\n&\f&\16&\u00ee\13&\3&\3&\3&\3&\3&\7&\u00f5"+
|
||||
"\n&\f&\16&\u00f8\13&\3&\3&\3&\3&\3&\3&\3&\7&\u0101\n&\f&\16&\u0104\13"+
|
||||
"&\3&\3&\3&\3&\3&\3&\3&\7&\u010d\n&\f&\16&\u0110\13&\3&\5&\u0113\n&\3\'"+
|
||||
"\6\'\u0116\n\'\r\'\16\'\u0117\3(\6(\u011b\n(\r(\16(\u011c\3(\3(\7(\u0121"+
|
||||
"\n(\f(\16(\u0124\13(\3(\3(\6(\u0128\n(\r(\16(\u0129\3(\6(\u012d\n(\r("+
|
||||
"\16(\u012e\3(\3(\7(\u0133\n(\f(\16(\u0136\13(\5(\u0138\n(\3(\3(\3(\3("+
|
||||
"\6(\u013e\n(\r(\16(\u013f\3(\3(\5(\u0144\n(\3)\3)\5)\u0148\n)\3)\3)\3"+
|
||||
")\7)\u014d\n)\f)\16)\u0150\13)\3*\3*\5*\u0154\n*\3*\6*\u0157\n*\r*\16"+
|
||||
"*\u0158\3+\3+\3,\3,\3-\3-\3-\3-\7-\u0163\n-\f-\16-\u0166\13-\3-\5-\u0169"+
|
||||
"\n-\3-\5-\u016c\n-\3-\3-\3.\3.\3.\3.\3.\7.\u0175\n.\f.\16.\u0178\13.\3"+
|
||||
".\3.\3.\3.\3.\3/\6/\u0180\n/\r/\16/\u0181\3/\3/\3\u0176\2\60\3\3\5\4\7"+
|
||||
"\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21!\22"+
|
||||
"#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33\65\34\67\359\36;\37= ?!A\"C"+
|
||||
"#E$G%I&K\'M(O)Q*S\2U\2W\2Y+[,]-\3\2\17\3\2bb\n\2$$))^^ddhhppttvv\6\2\f"+
|
||||
"\f\17\17))^^\6\2\f\f\17\17$$^^\5\2\f\f\17\17$$\5\2\f\f\17\17))\4\2BBa"+
|
||||
"a\4\2GGgg\4\2--//\3\2\62;\4\2C\\c|\4\2\f\f\17\17\5\2\13\f\17\17\"\"\u01a5"+
|
||||
"\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2"+
|
||||
"\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2"+
|
||||
"\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2"+
|
||||
"\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2"+
|
||||
"\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3"+
|
||||
"\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2"+
|
||||
"\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2Y\3\2\2\2\2"+
|
||||
"[\3\2\2\2\2]\3\2\2\2\3_\3\2\2\2\5c\3\2\2\2\7g\3\2\2\2\tj\3\2\2\2\13p\3"+
|
||||
"\2\2\2\ru\3\2\2\2\17x\3\2\2\2\21}\3\2\2\2\23\u0085\3\2\2\2\25\u0089\3"+
|
||||
"\2\2\2\27\u008e\3\2\2\2\31\u0091\3\2\2\2\33\u0094\3\2\2\2\35\u009d\3\2"+
|
||||
"\2\2\37\u00a2\3\2\2\2!\u00a8\3\2\2\2#\u00ae\3\2\2\2%\u00b6\3\2\2\2\'\u00b8"+
|
||||
"\3\2\2\2)\u00bb\3\2\2\2+\u00bd\3\2\2\2-\u00c0\3\2\2\2/\u00c2\3\2\2\2\61"+
|
||||
"\u00c5\3\2\2\2\63\u00c7\3\2\2\2\65\u00c9\3\2\2\2\67\u00cb\3\2\2\29\u00cd"+
|
||||
"\3\2\2\2;\u00cf\3\2\2\2=\u00d1\3\2\2\2?\u00d3\3\2\2\2A\u00d5\3\2\2\2C"+
|
||||
"\u00d7\3\2\2\2E\u00d9\3\2\2\2G\u00db\3\2\2\2I\u00dd\3\2\2\2K\u0112\3\2"+
|
||||
"\2\2M\u0115\3\2\2\2O\u0143\3\2\2\2Q\u0147\3\2\2\2S\u0151\3\2\2\2U\u015a"+
|
||||
"\3\2\2\2W\u015c\3\2\2\2Y\u015e\3\2\2\2[\u016f\3\2\2\2]\u017f\3\2\2\2_"+
|
||||
"`\7c\2\2`a\7p\2\2ab\7f\2\2b\4\3\2\2\2cd\7c\2\2de\7p\2\2ef\7{\2\2f\6\3"+
|
||||
"\2\2\2gh\7d\2\2hi\7{\2\2i\b\3\2\2\2jk\7h\2\2kl\7c\2\2lm\7n\2\2mn\7u\2"+
|
||||
"\2no\7g\2\2o\n\3\2\2\2pq\7h\2\2qr\7q\2\2rs\7t\2\2st\7m\2\2t\f\3\2\2\2"+
|
||||
"uv\7k\2\2vw\7p\2\2w\16\3\2\2\2xy\7l\2\2yz\7q\2\2z{\7k\2\2{|\7p\2\2|\20"+
|
||||
"\3\2\2\2}~\7o\2\2~\177\7c\2\2\177\u0080\7z\2\2\u0080\u0081\7u\2\2\u0081"+
|
||||
"\u0082\7r\2\2\u0082\u0083\7c\2\2\u0083\u0084\7p\2\2\u0084\22\3\2\2\2\u0085"+
|
||||
"\u0086\7p\2\2\u0086\u0087\7q\2\2\u0087\u0088\7v\2\2\u0088\24\3\2\2\2\u0089"+
|
||||
"\u008a\7p\2\2\u008a\u008b\7w\2\2\u008b\u008c\7n\2\2\u008c\u008d\7n\2\2"+
|
||||
"\u008d\26\3\2\2\2\u008e\u008f\7q\2\2\u008f\u0090\7h\2\2\u0090\30\3\2\2"+
|
||||
"\2\u0091\u0092\7q\2\2\u0092\u0093\7t\2\2\u0093\32\3\2\2\2\u0094\u0095"+
|
||||
"\7u\2\2\u0095\u0096\7g\2\2\u0096\u0097\7s\2\2\u0097\u0098\7w\2\2\u0098"+
|
||||
"\u0099\7g\2\2\u0099\u009a\7p\2\2\u009a\u009b\7e\2\2\u009b\u009c\7g\2\2"+
|
||||
"\u009c\34\3\2\2\2\u009d\u009e\7v\2\2\u009e\u009f\7t\2\2\u009f\u00a0\7"+
|
||||
"w\2\2\u00a0\u00a1\7g\2\2\u00a1\36\3\2\2\2\u00a2\u00a3\7w\2\2\u00a3\u00a4"+
|
||||
"\7p\2\2\u00a4\u00a5\7v\2\2\u00a5\u00a6\7k\2\2\u00a6\u00a7\7n\2\2\u00a7"+
|
||||
" \3\2\2\2\u00a8\u00a9\7y\2\2\u00a9\u00aa\7j\2\2\u00aa\u00ab\7g\2\2\u00ab"+
|
||||
"\u00ac\7t\2\2\u00ac\u00ad\7g\2\2\u00ad\"\3\2\2\2\u00ae\u00af\7y\2\2\u00af"+
|
||||
"\u00b0\7k\2\2\u00b0\u00b1\7v\2\2\u00b1\u00b2\7j\2\2\u00b2$\3\2\2\2\u00b3"+
|
||||
"\u00b7\7?\2\2\u00b4\u00b5\7?\2\2\u00b5\u00b7\7?\2\2\u00b6\u00b3\3\2\2"+
|
||||
"\2\u00b6\u00b4\3\2\2\2\u00b7&\3\2\2\2\u00b8\u00b9\7#\2\2\u00b9\u00ba\7"+
|
||||
"?\2\2\u00ba(\3\2\2\2\u00bb\u00bc\7>\2\2\u00bc*\3\2\2\2\u00bd\u00be\7>"+
|
||||
"\2\2\u00be\u00bf\7?\2\2\u00bf,\3\2\2\2\u00c0\u00c1\7@\2\2\u00c1.\3\2\2"+
|
||||
"\2\u00c2\u00c3\7@\2\2\u00c3\u00c4\7?\2\2\u00c4\60\3\2\2\2\u00c5\u00c6"+
|
||||
"\7-\2\2\u00c6\62\3\2\2\2\u00c7\u00c8\7/\2\2\u00c8\64\3\2\2\2\u00c9\u00ca"+
|
||||
"\7,\2\2\u00ca\66\3\2\2\2\u00cb\u00cc\7\61\2\2\u00cc8\3\2\2\2\u00cd\u00ce"+
|
||||
"\7\'\2\2\u00ce:\3\2\2\2\u00cf\u00d0\7\60\2\2\u00d0<\3\2\2\2\u00d1\u00d2"+
|
||||
"\7.\2\2\u00d2>\3\2\2\2\u00d3\u00d4\7]\2\2\u00d4@\3\2\2\2\u00d5\u00d6\7"+
|
||||
"_\2\2\u00d6B\3\2\2\2\u00d7\u00d8\7*\2\2\u00d8D\3\2\2\2\u00d9\u00da\7+"+
|
||||
"\2\2\u00daF\3\2\2\2\u00db\u00dc\7~\2\2\u00dcH\3\2\2\2\u00dd\u00e1\7b\2"+
|
||||
"\2\u00de\u00e0\n\2\2\2\u00df\u00de\3\2\2\2\u00e0\u00e3\3\2\2\2\u00e1\u00df"+
|
||||
"\3\2\2\2\u00e1\u00e2\3\2\2\2\u00e2\u00e4\3\2\2\2\u00e3\u00e1\3\2\2\2\u00e4"+
|
||||
"\u00e5\7b\2\2\u00e5J\3\2\2\2\u00e6\u00ec\7)\2\2\u00e7\u00e8\7^\2\2\u00e8"+
|
||||
"\u00eb\t\3\2\2\u00e9\u00eb\n\4\2\2\u00ea\u00e7\3\2\2\2\u00ea\u00e9\3\2"+
|
||||
"\2\2\u00eb\u00ee\3\2\2\2\u00ec\u00ea\3\2\2\2\u00ec\u00ed\3\2\2\2\u00ed"+
|
||||
"\u00ef\3\2\2\2\u00ee\u00ec\3\2\2\2\u00ef\u0113\7)\2\2\u00f0\u00f6\7$\2"+
|
||||
"\2\u00f1\u00f2\7^\2\2\u00f2\u00f5\t\3\2\2\u00f3\u00f5\n\5\2\2\u00f4\u00f1"+
|
||||
"\3\2\2\2\u00f4\u00f3\3\2\2\2\u00f5\u00f8\3\2\2\2\u00f6\u00f4\3\2\2\2\u00f6"+
|
||||
"\u00f7\3\2\2\2\u00f7\u00f9\3\2\2\2\u00f8\u00f6\3\2\2\2\u00f9\u0113\7$"+
|
||||
"\2\2\u00fa\u00fb\7A\2\2\u00fb\u00fc\7$\2\2\u00fc\u0102\3\2\2\2\u00fd\u00fe"+
|
||||
"\7^\2\2\u00fe\u0101\7$\2\2\u00ff\u0101\n\6\2\2\u0100\u00fd\3\2\2\2\u0100"+
|
||||
"\u00ff\3\2\2\2\u0101\u0104\3\2\2\2\u0102\u0100\3\2\2\2\u0102\u0103\3\2"+
|
||||
"\2\2\u0103\u0105\3\2\2\2\u0104\u0102\3\2\2\2\u0105\u0113\7$\2\2\u0106"+
|
||||
"\u0107\7A\2\2\u0107\u0108\7)\2\2\u0108\u010e\3\2\2\2\u0109\u010a\7^\2"+
|
||||
"\2\u010a\u010d\7)\2\2\u010b\u010d\n\7\2\2\u010c\u0109\3\2\2\2\u010c\u010b"+
|
||||
"\3\2\2\2\u010d\u0110\3\2\2\2\u010e\u010c\3\2\2\2\u010e\u010f\3\2\2\2\u010f"+
|
||||
"\u0111\3\2\2\2\u0110\u010e\3\2\2\2\u0111\u0113\7)\2\2\u0112\u00e6\3\2"+
|
||||
"\2\2\u0112\u00f0\3\2\2\2\u0112\u00fa\3\2\2\2\u0112\u0106\3\2\2\2\u0113"+
|
||||
"L\3\2\2\2\u0114\u0116\5U+\2\u0115\u0114\3\2\2\2\u0116\u0117\3\2\2\2\u0117"+
|
||||
"\u0115\3\2\2\2\u0117\u0118\3\2\2\2\u0118N\3\2\2\2\u0119\u011b\5U+\2\u011a"+
|
||||
"\u0119\3\2\2\2\u011b\u011c\3\2\2\2\u011c\u011a\3\2\2\2\u011c\u011d\3\2"+
|
||||
"\2\2\u011d\u011e\3\2\2\2\u011e\u0122\5;\36\2\u011f\u0121\5U+\2\u0120\u011f"+
|
||||
"\3\2\2\2\u0121\u0124\3\2\2\2\u0122\u0120\3\2\2\2\u0122\u0123\3\2\2\2\u0123"+
|
||||
"\u0144\3\2\2\2\u0124\u0122\3\2\2\2\u0125\u0127\5;\36\2\u0126\u0128\5U"+
|
||||
"+\2\u0127\u0126\3\2\2\2\u0128\u0129\3\2\2\2\u0129\u0127\3\2\2\2\u0129"+
|
||||
"\u012a\3\2\2\2\u012a\u0144\3\2\2\2\u012b\u012d\5U+\2\u012c\u012b\3\2\2"+
|
||||
"\2\u012d\u012e\3\2\2\2\u012e\u012c\3\2\2\2\u012e\u012f\3\2\2\2\u012f\u0137"+
|
||||
"\3\2\2\2\u0130\u0134\5;\36\2\u0131\u0133\5U+\2\u0132\u0131\3\2\2\2\u0133"+
|
||||
"\u0136\3\2\2\2\u0134\u0132\3\2\2\2\u0134\u0135\3\2\2\2\u0135\u0138\3\2"+
|
||||
"\2\2\u0136\u0134\3\2\2\2\u0137\u0130\3\2\2\2\u0137\u0138\3\2\2\2\u0138"+
|
||||
"\u0139\3\2\2\2\u0139\u013a\5S*\2\u013a\u0144\3\2\2\2\u013b\u013d\5;\36"+
|
||||
"\2\u013c\u013e\5U+\2\u013d\u013c\3\2\2\2\u013e\u013f\3\2\2\2\u013f\u013d"+
|
||||
"\3\2\2\2\u013f\u0140\3\2\2\2\u0140\u0141\3\2\2\2\u0141\u0142\5S*\2\u0142"+
|
||||
"\u0144\3\2\2\2\u0143\u011a\3\2\2\2\u0143\u0125\3\2\2\2\u0143\u012c\3\2"+
|
||||
"\2\2\u0143\u013b\3\2\2\2\u0144P\3\2\2\2\u0145\u0148\5W,\2\u0146\u0148"+
|
||||
"\t\b\2\2\u0147\u0145\3\2\2\2\u0147\u0146\3\2\2\2\u0148\u014e\3\2\2\2\u0149"+
|
||||
"\u014d\5W,\2\u014a\u014d\5U+\2\u014b\u014d\7a\2\2\u014c\u0149\3\2\2\2"+
|
||||
"\u014c\u014a\3\2\2\2\u014c\u014b\3\2\2\2\u014d\u0150\3\2\2\2\u014e\u014c"+
|
||||
"\3\2\2\2\u014e\u014f\3\2\2\2\u014fR\3\2\2\2\u0150\u014e\3\2\2\2\u0151"+
|
||||
"\u0153\t\t\2\2\u0152\u0154\t\n\2\2\u0153\u0152\3\2\2\2\u0153\u0154\3\2"+
|
||||
"\2\2\u0154\u0156\3\2\2\2\u0155\u0157\5U+\2\u0156\u0155\3\2\2\2\u0157\u0158"+
|
||||
"\3\2\2\2\u0158\u0156\3\2\2\2\u0158\u0159\3\2\2\2\u0159T\3\2\2\2\u015a"+
|
||||
"\u015b\t\13\2\2\u015bV\3\2\2\2\u015c\u015d\t\f\2\2\u015dX\3\2\2\2\u015e"+
|
||||
"\u015f\7\61\2\2\u015f\u0160\7\61\2\2\u0160\u0164\3\2\2\2\u0161\u0163\n"+
|
||||
"\r\2\2\u0162\u0161\3\2\2\2\u0163\u0166\3\2\2\2\u0164\u0162\3\2\2\2\u0164"+
|
||||
"\u0165\3\2\2\2\u0165\u0168\3\2\2\2\u0166\u0164\3\2\2\2\u0167\u0169\7\17"+
|
||||
"\2\2\u0168\u0167\3\2\2\2\u0168\u0169\3\2\2\2\u0169\u016b\3\2\2\2\u016a"+
|
||||
"\u016c\7\f\2\2\u016b\u016a\3\2\2\2\u016b\u016c\3\2\2\2\u016c\u016d\3\2"+
|
||||
"\2\2\u016d\u016e\b-\2\2\u016eZ\3\2\2\2\u016f\u0170\7\61\2\2\u0170\u0171"+
|
||||
"\7,\2\2\u0171\u0176\3\2\2\2\u0172\u0175\5[.\2\u0173\u0175\13\2\2\2\u0174"+
|
||||
"\u0172\3\2\2\2\u0174\u0173\3\2\2\2\u0175\u0178\3\2\2\2\u0176\u0177\3\2"+
|
||||
"\2\2\u0176\u0174\3\2\2\2\u0177\u0179\3\2\2\2\u0178\u0176\3\2\2\2\u0179"+
|
||||
"\u017a\7,\2\2\u017a\u017b\7\61\2\2\u017b\u017c\3\2\2\2\u017c\u017d\b."+
|
||||
"\2\2\u017d\\\3\2\2\2\u017e\u0180\t\16\2\2\u017f\u017e\3\2\2\2\u0180\u0181"+
|
||||
"\3\2\2\2\u0181\u017f\3\2\2\2\u0181\u0182\3\2\2\2\u0182\u0183\3\2\2\2\u0183"+
|
||||
"\u0184\b/\2\2\u0184^\3\2\2\2\"\2\u00b6\u00e1\u00ea\u00ec\u00f4\u00f6\u0100"+
|
||||
"\u0102\u010c\u010e\u0112\u0117\u011c\u0122\u0129\u012e\u0134\u0137\u013f"+
|
||||
"\u0143\u0147\u014c\u014e\u0153\u0158\u0164\u0168\u016b\u0174\u0176\u0181"+
|
||||
"\3\2\3\2";
|
||||
public static final ATN _ATN =
|
||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||
static {
|
||||
|
|
|
@ -17,12 +17,12 @@ class EqlBaseParser extends Parser {
|
|||
protected static final PredictionContextCache _sharedContextCache =
|
||||
new PredictionContextCache();
|
||||
public static final int
|
||||
AND=1, BY=2, FALSE=3, FORK=4, IN=5, JOIN=6, MAXSPAN=7, NOT=8, NULL=9,
|
||||
OF=10, OR=11, SEQUENCE=12, TRUE=13, UNTIL=14, WHERE=15, WITH=16, EQ=17,
|
||||
NEQ=18, LT=19, LTE=20, GT=21, GTE=22, PLUS=23, MINUS=24, ASTERISK=25,
|
||||
SLASH=26, PERCENT=27, DOT=28, COMMA=29, LB=30, RB=31, LP=32, RP=33, PIPE=34,
|
||||
ESCAPED_IDENTIFIER=35, STRING=36, INTEGER_VALUE=37, DECIMAL_VALUE=38,
|
||||
IDENTIFIER=39, LINE_COMMENT=40, BRACKETED_COMMENT=41, WS=42;
|
||||
AND=1, ANY=2, BY=3, FALSE=4, FORK=5, IN=6, JOIN=7, MAXSPAN=8, NOT=9, NULL=10,
|
||||
OF=11, OR=12, SEQUENCE=13, TRUE=14, UNTIL=15, WHERE=16, WITH=17, EQ=18,
|
||||
NEQ=19, LT=20, LTE=21, GT=22, GTE=23, PLUS=24, MINUS=25, ASTERISK=26,
|
||||
SLASH=27, PERCENT=28, DOT=29, COMMA=30, LB=31, RB=32, LP=33, RP=34, PIPE=35,
|
||||
ESCAPED_IDENTIFIER=36, STRING=37, INTEGER_VALUE=38, DECIMAL_VALUE=39,
|
||||
IDENTIFIER=40, LINE_COMMENT=41, BRACKETED_COMMENT=42, WS=43;
|
||||
public static final int
|
||||
RULE_singleStatement = 0, RULE_singleExpression = 1, RULE_statement = 2,
|
||||
RULE_query = 3, RULE_sequenceParams = 4, RULE_sequence = 5, RULE_join = 6,
|
||||
|
@ -41,17 +41,17 @@ class EqlBaseParser extends Parser {
|
|||
};
|
||||
|
||||
private static final String[] _LITERAL_NAMES = {
|
||||
null, "'and'", "'by'", "'false'", "'fork'", "'in'", "'join'", "'maxspan'",
|
||||
"'not'", "'null'", "'of'", "'or'", "'sequence'", "'true'", "'until'",
|
||||
"'where'", "'with'", null, "'!='", "'<'", "'<='", "'>'", "'>='", "'+'",
|
||||
"'-'", "'*'", "'/'", "'%'", "'.'", "','", "'['", "']'", "'('", "')'",
|
||||
"'|'"
|
||||
null, "'and'", "'any'", "'by'", "'false'", "'fork'", "'in'", "'join'",
|
||||
"'maxspan'", "'not'", "'null'", "'of'", "'or'", "'sequence'", "'true'",
|
||||
"'until'", "'where'", "'with'", null, "'!='", "'<'", "'<='", "'>'", "'>='",
|
||||
"'+'", "'-'", "'*'", "'/'", "'%'", "'.'", "','", "'['", "']'", "'('",
|
||||
"')'", "'|'"
|
||||
};
|
||||
private static final String[] _SYMBOLIC_NAMES = {
|
||||
null, "AND", "BY", "FALSE", "FORK", "IN", "JOIN", "MAXSPAN", "NOT", "NULL",
|
||||
"OF", "OR", "SEQUENCE", "TRUE", "UNTIL", "WHERE", "WITH", "EQ", "NEQ",
|
||||
"LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT",
|
||||
"DOT", "COMMA", "LB", "RB", "LP", "RP", "PIPE", "ESCAPED_IDENTIFIER",
|
||||
null, "AND", "ANY", "BY", "FALSE", "FORK", "IN", "JOIN", "MAXSPAN", "NOT",
|
||||
"NULL", "OF", "OR", "SEQUENCE", "TRUE", "UNTIL", "WHERE", "WITH", "EQ",
|
||||
"NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH",
|
||||
"PERCENT", "DOT", "COMMA", "LB", "RB", "LP", "RP", "PIPE", "ESCAPED_IDENTIFIER",
|
||||
"STRING", "INTEGER_VALUE", "DECIMAL_VALUE", "IDENTIFIER", "LINE_COMMENT",
|
||||
"BRACKETED_COMMENT", "WS"
|
||||
};
|
||||
|
@ -312,6 +312,7 @@ class EqlBaseParser extends Parser {
|
|||
join();
|
||||
}
|
||||
break;
|
||||
case ANY:
|
||||
case ESCAPED_IDENTIFIER:
|
||||
case IDENTIFIER:
|
||||
enterOuterAlt(_localctx, 3);
|
||||
|
@ -951,6 +952,7 @@ class EqlBaseParser extends Parser {
|
|||
public ExpressionContext expression() {
|
||||
return getRuleContext(ExpressionContext.class,0);
|
||||
}
|
||||
public TerminalNode ANY() { return getToken(EqlBaseParser.ANY, 0); }
|
||||
public IdentifierContext identifier() {
|
||||
return getRuleContext(IdentifierContext.class,0);
|
||||
}
|
||||
|
@ -979,11 +981,27 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(152);
|
||||
((EventQueryContext)_localctx).event = identifier();
|
||||
setState(153);
|
||||
match(WHERE);
|
||||
setState(154);
|
||||
switch (_input.LA(1)) {
|
||||
case ANY:
|
||||
{
|
||||
setState(152);
|
||||
match(ANY);
|
||||
}
|
||||
break;
|
||||
case ESCAPED_IDENTIFIER:
|
||||
case IDENTIFIER:
|
||||
{
|
||||
setState(153);
|
||||
((EventQueryContext)_localctx).event = identifier();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
throw new NoViableAltException(this);
|
||||
}
|
||||
setState(156);
|
||||
match(WHERE);
|
||||
setState(157);
|
||||
expression();
|
||||
}
|
||||
}
|
||||
|
@ -1027,7 +1045,7 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(156);
|
||||
setState(159);
|
||||
booleanExpression(0);
|
||||
}
|
||||
}
|
||||
|
@ -1157,18 +1175,18 @@ class EqlBaseParser extends Parser {
|
|||
int _alt;
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(165);
|
||||
setState(168);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) {
|
||||
switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
|
||||
case 1:
|
||||
{
|
||||
_localctx = new LogicalNotContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
|
||||
setState(159);
|
||||
setState(162);
|
||||
match(NOT);
|
||||
setState(160);
|
||||
setState(163);
|
||||
booleanExpression(5);
|
||||
}
|
||||
break;
|
||||
|
@ -1177,11 +1195,11 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new ProcessCheckContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(161);
|
||||
setState(164);
|
||||
((ProcessCheckContext)_localctx).relationship = match(IDENTIFIER);
|
||||
setState(162);
|
||||
setState(165);
|
||||
match(OF);
|
||||
setState(163);
|
||||
setState(166);
|
||||
subquery();
|
||||
}
|
||||
break;
|
||||
|
@ -1190,33 +1208,33 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new BooleanDefaultContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(164);
|
||||
setState(167);
|
||||
valueExpression(0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
_ctx.stop = _input.LT(-1);
|
||||
setState(175);
|
||||
setState(178);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,19,_ctx);
|
||||
_alt = getInterpreter().adaptivePredict(_input,20,_ctx);
|
||||
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
||||
if ( _alt==1 ) {
|
||||
if ( _parseListeners!=null ) triggerExitRuleEvent();
|
||||
_prevctx = _localctx;
|
||||
{
|
||||
setState(173);
|
||||
setState(176);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
|
||||
switch ( getInterpreter().adaptivePredict(_input,19,_ctx) ) {
|
||||
case 1:
|
||||
{
|
||||
_localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState));
|
||||
((LogicalBinaryContext)_localctx).left = _prevctx;
|
||||
pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression);
|
||||
setState(167);
|
||||
setState(170);
|
||||
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
||||
setState(168);
|
||||
setState(171);
|
||||
((LogicalBinaryContext)_localctx).operator = match(AND);
|
||||
setState(169);
|
||||
setState(172);
|
||||
((LogicalBinaryContext)_localctx).right = booleanExpression(3);
|
||||
}
|
||||
break;
|
||||
|
@ -1225,20 +1243,20 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState));
|
||||
((LogicalBinaryContext)_localctx).left = _prevctx;
|
||||
pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression);
|
||||
setState(170);
|
||||
setState(173);
|
||||
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
||||
setState(171);
|
||||
setState(174);
|
||||
((LogicalBinaryContext)_localctx).operator = match(OR);
|
||||
setState(172);
|
||||
setState(175);
|
||||
((LogicalBinaryContext)_localctx).right = booleanExpression(2);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
setState(177);
|
||||
setState(180);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,19,_ctx);
|
||||
_alt = getInterpreter().adaptivePredict(_input,20,_ctx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1382,7 +1400,7 @@ class EqlBaseParser extends Parser {
|
|||
int _alt;
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(185);
|
||||
setState(188);
|
||||
switch (_input.LA(1)) {
|
||||
case FALSE:
|
||||
case NULL:
|
||||
|
@ -1398,14 +1416,14 @@ class EqlBaseParser extends Parser {
|
|||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
|
||||
setState(179);
|
||||
setState(182);
|
||||
primaryExpression();
|
||||
setState(181);
|
||||
setState(184);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,20,_ctx) ) {
|
||||
switch ( getInterpreter().adaptivePredict(_input,21,_ctx) ) {
|
||||
case 1:
|
||||
{
|
||||
setState(180);
|
||||
setState(183);
|
||||
predicate();
|
||||
}
|
||||
break;
|
||||
|
@ -1418,7 +1436,7 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new ArithmeticUnaryContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(183);
|
||||
setState(186);
|
||||
((ArithmeticUnaryContext)_localctx).operator = _input.LT(1);
|
||||
_la = _input.LA(1);
|
||||
if ( !(_la==PLUS || _la==MINUS) ) {
|
||||
|
@ -1426,7 +1444,7 @@ class EqlBaseParser extends Parser {
|
|||
} else {
|
||||
consume();
|
||||
}
|
||||
setState(184);
|
||||
setState(187);
|
||||
valueExpression(4);
|
||||
}
|
||||
break;
|
||||
|
@ -1434,25 +1452,25 @@ class EqlBaseParser extends Parser {
|
|||
throw new NoViableAltException(this);
|
||||
}
|
||||
_ctx.stop = _input.LT(-1);
|
||||
setState(199);
|
||||
setState(202);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,23,_ctx);
|
||||
_alt = getInterpreter().adaptivePredict(_input,24,_ctx);
|
||||
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
||||
if ( _alt==1 ) {
|
||||
if ( _parseListeners!=null ) triggerExitRuleEvent();
|
||||
_prevctx = _localctx;
|
||||
{
|
||||
setState(197);
|
||||
setState(200);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,22,_ctx) ) {
|
||||
switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) {
|
||||
case 1:
|
||||
{
|
||||
_localctx = new ArithmeticBinaryContext(new ValueExpressionContext(_parentctx, _parentState));
|
||||
((ArithmeticBinaryContext)_localctx).left = _prevctx;
|
||||
pushNewRecursionContext(_localctx, _startState, RULE_valueExpression);
|
||||
setState(187);
|
||||
setState(190);
|
||||
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
|
||||
setState(188);
|
||||
setState(191);
|
||||
((ArithmeticBinaryContext)_localctx).operator = _input.LT(1);
|
||||
_la = _input.LA(1);
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ASTERISK) | (1L << SLASH) | (1L << PERCENT))) != 0)) ) {
|
||||
|
@ -1460,7 +1478,7 @@ class EqlBaseParser extends Parser {
|
|||
} else {
|
||||
consume();
|
||||
}
|
||||
setState(189);
|
||||
setState(192);
|
||||
((ArithmeticBinaryContext)_localctx).right = valueExpression(4);
|
||||
}
|
||||
break;
|
||||
|
@ -1469,9 +1487,9 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new ArithmeticBinaryContext(new ValueExpressionContext(_parentctx, _parentState));
|
||||
((ArithmeticBinaryContext)_localctx).left = _prevctx;
|
||||
pushNewRecursionContext(_localctx, _startState, RULE_valueExpression);
|
||||
setState(190);
|
||||
setState(193);
|
||||
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
||||
setState(191);
|
||||
setState(194);
|
||||
((ArithmeticBinaryContext)_localctx).operator = _input.LT(1);
|
||||
_la = _input.LA(1);
|
||||
if ( !(_la==PLUS || _la==MINUS) ) {
|
||||
|
@ -1479,7 +1497,7 @@ class EqlBaseParser extends Parser {
|
|||
} else {
|
||||
consume();
|
||||
}
|
||||
setState(192);
|
||||
setState(195);
|
||||
((ArithmeticBinaryContext)_localctx).right = valueExpression(3);
|
||||
}
|
||||
break;
|
||||
|
@ -1488,20 +1506,20 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new ComparisonContext(new ValueExpressionContext(_parentctx, _parentState));
|
||||
((ComparisonContext)_localctx).left = _prevctx;
|
||||
pushNewRecursionContext(_localctx, _startState, RULE_valueExpression);
|
||||
setState(193);
|
||||
setState(196);
|
||||
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
||||
setState(194);
|
||||
setState(197);
|
||||
comparisonOperator();
|
||||
setState(195);
|
||||
setState(198);
|
||||
((ComparisonContext)_localctx).right = valueExpression(2);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
setState(201);
|
||||
setState(204);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,23,_ctx);
|
||||
_alt = getInterpreter().adaptivePredict(_input,24,_ctx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1558,38 +1576,38 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(203);
|
||||
setState(206);
|
||||
_la = _input.LA(1);
|
||||
if (_la==NOT) {
|
||||
{
|
||||
setState(202);
|
||||
setState(205);
|
||||
match(NOT);
|
||||
}
|
||||
}
|
||||
|
||||
setState(205);
|
||||
setState(208);
|
||||
((PredicateContext)_localctx).kind = match(IN);
|
||||
setState(206);
|
||||
setState(209);
|
||||
match(LP);
|
||||
setState(207);
|
||||
setState(210);
|
||||
expression();
|
||||
setState(212);
|
||||
setState(215);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
while (_la==COMMA) {
|
||||
{
|
||||
{
|
||||
setState(208);
|
||||
setState(211);
|
||||
match(COMMA);
|
||||
setState(209);
|
||||
setState(212);
|
||||
expression();
|
||||
}
|
||||
}
|
||||
setState(214);
|
||||
setState(217);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
}
|
||||
setState(215);
|
||||
setState(218);
|
||||
match(RP);
|
||||
}
|
||||
}
|
||||
|
@ -1698,14 +1716,14 @@ class EqlBaseParser extends Parser {
|
|||
PrimaryExpressionContext _localctx = new PrimaryExpressionContext(_ctx, getState());
|
||||
enterRule(_localctx, 34, RULE_primaryExpression);
|
||||
try {
|
||||
setState(224);
|
||||
setState(227);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) {
|
||||
switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) {
|
||||
case 1:
|
||||
_localctx = new ConstantDefaultContext(_localctx);
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(217);
|
||||
setState(220);
|
||||
constant();
|
||||
}
|
||||
break;
|
||||
|
@ -1713,7 +1731,7 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new FunctionContext(_localctx);
|
||||
enterOuterAlt(_localctx, 2);
|
||||
{
|
||||
setState(218);
|
||||
setState(221);
|
||||
functionExpression();
|
||||
}
|
||||
break;
|
||||
|
@ -1721,7 +1739,7 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new DereferenceContext(_localctx);
|
||||
enterOuterAlt(_localctx, 3);
|
||||
{
|
||||
setState(219);
|
||||
setState(222);
|
||||
qualifiedName();
|
||||
}
|
||||
break;
|
||||
|
@ -1729,11 +1747,11 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new ParenthesizedExpressionContext(_localctx);
|
||||
enterOuterAlt(_localctx, 4);
|
||||
{
|
||||
setState(220);
|
||||
setState(223);
|
||||
match(LP);
|
||||
setState(221);
|
||||
setState(224);
|
||||
expression();
|
||||
setState(222);
|
||||
setState(225);
|
||||
match(RP);
|
||||
}
|
||||
break;
|
||||
|
@ -1791,36 +1809,36 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(226);
|
||||
setState(229);
|
||||
((FunctionExpressionContext)_localctx).name = match(IDENTIFIER);
|
||||
setState(227);
|
||||
setState(230);
|
||||
match(LP);
|
||||
setState(236);
|
||||
setState(239);
|
||||
_la = _input.LA(1);
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << FALSE) | (1L << NOT) | (1L << NULL) | (1L << TRUE) | (1L << PLUS) | (1L << MINUS) | (1L << LP) | (1L << ESCAPED_IDENTIFIER) | (1L << STRING) | (1L << INTEGER_VALUE) | (1L << DECIMAL_VALUE) | (1L << IDENTIFIER))) != 0)) {
|
||||
{
|
||||
setState(228);
|
||||
setState(231);
|
||||
expression();
|
||||
setState(233);
|
||||
setState(236);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
while (_la==COMMA) {
|
||||
{
|
||||
{
|
||||
setState(229);
|
||||
setState(232);
|
||||
match(COMMA);
|
||||
setState(230);
|
||||
setState(233);
|
||||
expression();
|
||||
}
|
||||
}
|
||||
setState(235);
|
||||
setState(238);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
setState(238);
|
||||
setState(241);
|
||||
match(RP);
|
||||
}
|
||||
}
|
||||
|
@ -1925,13 +1943,13 @@ class EqlBaseParser extends Parser {
|
|||
ConstantContext _localctx = new ConstantContext(_ctx, getState());
|
||||
enterRule(_localctx, 38, RULE_constant);
|
||||
try {
|
||||
setState(244);
|
||||
setState(247);
|
||||
switch (_input.LA(1)) {
|
||||
case NULL:
|
||||
_localctx = new NullLiteralContext(_localctx);
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(240);
|
||||
setState(243);
|
||||
match(NULL);
|
||||
}
|
||||
break;
|
||||
|
@ -1940,7 +1958,7 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new NumericLiteralContext(_localctx);
|
||||
enterOuterAlt(_localctx, 2);
|
||||
{
|
||||
setState(241);
|
||||
setState(244);
|
||||
number();
|
||||
}
|
||||
break;
|
||||
|
@ -1949,7 +1967,7 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new BooleanLiteralContext(_localctx);
|
||||
enterOuterAlt(_localctx, 3);
|
||||
{
|
||||
setState(242);
|
||||
setState(245);
|
||||
booleanValue();
|
||||
}
|
||||
break;
|
||||
|
@ -1957,7 +1975,7 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new StringLiteralContext(_localctx);
|
||||
enterOuterAlt(_localctx, 4);
|
||||
{
|
||||
setState(243);
|
||||
setState(246);
|
||||
string();
|
||||
}
|
||||
break;
|
||||
|
@ -2009,7 +2027,7 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(246);
|
||||
setState(249);
|
||||
_la = _input.LA(1);
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << EQ) | (1L << NEQ) | (1L << LT) | (1L << LTE) | (1L << GT) | (1L << GTE))) != 0)) ) {
|
||||
_errHandler.recoverInline(this);
|
||||
|
@ -2058,7 +2076,7 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(248);
|
||||
setState(251);
|
||||
_la = _input.LA(1);
|
||||
if ( !(_la==FALSE || _la==TRUE) ) {
|
||||
_errHandler.recoverInline(this);
|
||||
|
@ -2128,43 +2146,43 @@ class EqlBaseParser extends Parser {
|
|||
int _alt;
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(250);
|
||||
setState(253);
|
||||
identifier();
|
||||
setState(262);
|
||||
setState(265);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,32,_ctx);
|
||||
_alt = getInterpreter().adaptivePredict(_input,33,_ctx);
|
||||
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
||||
if ( _alt==1 ) {
|
||||
{
|
||||
setState(260);
|
||||
setState(263);
|
||||
switch (_input.LA(1)) {
|
||||
case DOT:
|
||||
{
|
||||
setState(251);
|
||||
setState(254);
|
||||
match(DOT);
|
||||
setState(252);
|
||||
setState(255);
|
||||
identifier();
|
||||
}
|
||||
break;
|
||||
case LB:
|
||||
{
|
||||
setState(253);
|
||||
setState(256);
|
||||
match(LB);
|
||||
setState(255);
|
||||
setState(258);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
do {
|
||||
{
|
||||
{
|
||||
setState(254);
|
||||
setState(257);
|
||||
match(INTEGER_VALUE);
|
||||
}
|
||||
}
|
||||
setState(257);
|
||||
setState(260);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
} while ( _la==INTEGER_VALUE );
|
||||
setState(259);
|
||||
setState(262);
|
||||
match(RB);
|
||||
}
|
||||
break;
|
||||
|
@ -2173,9 +2191,9 @@ class EqlBaseParser extends Parser {
|
|||
}
|
||||
}
|
||||
}
|
||||
setState(264);
|
||||
setState(267);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,32,_ctx);
|
||||
_alt = getInterpreter().adaptivePredict(_input,33,_ctx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2219,7 +2237,7 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(265);
|
||||
setState(268);
|
||||
_la = _input.LA(1);
|
||||
if ( !(_la==ESCAPED_IDENTIFIER || _la==IDENTIFIER) ) {
|
||||
_errHandler.recoverInline(this);
|
||||
|
@ -2271,13 +2289,13 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(267);
|
||||
setState(270);
|
||||
number();
|
||||
setState(269);
|
||||
setState(272);
|
||||
_la = _input.LA(1);
|
||||
if (_la==IDENTIFIER) {
|
||||
{
|
||||
setState(268);
|
||||
setState(271);
|
||||
((TimeUnitContext)_localctx).unit = match(IDENTIFIER);
|
||||
}
|
||||
}
|
||||
|
@ -2345,13 +2363,13 @@ class EqlBaseParser extends Parser {
|
|||
NumberContext _localctx = new NumberContext(_ctx, getState());
|
||||
enterRule(_localctx, 50, RULE_number);
|
||||
try {
|
||||
setState(273);
|
||||
setState(276);
|
||||
switch (_input.LA(1)) {
|
||||
case DECIMAL_VALUE:
|
||||
_localctx = new DecimalLiteralContext(_localctx);
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(271);
|
||||
setState(274);
|
||||
match(DECIMAL_VALUE);
|
||||
}
|
||||
break;
|
||||
|
@ -2359,7 +2377,7 @@ class EqlBaseParser extends Parser {
|
|||
_localctx = new IntegerLiteralContext(_localctx);
|
||||
enterOuterAlt(_localctx, 2);
|
||||
{
|
||||
setState(272);
|
||||
setState(275);
|
||||
match(INTEGER_VALUE);
|
||||
}
|
||||
break;
|
||||
|
@ -2405,7 +2423,7 @@ class EqlBaseParser extends Parser {
|
|||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(275);
|
||||
setState(278);
|
||||
match(STRING);
|
||||
}
|
||||
}
|
||||
|
@ -2451,7 +2469,7 @@ class EqlBaseParser extends Parser {
|
|||
}
|
||||
|
||||
public static final String _serializedATN =
|
||||
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3,\u0118\4\2\t\2\4"+
|
||||
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3-\u011b\4\2\t\2\4"+
|
||||
"\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t"+
|
||||
"\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
|
||||
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
|
||||
|
@ -2462,90 +2480,92 @@ class EqlBaseParser extends Parser {
|
|||
"\3\t\3\t\3\t\3\t\3\t\7\tx\n\t\f\t\16\t{\13\t\5\t}\n\t\3\n\3\n\3\n\3\n"+
|
||||
"\7\n\u0083\n\n\f\n\16\n\u0086\13\n\3\13\3\13\5\13\u008a\n\13\3\f\3\f\3"+
|
||||
"\f\3\f\5\f\u0090\n\f\5\f\u0092\n\f\3\f\5\f\u0095\n\f\3\r\3\r\3\r\3\r\3"+
|
||||
"\16\3\16\3\16\3\16\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\5\20\u00a8"+
|
||||
"\n\20\3\20\3\20\3\20\3\20\3\20\3\20\7\20\u00b0\n\20\f\20\16\20\u00b3\13"+
|
||||
"\20\3\21\3\21\3\21\5\21\u00b8\n\21\3\21\3\21\5\21\u00bc\n\21\3\21\3\21"+
|
||||
"\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\7\21\u00c8\n\21\f\21\16\21\u00cb"+
|
||||
"\13\21\3\22\5\22\u00ce\n\22\3\22\3\22\3\22\3\22\3\22\7\22\u00d5\n\22\f"+
|
||||
"\22\16\22\u00d8\13\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\23\3\23\5\23"+
|
||||
"\u00e3\n\23\3\24\3\24\3\24\3\24\3\24\7\24\u00ea\n\24\f\24\16\24\u00ed"+
|
||||
"\13\24\5\24\u00ef\n\24\3\24\3\24\3\25\3\25\3\25\3\25\5\25\u00f7\n\25\3"+
|
||||
"\26\3\26\3\27\3\27\3\30\3\30\3\30\3\30\3\30\6\30\u0102\n\30\r\30\16\30"+
|
||||
"\u0103\3\30\7\30\u0107\n\30\f\30\16\30\u010a\13\30\3\31\3\31\3\32\3\32"+
|
||||
"\5\32\u0110\n\32\3\33\3\33\5\33\u0114\n\33\3\34\3\34\3\34\2\4\36 \35\2"+
|
||||
"\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\66\2\7\3\2\31"+
|
||||
"\32\3\2\33\35\3\2\23\30\4\2\5\5\17\17\4\2%%))\u0127\28\3\2\2\2\4;\3\2"+
|
||||
"\2\2\6>\3\2\2\2\bH\3\2\2\2\nJ\3\2\2\2\fO\3\2\2\2\16d\3\2\2\2\20r\3\2\2"+
|
||||
"\2\22~\3\2\2\2\24\u0087\3\2\2\2\26\u008b\3\2\2\2\30\u0096\3\2\2\2\32\u009a"+
|
||||
"\3\2\2\2\34\u009e\3\2\2\2\36\u00a7\3\2\2\2 \u00bb\3\2\2\2\"\u00cd\3\2"+
|
||||
"\2\2$\u00e2\3\2\2\2&\u00e4\3\2\2\2(\u00f6\3\2\2\2*\u00f8\3\2\2\2,\u00fa"+
|
||||
"\3\2\2\2.\u00fc\3\2\2\2\60\u010b\3\2\2\2\62\u010d\3\2\2\2\64\u0113\3\2"+
|
||||
"\2\2\66\u0115\3\2\2\289\5\6\4\29:\7\2\2\3:\3\3\2\2\2;<\5\34\17\2<=\7\2"+
|
||||
"\2\3=\5\3\2\2\2>B\5\b\5\2?A\5\20\t\2@?\3\2\2\2AD\3\2\2\2B@\3\2\2\2BC\3"+
|
||||
"\2\2\2C\7\3\2\2\2DB\3\2\2\2EI\5\f\7\2FI\5\16\b\2GI\5\32\16\2HE\3\2\2\2"+
|
||||
"HF\3\2\2\2HG\3\2\2\2I\t\3\2\2\2JK\7\22\2\2KL\7\t\2\2LM\7\23\2\2MN\5\62"+
|
||||
"\32\2N\13\3\2\2\2OX\7\16\2\2PR\5\22\n\2QS\5\n\6\2RQ\3\2\2\2RS\3\2\2\2"+
|
||||
"SY\3\2\2\2TV\5\n\6\2UW\5\22\n\2VU\3\2\2\2VW\3\2\2\2WY\3\2\2\2XP\3\2\2"+
|
||||
"\2XT\3\2\2\2XY\3\2\2\2YZ\3\2\2\2Z\\\5\26\f\2[]\5\26\f\2\\[\3\2\2\2]^\3"+
|
||||
"\2\2\2^\\\3\2\2\2^_\3\2\2\2_b\3\2\2\2`a\7\20\2\2ac\5\26\f\2b`\3\2\2\2"+
|
||||
"bc\3\2\2\2c\r\3\2\2\2df\7\b\2\2eg\5\22\n\2fe\3\2\2\2fg\3\2\2\2gh\3\2\2"+
|
||||
"\2hj\5\24\13\2ik\5\24\13\2ji\3\2\2\2kl\3\2\2\2lj\3\2\2\2lm\3\2\2\2mp\3"+
|
||||
"\2\2\2no\7\20\2\2oq\5\24\13\2pn\3\2\2\2pq\3\2\2\2q\17\3\2\2\2rs\7$\2\2"+
|
||||
"s|\7)\2\2ty\5\36\20\2uv\7\37\2\2vx\5\36\20\2wu\3\2\2\2x{\3\2\2\2yw\3\2"+
|
||||
"\2\2yz\3\2\2\2z}\3\2\2\2{y\3\2\2\2|t\3\2\2\2|}\3\2\2\2}\21\3\2\2\2~\177"+
|
||||
"\7\4\2\2\177\u0084\5\34\17\2\u0080\u0081\7\37\2\2\u0081\u0083\5\34\17"+
|
||||
"\2\u0082\u0080\3\2\2\2\u0083\u0086\3\2\2\2\u0084\u0082\3\2\2\2\u0084\u0085"+
|
||||
"\3\2\2\2\u0085\23\3\2\2\2\u0086\u0084\3\2\2\2\u0087\u0089\5\30\r\2\u0088"+
|
||||
"\u008a\5\22\n\2\u0089\u0088\3\2\2\2\u0089\u008a\3\2\2\2\u008a\25\3\2\2"+
|
||||
"\2\u008b\u0091\5\30\r\2\u008c\u008f\7\6\2\2\u008d\u008e\7\23\2\2\u008e"+
|
||||
"\u0090\5,\27\2\u008f\u008d\3\2\2\2\u008f\u0090\3\2\2\2\u0090\u0092\3\2"+
|
||||
"\2\2\u0091\u008c\3\2\2\2\u0091\u0092\3\2\2\2\u0092\u0094\3\2\2\2\u0093"+
|
||||
"\u0095\5\22\n\2\u0094\u0093\3\2\2\2\u0094\u0095\3\2\2\2\u0095\27\3\2\2"+
|
||||
"\2\u0096\u0097\7 \2\2\u0097\u0098\5\32\16\2\u0098\u0099\7!\2\2\u0099\31"+
|
||||
"\3\2\2\2\u009a\u009b\5\60\31\2\u009b\u009c\7\21\2\2\u009c\u009d\5\34\17"+
|
||||
"\2\u009d\33\3\2\2\2\u009e\u009f\5\36\20\2\u009f\35\3\2\2\2\u00a0\u00a1"+
|
||||
"\b\20\1\2\u00a1\u00a2\7\n\2\2\u00a2\u00a8\5\36\20\7\u00a3\u00a4\7)\2\2"+
|
||||
"\u00a4\u00a5\7\f\2\2\u00a5\u00a8\5\30\r\2\u00a6\u00a8\5 \21\2\u00a7\u00a0"+
|
||||
"\3\2\2\2\u00a7\u00a3\3\2\2\2\u00a7\u00a6\3\2\2\2\u00a8\u00b1\3\2\2\2\u00a9"+
|
||||
"\u00aa\f\4\2\2\u00aa\u00ab\7\3\2\2\u00ab\u00b0\5\36\20\5\u00ac\u00ad\f"+
|
||||
"\3\2\2\u00ad\u00ae\7\r\2\2\u00ae\u00b0\5\36\20\4\u00af\u00a9\3\2\2\2\u00af"+
|
||||
"\u00ac\3\2\2\2\u00b0\u00b3\3\2\2\2\u00b1\u00af\3\2\2\2\u00b1\u00b2\3\2"+
|
||||
"\2\2\u00b2\37\3\2\2\2\u00b3\u00b1\3\2\2\2\u00b4\u00b5\b\21\1\2\u00b5\u00b7"+
|
||||
"\5$\23\2\u00b6\u00b8\5\"\22\2\u00b7\u00b6\3\2\2\2\u00b7\u00b8\3\2\2\2"+
|
||||
"\u00b8\u00bc\3\2\2\2\u00b9\u00ba\t\2\2\2\u00ba\u00bc\5 \21\6\u00bb\u00b4"+
|
||||
"\3\2\2\2\u00bb\u00b9\3\2\2\2\u00bc\u00c9\3\2\2\2\u00bd\u00be\f\5\2\2\u00be"+
|
||||
"\u00bf\t\3\2\2\u00bf\u00c8\5 \21\6\u00c0\u00c1\f\4\2\2\u00c1\u00c2\t\2"+
|
||||
"\2\2\u00c2\u00c8\5 \21\5\u00c3\u00c4\f\3\2\2\u00c4\u00c5\5*\26\2\u00c5"+
|
||||
"\u00c6\5 \21\4\u00c6\u00c8\3\2\2\2\u00c7\u00bd\3\2\2\2\u00c7\u00c0\3\2"+
|
||||
"\2\2\u00c7\u00c3\3\2\2\2\u00c8\u00cb\3\2\2\2\u00c9\u00c7\3\2\2\2\u00c9"+
|
||||
"\u00ca\3\2\2\2\u00ca!\3\2\2\2\u00cb\u00c9\3\2\2\2\u00cc\u00ce\7\n\2\2"+
|
||||
"\u00cd\u00cc\3\2\2\2\u00cd\u00ce\3\2\2\2\u00ce\u00cf\3\2\2\2\u00cf\u00d0"+
|
||||
"\7\7\2\2\u00d0\u00d1\7\"\2\2\u00d1\u00d6\5\34\17\2\u00d2\u00d3\7\37\2"+
|
||||
"\2\u00d3\u00d5\5\34\17\2\u00d4\u00d2\3\2\2\2\u00d5\u00d8\3\2\2\2\u00d6"+
|
||||
"\u00d4\3\2\2\2\u00d6\u00d7\3\2\2\2\u00d7\u00d9\3\2\2\2\u00d8\u00d6\3\2"+
|
||||
"\2\2\u00d9\u00da\7#\2\2\u00da#\3\2\2\2\u00db\u00e3\5(\25\2\u00dc\u00e3"+
|
||||
"\5&\24\2\u00dd\u00e3\5.\30\2\u00de\u00df\7\"\2\2\u00df\u00e0\5\34\17\2"+
|
||||
"\u00e0\u00e1\7#\2\2\u00e1\u00e3\3\2\2\2\u00e2\u00db\3\2\2\2\u00e2\u00dc"+
|
||||
"\3\2\2\2\u00e2\u00dd\3\2\2\2\u00e2\u00de\3\2\2\2\u00e3%\3\2\2\2\u00e4"+
|
||||
"\u00e5\7)\2\2\u00e5\u00ee\7\"\2\2\u00e6\u00eb\5\34\17\2\u00e7\u00e8\7"+
|
||||
"\37\2\2\u00e8\u00ea\5\34\17\2\u00e9\u00e7\3\2\2\2\u00ea\u00ed\3\2\2\2"+
|
||||
"\u00eb\u00e9\3\2\2\2\u00eb\u00ec\3\2\2\2\u00ec\u00ef\3\2\2\2\u00ed\u00eb"+
|
||||
"\3\2\2\2\u00ee\u00e6\3\2\2\2\u00ee\u00ef\3\2\2\2\u00ef\u00f0\3\2\2\2\u00f0"+
|
||||
"\u00f1\7#\2\2\u00f1\'\3\2\2\2\u00f2\u00f7\7\13\2\2\u00f3\u00f7\5\64\33"+
|
||||
"\2\u00f4\u00f7\5,\27\2\u00f5\u00f7\5\66\34\2\u00f6\u00f2\3\2\2\2\u00f6"+
|
||||
"\u00f3\3\2\2\2\u00f6\u00f4\3\2\2\2\u00f6\u00f5\3\2\2\2\u00f7)\3\2\2\2"+
|
||||
"\u00f8\u00f9\t\4\2\2\u00f9+\3\2\2\2\u00fa\u00fb\t\5\2\2\u00fb-\3\2\2\2"+
|
||||
"\u00fc\u0108\5\60\31\2\u00fd\u00fe\7\36\2\2\u00fe\u0107\5\60\31\2\u00ff"+
|
||||
"\u0101\7 \2\2\u0100\u0102\7\'\2\2\u0101\u0100\3\2\2\2\u0102\u0103\3\2"+
|
||||
"\2\2\u0103\u0101\3\2\2\2\u0103\u0104\3\2\2\2\u0104\u0105\3\2\2\2\u0105"+
|
||||
"\u0107\7!\2\2\u0106\u00fd\3\2\2\2\u0106\u00ff\3\2\2\2\u0107\u010a\3\2"+
|
||||
"\2\2\u0108\u0106\3\2\2\2\u0108\u0109\3\2\2\2\u0109/\3\2\2\2\u010a\u0108"+
|
||||
"\3\2\2\2\u010b\u010c\t\6\2\2\u010c\61\3\2\2\2\u010d\u010f\5\64\33\2\u010e"+
|
||||
"\u0110\7)\2\2\u010f\u010e\3\2\2\2\u010f\u0110\3\2\2\2\u0110\63\3\2\2\2"+
|
||||
"\u0111\u0114\7(\2\2\u0112\u0114\7\'\2\2\u0113\u0111\3\2\2\2\u0113\u0112"+
|
||||
"\3\2\2\2\u0114\65\3\2\2\2\u0115\u0116\7&\2\2\u0116\67\3\2\2\2%BHRVX^b"+
|
||||
"flpy|\u0084\u0089\u008f\u0091\u0094\u00a7\u00af\u00b1\u00b7\u00bb\u00c7"+
|
||||
"\u00c9\u00cd\u00d6\u00e2\u00eb\u00ee\u00f6\u0103\u0106\u0108\u010f\u0113";
|
||||
"\16\3\16\5\16\u009d\n\16\3\16\3\16\3\16\3\17\3\17\3\20\3\20\3\20\3\20"+
|
||||
"\3\20\3\20\3\20\5\20\u00ab\n\20\3\20\3\20\3\20\3\20\3\20\3\20\7\20\u00b3"+
|
||||
"\n\20\f\20\16\20\u00b6\13\20\3\21\3\21\3\21\5\21\u00bb\n\21\3\21\3\21"+
|
||||
"\5\21\u00bf\n\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\7\21"+
|
||||
"\u00cb\n\21\f\21\16\21\u00ce\13\21\3\22\5\22\u00d1\n\22\3\22\3\22\3\22"+
|
||||
"\3\22\3\22\7\22\u00d8\n\22\f\22\16\22\u00db\13\22\3\22\3\22\3\23\3\23"+
|
||||
"\3\23\3\23\3\23\3\23\3\23\5\23\u00e6\n\23\3\24\3\24\3\24\3\24\3\24\7\24"+
|
||||
"\u00ed\n\24\f\24\16\24\u00f0\13\24\5\24\u00f2\n\24\3\24\3\24\3\25\3\25"+
|
||||
"\3\25\3\25\5\25\u00fa\n\25\3\26\3\26\3\27\3\27\3\30\3\30\3\30\3\30\3\30"+
|
||||
"\6\30\u0105\n\30\r\30\16\30\u0106\3\30\7\30\u010a\n\30\f\30\16\30\u010d"+
|
||||
"\13\30\3\31\3\31\3\32\3\32\5\32\u0113\n\32\3\33\3\33\5\33\u0117\n\33\3"+
|
||||
"\34\3\34\3\34\2\4\36 \35\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&("+
|
||||
"*,.\60\62\64\66\2\7\3\2\32\33\3\2\34\36\3\2\24\31\4\2\6\6\20\20\4\2&&"+
|
||||
"**\u012b\28\3\2\2\2\4;\3\2\2\2\6>\3\2\2\2\bH\3\2\2\2\nJ\3\2\2\2\fO\3\2"+
|
||||
"\2\2\16d\3\2\2\2\20r\3\2\2\2\22~\3\2\2\2\24\u0087\3\2\2\2\26\u008b\3\2"+
|
||||
"\2\2\30\u0096\3\2\2\2\32\u009c\3\2\2\2\34\u00a1\3\2\2\2\36\u00aa\3\2\2"+
|
||||
"\2 \u00be\3\2\2\2\"\u00d0\3\2\2\2$\u00e5\3\2\2\2&\u00e7\3\2\2\2(\u00f9"+
|
||||
"\3\2\2\2*\u00fb\3\2\2\2,\u00fd\3\2\2\2.\u00ff\3\2\2\2\60\u010e\3\2\2\2"+
|
||||
"\62\u0110\3\2\2\2\64\u0116\3\2\2\2\66\u0118\3\2\2\289\5\6\4\29:\7\2\2"+
|
||||
"\3:\3\3\2\2\2;<\5\34\17\2<=\7\2\2\3=\5\3\2\2\2>B\5\b\5\2?A\5\20\t\2@?"+
|
||||
"\3\2\2\2AD\3\2\2\2B@\3\2\2\2BC\3\2\2\2C\7\3\2\2\2DB\3\2\2\2EI\5\f\7\2"+
|
||||
"FI\5\16\b\2GI\5\32\16\2HE\3\2\2\2HF\3\2\2\2HG\3\2\2\2I\t\3\2\2\2JK\7\23"+
|
||||
"\2\2KL\7\n\2\2LM\7\24\2\2MN\5\62\32\2N\13\3\2\2\2OX\7\17\2\2PR\5\22\n"+
|
||||
"\2QS\5\n\6\2RQ\3\2\2\2RS\3\2\2\2SY\3\2\2\2TV\5\n\6\2UW\5\22\n\2VU\3\2"+
|
||||
"\2\2VW\3\2\2\2WY\3\2\2\2XP\3\2\2\2XT\3\2\2\2XY\3\2\2\2YZ\3\2\2\2Z\\\5"+
|
||||
"\26\f\2[]\5\26\f\2\\[\3\2\2\2]^\3\2\2\2^\\\3\2\2\2^_\3\2\2\2_b\3\2\2\2"+
|
||||
"`a\7\21\2\2ac\5\26\f\2b`\3\2\2\2bc\3\2\2\2c\r\3\2\2\2df\7\t\2\2eg\5\22"+
|
||||
"\n\2fe\3\2\2\2fg\3\2\2\2gh\3\2\2\2hj\5\24\13\2ik\5\24\13\2ji\3\2\2\2k"+
|
||||
"l\3\2\2\2lj\3\2\2\2lm\3\2\2\2mp\3\2\2\2no\7\21\2\2oq\5\24\13\2pn\3\2\2"+
|
||||
"\2pq\3\2\2\2q\17\3\2\2\2rs\7%\2\2s|\7*\2\2ty\5\36\20\2uv\7 \2\2vx\5\36"+
|
||||
"\20\2wu\3\2\2\2x{\3\2\2\2yw\3\2\2\2yz\3\2\2\2z}\3\2\2\2{y\3\2\2\2|t\3"+
|
||||
"\2\2\2|}\3\2\2\2}\21\3\2\2\2~\177\7\5\2\2\177\u0084\5\34\17\2\u0080\u0081"+
|
||||
"\7 \2\2\u0081\u0083\5\34\17\2\u0082\u0080\3\2\2\2\u0083\u0086\3\2\2\2"+
|
||||
"\u0084\u0082\3\2\2\2\u0084\u0085\3\2\2\2\u0085\23\3\2\2\2\u0086\u0084"+
|
||||
"\3\2\2\2\u0087\u0089\5\30\r\2\u0088\u008a\5\22\n\2\u0089\u0088\3\2\2\2"+
|
||||
"\u0089\u008a\3\2\2\2\u008a\25\3\2\2\2\u008b\u0091\5\30\r\2\u008c\u008f"+
|
||||
"\7\7\2\2\u008d\u008e\7\24\2\2\u008e\u0090\5,\27\2\u008f\u008d\3\2\2\2"+
|
||||
"\u008f\u0090\3\2\2\2\u0090\u0092\3\2\2\2\u0091\u008c\3\2\2\2\u0091\u0092"+
|
||||
"\3\2\2\2\u0092\u0094\3\2\2\2\u0093\u0095\5\22\n\2\u0094\u0093\3\2\2\2"+
|
||||
"\u0094\u0095\3\2\2\2\u0095\27\3\2\2\2\u0096\u0097\7!\2\2\u0097\u0098\5"+
|
||||
"\32\16\2\u0098\u0099\7\"\2\2\u0099\31\3\2\2\2\u009a\u009d\7\4\2\2\u009b"+
|
||||
"\u009d\5\60\31\2\u009c\u009a\3\2\2\2\u009c\u009b\3\2\2\2\u009d\u009e\3"+
|
||||
"\2\2\2\u009e\u009f\7\22\2\2\u009f\u00a0\5\34\17\2\u00a0\33\3\2\2\2\u00a1"+
|
||||
"\u00a2\5\36\20\2\u00a2\35\3\2\2\2\u00a3\u00a4\b\20\1\2\u00a4\u00a5\7\13"+
|
||||
"\2\2\u00a5\u00ab\5\36\20\7\u00a6\u00a7\7*\2\2\u00a7\u00a8\7\r\2\2\u00a8"+
|
||||
"\u00ab\5\30\r\2\u00a9\u00ab\5 \21\2\u00aa\u00a3\3\2\2\2\u00aa\u00a6\3"+
|
||||
"\2\2\2\u00aa\u00a9\3\2\2\2\u00ab\u00b4\3\2\2\2\u00ac\u00ad\f\4\2\2\u00ad"+
|
||||
"\u00ae\7\3\2\2\u00ae\u00b3\5\36\20\5\u00af\u00b0\f\3\2\2\u00b0\u00b1\7"+
|
||||
"\16\2\2\u00b1\u00b3\5\36\20\4\u00b2\u00ac\3\2\2\2\u00b2\u00af\3\2\2\2"+
|
||||
"\u00b3\u00b6\3\2\2\2\u00b4\u00b2\3\2\2\2\u00b4\u00b5\3\2\2\2\u00b5\37"+
|
||||
"\3\2\2\2\u00b6\u00b4\3\2\2\2\u00b7\u00b8\b\21\1\2\u00b8\u00ba\5$\23\2"+
|
||||
"\u00b9\u00bb\5\"\22\2\u00ba\u00b9\3\2\2\2\u00ba\u00bb\3\2\2\2\u00bb\u00bf"+
|
||||
"\3\2\2\2\u00bc\u00bd\t\2\2\2\u00bd\u00bf\5 \21\6\u00be\u00b7\3\2\2\2\u00be"+
|
||||
"\u00bc\3\2\2\2\u00bf\u00cc\3\2\2\2\u00c0\u00c1\f\5\2\2\u00c1\u00c2\t\3"+
|
||||
"\2\2\u00c2\u00cb\5 \21\6\u00c3\u00c4\f\4\2\2\u00c4\u00c5\t\2\2\2\u00c5"+
|
||||
"\u00cb\5 \21\5\u00c6\u00c7\f\3\2\2\u00c7\u00c8\5*\26\2\u00c8\u00c9\5 "+
|
||||
"\21\4\u00c9\u00cb\3\2\2\2\u00ca\u00c0\3\2\2\2\u00ca\u00c3\3\2\2\2\u00ca"+
|
||||
"\u00c6\3\2\2\2\u00cb\u00ce\3\2\2\2\u00cc\u00ca\3\2\2\2\u00cc\u00cd\3\2"+
|
||||
"\2\2\u00cd!\3\2\2\2\u00ce\u00cc\3\2\2\2\u00cf\u00d1\7\13\2\2\u00d0\u00cf"+
|
||||
"\3\2\2\2\u00d0\u00d1\3\2\2\2\u00d1\u00d2\3\2\2\2\u00d2\u00d3\7\b\2\2\u00d3"+
|
||||
"\u00d4\7#\2\2\u00d4\u00d9\5\34\17\2\u00d5\u00d6\7 \2\2\u00d6\u00d8\5\34"+
|
||||
"\17\2\u00d7\u00d5\3\2\2\2\u00d8\u00db\3\2\2\2\u00d9\u00d7\3\2\2\2\u00d9"+
|
||||
"\u00da\3\2\2\2\u00da\u00dc\3\2\2\2\u00db\u00d9\3\2\2\2\u00dc\u00dd\7$"+
|
||||
"\2\2\u00dd#\3\2\2\2\u00de\u00e6\5(\25\2\u00df\u00e6\5&\24\2\u00e0\u00e6"+
|
||||
"\5.\30\2\u00e1\u00e2\7#\2\2\u00e2\u00e3\5\34\17\2\u00e3\u00e4\7$\2\2\u00e4"+
|
||||
"\u00e6\3\2\2\2\u00e5\u00de\3\2\2\2\u00e5\u00df\3\2\2\2\u00e5\u00e0\3\2"+
|
||||
"\2\2\u00e5\u00e1\3\2\2\2\u00e6%\3\2\2\2\u00e7\u00e8\7*\2\2\u00e8\u00f1"+
|
||||
"\7#\2\2\u00e9\u00ee\5\34\17\2\u00ea\u00eb\7 \2\2\u00eb\u00ed\5\34\17\2"+
|
||||
"\u00ec\u00ea\3\2\2\2\u00ed\u00f0\3\2\2\2\u00ee\u00ec\3\2\2\2\u00ee\u00ef"+
|
||||
"\3\2\2\2\u00ef\u00f2\3\2\2\2\u00f0\u00ee\3\2\2\2\u00f1\u00e9\3\2\2\2\u00f1"+
|
||||
"\u00f2\3\2\2\2\u00f2\u00f3\3\2\2\2\u00f3\u00f4\7$\2\2\u00f4\'\3\2\2\2"+
|
||||
"\u00f5\u00fa\7\f\2\2\u00f6\u00fa\5\64\33\2\u00f7\u00fa\5,\27\2\u00f8\u00fa"+
|
||||
"\5\66\34\2\u00f9\u00f5\3\2\2\2\u00f9\u00f6\3\2\2\2\u00f9\u00f7\3\2\2\2"+
|
||||
"\u00f9\u00f8\3\2\2\2\u00fa)\3\2\2\2\u00fb\u00fc\t\4\2\2\u00fc+\3\2\2\2"+
|
||||
"\u00fd\u00fe\t\5\2\2\u00fe-\3\2\2\2\u00ff\u010b\5\60\31\2\u0100\u0101"+
|
||||
"\7\37\2\2\u0101\u010a\5\60\31\2\u0102\u0104\7!\2\2\u0103\u0105\7(\2\2"+
|
||||
"\u0104\u0103\3\2\2\2\u0105\u0106\3\2\2\2\u0106\u0104\3\2\2\2\u0106\u0107"+
|
||||
"\3\2\2\2\u0107\u0108\3\2\2\2\u0108\u010a\7\"\2\2\u0109\u0100\3\2\2\2\u0109"+
|
||||
"\u0102\3\2\2\2\u010a\u010d\3\2\2\2\u010b\u0109\3\2\2\2\u010b\u010c\3\2"+
|
||||
"\2\2\u010c/\3\2\2\2\u010d\u010b\3\2\2\2\u010e\u010f\t\6\2\2\u010f\61\3"+
|
||||
"\2\2\2\u0110\u0112\5\64\33\2\u0111\u0113\7*\2\2\u0112\u0111\3\2\2\2\u0112"+
|
||||
"\u0113\3\2\2\2\u0113\63\3\2\2\2\u0114\u0117\7)\2\2\u0115\u0117\7(\2\2"+
|
||||
"\u0116\u0114\3\2\2\2\u0116\u0115\3\2\2\2\u0117\65\3\2\2\2\u0118\u0119"+
|
||||
"\7\'\2\2\u0119\67\3\2\2\2&BHRVX^bflpy|\u0084\u0089\u008f\u0091\u0094\u009c"+
|
||||
"\u00aa\u00b2\u00b4\u00ba\u00be\u00ca\u00cc\u00d0\u00d9\u00e5\u00ee\u00f1"+
|
||||
"\u00f9\u0106\u0109\u010b\u0112\u0116";
|
||||
public static final ATN _ATN =
|
||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||
static {
|
||||
|
|
|
@ -36,7 +36,7 @@ public class ExpressionTests extends ESTestCase {
|
|||
|
||||
private final EqlParser parser = new EqlParser();
|
||||
|
||||
public Expression expr(String source) {
|
||||
private Expression expr(String source) {
|
||||
return parser.createExpression(source);
|
||||
}
|
||||
|
||||
|
|
|
@ -24,10 +24,20 @@ public class LogicalPlanTests extends ESTestCase {
|
|||
|
||||
private final EqlParser parser = new EqlParser();
|
||||
|
||||
public Expression expr(String source) {
|
||||
private Expression expr(String source) {
|
||||
return parser.createExpression(source);
|
||||
}
|
||||
|
||||
public void testAnyQuery() {
|
||||
LogicalPlan fullQuery = parser.createStatement("any where process_name == 'net.exe'");
|
||||
Expression fullExpression = expr("process_name == 'net.exe'");
|
||||
|
||||
LogicalPlan filter = new Filter(Source.EMPTY, new UnresolvedRelation(Source.EMPTY, null, "", false, ""), fullExpression);
|
||||
Order order = new Order(Source.EMPTY, new UnresolvedAttribute(Source.EMPTY, "@timestamp"), OrderDirection.ASC, NullsPosition.FIRST);
|
||||
LogicalPlan expected = new OrderBy(Source.EMPTY, filter, singletonList(order));
|
||||
assertEquals(expected, fullQuery);
|
||||
}
|
||||
|
||||
public void testEventQuery() {
|
||||
LogicalPlan fullQuery = parser.createStatement("process where process_name == 'net.exe'");
|
||||
Expression fullExpression = expr("event.category == 'process' and process_name == 'net.exe'");
|
||||
|
|
Loading…
Reference in New Issue