Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef QUERYPARSERTOKEN_H
8 #define QUERYPARSERTOKEN_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< QueryParserToken > QueryParserTokenPtr
Definition: LuceneTypes.h:273
int32_t beginLine
The line number of the first character of this Token.
Definition: QueryParserToken.h:29
QueryParserTokenPtr next
A reference to the next regular (non-special) token from the input stream. If this is the last token ...
Definition: QueryParserToken.h:47
QueryParserToken(int32_t kind=0, const String &image=EmptyString)
Constructs a new token for the specified Image and Kind.
int32_t beginColumn
The column number of the first character of this Token.
Definition: QueryParserToken.h:32
int32_t endLine
The line number of the last character of this Token.
Definition: QueryParserToken.h:35
int32_t kind
An integer that describes the kind of this token.
Definition: QueryParserToken.h:22
int32_t endColumn
The column number of the last character of this Token.
Definition: QueryParserToken.h:38
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual String toString()
Returns the image.
QueryParserTokenPtr specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately...
Definition: QueryParserToken.h:56
Describes the input token stream.
Definition: QueryParserToken.h:15
virtual ~QueryParserToken()
String image
The string image of the token.
Definition: QueryParserToken.h:41
static QueryParserTokenPtr newToken(int32_t ofKind, const String &image=EmptyString)
Returns a new Token object, by default. However, if you want, you can create and return subclass obje...
clucene.sourceforge.net