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_0static antlr.collections.impl.BitSet_tokenSet_1static antlr.collections.impl.BitSet_tokenSet_2static antlr.collections.impl.BitSet_tokenSet_3static 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 voidmBLOCK_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+commentsvoidmCHAR(boolean _createToken)voidmDELIMITER(boolean _createToken)protected voidmESCqs(boolean _createToken)voidmLINE_COMMENT(boolean _createToken)voidmNEWLINE(boolean _createToken)voidmQUOTED_TEXT(boolean _createToken)voidmSPACE(boolean _createToken)voidmTAB(boolean _createToken)antlr.TokennextToken()-
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:
nextTokenin interfaceantlr.TokenStream- Throws:
antlr.TokenStreamException
-
mDELIMITER
public final void mDELIMITER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mQUOTED_TEXT
public final void mQUOTED_TEXT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mESCqs
protected final void mESCqs(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCHAR
public final void mCHAR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSPACE
public final void mSPACE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mTAB
public final void mTAB(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNEWLINE
public final void mNEWLINE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mLINE_COMMENT
public final void mLINE_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mBLOCK_COMMENT
public final void mBLOCK_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamExceptionNote : 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.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
-