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 (  ) 
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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1