public class SqlScriptParser extends GeneratedSqlScriptParser
_tokenNames, _tokenSet_0, _tokenSet_1, _tokenSet_2, _tokenSet_3, _tokenSet_4, _tokenSet_5astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMapBLOCK_COMMENT, CHAR, DELIMITER, EOF, ESCqs, LINE_COMMENT, NEWLINE, NULL_TREE_LOOKAHEAD, QUOTED_TEXT, SPACE, TAB| Constructor and Description |
|---|
SqlScriptParser(Consumer<String> commandConsumer,
antlr.TokenStream lexer) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildErrorMessage() |
static List<String> |
extractCommands(Reader reader) |
protected void |
out(String text)
Semantic action outputting text to the current statement buffer
|
protected void |
out(antlr.Token token)
Semantic action outputting a token to the current statement buffer
|
void |
reportError(antlr.RecognitionException e) |
void |
reportError(String message) |
void |
reportWarning(String message) |
protected void |
statementEnded()
Semantic action signifying the end of a statement (delimiter recognized)
|
protected void |
statementStarted() |
void |
traceIn(String ruleName) |
void |
traceOut(String ruleName) |
afterStatementPartNewline, blankSpacesToSkip, newLineToSkip, nonSkippedChar, nonSkippedSpace, nonSkippedTab, quotedString, script, skip, spaceToSkip, statement, statementFirstPart, statementPart, tabToSkipaddMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndentprotected void out(String text)
out in class GeneratedSqlScriptParserprotected void out(antlr.Token token)
out in class GeneratedSqlScriptParserprotected void statementStarted()
statementStarted in class GeneratedSqlScriptParserprotected void statementEnded()
statementEnded in class GeneratedSqlScriptParserpublic String buildErrorMessage()
public void reportError(antlr.RecognitionException e)
reportError in class antlr.Parserpublic void reportError(String message)
reportError in class antlr.Parserpublic void reportWarning(String message)
reportWarning in class antlr.Parserpublic void traceIn(String ruleName)
traceIn in class antlr.LLkParserpublic void traceOut(String ruleName)
traceOut in class antlr.LLkParserCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.