OpenStructure
|
#include <query_impl.hh>
Public Member Functions | |
QueryToken () | |
QueryToken (const Range &range, tok::Type type, const Range &value_range=Range()) | |
tok::Type | GetType () const |
bool | IsEOF () const |
const Range & | GetRange () const |
const Range & | GetValueRange () const |
Definition at line 76 of file query_impl.hh.
QueryToken | ( | ) |
QueryToken | ( | const Range & | range, |
tok::Type | type, | ||
const Range & | value_range = Range() |
||
) |
const Range& GetRange | ( | ) | const |
Get character range of this token.
tok::Type GetType | ( | ) | const |
const Range& GetValueRange | ( | ) | const |
Get value range of this token. This is usually identical to GetRange() except when dealing with quoted strings.
bool IsEOF | ( | ) | const |
Returns true if token is end of file (or end of line) token.