-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ES|QL] pull in multi-file grammars (#212430)
- Loading branch information
1 parent
443fd5b
commit 2435a17
Showing
4 changed files
with
19 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{ | ||
"name": "@kbn/esql-ast", | ||
"version": "1.0.0", | ||
"private": true, | ||
"license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0", | ||
"scripts": { | ||
"build:antlr4:esql": "antlr -Dlanguage=TypeScript src/antlr/esql_lexer.g4 src/antlr/esql_parser.g4 && node ./scripts/fix_generated_antlr.js && node ./scripts/esql_update_ast_script.js", | ||
"prebuild:antlr4": "brew bundle --file=./scripts/antlr4_tools/brewfile", | ||
"build:antlr4": "npm run build:antlr4:esql" | ||
}, | ||
"sideEffects": false | ||
} | ||
"name": "@kbn/esql-ast", | ||
"version": "1.0.0", | ||
"private": true, | ||
"license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0", | ||
"scripts": { | ||
"build:antlr4:esql:parser": "antlr -Dlanguage=TypeScript -lib src/antlr/parser src/antlr/esql_parser.g4", | ||
"build:antlr4:esql:lexer": "antlr -Dlanguage=TypeScript -lib src/antlr/lexer src/antlr/esql_lexer.g4", | ||
"build:antlr4:esql": "npm run build:antlr4:esql:parser && npm run build:antlr4:esql:lexer", | ||
"prebuild:antlr4": "brew bundle --file=./scripts/antlr4_tools/brewfile", | ||
"build:antlr4": "npm run build:antlr4:esql" | ||
}, | ||
"sideEffects": false | ||
} |
117 changes: 0 additions & 117 deletions
117
src/platform/packages/shared/kbn-esql-ast/scripts/esql_update_ast_script.js
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
src/platform/packages/shared/kbn-esql-ast/scripts/fix_generated_antlr.js
This file was deleted.
Oops, something went wrong.