#include <myparser_ast.hpp>
Public Member Functions | |
NodeText (const Input &input, std::string &&value) | |
virtual bool | accepted () const |
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 Input & | getPos () const |
const Input | getTail () const |
Node * | challengeLonger (Node *target) |
Private Attributes | |
const std::string | text |
Additional Inherited Members | |
Protected Member Functions inherited from myparser::Node | |
Node (const Input &input) | |
|
inline |
|
inlinevirtual |
Reimplemented in myparser::NodeData< T, E >, myparser::NodeId< TX >, and myparser::NodeId<>.
|
inlinevirtual |
Implements myparser::Node.
|
inlinevirtual |
Implements myparser::Node.
|
inlinevirtual |
Implements myparser::Node.
|
inline |
|
private |