#include <myparser_ast.hpp>
Public Member Functions | |
virtual | ~NodeList () |
virtual void | free () |
virtual bool | empty () const |
void | bind (NodeList<> *target, const size_t pos) |
void | putChild (Node *value) |
virtual size_t | getLen () const |
virtual void | getFullText (std::ostream &out) const |
virtual size_t | getIndex () const =0 |
const std::vector< Node * > & | getChildren () const |
Public Member Functions inherited from myparser::Node | |
virtual | ~Node () |
virtual void | runPass (PassBase *pass) const =0 |
virtual const std::string & | getRuleName () const =0 |
const std::string | getFullText () const |
const Input & | getPos () const |
const Input | getTail () const |
Node * | challengeLonger (Node *target) |
Protected Member Functions | |
NodeList (const Input &input) | |
Protected Member Functions inherited from myparser::Node | |
Node (const Input &input) | |
Private Attributes | |
std::vector< Node * > | children |
size_t | basepos |
NodeList * | brother = nullptr |
|
inlineprotected |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Implements myparser::Node.
Reimplemented in myparser::NodeSpace< I >.
|
inlinevirtual |
Reimplemented from myparser::Node.
|
inline |
|
inlinevirtual |
Implements myparser::Node.
|
pure virtual |
Implemented in myparser::NodeListIndexed< I >.
|
inlinevirtual |
Implements myparser::Node.
|
inline |
|
private |
|
private |
|
private |