Fix/split listener (#228)
* feat: improve FlinkSqlSplitListener * feat: improve ImpalaSqlSplitListener * feat: improve MysqlSplitListener * fix: correct PgSqlSplitListener * feat: improve TrinoSqlSplitListener * test: add split listener unit test * chore: ignore iml file * feat: add pgsql missing rules * test: fix pgsql unit tests
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -36,8 +36,7 @@ import { PredicatedContext } from "./FlinkSqlParser";
|
||||
import { LogicalBinaryContext } from "./FlinkSqlParser";
|
||||
import { LogicalNestedContext } from "./FlinkSqlParser";
|
||||
import { ProgramContext } from "./FlinkSqlParser";
|
||||
import { StatementContext } from "./FlinkSqlParser";
|
||||
import { SqlStatementsContext } from "./FlinkSqlParser";
|
||||
import { SingleStatementContext } from "./FlinkSqlParser";
|
||||
import { SqlStatementContext } from "./FlinkSqlParser";
|
||||
import { EmptyStatementContext } from "./FlinkSqlParser";
|
||||
import { DdlStatementContext } from "./FlinkSqlParser";
|
||||
@ -659,26 +658,15 @@ export interface FlinkSqlParserListener extends ParseTreeListener {
|
||||
exitProgram?: (ctx: ProgramContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `FlinkSqlParser.statement`.
|
||||
* Enter a parse tree produced by `FlinkSqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterStatement?: (ctx: StatementContext) => void;
|
||||
enterSingleStatement?: (ctx: SingleStatementContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `FlinkSqlParser.statement`.
|
||||
* Exit a parse tree produced by `FlinkSqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitStatement?: (ctx: StatementContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `FlinkSqlParser.sqlStatements`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterSqlStatements?: (ctx: SqlStatementsContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `FlinkSqlParser.sqlStatements`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitSqlStatements?: (ctx: SqlStatementsContext) => void;
|
||||
exitSingleStatement?: (ctx: SingleStatementContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `FlinkSqlParser.sqlStatement`.
|
||||
|
||||
@ -36,8 +36,7 @@ import { PredicatedContext } from "./FlinkSqlParser";
|
||||
import { LogicalBinaryContext } from "./FlinkSqlParser";
|
||||
import { LogicalNestedContext } from "./FlinkSqlParser";
|
||||
import { ProgramContext } from "./FlinkSqlParser";
|
||||
import { StatementContext } from "./FlinkSqlParser";
|
||||
import { SqlStatementsContext } from "./FlinkSqlParser";
|
||||
import { SingleStatementContext } from "./FlinkSqlParser";
|
||||
import { SqlStatementContext } from "./FlinkSqlParser";
|
||||
import { EmptyStatementContext } from "./FlinkSqlParser";
|
||||
import { DdlStatementContext } from "./FlinkSqlParser";
|
||||
@ -498,18 +497,11 @@ export interface FlinkSqlParserVisitor<Result> extends ParseTreeVisitor<Result>
|
||||
visitProgram?: (ctx: ProgramContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `FlinkSqlParser.statement`.
|
||||
* Visit a parse tree produced by `FlinkSqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitStatement?: (ctx: StatementContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `FlinkSqlParser.sqlStatements`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitSqlStatements?: (ctx: SqlStatementsContext) => Result;
|
||||
visitSingleStatement?: (ctx: SingleStatementContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `FlinkSqlParser.sqlStatement`.
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -77,9 +77,7 @@ import { PredicatedContext } from "./ImpalaSqlParser";
|
||||
import { LogicalNotContext } from "./ImpalaSqlParser";
|
||||
import { LogicalBinaryContext } from "./ImpalaSqlParser";
|
||||
import { ProgramContext } from "./ImpalaSqlParser";
|
||||
import { StatementContext } from "./ImpalaSqlParser";
|
||||
import { SqlStatementsContext } from "./ImpalaSqlParser";
|
||||
import { EmptyStatementContext } from "./ImpalaSqlParser";
|
||||
import { SingleStatementContext } from "./ImpalaSqlParser";
|
||||
import { SqlStatementContext } from "./ImpalaSqlParser";
|
||||
import { UseStatementContext } from "./ImpalaSqlParser";
|
||||
import { CreateStatementContext } from "./ImpalaSqlParser";
|
||||
@ -1228,37 +1226,15 @@ export interface ImpalaSqlParserListener extends ParseTreeListener {
|
||||
exitProgram?: (ctx: ProgramContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `ImpalaSqlParser.statement`.
|
||||
* Enter a parse tree produced by `ImpalaSqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterStatement?: (ctx: StatementContext) => void;
|
||||
enterSingleStatement?: (ctx: SingleStatementContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `ImpalaSqlParser.statement`.
|
||||
* Exit a parse tree produced by `ImpalaSqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitStatement?: (ctx: StatementContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `ImpalaSqlParser.sqlStatements`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterSqlStatements?: (ctx: SqlStatementsContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `ImpalaSqlParser.sqlStatements`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitSqlStatements?: (ctx: SqlStatementsContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `ImpalaSqlParser.emptyStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterEmptyStatement?: (ctx: EmptyStatementContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `ImpalaSqlParser.emptyStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitEmptyStatement?: (ctx: EmptyStatementContext) => void;
|
||||
exitSingleStatement?: (ctx: SingleStatementContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `ImpalaSqlParser.sqlStatement`.
|
||||
|
||||
@ -77,9 +77,7 @@ import { PredicatedContext } from "./ImpalaSqlParser";
|
||||
import { LogicalNotContext } from "./ImpalaSqlParser";
|
||||
import { LogicalBinaryContext } from "./ImpalaSqlParser";
|
||||
import { ProgramContext } from "./ImpalaSqlParser";
|
||||
import { StatementContext } from "./ImpalaSqlParser";
|
||||
import { SqlStatementsContext } from "./ImpalaSqlParser";
|
||||
import { EmptyStatementContext } from "./ImpalaSqlParser";
|
||||
import { SingleStatementContext } from "./ImpalaSqlParser";
|
||||
import { SqlStatementContext } from "./ImpalaSqlParser";
|
||||
import { UseStatementContext } from "./ImpalaSqlParser";
|
||||
import { CreateStatementContext } from "./ImpalaSqlParser";
|
||||
@ -862,25 +860,11 @@ export interface ImpalaSqlParserVisitor<Result> extends ParseTreeVisitor<Result>
|
||||
visitProgram?: (ctx: ProgramContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `ImpalaSqlParser.statement`.
|
||||
* Visit a parse tree produced by `ImpalaSqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitStatement?: (ctx: StatementContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `ImpalaSqlParser.sqlStatements`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitSqlStatements?: (ctx: SqlStatementsContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `ImpalaSqlParser.emptyStatement`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitEmptyStatement?: (ctx: EmptyStatementContext) => Result;
|
||||
visitSingleStatement?: (ctx: SingleStatementContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `ImpalaSqlParser.sqlStatement`.
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -301,7 +301,7 @@ import { DetailRevokeContext } from "./MySqlParser";
|
||||
import { ShortRevokeContext } from "./MySqlParser";
|
||||
import { ProxyAndRoleRevokeContext } from "./MySqlParser";
|
||||
import { ProgramContext } from "./MySqlParser";
|
||||
import { SqlStatementsContext } from "./MySqlParser";
|
||||
import { SingleStatementContext } from "./MySqlParser";
|
||||
import { SqlStatementContext } from "./MySqlParser";
|
||||
import { EmptyStatement_Context } from "./MySqlParser";
|
||||
import { DdlStatementContext } from "./MySqlParser";
|
||||
@ -4600,15 +4600,15 @@ export interface MySqlParserListener extends ParseTreeListener {
|
||||
exitProgram?: (ctx: ProgramContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `MySqlParser.sqlStatements`.
|
||||
* Enter a parse tree produced by `MySqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterSqlStatements?: (ctx: SqlStatementsContext) => void;
|
||||
enterSingleStatement?: (ctx: SingleStatementContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `MySqlParser.sqlStatements`.
|
||||
* Exit a parse tree produced by `MySqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitSqlStatements?: (ctx: SqlStatementsContext) => void;
|
||||
exitSingleStatement?: (ctx: SingleStatementContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `MySqlParser.sqlStatement`.
|
||||
|
||||
@ -301,7 +301,7 @@ import { DetailRevokeContext } from "./MySqlParser";
|
||||
import { ShortRevokeContext } from "./MySqlParser";
|
||||
import { ProxyAndRoleRevokeContext } from "./MySqlParser";
|
||||
import { ProgramContext } from "./MySqlParser";
|
||||
import { SqlStatementsContext } from "./MySqlParser";
|
||||
import { SingleStatementContext } from "./MySqlParser";
|
||||
import { SqlStatementContext } from "./MySqlParser";
|
||||
import { EmptyStatement_Context } from "./MySqlParser";
|
||||
import { DdlStatementContext } from "./MySqlParser";
|
||||
@ -3114,11 +3114,11 @@ export interface MySqlParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
||||
visitProgram?: (ctx: ProgramContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `MySqlParser.sqlStatements`.
|
||||
* Visit a parse tree produced by `MySqlParser.singleStatement`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitSqlStatements?: (ctx: SqlStatementsContext) => Result;
|
||||
visitSingleStatement?: (ctx: SingleStatementContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `MySqlParser.sqlStatement`.
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -544,48 +544,50 @@ KW_COMPRESSION=543
|
||||
KW_PLAIN=544
|
||||
KW_EXTENDED=545
|
||||
KW_MAIN=546
|
||||
Identifier=547
|
||||
QuotedIdentifier=548
|
||||
UnterminatedQuotedIdentifier=549
|
||||
InvalidQuotedIdentifier=550
|
||||
InvalidUnterminatedQuotedIdentifier=551
|
||||
UnicodeQuotedIdentifier=552
|
||||
UnterminatedUnicodeQuotedIdentifier=553
|
||||
InvalidUnicodeQuotedIdentifier=554
|
||||
InvalidUnterminatedUnicodeQuotedIdentifier=555
|
||||
StringConstant=556
|
||||
UnterminatedStringConstant=557
|
||||
UnicodeEscapeStringConstant=558
|
||||
UnterminatedUnicodeEscapeStringConstant=559
|
||||
BeginDollarStringConstant=560
|
||||
BinaryStringConstant=561
|
||||
UnterminatedBinaryStringConstant=562
|
||||
InvalidBinaryStringConstant=563
|
||||
InvalidUnterminatedBinaryStringConstant=564
|
||||
HexadecimalStringConstant=565
|
||||
UnterminatedHexadecimalStringConstant=566
|
||||
InvalidHexadecimalStringConstant=567
|
||||
InvalidUnterminatedHexadecimalStringConstant=568
|
||||
Integral=569
|
||||
NumericFail=570
|
||||
Numeric=571
|
||||
PLSQLVARIABLENAME=572
|
||||
PLSQLIDENTIFIER=573
|
||||
Whitespace=574
|
||||
Newline=575
|
||||
LineComment=576
|
||||
BlockComment=577
|
||||
UnterminatedBlockComment=578
|
||||
MetaCommand=579
|
||||
EndMetaCommand=580
|
||||
ErrorCharacter=581
|
||||
EscapeStringConstant=582
|
||||
UnterminatedEscapeStringConstant=583
|
||||
InvalidEscapeStringConstant=584
|
||||
InvalidUnterminatedEscapeStringConstant=585
|
||||
DollarText=586
|
||||
EndDollarStringConstant=587
|
||||
AfterEscapeStringConstantWithNewlineMode_Continued=588
|
||||
KW_SKIP_LOCKED=547
|
||||
KW_BUFFER_USAGE_LIMIT=548
|
||||
Identifier=549
|
||||
QuotedIdentifier=550
|
||||
UnterminatedQuotedIdentifier=551
|
||||
InvalidQuotedIdentifier=552
|
||||
InvalidUnterminatedQuotedIdentifier=553
|
||||
UnicodeQuotedIdentifier=554
|
||||
UnterminatedUnicodeQuotedIdentifier=555
|
||||
InvalidUnicodeQuotedIdentifier=556
|
||||
InvalidUnterminatedUnicodeQuotedIdentifier=557
|
||||
StringConstant=558
|
||||
UnterminatedStringConstant=559
|
||||
UnicodeEscapeStringConstant=560
|
||||
UnterminatedUnicodeEscapeStringConstant=561
|
||||
BeginDollarStringConstant=562
|
||||
BinaryStringConstant=563
|
||||
UnterminatedBinaryStringConstant=564
|
||||
InvalidBinaryStringConstant=565
|
||||
InvalidUnterminatedBinaryStringConstant=566
|
||||
HexadecimalStringConstant=567
|
||||
UnterminatedHexadecimalStringConstant=568
|
||||
InvalidHexadecimalStringConstant=569
|
||||
InvalidUnterminatedHexadecimalStringConstant=570
|
||||
Integral=571
|
||||
NumericFail=572
|
||||
Numeric=573
|
||||
PLSQLVARIABLENAME=574
|
||||
PLSQLIDENTIFIER=575
|
||||
Whitespace=576
|
||||
Newline=577
|
||||
LineComment=578
|
||||
BlockComment=579
|
||||
UnterminatedBlockComment=580
|
||||
MetaCommand=581
|
||||
EndMetaCommand=582
|
||||
ErrorCharacter=583
|
||||
EscapeStringConstant=584
|
||||
UnterminatedEscapeStringConstant=585
|
||||
InvalidEscapeStringConstant=586
|
||||
InvalidUnterminatedEscapeStringConstant=587
|
||||
DollarText=588
|
||||
EndDollarStringConstant=589
|
||||
AfterEscapeStringConstantWithNewlineMode_Continued=590
|
||||
'$'=1
|
||||
'('=2
|
||||
')'=3
|
||||
@ -1130,5 +1132,7 @@ AfterEscapeStringConstantWithNewlineMode_Continued=588
|
||||
'PLAIN'=544
|
||||
'EXTENDED'=545
|
||||
'MAIN'=546
|
||||
'\\\\'=580
|
||||
'\''=588
|
||||
'SKIP_LOCKED'=547
|
||||
'BUFFER_USAGE_LIMIT'=548
|
||||
'\\\\'=582
|
||||
'\''=590
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -544,48 +544,50 @@ KW_COMPRESSION=543
|
||||
KW_PLAIN=544
|
||||
KW_EXTENDED=545
|
||||
KW_MAIN=546
|
||||
Identifier=547
|
||||
QuotedIdentifier=548
|
||||
UnterminatedQuotedIdentifier=549
|
||||
InvalidQuotedIdentifier=550
|
||||
InvalidUnterminatedQuotedIdentifier=551
|
||||
UnicodeQuotedIdentifier=552
|
||||
UnterminatedUnicodeQuotedIdentifier=553
|
||||
InvalidUnicodeQuotedIdentifier=554
|
||||
InvalidUnterminatedUnicodeQuotedIdentifier=555
|
||||
StringConstant=556
|
||||
UnterminatedStringConstant=557
|
||||
UnicodeEscapeStringConstant=558
|
||||
UnterminatedUnicodeEscapeStringConstant=559
|
||||
BeginDollarStringConstant=560
|
||||
BinaryStringConstant=561
|
||||
UnterminatedBinaryStringConstant=562
|
||||
InvalidBinaryStringConstant=563
|
||||
InvalidUnterminatedBinaryStringConstant=564
|
||||
HexadecimalStringConstant=565
|
||||
UnterminatedHexadecimalStringConstant=566
|
||||
InvalidHexadecimalStringConstant=567
|
||||
InvalidUnterminatedHexadecimalStringConstant=568
|
||||
Integral=569
|
||||
NumericFail=570
|
||||
Numeric=571
|
||||
PLSQLVARIABLENAME=572
|
||||
PLSQLIDENTIFIER=573
|
||||
Whitespace=574
|
||||
Newline=575
|
||||
LineComment=576
|
||||
BlockComment=577
|
||||
UnterminatedBlockComment=578
|
||||
MetaCommand=579
|
||||
EndMetaCommand=580
|
||||
ErrorCharacter=581
|
||||
EscapeStringConstant=582
|
||||
UnterminatedEscapeStringConstant=583
|
||||
InvalidEscapeStringConstant=584
|
||||
InvalidUnterminatedEscapeStringConstant=585
|
||||
DollarText=586
|
||||
EndDollarStringConstant=587
|
||||
AfterEscapeStringConstantWithNewlineMode_Continued=588
|
||||
KW_SKIP_LOCKED=547
|
||||
KW_BUFFER_USAGE_LIMIT=548
|
||||
Identifier=549
|
||||
QuotedIdentifier=550
|
||||
UnterminatedQuotedIdentifier=551
|
||||
InvalidQuotedIdentifier=552
|
||||
InvalidUnterminatedQuotedIdentifier=553
|
||||
UnicodeQuotedIdentifier=554
|
||||
UnterminatedUnicodeQuotedIdentifier=555
|
||||
InvalidUnicodeQuotedIdentifier=556
|
||||
InvalidUnterminatedUnicodeQuotedIdentifier=557
|
||||
StringConstant=558
|
||||
UnterminatedStringConstant=559
|
||||
UnicodeEscapeStringConstant=560
|
||||
UnterminatedUnicodeEscapeStringConstant=561
|
||||
BeginDollarStringConstant=562
|
||||
BinaryStringConstant=563
|
||||
UnterminatedBinaryStringConstant=564
|
||||
InvalidBinaryStringConstant=565
|
||||
InvalidUnterminatedBinaryStringConstant=566
|
||||
HexadecimalStringConstant=567
|
||||
UnterminatedHexadecimalStringConstant=568
|
||||
InvalidHexadecimalStringConstant=569
|
||||
InvalidUnterminatedHexadecimalStringConstant=570
|
||||
Integral=571
|
||||
NumericFail=572
|
||||
Numeric=573
|
||||
PLSQLVARIABLENAME=574
|
||||
PLSQLIDENTIFIER=575
|
||||
Whitespace=576
|
||||
Newline=577
|
||||
LineComment=578
|
||||
BlockComment=579
|
||||
UnterminatedBlockComment=580
|
||||
MetaCommand=581
|
||||
EndMetaCommand=582
|
||||
ErrorCharacter=583
|
||||
EscapeStringConstant=584
|
||||
UnterminatedEscapeStringConstant=585
|
||||
InvalidEscapeStringConstant=586
|
||||
InvalidUnterminatedEscapeStringConstant=587
|
||||
DollarText=588
|
||||
EndDollarStringConstant=589
|
||||
AfterEscapeStringConstantWithNewlineMode_Continued=590
|
||||
'$'=1
|
||||
'('=2
|
||||
')'=3
|
||||
@ -1130,5 +1132,7 @@ AfterEscapeStringConstantWithNewlineMode_Continued=588
|
||||
'PLAIN'=544
|
||||
'EXTENDED'=545
|
||||
'MAIN'=546
|
||||
'\\\\'=580
|
||||
'\''=588
|
||||
'SKIP_LOCKED'=547
|
||||
'BUFFER_USAGE_LIMIT'=548
|
||||
'\\\\'=582
|
||||
'\''=590
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -15,7 +15,7 @@ import { In_expr_selectContext } from "./PostgreSQLParser";
|
||||
import { In_expr_listContext } from "./PostgreSQLParser";
|
||||
import { ProgramContext } from "./PostgreSQLParser";
|
||||
import { PlsqlrootContext } from "./PostgreSQLParser";
|
||||
import { StmtmultiContext } from "./PostgreSQLParser";
|
||||
import { SingleStmtContext } from "./PostgreSQLParser";
|
||||
import { StmtContext } from "./PostgreSQLParser";
|
||||
import { PlsqlconsolecommandContext } from "./PostgreSQLParser";
|
||||
import { CallstmtContext } from "./PostgreSQLParser";
|
||||
@ -466,7 +466,11 @@ import { Vac_analyze_option_elemContext } from "./PostgreSQLParser";
|
||||
import { Vac_analyze_option_nameContext } from "./PostgreSQLParser";
|
||||
import { Vac_analyze_option_argContext } from "./PostgreSQLParser";
|
||||
import { Opt_analyzeContext } from "./PostgreSQLParser";
|
||||
import { Analyze_options_listContext } from "./PostgreSQLParser";
|
||||
import { Analyze_option_elemContext } from "./PostgreSQLParser";
|
||||
import { Opt_verboseContext } from "./PostgreSQLParser";
|
||||
import { Opt_skiplockContext } from "./PostgreSQLParser";
|
||||
import { Opt_buffer_usage_limitContext } from "./PostgreSQLParser";
|
||||
import { Opt_fullContext } from "./PostgreSQLParser";
|
||||
import { Opt_freezeContext } from "./PostgreSQLParser";
|
||||
import { Opt_name_listContext } from "./PostgreSQLParser";
|
||||
@ -538,6 +542,7 @@ import { SortbyContext } from "./PostgreSQLParser";
|
||||
import { Select_limitContext } from "./PostgreSQLParser";
|
||||
import { Opt_select_limitContext } from "./PostgreSQLParser";
|
||||
import { Limit_clauseContext } from "./PostgreSQLParser";
|
||||
import { Fetch_clauseContext } from "./PostgreSQLParser";
|
||||
import { Offset_clauseContext } from "./PostgreSQLParser";
|
||||
import { Select_limit_valueContext } from "./PostgreSQLParser";
|
||||
import { Select_offset_valueContext } from "./PostgreSQLParser";
|
||||
@ -1043,15 +1048,15 @@ export interface PostgreSQLParserListener extends ParseTreeListener {
|
||||
exitPlsqlroot?: (ctx: PlsqlrootContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.stmtmulti`.
|
||||
* Enter a parse tree produced by `PostgreSQLParser.singleStmt`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterStmtmulti?: (ctx: StmtmultiContext) => void;
|
||||
enterSingleStmt?: (ctx: SingleStmtContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `PostgreSQLParser.stmtmulti`.
|
||||
* Exit a parse tree produced by `PostgreSQLParser.singleStmt`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitStmtmulti?: (ctx: StmtmultiContext) => void;
|
||||
exitSingleStmt?: (ctx: SingleStmtContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.stmt`.
|
||||
@ -6003,6 +6008,28 @@ export interface PostgreSQLParserListener extends ParseTreeListener {
|
||||
*/
|
||||
exitOpt_analyze?: (ctx: Opt_analyzeContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.analyze_options_list`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterAnalyze_options_list?: (ctx: Analyze_options_listContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `PostgreSQLParser.analyze_options_list`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitAnalyze_options_list?: (ctx: Analyze_options_listContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.analyze_option_elem`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterAnalyze_option_elem?: (ctx: Analyze_option_elemContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `PostgreSQLParser.analyze_option_elem`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitAnalyze_option_elem?: (ctx: Analyze_option_elemContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.opt_verbose`.
|
||||
* @param ctx the parse tree
|
||||
@ -6014,6 +6041,28 @@ export interface PostgreSQLParserListener extends ParseTreeListener {
|
||||
*/
|
||||
exitOpt_verbose?: (ctx: Opt_verboseContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.opt_skiplock`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterOpt_skiplock?: (ctx: Opt_skiplockContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `PostgreSQLParser.opt_skiplock`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitOpt_skiplock?: (ctx: Opt_skiplockContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.opt_buffer_usage_limit`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterOpt_buffer_usage_limit?: (ctx: Opt_buffer_usage_limitContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `PostgreSQLParser.opt_buffer_usage_limit`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitOpt_buffer_usage_limit?: (ctx: Opt_buffer_usage_limitContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.opt_full`.
|
||||
* @param ctx the parse tree
|
||||
@ -6795,6 +6844,17 @@ export interface PostgreSQLParserListener extends ParseTreeListener {
|
||||
*/
|
||||
exitLimit_clause?: (ctx: Limit_clauseContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.fetch_clause`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
enterFetch_clause?: (ctx: Fetch_clauseContext) => void;
|
||||
/**
|
||||
* Exit a parse tree produced by `PostgreSQLParser.fetch_clause`.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
exitFetch_clause?: (ctx: Fetch_clauseContext) => void;
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by `PostgreSQLParser.offset_clause`.
|
||||
* @param ctx the parse tree
|
||||
|
||||
@ -15,7 +15,7 @@ import { In_expr_selectContext } from "./PostgreSQLParser";
|
||||
import { In_expr_listContext } from "./PostgreSQLParser";
|
||||
import { ProgramContext } from "./PostgreSQLParser";
|
||||
import { PlsqlrootContext } from "./PostgreSQLParser";
|
||||
import { StmtmultiContext } from "./PostgreSQLParser";
|
||||
import { SingleStmtContext } from "./PostgreSQLParser";
|
||||
import { StmtContext } from "./PostgreSQLParser";
|
||||
import { PlsqlconsolecommandContext } from "./PostgreSQLParser";
|
||||
import { CallstmtContext } from "./PostgreSQLParser";
|
||||
@ -466,7 +466,11 @@ import { Vac_analyze_option_elemContext } from "./PostgreSQLParser";
|
||||
import { Vac_analyze_option_nameContext } from "./PostgreSQLParser";
|
||||
import { Vac_analyze_option_argContext } from "./PostgreSQLParser";
|
||||
import { Opt_analyzeContext } from "./PostgreSQLParser";
|
||||
import { Analyze_options_listContext } from "./PostgreSQLParser";
|
||||
import { Analyze_option_elemContext } from "./PostgreSQLParser";
|
||||
import { Opt_verboseContext } from "./PostgreSQLParser";
|
||||
import { Opt_skiplockContext } from "./PostgreSQLParser";
|
||||
import { Opt_buffer_usage_limitContext } from "./PostgreSQLParser";
|
||||
import { Opt_fullContext } from "./PostgreSQLParser";
|
||||
import { Opt_freezeContext } from "./PostgreSQLParser";
|
||||
import { Opt_name_listContext } from "./PostgreSQLParser";
|
||||
@ -538,6 +542,7 @@ import { SortbyContext } from "./PostgreSQLParser";
|
||||
import { Select_limitContext } from "./PostgreSQLParser";
|
||||
import { Opt_select_limitContext } from "./PostgreSQLParser";
|
||||
import { Limit_clauseContext } from "./PostgreSQLParser";
|
||||
import { Fetch_clauseContext } from "./PostgreSQLParser";
|
||||
import { Offset_clauseContext } from "./PostgreSQLParser";
|
||||
import { Select_limit_valueContext } from "./PostgreSQLParser";
|
||||
import { Select_offset_valueContext } from "./PostgreSQLParser";
|
||||
@ -988,11 +993,11 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
|
||||
visitPlsqlroot?: (ctx: PlsqlrootContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.stmtmulti`.
|
||||
* Visit a parse tree produced by `PostgreSQLParser.singleStmt`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitStmtmulti?: (ctx: StmtmultiContext) => Result;
|
||||
visitSingleStmt?: (ctx: SingleStmtContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.stmt`.
|
||||
@ -4144,6 +4149,20 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
|
||||
*/
|
||||
visitOpt_analyze?: (ctx: Opt_analyzeContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.analyze_options_list`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitAnalyze_options_list?: (ctx: Analyze_options_listContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.analyze_option_elem`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitAnalyze_option_elem?: (ctx: Analyze_option_elemContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.opt_verbose`.
|
||||
* @param ctx the parse tree
|
||||
@ -4151,6 +4170,20 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
|
||||
*/
|
||||
visitOpt_verbose?: (ctx: Opt_verboseContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.opt_skiplock`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitOpt_skiplock?: (ctx: Opt_skiplockContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.opt_buffer_usage_limit`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitOpt_buffer_usage_limit?: (ctx: Opt_buffer_usage_limitContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.opt_full`.
|
||||
* @param ctx the parse tree
|
||||
@ -4648,6 +4681,13 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
|
||||
*/
|
||||
visitLimit_clause?: (ctx: Limit_clauseContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.fetch_clause`.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
visitFetch_clause?: (ctx: Fetch_clauseContext) => Result;
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by `PostgreSQLParser.offset_clause`.
|
||||
* @param ctx the parse tree
|
||||
|
||||
Reference in New Issue
Block a user