org.terrier.querying.parser
Class TerrierLexer

java.lang.Object
  extended by antlr.CharScanner
      extended by org.terrier.querying.parser.TerrierLexer
All Implemented Interfaces:
antlr.TokenStream, MainTokenTypes

public class TerrierLexer
extends antlr.CharScanner
implements MainTokenTypes, 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, tabsize, text, tokenObjectClass, traceDepth
 
Fields inherited from interface org.terrier.querying.parser.MainTokenTypes
ALPHANUMERIC, ALPHANUMERIC_CHAR, CLOSE_DISJUNCTIVE, CLOSE_PAREN, CLOSE_SEGMENT, COLON, DIT, EOF, HAT, IGNORED, INT, NOT_REQUIRED, NULL_TREE_LOOKAHEAD, NUM_FLOAT, NUM_INT, OPEN_DISJUNCTIVE, OPEN_PAREN, OPEN_SEGMENT, PERIOD, PROXIMITY, QUOTE, REQUIRED
 
Constructor Summary
TerrierLexer(antlr.InputBuffer ib)
           
TerrierLexer(java.io.InputStream in)
           
TerrierLexer(antlr.LexerSharedInputState state)
           
TerrierLexer(java.io.Reader in)
           
 
Method Summary
protected  void mALPHANUMERIC_CHAR(boolean _createToken)
           
 void mALPHANUMERIC(boolean _createToken)
           
 void mCLOSE_DISJUNCTIVE(boolean _createToken)
           
 void mCLOSE_PAREN(boolean _createToken)
           
 void mCLOSE_SEGMENT(boolean _createToken)
           
 void mCOLON(boolean _createToken)
           
 void mHAT(boolean _createToken)
           
 void mIGNORED(boolean _createToken)
           
 void mNOT_REQUIRED(boolean _createToken)
           
 void mOPEN_DISJUNCTIVE(boolean _createToken)
           
 void mOPEN_PAREN(boolean _createToken)
           
 void mOPEN_SEGMENT(boolean _createToken)
           
 void mPROXIMITY(boolean _createToken)
           
 void mQUOTE(boolean _createToken)
           
 void mREQUIRED(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, makeToken, 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
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

TerrierLexer

public TerrierLexer(java.io.InputStream in)

TerrierLexer

public TerrierLexer(java.io.Reader in)

TerrierLexer

public TerrierLexer(antlr.InputBuffer ib)

TerrierLexer

public TerrierLexer(antlr.LexerSharedInputState state)
Method Detail

nextToken

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

mALPHANUMERIC_CHAR

protected final void mALPHANUMERIC_CHAR(boolean _createToken)
                                 throws antlr.RecognitionException,
                                        antlr.CharStreamException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mALPHANUMERIC

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

mHAT

public final void mHAT(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mQUOTE

public final void mQUOTE(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mREQUIRED

public final void mREQUIRED(boolean _createToken)
                     throws antlr.RecognitionException,
                            antlr.CharStreamException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mNOT_REQUIRED

public final void mNOT_REQUIRED(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mOPEN_PAREN

public final void mOPEN_PAREN(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mCLOSE_PAREN

public final void mCLOSE_PAREN(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mOPEN_DISJUNCTIVE

public final void mOPEN_DISJUNCTIVE(boolean _createToken)
                             throws antlr.RecognitionException,
                                    antlr.CharStreamException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mCLOSE_DISJUNCTIVE

public final void mCLOSE_DISJUNCTIVE(boolean _createToken)
                              throws antlr.RecognitionException,
                                     antlr.CharStreamException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mOPEN_SEGMENT

public final void mOPEN_SEGMENT(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mCLOSE_SEGMENT

public final void mCLOSE_SEGMENT(boolean _createToken)
                          throws antlr.RecognitionException,
                                 antlr.CharStreamException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mPROXIMITY

public final void mPROXIMITY(boolean _createToken)
                      throws antlr.RecognitionException,
                             antlr.CharStreamException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mIGNORED

public final void mIGNORED(boolean _createToken)
                    throws antlr.RecognitionException,
                           antlr.CharStreamException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException


Terrier 3.5. Copyright © 2004-2011 University of Glasgow