![]() |
Zen
A cross-platform functional programming language
|
AST Node for EBNF element representing an id or a ID. More...
#include <Ast.hpp>
Public Member Functions | |
| GrammarMemberId (const z::string &txt) | |
| Default constructor. | |
| const z::string & | getText () const |
| Returns the id for this member. | |
Private Member Functions | |
| virtual void | visit (GrammarMember::Visitor &visitor) const |
| Visitor pattern implementation. | |
Private Attributes | |
| const z::string | _txt |
| ID for this member. | |
AST Node for EBNF element representing an id or a ID.
| GrammarMemberId | ( | const z::string & | txt | ) | [inline] |
Default constructor.
| txt | The ID or id represented by this member |
| const z::string& getText | ( | ) | const [inline] |
Returns the id for this member.
| void visit | ( | GrammarMember::Visitor & | visitor | ) | const [private, virtual] |