7#ifndef QUERYPARSERTOKEN_H
8#define QUERYPARSERTOKEN_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Base class for all Lucene classes.
Definition LuceneObject.h:31
Describes the input token stream.
Definition QueryParserToken.h:15
String image
The string image of the token.
Definition QueryParserToken.h:41
QueryParserTokenPtr specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately...
Definition QueryParserToken.h:56
int32_t beginColumn
The column number of the first character of this Token.
Definition QueryParserToken.h:32
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...
int32_t beginLine
The line number of the first character of this Token.
Definition QueryParserToken.h:29
int32_t endLine
The line number of the last character of this Token.
Definition QueryParserToken.h:35
virtual ~QueryParserToken()
int32_t kind
An integer that describes the kind of this token.
Definition QueryParserToken.h:26
QueryParserToken(int32_t kind=0, const String &image=EmptyString)
Constructs a new token for the specified Image and Kind.
virtual String toString()
Returns the image.
int32_t endColumn
The column number of the last character of this Token.
Definition QueryParserToken.h:38
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
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< QueryParserToken > QueryParserTokenPtr
Definition LuceneTypes.h:273