wibble  1.1
Public Types | Public Member Functions | Public Attributes | List of all members
wibble::Token< _Id > Struct Template Reference

#include <parse.h>

Collaboration diagram for wibble::Token< _Id >:
Collaboration graph
[legend]

Public Types

typedef _Id Id
 

Public Member Functions

bool valid ()
 
 Token (Id _id, char c)
 
 Token (Id _id, std::string d)
 
 Token ()
 
bool operator== (const Token &o) const
 

Public Attributes

Id id
 
std::string data
 
Position position
 
bool _valid
 

Member Typedef Documentation

◆ Id

template<typename _Id >
typedef _Id wibble::Token< _Id >::Id

Constructor & Destructor Documentation

◆ Token() [1/3]

template<typename _Id >
wibble::Token< _Id >::Token ( Id  _id,
char  c 
)
inline

◆ Token() [2/3]

template<typename _Id >
wibble::Token< _Id >::Token ( Id  _id,
std::string  d 
)
inline

◆ Token() [3/3]

template<typename _Id >
wibble::Token< _Id >::Token ( )
inline

Member Function Documentation

◆ operator==()

template<typename _Id >
bool wibble::Token< _Id >::operator== ( const Token< _Id > &  o) const
inline

◆ valid()

template<typename _Id >
bool wibble::Token< _Id >::valid ( )
inline

Member Data Documentation

◆ _valid

template<typename _Id >
bool wibble::Token< _Id >::_valid

◆ data

template<typename _Id >
std::string wibble::Token< _Id >::data

◆ id

template<typename _Id >
Id wibble::Token< _Id >::id

◆ position

template<typename _Id >
Position wibble::Token< _Id >::position

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