Package org.hibernate.tool.schema.ast
Class SqlScriptLexer
- java.lang.Object
-
- antlr.CharScanner
-
- org.hibernate.tool.schema.ast.SqlScriptLexer
-
- All Implemented Interfaces:
antlr.TokenStream
,GeneratedSqlScriptParserTokenTypes
public class SqlScriptLexer extends antlr.CharScanner implements GeneratedSqlScriptParserTokenTypes, antlr.TokenStream
-
-
Field Summary
Fields Modifier and Type Field Description static antlr.collections.impl.BitSet
_tokenSet_0
static antlr.collections.impl.BitSet
_tokenSet_1
static antlr.collections.impl.BitSet
_tokenSet_2
static antlr.collections.impl.BitSet
_tokenSet_3
static antlr.collections.impl.BitSet
_tokenSet_4
-
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
-
Fields inherited from interface org.hibernate.tool.schema.ast.GeneratedSqlScriptParserTokenTypes
BLOCK_COMMENT, CHAR, DELIMITER, EOF, ESCqs, LINE_COMMENT, NEWLINE, NULL_TREE_LOOKAHEAD, QUOTED_TEXT, SPACE, TAB
-
-
Constructor Summary
Constructors Constructor Description SqlScriptLexer(antlr.InputBuffer ib)
SqlScriptLexer(antlr.LexerSharedInputState state)
SqlScriptLexer(java.io.InputStream in)
SqlScriptLexer(java.io.Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mBLOCK_COMMENT(boolean _createToken)
Note : this comes from the great Terence Parr (author of Antlr) - https://theantlrguy.atlassian.net/wiki/spaces/ANTLR3/pages/2687360/How+do+I+match+multi-line+commentsvoid
mCHAR(boolean _createToken)
void
mDELIMITER(boolean _createToken)
protected void
mESCqs(boolean _createToken)
void
mLINE_COMMENT(boolean _createToken)
void
mNEWLINE(boolean _createToken)
void
mQUOTED_TEXT(boolean _createToken)
void
mSPACE(boolean _createToken)
void
mTAB(boolean _createToken)
antlr.Token
nextToken()
-
Methods inherited from class antlr.CharScanner
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setTabSize, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF
-
-
-
-
Field Detail
-
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
-
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
-
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
-
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
-
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
-
-
Method Detail
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException
- Specified by:
nextToken
in interfaceantlr.TokenStream
- Throws:
antlr.TokenStreamException
-
mDELIMITER
public final void mDELIMITER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mQUOTED_TEXT
public final void mQUOTED_TEXT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mESCqs
protected final void mESCqs(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCHAR
public final void mCHAR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSPACE
public final void mSPACE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mTAB
public final void mTAB(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mNEWLINE
public final void mNEWLINE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLINE_COMMENT
public final void mLINE_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mBLOCK_COMMENT
public final void mBLOCK_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
Note : this comes from the great Terence Parr (author of Antlr) - https://theantlrguy.atlassian.net/wiki/spaces/ANTLR3/pages/2687360/How+do+I+match+multi-line+comments- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
-