Package antlr
Class ANTLRTokdefLexer
- java.lang.Object
-
- antlr.CharScanner
-
- antlr.ANTLRTokdefLexer
-
- All Implemented Interfaces:
ANTLRTokdefParserTokenTypes
,TokenStream
public class ANTLRTokdefLexer extends CharScanner implements ANTLRTokdefParserTokenTypes, TokenStream
-
-
Field Summary
Fields Modifier and Type Field Description static BitSet
_tokenSet_0
static BitSet
_tokenSet_1
static BitSet
_tokenSet_2
static BitSet
_tokenSet_3
-
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, NO_CHAR, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
-
Fields inherited from interface antlr.ANTLRTokdefParserTokenTypes
ASSIGN, DIGIT, EOF, ESC, ID, INT, LPAREN, ML_COMMENT, NULL_TREE_LOOKAHEAD, RPAREN, SL_COMMENT, STRING, WS, XDIGIT
-
-
Constructor Summary
Constructors Constructor Description ANTLRTokdefLexer(InputBuffer ib)
ANTLRTokdefLexer(LexerSharedInputState state)
ANTLRTokdefLexer(java.io.InputStream in)
ANTLRTokdefLexer(java.io.Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mASSIGN(boolean _createToken)
protected void
mDIGIT(boolean _createToken)
protected void
mESC(boolean _createToken)
void
mID(boolean _createToken)
void
mINT(boolean _createToken)
void
mLPAREN(boolean _createToken)
void
mML_COMMENT(boolean _createToken)
void
mRPAREN(boolean _createToken)
void
mSL_COMMENT(boolean _createToken)
void
mSTRING(boolean _createToken)
void
mWS(boolean _createToken)
protected void
mXDIGIT(boolean _createToken)
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
-
-
-
-
Constructor Detail
-
ANTLRTokdefLexer
public ANTLRTokdefLexer(java.io.InputStream in)
-
ANTLRTokdefLexer
public ANTLRTokdefLexer(java.io.Reader in)
-
ANTLRTokdefLexer
public ANTLRTokdefLexer(InputBuffer ib)
-
ANTLRTokdefLexer
public ANTLRTokdefLexer(LexerSharedInputState state)
-
-
Method Detail
-
nextToken
public Token nextToken() throws TokenStreamException
- Specified by:
nextToken
in interfaceTokenStream
- Throws:
TokenStreamException
-
mWS
public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mSL_COMMENT
public final void mSL_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mML_COMMENT
public final void mML_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mLPAREN
public final void mLPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mRPAREN
public final void mRPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mASSIGN
public final void mASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mSTRING
public final void mSTRING(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mESC
protected final void mESC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mDIGIT
protected final void mDIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mXDIGIT
protected final void mXDIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mID
public final void mID(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
mINT
public final void mINT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
-
-