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_0static BitSet_tokenSet_1static BitSet_tokenSet_2static 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 voidmASSIGN(boolean _createToken)protected voidmDIGIT(boolean _createToken)protected voidmESC(boolean _createToken)voidmID(boolean _createToken)voidmINT(boolean _createToken)voidmLPAREN(boolean _createToken)voidmML_COMMENT(boolean _createToken)voidmRPAREN(boolean _createToken)voidmSL_COMMENT(boolean _createToken)voidmSTRING(boolean _createToken)voidmWS(boolean _createToken)protected voidmXDIGIT(boolean _createToken)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
-
-
-
-
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:
nextTokenin 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
-
-