org.terrier.querying.parser
Class TerrierFloatLexer

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

public class TerrierFloatLexer
extends antlr.CharScanner
implements NumbersTokenTypes, antlr.TokenStream


Field Summary
 
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.NumbersTokenTypes
DIT, EOF, INT, NULL_TREE_LOOKAHEAD, NUM_FLOAT, NUM_INT, PERIOD
 
Constructor Summary
TerrierFloatLexer(antlr.InputBuffer ib)
           
TerrierFloatLexer(java.io.InputStream in)
           
TerrierFloatLexer(antlr.LexerSharedInputState state)
           
TerrierFloatLexer(java.io.Reader in)
           
 
Method Summary
protected  void mDIT(boolean _createToken)
           
protected  void mINT(boolean _createToken)
           
 void mNUM_INT(boolean _createToken)
           
protected  void mPERIOD(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
 

Constructor Detail

TerrierFloatLexer

public TerrierFloatLexer(java.io.InputStream in)

TerrierFloatLexer

public TerrierFloatLexer(java.io.Reader in)

TerrierFloatLexer

public TerrierFloatLexer(antlr.InputBuffer ib)

TerrierFloatLexer

public TerrierFloatLexer(antlr.LexerSharedInputState state)
Method Detail

nextToken

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

mPERIOD

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

mDIT

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

mINT

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

mNUM_INT

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