infovis.graph.io
Class VCGLexer

java.lang.Object
  extended by antlr.CharScanner
      extended by 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

Field Summary
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
 
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
 
Constructor Summary
VCGLexer(antlr.InputBuffer ib)
           
VCGLexer(InputStream in)
           
VCGLexer(antlr.LexerSharedInputState state)
           
VCGLexer(Reader in)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

VCGLexer

public VCGLexer(InputStream in)

VCGLexer

public VCGLexer(Reader in)

VCGLexer

public VCGLexer(antlr.InputBuffer ib)

VCGLexer

public VCGLexer(antlr.LexerSharedInputState state)
Method Detail

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.