dt-sql-parser 4.0.0-beta.4.6 → 4.0.0-beta.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/flinksql/FlinkSqlLexer.d.ts +0 -1
- package/dist/lib/flinksql/FlinkSqlLexer.js +2611 -2622
- package/dist/lib/flinksql/FlinkSqlLexer.js.map +1 -1
- package/dist/lib/flinksql/FlinkSqlParser.d.ts +4 -13
- package/dist/lib/flinksql/FlinkSqlParser.js +2606 -2628
- package/dist/lib/flinksql/FlinkSqlParser.js.map +1 -1
- package/dist/lib/flinksql/FlinkSqlParserListener.d.ts +0 -13
- package/dist/lib/flinksql/FlinkSqlParserListener.js +1 -1
- package/dist/lib/flinksql/FlinkSqlParserListener.js.map +1 -1
- package/dist/lib/flinksql/FlinkSqlParserVisitor.d.ts +0 -8
- package/dist/lib/flinksql/FlinkSqlParserVisitor.js +1 -1
- package/dist/lib/flinksql/FlinkSqlParserVisitor.js.map +1 -1
- package/dist/parser/common/basic-parser-types.d.ts +5 -1
- package/dist/parser/common/basic-parser-types.js +4 -0
- package/dist/parser/common/basic-parser-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,6 @@ import { ValueExpressionDefaultContext } from "./FlinkSqlParser";
|
|
|
6
6
|
import { ArithmeticUnaryContext } from "./FlinkSqlParser";
|
|
7
7
|
import { ArithmeticBinaryContext } from "./FlinkSqlParser";
|
|
8
8
|
import { ComparisonContext } from "./FlinkSqlParser";
|
|
9
|
-
import { ArithmeticBinaryAlternateContext } from "./FlinkSqlParser";
|
|
10
9
|
import { SearchedCaseContext } from "./FlinkSqlParser";
|
|
11
10
|
import { SimpleCaseContext } from "./FlinkSqlParser";
|
|
12
11
|
import { CastContext } from "./FlinkSqlParser";
|
|
@@ -308,18 +307,6 @@ export interface FlinkSqlParserListener extends ParseTreeListener {
|
|
|
308
307
|
* @param ctx the parse tree
|
|
309
308
|
*/
|
|
310
309
|
exitComparison?: (ctx: ComparisonContext) => void;
|
|
311
|
-
/**
|
|
312
|
-
* Enter a parse tree produced by the `arithmeticBinaryAlternate`
|
|
313
|
-
* labeled alternative in `FlinkSqlParser.valueExpression`.
|
|
314
|
-
* @param ctx the parse tree
|
|
315
|
-
*/
|
|
316
|
-
enterArithmeticBinaryAlternate?: (ctx: ArithmeticBinaryAlternateContext) => void;
|
|
317
|
-
/**
|
|
318
|
-
* Exit a parse tree produced by the `arithmeticBinaryAlternate`
|
|
319
|
-
* labeled alternative in `FlinkSqlParser.valueExpression`.
|
|
320
|
-
* @param ctx the parse tree
|
|
321
|
-
*/
|
|
322
|
-
exitArithmeticBinaryAlternate?: (ctx: ArithmeticBinaryAlternateContext) => void;
|
|
323
310
|
/**
|
|
324
311
|
* Enter a parse tree produced by the `searchedCase`
|
|
325
312
|
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
// Generated from /Users/
|
|
1
|
+
// Generated from /Users/liuyi/Desktop/Projects/dtstack/dt-sql-parser/src/grammar/flinksql/FlinkSqlParser.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
2
2
|
export {};
|
|
3
3
|
//# sourceMappingURL=FlinkSqlParserListener.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlinkSqlParserListener.js","sourceRoot":"","sources":["../../../src/lib/flinksql/FlinkSqlParserListener.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"FlinkSqlParserListener.js","sourceRoot":"","sources":["../../../src/lib/flinksql/FlinkSqlParserListener.ts"],"names":[],"mappings":"AAAA,oIAAoI"}
|
|
@@ -6,7 +6,6 @@ import { ValueExpressionDefaultContext } from "./FlinkSqlParser";
|
|
|
6
6
|
import { ArithmeticUnaryContext } from "./FlinkSqlParser";
|
|
7
7
|
import { ArithmeticBinaryContext } from "./FlinkSqlParser";
|
|
8
8
|
import { ComparisonContext } from "./FlinkSqlParser";
|
|
9
|
-
import { ArithmeticBinaryAlternateContext } from "./FlinkSqlParser";
|
|
10
9
|
import { SearchedCaseContext } from "./FlinkSqlParser";
|
|
11
10
|
import { SimpleCaseContext } from "./FlinkSqlParser";
|
|
12
11
|
import { CastContext } from "./FlinkSqlParser";
|
|
@@ -276,13 +275,6 @@ export interface FlinkSqlParserVisitor<Result> extends ParseTreeVisitor<Result>
|
|
|
276
275
|
* @return the visitor result
|
|
277
276
|
*/
|
|
278
277
|
visitComparison?: (ctx: ComparisonContext) => Result;
|
|
279
|
-
/**
|
|
280
|
-
* Visit a parse tree produced by the `arithmeticBinaryAlternate`
|
|
281
|
-
* labeled alternative in `FlinkSqlParser.valueExpression`.
|
|
282
|
-
* @param ctx the parse tree
|
|
283
|
-
* @return the visitor result
|
|
284
|
-
*/
|
|
285
|
-
visitArithmeticBinaryAlternate?: (ctx: ArithmeticBinaryAlternateContext) => Result;
|
|
286
278
|
/**
|
|
287
279
|
* Visit a parse tree produced by the `searchedCase`
|
|
288
280
|
* labeled alternative in `FlinkSqlParser.primaryExpression`.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
// Generated from /Users/
|
|
1
|
+
// Generated from /Users/liuyi/Desktop/Projects/dtstack/dt-sql-parser/src/grammar/flinksql/FlinkSqlParser.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
2
2
|
export {};
|
|
3
3
|
//# sourceMappingURL=FlinkSqlParserVisitor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlinkSqlParserVisitor.js","sourceRoot":"","sources":["../../../src/lib/flinksql/FlinkSqlParserVisitor.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"FlinkSqlParserVisitor.js","sourceRoot":"","sources":["../../../src/lib/flinksql/FlinkSqlParserVisitor.ts"],"names":[],"mappings":"AAAA,oIAAoI"}
|
|
@@ -35,7 +35,11 @@ export declare enum SyntaxContextType {
|
|
|
35
35
|
/** procedure name */
|
|
36
36
|
PROCEDURE = "procedure",
|
|
37
37
|
/** procedure name that will be created */
|
|
38
|
-
PROCEDURE_CREATE = "procedureCreate"
|
|
38
|
+
PROCEDURE_CREATE = "procedureCreate",
|
|
39
|
+
/** column name */
|
|
40
|
+
COLUMN = "column",
|
|
41
|
+
/** column name that will be created */
|
|
42
|
+
COLUMN_CREATE = "columnCreate"
|
|
39
43
|
}
|
|
40
44
|
export interface WordRange {
|
|
41
45
|
/** content of word */
|
|
@@ -27,5 +27,9 @@ export var SyntaxContextType;
|
|
|
27
27
|
SyntaxContextType["PROCEDURE"] = "procedure";
|
|
28
28
|
/** procedure name that will be created */
|
|
29
29
|
SyntaxContextType["PROCEDURE_CREATE"] = "procedureCreate";
|
|
30
|
+
/** column name */
|
|
31
|
+
SyntaxContextType["COLUMN"] = "column";
|
|
32
|
+
/** column name that will be created */
|
|
33
|
+
SyntaxContextType["COLUMN_CREATE"] = "columnCreate";
|
|
30
34
|
})(SyntaxContextType || (SyntaxContextType = {}));
|
|
31
35
|
//# sourceMappingURL=basic-parser-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-parser-types.js","sourceRoot":"","sources":["../../../src/parser/common/basic-parser-types.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"basic-parser-types.js","sourceRoot":"","sources":["../../../src/parser/common/basic-parser-types.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,MAAM,CAAN,IAAY,iBA6BX;AA7BD,WAAY,iBAAiB;IACzB,mBAAmB;IACnB,wCAAmB,CAAA;IACnB,yCAAyC;IACzC,qDAAgC,CAAA;IAChC,6CAA6C;IAC7C,0CAAqB,CAAA;IACrB,+CAA+C;IAC/C,uDAAkC,CAAA;IAClC,6CAA6C;IAC7C,oCAAe,CAAA;IACf,2CAA2C;IAC3C,iDAA4B,CAAA;IAC5B,yCAAyC;IACzC,kCAAa,CAAA;IACb,0CAA0C;IAC1C,+CAA0B,CAAA;IAC1B,oBAAoB;IACpB,0CAAqB,CAAA;IACrB,yCAAyC;IACzC,uDAAkC,CAAA;IAClC,qBAAqB;IACrB,4CAAuB,CAAA;IACvB,0CAA0C;IAC1C,yDAAoC,CAAA;IACpC,kBAAkB;IAClB,sCAAiB,CAAA;IACjB,uCAAuC;IACvC,mDAA8B,CAAA;AAClC,CAAC,EA7BW,iBAAiB,KAAjB,iBAAiB,QA6B5B"}
|