scheme.parser
Class SchemeLexer
java.lang.Object
|
+--antlr.CharScanner
|
+--scheme.parser.SchemeLexer
- public class SchemeLexer
- extends antlr.CharScanner
- implements SchemeTokenTypes, antlr.TokenStream
Fields inherited from class antlr.CharScanner |
_returnToken,
caseSensitive,
caseSensitiveLiterals,
commitToPath,
EOF_CHAR,
hashString,
inputState,
literals,
NO_CHAR,
saveConsumedInput,
text,
tokenObjectClass,
traceDepth |
Fields inherited from interface scheme.parser.SchemeTokenTypes |
APP,
COMMENT,
DECL,
DOT,
EMPTY_LIST,
EOF,
EQ,
FALSE,
ID,
INT,
LEQ,
LESS,
LITERAL_begin,
LITERAL_car,
LITERAL_cdr,
LITERAL_cons,
LITERAL_if,
LITERAL_lambda,
LITERAL_let,
LITERAL_letrec,
LITERAL_not,
LITERAL_quote,
LITERAL_void,
LPAREN,
MINUS,
NULL_TREE_LOOKAHEAD,
PARAMS,
PLUS,
PRIM,
QUOTECHAR,
RPAREN,
TIMES,
TRUE,
WS |
Method Summary |
void |
mCOMMENT(boolean _createToken)
|
void |
mDOT(boolean _createToken)
|
void |
mEQ(boolean _createToken)
|
void |
mFALSE(boolean _createToken)
|
void |
mID(boolean _createToken)
|
void |
mINT(boolean _createToken)
|
void |
mLEQ(boolean _createToken)
|
void |
mLESS(boolean _createToken)
|
void |
mLPAREN(boolean _createToken)
|
void |
mMINUS(boolean _createToken)
|
void |
mPLUS(boolean _createToken)
|
void |
mQUOTECHAR(boolean _createToken)
|
void |
mRPAREN(boolean _createToken)
|
void |
mTIMES(boolean _createToken)
|
void |
mTRUE(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,
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,
traceIn,
traceIndent,
traceOut,
uponEOF |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
_tokenSet_0_data_
private static final long[] _tokenSet_0_data_
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
SchemeLexer
public SchemeLexer(java.io.InputStream in)
SchemeLexer
public SchemeLexer(java.io.Reader in)
SchemeLexer
public SchemeLexer(antlr.InputBuffer ib)
SchemeLexer
public SchemeLexer(antlr.LexerSharedInputState state)
nextToken
public antlr.Token nextToken()
throws antlr.TokenStreamException
- Specified by:
- nextToken in interface antlr.TokenStream
- Overrides:
- nextToken in class antlr.CharScanner
mTRUE
public final void mTRUE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mFALSE
public final void mFALSE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mLEQ
public final void mLEQ(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mQUOTECHAR
public final void mQUOTECHAR(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mLPAREN
public final void mLPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mRPAREN
public final void mRPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mMINUS
public final void mMINUS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mDOT
public final void mDOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mTIMES
public final void mTIMES(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mPLUS
public final void mPLUS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mLESS
public final void mLESS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mEQ
public final void mEQ(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mID
public final void mID(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mINT
public final void mINT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mWS
public final void mWS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
mCOMMENT
public final void mCOMMENT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException