7#ifndef QUERYPARSERCHARSTREAM_H
8#define QUERYPARSERCHARSTREAM_H
60 virtual void backup(int32_t amount) = 0;
#define LUCENE_INTERFACE(Name)
Definition LuceneObject.h:19
This interface describes a character stream that maintains line and column number positions of the ch...
Definition QueryParserCharStream.h:22
virtual String GetImage()=0
Returns a string made up of characters from the marked token beginning to the current buffer position...
virtual int32_t getBeginColumn()=0
Returns the column number of the first character for current token (being matched after the last call...
virtual int32_t getLine()=0
Returns the line number of the character last read.
virtual int32_t getEndColumn()=0
Returns the column number of the last character for current token (being matched after the last call ...
virtual wchar_t readChar()=0
Returns the next character from the selected input. The method of selecting the input is the responsi...
virtual wchar_t BeginToken()=0
Returns the next character that marks the beginning of the next token. All characters must remain in ...
virtual void backup(int32_t amount)=0
Backs up the input stream by amount steps. Lexer calls this method if it had already read some charac...
virtual int32_t getEndLine()=0
Returns the line number of the last character for current token (being matched after the last call to...
virtual int32_t getBeginLine()=0
Returns the line number of the first character for current token (being matched after the last call t...
virtual CharArray GetSuffix(int32_t length)=0
Returns an array of characters that make up the suffix of length for the currently matched token....
virtual int32_t getColumn()=0
Returns the column position of the character last read.
virtual void Done()=0
The lexer calls this function to indicate that it is done with the stream and hence implementations c...
Definition AbstractAllTermDocs.h:12