Pegmatite
Public Member Functions | Protected Attributes | List of all members
pegmatite::ASTMember Class Referenceabstract

Base class for children of ASTContainer. More...

#include <ast.hh>

Inheritance diagram for pegmatite::ASTMember:
pegmatite::ASTList< T > pegmatite::ASTPtr< T, Optional >

Public Member Functions

 ASTMember ()
 On construction, ASTMember sets its container_node field to the ASTContainer currently under construction and registers itself with the container, to be notified during the construction phase.
 
ASTContainer * container () const
 Returns the container of which this object is a field.
 
virtual void construct (const InputRange &r, ASTStack &st)=0
 Interface for constructing references to AST objects from the stack.
 

Protected Attributes

ASTContainer * container_node
 The container that owns this object.
 

Detailed Description

Base class for children of ASTContainer.


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