A cross-platform functional programming language

GrammarMemberId Class Reference

AST Node for EBNF element representing an id or a ID. More...

#include <Ast.hpp>

Inheritance diagram for GrammarMemberId:
GrammarMember Node

List of all members.

Public Member Functions

 GrammarMemberId (const z::string &txt)
 Default constructor.
const z::stringgetText () 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.

Detailed Description

AST Node for EBNF element representing an id or a ID.

Constructor & Destructor Documentation

GrammarMemberId ( const z::string txt) [inline]

Default constructor.

txtThe ID or id represented by this member

Member Function Documentation

const z::string& getText ( ) const [inline]

Returns the id for this member.

ID for this member
void visit ( GrammarMember::Visitor visitor) const [private, virtual]

Visitor pattern implementation.

visitorThe visitor object.

Implements GrammarMember.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines