dt-sql-parser
Advanced tools
Comparing version 4.1.0 to 4.1.1-beta.0
@@ -143,2 +143,3 @@ import { AbstractParseTreeVisitor } from "antlr4ng"; | ||
import { ArithmeticUnaryContext } from "./FlinkSqlParser.js"; | ||
import { FunctionCallExpressionContext } from "./FlinkSqlParser.js"; | ||
import { DereferenceContext } from "./FlinkSqlParser.js"; | ||
@@ -157,6 +158,7 @@ import { SimpleCaseContext } from "./FlinkSqlParser.js"; | ||
import { PositionContext } from "./FlinkSqlParser.js"; | ||
import { DateFunctionExpressionContext } from "./FlinkSqlParser.js"; | ||
import { FirstContext } from "./FlinkSqlParser.js"; | ||
import { FunctionNameCreateContext } from "./FlinkSqlParser.js"; | ||
import { FunctionNameContext } from "./FlinkSqlParser.js"; | ||
import { FunctionNameAndParamsContext } from "./FlinkSqlParser.js"; | ||
import { FunctionNameWithParamsContext } from "./FlinkSqlParser.js"; | ||
import { FunctionParamContext } from "./FlinkSqlParser.js"; | ||
@@ -214,2 +216,4 @@ import { DereferenceDefinitionContext } from "./FlinkSqlParser.js"; | ||
import { ReservedKeywordsUsedAsFuncParamContext } from "./FlinkSqlParser.js"; | ||
import { ReservedKeywordsNoParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js"; | ||
import { ReservedKeywordsFollowParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js"; | ||
import { ReservedKeywordsUsedAsFuncNameContext } from "./FlinkSqlParser.js"; | ||
@@ -1083,2 +1087,8 @@ import { NonReservedKeywordsContext } from "./FlinkSqlParser.js"; | ||
/** | ||
* Visit a parse tree produced by `FlinkSqlParser.functionCallExpression`. | ||
* @param ctx the parse tree | ||
* @return the visitor result | ||
*/ | ||
visitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => Result; | ||
/** | ||
* Visit a parse tree produced by the `dereference` | ||
@@ -1175,9 +1185,2 @@ * labeled alternative in `FlinkSqlParser.primaryExpression`. | ||
/** | ||
* Visit a parse tree produced by the `dateFunctionExpression` | ||
* labeled alternative in `FlinkSqlParser.primaryExpression`. | ||
* @param ctx the parse tree | ||
* @return the visitor result | ||
*/ | ||
visitDateFunctionExpression?: (ctx: DateFunctionExpressionContext) => Result; | ||
/** | ||
* Visit a parse tree produced by the `first` | ||
@@ -1202,2 +1205,14 @@ * labeled alternative in `FlinkSqlParser.primaryExpression`. | ||
/** | ||
* Visit a parse tree produced by `FlinkSqlParser.functionNameAndParams`. | ||
* @param ctx the parse tree | ||
* @return the visitor result | ||
*/ | ||
visitFunctionNameAndParams?: (ctx: FunctionNameAndParamsContext) => Result; | ||
/** | ||
* Visit a parse tree produced by `FlinkSqlParser.functionNameWithParams`. | ||
* @param ctx the parse tree | ||
* @return the visitor result | ||
*/ | ||
visitFunctionNameWithParams?: (ctx: FunctionNameWithParamsContext) => Result; | ||
/** | ||
* Visit a parse tree produced by `FlinkSqlParser.functionParam`. | ||
@@ -1520,2 +1535,14 @@ * @param ctx the parse tree | ||
/** | ||
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsNoParamsUsedAsFuncName`. | ||
* @param ctx the parse tree | ||
* @return the visitor result | ||
*/ | ||
visitReservedKeywordsNoParamsUsedAsFuncName?: (ctx: ReservedKeywordsNoParamsUsedAsFuncNameContext) => Result; | ||
/** | ||
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsFollowParamsUsedAsFuncName`. | ||
* @param ctx the parse tree | ||
* @return the visitor result | ||
*/ | ||
visitReservedKeywordsFollowParamsUsedAsFuncName?: (ctx: ReservedKeywordsFollowParamsUsedAsFuncNameContext) => Result; | ||
/** | ||
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsUsedAsFuncName`. | ||
@@ -1522,0 +1549,0 @@ * @param ctx the parse tree |
@@ -21,2 +21,5 @@ import { FlinkSqlLexer } from '../../lib/flink/FlinkSqlLexer'; | ||
FlinkSqlParser.RULE_functionName, // functionName | ||
FlinkSqlParser.RULE_functionNameWithParams, // functionName | ||
FlinkSqlParser.RULE_reservedKeywordsFollowParamsUsedAsFuncName, // functionName | ||
FlinkSqlParser.RULE_reservedKeywordsNoParamsUsedAsFuncName, // functionName | ||
FlinkSqlParser.RULE_functionNameCreate, // functionName that will be created | ||
@@ -80,3 +83,6 @@ FlinkSqlParser.RULE_columnName, | ||
} | ||
case FlinkSqlParser.RULE_functionName: { | ||
case FlinkSqlParser.RULE_functionName: | ||
case FlinkSqlParser.RULE_functionNameWithParams: | ||
case FlinkSqlParser.RULE_reservedKeywordsFollowParamsUsedAsFuncName: | ||
case FlinkSqlParser.RULE_reservedKeywordsNoParamsUsedAsFuncName: { | ||
syntaxContextType = EntityContextType.FUNCTION; | ||
@@ -83,0 +89,0 @@ break; |
{ | ||
"name": "dt-sql-parser", | ||
"version": "4.1.0", | ||
"version": "4.1.1-beta.0", | ||
"authors": "DTStack Corporation", | ||
@@ -5,0 +5,0 @@ "description": "SQL Parsers for BigData, built with antlr4", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
453571
0
19263264
145
2