opennlp.leo.prolog.parse
Class PrologLexer

java.lang.Object
  |
  +--antlr.CharScanner
        |
        +--opennlp.leo.prolog.parse.PrologLexer
All Implemented Interfaces:
PrologParserTokenTypes, antlr.TokenStream

public class PrologLexer
extends antlr.CharScanner
implements PrologParserTokenTypes, antlr.TokenStream


Field Summary
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
 
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, text, tokenObjectClass, traceDepth
 
Fields inherited from interface opennlp.leo.prolog.parse.PrologParserTokenTypes
ASSIGN, ATOM, BAR, BINARY_OP, COLON, COMMA, CUT, DASH, DIGIT, EOF, INT, LBRACK, LETTER, LOGICAL_AND, LOGICAL_OR, LONE_OP, LPAREN, ML_COMMENT, NOT, NULL_TREE_LOOKAHEAD, PERIOD, RBRACK, RPAREN, SEMI, SL_COMMENT, SUFFIX, UNDERSCORE, VAR, VOCAB, WS
 
Constructor Summary
PrologLexer(antlr.InputBuffer ib)
           
PrologLexer(java.io.InputStream in)
           
PrologLexer(antlr.LexerSharedInputState state)
           
PrologLexer(java.io.Reader in)
           
 
Method Summary
protected  void mASSIGN(boolean _createToken)
           
 void mATOM(boolean _createToken)
           
 void mBAR(boolean _createToken)
           
 void mBINARY_OP(boolean _createToken)
           
protected  void mCOLON(boolean _createToken)
           
 void mCOMMA(boolean _createToken)
           
protected  void mCUT(boolean _createToken)
           
protected  void mDASH(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
protected  void mINT(boolean _createToken)
           
 void mLBRACK(boolean _createToken)
           
protected  void mLETTER(boolean _createToken)
           
 void mLOGICAL_AND(boolean _createToken)
           
 void mLOGICAL_OR(boolean _createToken)
           
 void mLONE_OP(boolean _createToken)
           
 void mLPAREN(boolean _createToken)
           
 void mML_COMMENT(boolean _createToken)
           
 void mNOT(boolean _createToken)
           
 void mPERIOD(boolean _createToken)
           
 void mRBRACK(boolean _createToken)
           
 void mRPAREN(boolean _createToken)
           
protected  void mSEMI(boolean _createToken)
           
 void mSL_COMMENT(boolean _createToken)
           
protected  void mSUFFIX(boolean _createToken)
           
protected  void mUNDERSCORE(boolean _createToken)
           
 void mVAR(boolean _createToken)
           
protected  void mVOCAB(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, 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
Constructor Detail

PrologLexer

public PrologLexer(java.io.InputStream in)

PrologLexer

public PrologLexer(java.io.Reader in)

PrologLexer

public PrologLexer(antlr.InputBuffer ib)

PrologLexer

public PrologLexer(antlr.LexerSharedInputState state)
Method Detail

nextToken

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

mWS

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

mLPAREN

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

mRPAREN

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

mLBRACK

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

mRBRACK

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

mPERIOD

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

mBAR

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

mSEMI

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

mCUT

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

mNOT

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

mLOGICAL_OR

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

mLOGICAL_AND

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

mCOMMA

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

mCOLON

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

mASSIGN

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

mUNDERSCORE

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

mDASH

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

mDIGIT

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

mINT

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

mLETTER

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

mSUFFIX

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

mATOM

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

mVAR

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

mLONE_OP

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

mBINARY_OP

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

mSL_COMMENT

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

mML_COMMENT

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

mVOCAB

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


Copyright 2002 Research Institute for Advanced Computer Science. All Rights Reserved.