OpenStructure
Public Member Functions
QueryToken Class Reference

#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 RangeGetRange () const
const RangeGetValueRange () const

Detailed Description

Definition at line 76 of file query_impl.hh.


Constructor & Destructor Documentation

QueryToken ( const Range range,
tok::Type  type,
const Range value_range = Range() 
)

Member Function Documentation

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.


The documentation for this class was generated from the following file: