MyLang
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
myparser::Node Class Referenceabstract

#include <myparser_ast.hpp>

Inheritance diagram for myparser::Node:
Inheritance graph
[legend]
Collaboration diagram for myparser::Node:
Collaboration graph
[legend]

Public Member Functions

virtual ~Node ()
 
virtual void free ()
 
virtual bool empty () const =0
 
virtual void runPass (PassBase *pass) const =0
 
virtual const std::string & getRuleName () const =0
 
virtual size_t getLen () const =0
 
virtual void getFullText (std::ostream &out) const =0
 
const std::string getFullText () const
 
const InputgetPos () const
 
const Input getTail () const
 
NodechallengeLonger (Node *target)
 

Protected Member Functions

 Node (const Input &input)
 

Private Member Functions

 Node ()=delete
 

Private Attributes

const Input pos
 

Constructor & Destructor Documentation

myparser::Node::Node ( )
inlineprivatedelete
myparser::Node::Node ( const Input input)
inlineprotected
virtual myparser::Node::~Node ( )
inlinevirtual

Member Function Documentation

Node* myparser::Node::challengeLonger ( Node target)
inline
virtual bool myparser::Node::empty ( ) const
pure virtual
virtual void myparser::Node::free ( )
inlinevirtual
virtual void myparser::Node::getFullText ( std::ostream &  out) const
pure virtual
const std::string myparser::Node::getFullText ( ) const
inline
virtual size_t myparser::Node::getLen ( ) const
pure virtual
const Input& myparser::Node::getPos ( ) const
inline
virtual const std::string& myparser::Node::getRuleName ( ) const
pure virtual
const Input myparser::Node::getTail ( ) const
inline
virtual void myparser::Node::runPass ( PassBase pass) const
pure virtual

Member Data Documentation

const Input myparser::Node::pos
private

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