cgp.translators
Class AntlrCGIFLexer

java.lang.Object
  |
  +--antlr.CharScanner
        |
        +--cgp.translators.AntlrCGIFLexer

public class AntlrCGIFLexer
extends antlr.CharScanner
implements AntlrCGIFTokenTypes, antlr.TokenStream

CGIF lexical analyser for pCG. David Benn, June 2001


Field Summary
static antlr.collections.impl.BitSet _tokenSet_0
           
private static long[] _tokenSet_0_data_
           
static antlr.collections.impl.BitSet _tokenSet_1
           
private static long[] _tokenSet_1_data_
           
static antlr.collections.impl.BitSet _tokenSet_2
           
private static long[] _tokenSet_2_data_
           
static antlr.collections.impl.BitSet _tokenSet_3
           
private static long[] _tokenSet_3_data_
           
static antlr.collections.impl.BitSet _tokenSet_4
           
private static long[] _tokenSet_4_data_
           
 
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, NO_CHAR, saveConsumedInput, text, tokenObjectClass
 
Fields inherited from interface cgp.translators.AntlrCGIFTokenTypes
AMPERSAND, AT, COLON, COMMA, COMMENT, DIGIT, DOT, EOF, EXPONENT, FLOAT_NUM, HASH, IDENTIFIER, INT_NUM, LANGLE, LBRACE, LBRACK, LETTER, LITERAL_either, LITERAL_if, LITERAL_lambda, LITERAL_or, LITERAL_sc, LITERAL_then, LPAREN, NAME, NEGATION_PREFIX, NULL_TREE_LOOKAHEAD, NUMBER, PERCENT, QUESTION, QUOTEDSTR, RANGLE, RBRACE, RBRACK, RPAREN, STAR, TILDE, UNSIGNEDINT, VERTBAR, WS
 
Constructor Summary
AntlrCGIFLexer(antlr.InputBuffer ib)
           
AntlrCGIFLexer(java.io.InputStream in)
           
AntlrCGIFLexer(antlr.LexerSharedInputState state)
           
AntlrCGIFLexer(java.io.Reader in)
           
 
Method Summary
 void mAMPERSAND(boolean _createToken)
           
 void mAT(boolean _createToken)
           
 void mCOLON(boolean _createToken)
           
 void mCOMMA(boolean _createToken)
           
 void mCOMMENT(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
 void mDOT(boolean _createToken)
           
protected  void mEXPONENT(boolean _createToken)
           
 void mHASH(boolean _createToken)
           
 void mIDENTIFIER(boolean _createToken)
           
 void mLANGLE(boolean _createToken)
           
 void mLBRACE(boolean _createToken)
           
 void mLBRACK(boolean _createToken)
           
protected  void mLETTER(boolean _createToken)
           
 void mLPAREN(boolean _createToken)
           
 void mNAME(boolean _createToken)
           
 void mNEGATION_PREFIX(boolean _createToken)
           
 void mNUMBER(boolean _createToken)
           
 void mPERCENT(boolean _createToken)
           
 void mQUESTION(boolean _createToken)
           
 void mQUOTEDSTR(boolean _createToken)
           
 void mRANGLE(boolean _createToken)
           
 void mRBRACE(boolean _createToken)
           
 void mRBRACK(boolean _createToken)
           
 void mRPAREN(boolean _createToken)
           
 void mSTAR(boolean _createToken)
           
 void mTILDE(boolean _createToken)
           
 void mUNSIGNEDINT(boolean _createToken)
           
 void mVERTBAR(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, setCommitToPath, setFilename, setInputState, setLine, setText, setTokenObjectClass, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceOut, uponEOF
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_tokenSet_0_data_

private static final long[] _tokenSet_0_data_

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1_data_

private static final long[] _tokenSet_1_data_

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2_data_

private static final long[] _tokenSet_2_data_

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3_data_

private static final long[] _tokenSet_3_data_

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4_data_

private static final long[] _tokenSet_4_data_

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4
Constructor Detail

AntlrCGIFLexer

public AntlrCGIFLexer(java.io.InputStream in)

AntlrCGIFLexer

public AntlrCGIFLexer(java.io.Reader in)

AntlrCGIFLexer

public AntlrCGIFLexer(antlr.InputBuffer ib)

AntlrCGIFLexer

public AntlrCGIFLexer(antlr.LexerSharedInputState state)
Method Detail

nextToken

public antlr.Token nextToken()
                      throws antlr.TokenStreamException
Specified by:
nextToken in interface antlr.TokenStream
Overrides:
nextToken in class antlr.CharScanner

mLBRACK

public final void mLBRACK(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mRBRACK

public final void mRBRACK(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

mLANGLE

public final void mLANGLE(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mRANGLE

public final void mRANGLE(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mLBRACE

public final void mLBRACE(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mRBRACE

public final void mRBRACE(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mDOT

public final void mDOT(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException

mSTAR

public final void mSTAR(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mQUESTION

public final void mQUESTION(boolean _createToken)
                     throws antlr.RecognitionException,
                            antlr.CharStreamException,
                            antlr.TokenStreamException

mCOLON

public final void mCOLON(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mCOMMA

public final void mCOMMA(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mHASH

public final void mHASH(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mAT

public final void mAT(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mTILDE

public final void mTILDE(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mPERCENT

public final void mPERCENT(boolean _createToken)
                    throws antlr.RecognitionException,
                           antlr.CharStreamException,
                           antlr.TokenStreamException

mVERTBAR

public final void mVERTBAR(boolean _createToken)
                    throws antlr.RecognitionException,
                           antlr.CharStreamException,
                           antlr.TokenStreamException

mAMPERSAND

public final void mAMPERSAND(boolean _createToken)
                      throws antlr.RecognitionException,
                             antlr.CharStreamException,
                             antlr.TokenStreamException

mNEGATION_PREFIX

public final void mNEGATION_PREFIX(boolean _createToken)
                            throws antlr.RecognitionException,
                                   antlr.CharStreamException,
                                   antlr.TokenStreamException

mCOMMENT

public final void mCOMMENT(boolean _createToken)
                    throws antlr.RecognitionException,
                           antlr.CharStreamException,
                           antlr.TokenStreamException

mIDENTIFIER

public final void mIDENTIFIER(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException

mLETTER

protected final void mLETTER(boolean _createToken)
                      throws antlr.RecognitionException,
                             antlr.CharStreamException,
                             antlr.TokenStreamException

mDIGIT

protected final void mDIGIT(boolean _createToken)
                     throws antlr.RecognitionException,
                            antlr.CharStreamException,
                            antlr.TokenStreamException

mNUMBER

public final void mNUMBER(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mUNSIGNEDINT

public final void mUNSIGNEDINT(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException

mEXPONENT

protected final void mEXPONENT(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException

mNAME

public final void mNAME(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mQUOTEDSTR

public final void mQUOTEDSTR(boolean _createToken)
                      throws antlr.RecognitionException,
                             antlr.CharStreamException,
                             antlr.TokenStreamException

mWS

public final void mWS(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException