at.dms.compiler.tools.lexgen
Class LexgenLexer
java.lang.Object
at.dms.compiler.tools.antlr.runtime.CharScanner
at.dms.compiler.tools.lexgen.LexgenLexer
- All Implemented Interfaces:
- TokenStream, LexgenLexerTokenTypes
public class LexgenLexer
- extends CharScanner
- implements LexgenLexerTokenTypes, TokenStream
Fields inherited from class at.dms.compiler.tools.antlr.runtime.CharScanner |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, text, tokenObjectClass |
Fields inherited from interface at.dms.compiler.tools.lexgen.LexgenLexerTokenTypes |
DOT, DUMMY, EOF, ESC, HEX_DIGIT, IDENT, ML_COMMENT, NULL_TREE_LOOKAHEAD, OCT_DIGIT, SHARP, SL_COMMENT, STRING, VOCAB, WS |
Method Summary |
void |
mDOT(boolean _createToken)
|
void |
mDUMMY(boolean _createToken)
|
protected void |
mESC(boolean _createToken)
|
protected void |
mHEX_DIGIT(boolean _createToken)
|
void |
mIDENT(boolean _createToken)
|
void |
mML_COMMENT(boolean _createToken)
|
protected void |
mOCT_DIGIT(boolean _createToken)
|
void |
mSHARP(boolean _createToken)
|
void |
mSL_COMMENT(boolean _createToken)
|
void |
mSTRING(boolean _createToken)
|
protected void |
mVOCAB(boolean _createToken)
|
void |
mWS(boolean _createToken)
|
Token |
nextToken()
|
Methods inherited from class at.dms.compiler.tools.antlr.runtime.CharScanner |
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, uponEOF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tokenSet_0
public static final BitSet _tokenSet_0
_tokenSet_1
public static final BitSet _tokenSet_1
_tokenSet_2
public static final BitSet _tokenSet_2
_tokenSet_3
public static final BitSet _tokenSet_3
LexgenLexer
public LexgenLexer(InputStream in)
LexgenLexer
public LexgenLexer(Reader in)
LexgenLexer
public LexgenLexer(InputBuffer ib)
LexgenLexer
public LexgenLexer(LexerSharedInputState state)
nextToken
public Token nextToken()
throws TokenStreamException
- Specified by:
nextToken
in interface TokenStream
- Throws:
TokenStreamException
mWS
public final void mWS(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mDOT
public final void mDOT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mSHARP
public final void mSHARP(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mSL_COMMENT
public final void mSL_COMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mML_COMMENT
public final void mML_COMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mSTRING
public final void mSTRING(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mESC
protected final void mESC(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mOCT_DIGIT
protected final void mOCT_DIGIT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mHEX_DIGIT
protected final void mHEX_DIGIT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mIDENT
public final void mIDENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mDUMMY
public final void mDUMMY(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException
mVOCAB
protected final void mVOCAB(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
- Throws:
RecognitionException
CharStreamException
TokenStreamException