dt-sql-parser 4.3.2-beta.0 → 4.3.2-beta.2

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.
@@ -128,6 +128,8 @@ import { AfterMatchStrategyContext } from "./FlinkSqlParser.js";
128
128
  import { PatternVariablesDefinitionContext } from "./FlinkSqlParser.js";
129
129
  import { WindowFrameContext } from "./FlinkSqlParser.js";
130
130
  import { FrameBoundContext } from "./FlinkSqlParser.js";
131
+ import { FrameStartContext } from "./FlinkSqlParser.js";
132
+ import { FrameEndContext } from "./FlinkSqlParser.js";
131
133
  import { WithinClauseContext } from "./FlinkSqlParser.js";
132
134
  import { ExpressionContext } from "./FlinkSqlParser.js";
133
135
  import { LogicalNotContext } from "./FlinkSqlParser.js";
@@ -148,14 +150,17 @@ import { ColumnReferenceContext } from "./FlinkSqlParser.js";
148
150
  import { LastContext } from "./FlinkSqlParser.js";
149
151
  import { StarContext } from "./FlinkSqlParser.js";
150
152
  import { SubscriptContext } from "./FlinkSqlParser.js";
153
+ import { JsonValueContext } from "./FlinkSqlParser.js";
151
154
  import { SubqueryExpressionContext } from "./FlinkSqlParser.js";
152
155
  import { CastContext } from "./FlinkSqlParser.js";
153
156
  import { ConstantDefaultContext } from "./FlinkSqlParser.js";
154
157
  import { ParenthesizedExpressionContext } from "./FlinkSqlParser.js";
158
+ import { ExtractContext } from "./FlinkSqlParser.js";
155
159
  import { FunctionCallContext } from "./FlinkSqlParser.js";
156
160
  import { SearchedCaseContext } from "./FlinkSqlParser.js";
157
161
  import { PositionContext } from "./FlinkSqlParser.js";
158
162
  import { FirstContext } from "./FlinkSqlParser.js";
163
+ import { JsonValueExpressionContext } from "./FlinkSqlParser.js";
159
164
  import { FunctionNameCreateContext } from "./FlinkSqlParser.js";
160
165
  import { FunctionNameContext } from "./FlinkSqlParser.js";
161
166
  import { FunctionNameAndParamsContext } from "./FlinkSqlParser.js";
@@ -1515,6 +1520,26 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
1515
1520
  * @param ctx the parse tree
1516
1521
  */
1517
1522
  exitFrameBound?: (ctx: FrameBoundContext) => void;
1523
+ /**
1524
+ * Enter a parse tree produced by `FlinkSqlParser.frameStart`.
1525
+ * @param ctx the parse tree
1526
+ */
1527
+ enterFrameStart?: (ctx: FrameStartContext) => void;
1528
+ /**
1529
+ * Exit a parse tree produced by `FlinkSqlParser.frameStart`.
1530
+ * @param ctx the parse tree
1531
+ */
1532
+ exitFrameStart?: (ctx: FrameStartContext) => void;
1533
+ /**
1534
+ * Enter a parse tree produced by `FlinkSqlParser.frameEnd`.
1535
+ * @param ctx the parse tree
1536
+ */
1537
+ enterFrameEnd?: (ctx: FrameEndContext) => void;
1538
+ /**
1539
+ * Exit a parse tree produced by `FlinkSqlParser.frameEnd`.
1540
+ * @param ctx the parse tree
1541
+ */
1542
+ exitFrameEnd?: (ctx: FrameEndContext) => void;
1518
1543
  /**
1519
1544
  * Enter a parse tree produced by `FlinkSqlParser.withinClause`.
1520
1545
  * @param ctx the parse tree
@@ -1745,6 +1770,18 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
1745
1770
  * @param ctx the parse tree
1746
1771
  */
1747
1772
  exitSubscript?: (ctx: SubscriptContext) => void;
1773
+ /**
1774
+ * Enter a parse tree produced by the `jsonValue`
1775
+ * labeled alternative in `FlinkSqlParser.primaryExpression`.
1776
+ * @param ctx the parse tree
1777
+ */
1778
+ enterJsonValue?: (ctx: JsonValueContext) => void;
1779
+ /**
1780
+ * Exit a parse tree produced by the `jsonValue`
1781
+ * labeled alternative in `FlinkSqlParser.primaryExpression`.
1782
+ * @param ctx the parse tree
1783
+ */
1784
+ exitJsonValue?: (ctx: JsonValueContext) => void;
1748
1785
  /**
1749
1786
  * Enter a parse tree produced by the `subqueryExpression`
1750
1787
  * labeled alternative in `FlinkSqlParser.primaryExpression`.
@@ -1793,6 +1830,18 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
1793
1830
  * @param ctx the parse tree
1794
1831
  */
1795
1832
  exitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void;
1833
+ /**
1834
+ * Enter a parse tree produced by the `extract`
1835
+ * labeled alternative in `FlinkSqlParser.primaryExpression`.
1836
+ * @param ctx the parse tree
1837
+ */
1838
+ enterExtract?: (ctx: ExtractContext) => void;
1839
+ /**
1840
+ * Exit a parse tree produced by the `extract`
1841
+ * labeled alternative in `FlinkSqlParser.primaryExpression`.
1842
+ * @param ctx the parse tree
1843
+ */
1844
+ exitExtract?: (ctx: ExtractContext) => void;
1796
1845
  /**
1797
1846
  * Enter a parse tree produced by the `functionCall`
1798
1847
  * labeled alternative in `FlinkSqlParser.primaryExpression`.
@@ -1841,6 +1890,16 @@ export declare class FlinkSqlParserListener implements ParseTreeListener {
1841
1890
  * @param ctx the parse tree
1842
1891
  */
1843
1892
  exitFirst?: (ctx: FirstContext) => void;
1893
+ /**
1894
+ * Enter a parse tree produced by `FlinkSqlParser.jsonValueExpression`.
1895
+ * @param ctx the parse tree
1896
+ */
1897
+ enterJsonValueExpression?: (ctx: JsonValueExpressionContext) => void;
1898
+ /**
1899
+ * Exit a parse tree produced by `FlinkSqlParser.jsonValueExpression`.
1900
+ * @param ctx the parse tree
1901
+ */
1902
+ exitJsonValueExpression?: (ctx: JsonValueExpressionContext) => void;
1844
1903
  /**
1845
1904
  * Enter a parse tree produced by `FlinkSqlParser.functionNameCreate`.
1846
1905
  * @param ctx the parse tree
@@ -128,6 +128,8 @@ import { AfterMatchStrategyContext } from "./FlinkSqlParser.js";
128
128
  import { PatternVariablesDefinitionContext } from "./FlinkSqlParser.js";
129
129
  import { WindowFrameContext } from "./FlinkSqlParser.js";
130
130
  import { FrameBoundContext } from "./FlinkSqlParser.js";
131
+ import { FrameStartContext } from "./FlinkSqlParser.js";
132
+ import { FrameEndContext } from "./FlinkSqlParser.js";
131
133
  import { WithinClauseContext } from "./FlinkSqlParser.js";
132
134
  import { ExpressionContext } from "./FlinkSqlParser.js";
133
135
  import { LogicalNotContext } from "./FlinkSqlParser.js";
@@ -148,14 +150,17 @@ import { ColumnReferenceContext } from "./FlinkSqlParser.js";
148
150
  import { LastContext } from "./FlinkSqlParser.js";
149
151
  import { StarContext } from "./FlinkSqlParser.js";
150
152
  import { SubscriptContext } from "./FlinkSqlParser.js";
153
+ import { JsonValueContext } from "./FlinkSqlParser.js";
151
154
  import { SubqueryExpressionContext } from "./FlinkSqlParser.js";
152
155
  import { CastContext } from "./FlinkSqlParser.js";
153
156
  import { ConstantDefaultContext } from "./FlinkSqlParser.js";
154
157
  import { ParenthesizedExpressionContext } from "./FlinkSqlParser.js";
158
+ import { ExtractContext } from "./FlinkSqlParser.js";
155
159
  import { FunctionCallContext } from "./FlinkSqlParser.js";
156
160
  import { SearchedCaseContext } from "./FlinkSqlParser.js";
157
161
  import { PositionContext } from "./FlinkSqlParser.js";
158
162
  import { FirstContext } from "./FlinkSqlParser.js";
163
+ import { JsonValueExpressionContext } from "./FlinkSqlParser.js";
159
164
  import { FunctionNameCreateContext } from "./FlinkSqlParser.js";
160
165
  import { FunctionNameContext } from "./FlinkSqlParser.js";
161
166
  import { FunctionNameAndParamsContext } from "./FlinkSqlParser.js";
@@ -1000,6 +1005,18 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
1000
1005
  * @return the visitor result
1001
1006
  */
1002
1007
  visitFrameBound?: (ctx: FrameBoundContext) => Result;
1008
+ /**
1009
+ * Visit a parse tree produced by `FlinkSqlParser.frameStart`.
1010
+ * @param ctx the parse tree
1011
+ * @return the visitor result
1012
+ */
1013
+ visitFrameStart?: (ctx: FrameStartContext) => Result;
1014
+ /**
1015
+ * Visit a parse tree produced by `FlinkSqlParser.frameEnd`.
1016
+ * @param ctx the parse tree
1017
+ * @return the visitor result
1018
+ */
1019
+ visitFrameEnd?: (ctx: FrameEndContext) => Result;
1003
1020
  /**
1004
1021
  * Visit a parse tree produced by `FlinkSqlParser.withinClause`.
1005
1022
  * @param ctx the parse tree
@@ -1135,6 +1152,13 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
1135
1152
  * @return the visitor result
1136
1153
  */
1137
1154
  visitSubscript?: (ctx: SubscriptContext) => Result;
1155
+ /**
1156
+ * Visit a parse tree produced by the `jsonValue`
1157
+ * labeled alternative in `FlinkSqlParser.primaryExpression`.
1158
+ * @param ctx the parse tree
1159
+ * @return the visitor result
1160
+ */
1161
+ visitJsonValue?: (ctx: JsonValueContext) => Result;
1138
1162
  /**
1139
1163
  * Visit a parse tree produced by the `subqueryExpression`
1140
1164
  * labeled alternative in `FlinkSqlParser.primaryExpression`.
@@ -1163,6 +1187,13 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
1163
1187
  * @return the visitor result
1164
1188
  */
1165
1189
  visitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => Result;
1190
+ /**
1191
+ * Visit a parse tree produced by the `extract`
1192
+ * labeled alternative in `FlinkSqlParser.primaryExpression`.
1193
+ * @param ctx the parse tree
1194
+ * @return the visitor result
1195
+ */
1196
+ visitExtract?: (ctx: ExtractContext) => Result;
1166
1197
  /**
1167
1198
  * Visit a parse tree produced by the `functionCall`
1168
1199
  * labeled alternative in `FlinkSqlParser.primaryExpression`.
@@ -1191,6 +1222,12 @@ export declare class FlinkSqlParserVisitor<Result> extends AbstractParseTreeVisi
1191
1222
  * @return the visitor result
1192
1223
  */
1193
1224
  visitFirst?: (ctx: FirstContext) => Result;
1225
+ /**
1226
+ * Visit a parse tree produced by `FlinkSqlParser.jsonValueExpression`.
1227
+ * @param ctx the parse tree
1228
+ * @return the visitor result
1229
+ */
1230
+ visitJsonValueExpression?: (ctx: JsonValueExpressionContext) => Result;
1194
1231
  /**
1195
1232
  * Visit a parse tree produced by `FlinkSqlParser.functionNameCreate`.
1196
1233
  * @param ctx the parse tree
@@ -7370,6 +7370,7 @@ export declare class PrimaryExpressionContext extends antlr.ParserRuleContext {
7370
7370
  row(i: number): RowContext | null;
7371
7371
  KW_OVERLAPS(): antlr.TerminalNode | null;
7372
7372
  columnNamePath(): ColumnNamePathContext | null;
7373
+ qualifiedName(): QualifiedNameContext | null;
7373
7374
  primaryExpression(): PrimaryExpressionContext[];
7374
7375
  primaryExpression(i: number): PrimaryExpressionContext | null;
7375
7376
  PLUS(): antlr.TerminalNode | null;