Package liquibase.util.grammar
Class SimpleSqlGrammar
java.lang.Object
liquibase.util.grammar.SimpleSqlGrammar
- All Implemented Interfaces:
SimpleSqlGrammarConstants
An Simple SQL Grammar.
-
Field Summary
Modifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface liquibase.util.grammar.SimpleSqlGrammarConstants
COMPLEX_IDENTIFIER, D_QUOTED_STRING_HYBRID, DEFAULT, DIGIT, EMPTY_QUOTE, EOF, ESC_ANY_CHAR, ESC_D_QUOTE, ESC_S_QUOTE, FIRST_CHAR_SPECIAL_CHARS, LETTER, LINE_COMMENT, MULTI_LINE_COMMENT, S_CHAR_LITERAL, S_DOUBLE, S_IDENTIFIER, S_LONG, S_QUOTED_IDENTIFIER, S_QUOTED_STRING_HYBRID, SPECIAL_CHARS, SYMBOL, tokenImage, UNICODE_LETTERS, WHITESPACE
-
Constructor Summary
ConstructorDescriptionSimpleSqlGrammar
(InputStream stream) Constructor with InputStream.SimpleSqlGrammar
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingSimpleSqlGrammar
(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Disable tracing.final void
Enable tracing.Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final boolean
Trace enabled.
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
SimpleSqlGrammar
Constructor with InputStream. -
SimpleSqlGrammar
Constructor with InputStream and supplied encoding -
SimpleSqlGrammar
Constructor. -
SimpleSqlGrammar
Constructor with generated Token Manager.
-
-
Method Details
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-