MyLang
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
myparser::NodeData< T, E > Class Template Reference

#include <myparser_ast_plus.hpp>

Inheritance diagram for myparser::NodeData< T, E >:
Inheritance graph
[legend]
Collaboration diagram for myparser::NodeData< T, E >:
Collaboration graph
[legend]

Public Member Functions

 NodeData (const Input &input, std::string &&value)
 
virtual ~NodeData ()
 
virtual bool accepted () const
 
const T & getData ()
 
- Public Member Functions inherited from myparser::NodeTextOrError< E >
 NodeTextOrError (const Input &input, std::string &&value)
 
- Public Member Functions inherited from myparser::NodeText<>
 NodeText (const Input &input, std::string &&value)
 
virtual bool empty () const
 
virtual size_t getLen () const
 
virtual void getFullText (std::ostream &out) const
 
const std::string & getText () const
 
- Public Member Functions inherited from myparser::Node
virtual ~Node ()
 
virtual void free ()
 
virtual void runPass (PassBase *pass) const =0
 
virtual const std::string & getRuleName () const =0
 
const std::string getFullText () const
 
const InputgetPos () const
 
const Input getTail () const
 
NodechallengeLonger (Node *target)
 

Private Attributes

const T * data
 

Additional Inherited Members

- Protected Member Functions inherited from myparser::Node
 Node (const Input &input)
 

Constructor & Destructor Documentation

template<class T , class E >
myparser::NodeData< T, E >::NodeData ( const Input input,
std::string &&  value 
)
inline
template<class T , class E >
virtual myparser::NodeData< T, E >::~NodeData ( )
inlinevirtual

Member Function Documentation

template<class T , class E >
virtual bool myparser::NodeData< T, E >::accepted ( ) const
inlinevirtual

Reimplemented from myparser::NodeText<>.

template<class T , class E >
const T& myparser::NodeData< T, E >::getData ( )
inline

Member Data Documentation

template<class T , class E >
const T* myparser::NodeData< T, E >::data
private

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