Skip to content

Commit 9f671b7

Browse files
committed
Add StatementParserTests
1 parent 63099e4 commit 9f671b7

File tree

4 files changed

+1180
-1131
lines changed

4 files changed

+1180
-1131
lines changed

x-pack/plugin/esql/src/main/antlr/lexer/Lookup.g4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ DEV_LOOKUP : {this.isDevVersion()}? 'lookup_🐔' -> pushMode(LOOKUP_M
1313

1414
mode LOOKUP_MODE;
1515
LOOKUP_PIPE : PIPE -> type(PIPE), popMode;
16+
LOOKUP_RP : RP -> type(RP), popMode, popMode;
1617
LOOKUP_COLON : COLON -> type(COLON);
1718
LOOKUP_COMMA : COMMA -> type(COMMA);
1819
LOOKUP_DOT: DOT -> type(DOT);
@@ -35,6 +36,7 @@ LOOKUP_WS
3536

3637
mode LOOKUP_FIELD_MODE;
3738
LOOKUP_FIELD_PIPE : PIPE -> type(PIPE), popMode, popMode;
39+
LOOK_FIELD_RP : RP -> type(RP), popMode, popMode, popMode;
3840
LOOKUP_FIELD_COMMA : COMMA -> type(COMMA);
3941
LOOKUP_FIELD_DOT: DOT -> type(DOT);
4042

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)