public class SqlStatementParser extends antlr.LLkParser implements SqlStatementParserTokenTypes
Modifier and Type | Class and Description |
---|---|
class |
SqlStatementParser.StatementParserException |
Modifier and Type | Field and Description |
---|---|
static String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
EOF, ESCqs, LINE_COMMENT, MULTILINE_COMMENT, NOT_STMT_END, NULL_TREE_LOOKAHEAD, QUOTED_STRING, STMT_END
Modifier | Constructor and Description |
---|---|
|
SqlStatementParser(antlr.ParserSharedInputState state) |
|
SqlStatementParser(antlr.TokenBuffer tokenBuf) |
protected |
SqlStatementParser(antlr.TokenBuffer tokenBuf,
int k) |
|
SqlStatementParser(antlr.TokenStream lexer) |
protected |
SqlStatementParser(antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getStatementList() |
protected void |
out(String stmt) |
protected void |
out(antlr.Token token) |
void |
reportError(antlr.RecognitionException e) |
void |
reportError(String s) |
void |
reportWarning(String s) |
void |
script() |
void |
statement() |
protected void |
statementEnd() |
void |
throwExceptionIfErrorOccurred() |
addMessageListener, 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, traceIndent
public static final String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
protected SqlStatementParser(antlr.TokenBuffer tokenBuf, int k)
public SqlStatementParser(antlr.TokenBuffer tokenBuf)
protected SqlStatementParser(antlr.TokenStream lexer, int k)
public SqlStatementParser(antlr.TokenStream lexer)
public SqlStatementParser(antlr.ParserSharedInputState state)
public void reportError(antlr.RecognitionException e)
reportError
in class antlr.Parser
public void reportError(String s)
reportError
in class antlr.Parser
public void reportWarning(String s)
reportWarning
in class antlr.Parser
public void throwExceptionIfErrorOccurred()
protected void out(String stmt)
protected void out(antlr.Token token)
protected void statementEnd()
public final void script() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void statement() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.