infovis.graph.io
Class VCGLexer
java.lang.Object
antlr.CharScanner
infovis.graph.io.VCGLexer
- All Implemented Interfaces:
- antlr.TokenStream, VCGTokenTypes
public class VCGLexer
- extends antlr.CharScanner
- implements VCGTokenTypes, antlr.TokenStream
Lexer for the VCG Graph format.
- Author:
- Jean-Daniel Fekete
Fields inherited from class antlr.CharScanner |
EOF_CHAR |
Fields inherited from interface infovis.graph.io.VCGTokenTypes |
COLON, DIGIT, EOF, ESC, FLOAT, ID, INTEGER, LCUR, LITERAL_backedge, LITERAL_bentnearedge, LITERAL_classname, LITERAL_colorentry, LITERAL_edge, LITERAL_graph, LITERAL_infoname, LITERAL_loc, LITERAL_nearedge, LITERAL_no_nearedges, LITERAL_node, LITERAL_title, LITERAL_x, LITERAL_y, ML_COMMENT, NULL_TREE_LOOKAHEAD, RCUR, SL_COMMENT, WS |
Method Summary |
void |
mCOLON(boolean _createToken)
|
void |
mFLOAT(boolean _createToken)
|
void |
mID(boolean _createToken)
|
void |
mINTEGER(boolean _createToken)
|
void |
mLCUR(boolean _createToken)
|
void |
mML_COMMENT(boolean _createToken)
|
void |
mRCUR(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, 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 |
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
VCGLexer
public VCGLexer(InputStream in)
VCGLexer
public VCGLexer(Reader in)
VCGLexer
public VCGLexer(antlr.InputBuffer ib)
VCGLexer
public VCGLexer(antlr.LexerSharedInputState state)
nextToken
public antlr.Token nextToken()
throws antlr.TokenStreamException
- Specified by:
nextToken
in interface antlr.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
mINTEGER
public final void mINTEGER(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mFLOAT
public final void mFLOAT(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
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
mLCUR
public final void mLCUR(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mRCUR
public final void mRCUR(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
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.