Class InterfaceLexer
- java.lang.Object
-
- antlr.CharScanner
-
- org.antlr.stringtemplate.language.InterfaceLexer
-
- All Implemented Interfaces:
antlr.TokenStream
,InterfaceParserTokenTypes
public class InterfaceLexer extends antlr.CharScanner implements InterfaceParserTokenTypes, antlr.TokenStream
-
-
Field Summary
Fields Modifier and Type Field Description static antlr.collections.impl.BitSet
_tokenSet_0
-
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.antlr.stringtemplate.language.InterfaceParserTokenTypes
COLON, COMMA, EOF, ID, LITERAL_interface, LITERAL_optional, LPAREN, ML_COMMENT, NULL_TREE_LOOKAHEAD, RPAREN, SEMI, SL_COMMENT, WS
-
-
Constructor Summary
Constructors Constructor Description InterfaceLexer(antlr.InputBuffer ib)
InterfaceLexer(antlr.LexerSharedInputState state)
InterfaceLexer(java.io.InputStream in)
InterfaceLexer(java.io.Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mCOLON(boolean _createToken)
void
mCOMMA(boolean _createToken)
void
mID(boolean _createToken)
void
mLPAREN(boolean _createToken)
void
mML_COMMENT(boolean _createToken)
void
mRPAREN(boolean _createToken)
void
mSEMI(boolean _createToken)
void
mSL_COMMENT(boolean _createToken)
void
mWS(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
-
-
-
-
Method Detail
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException
- Specified by:
nextToken
in interfaceantlr.TokenStream
- Throws:
antlr.TokenStreamException
-
mID
public final void mID(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLPAREN
public final void mLPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRPAREN
public final void mRPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSEMI
public final void mSEMI(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCOLON
public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSL_COMMENT
public final void mSL_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mML_COMMENT
public final void mML_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mWS
public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
-