Skip to content

Commit e0e299f

Browse files
authored
chore: sync grammars (#34)
1 parent 6bfd53f commit e0e299f

34 files changed

Lines changed: 2892 additions & 2790 deletions

src/parser/antlr/esql_lexer.interp

Lines changed: 6 additions & 3 deletions
Large diffs are not rendered by default.

src/parser/antlr/esql_lexer.tokens

Lines changed: 214 additions & 212 deletions
Large diffs are not rendered by default.

src/parser/antlr/esql_lexer.ts

Lines changed: 1012 additions & 1001 deletions
Large diffs are not rendered by default.

src/parser/antlr/esql_parser.g4

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* 2.0; you may not use this file except in compliance with the Elastic License
77
* 2.0.
88
*/
9-
109
parser grammar esql_parser;
1110

1211
@header {
@@ -16,7 +15,6 @@ parser grammar esql_parser;
1615
* 2.0; you may not use this file except in compliance with the Elastic License
1716
* 2.0.
1817
*/
19-
2018
}
2119

2220
options {
@@ -75,6 +73,7 @@ processingCommand
7573
| fuseCommand
7674
| uriPartsCommand
7775
| metricsInfoCommand
76+
| registeredDomainCommand
7877
// in development
7978
| {this.isDevVersion()}? lookupCommand
8079
| {this.isDevVersion()}? insistCommand
@@ -110,7 +109,7 @@ timeSeriesCommand
110109
;
111110

112111
externalCommand
113-
: EXTERNAL stringOrParameter commandNamedParameters
112+
: DEV_EXTERNAL stringOrParameter commandNamedParameters
114113
;
115114

116115
indexPatternAndMetadataFields
@@ -378,6 +377,10 @@ uriPartsCommand
378377
: URI_PARTS qualifiedName ASSIGN primaryExpression
379378
;
380379

380+
registeredDomainCommand
381+
: REGISTERED_DOMAIN qualifiedName ASSIGN primaryExpression
382+
;
383+
381384
setCommand
382385
: SET setField SEMICOLON
383386
;

src/parser/antlr/esql_parser.interp

Lines changed: 5 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)