Design Patterns
structural::facade::VariableNode Class Reference

#include <variable_node.h>

Inheritance diagram for structural::facade::VariableNode:
Collaboration diagram for structural::facade::VariableNode:

Public Member Functions

 VariableNode (const std::string name)
 
virtual void GetSourcePosition (int &line, int &index) override
 
virtual void Add (ProgramNodeInterface *) override
 
virtual void Remove (ProgramNodeInterface *) override
 
virtual void Traverse (CodeGeneratorInterface &) override
 
virtual std::string name () const override
 
- Public Member Functions inherited from structural::facade::ProgramNodeInterface
virtual ~ProgramNodeInterface ()
 
- Public Member Functions inherited from structural::facade::VariableNodeInterface
virtual ~VariableNodeInterface ()
 

Protected Attributes

operational::iterator::List< ProgramNodeInterface * > * children_
 
std::string name_
 

Constructor & Destructor Documentation

structural::facade::VariableNode::VariableNode ( const std::string  name)
explicit

Member Function Documentation

void structural::facade::VariableNode::Add ( ProgramNodeInterface program_node)
overridevirtual
void structural::facade::VariableNode::GetSourcePosition ( int &  line,
int &  index 
)
overridevirtual
std::string structural::facade::VariableNode::name ( ) const
overridevirtual
void structural::facade::VariableNode::Remove ( ProgramNodeInterface program_node)
overridevirtual
void structural::facade::VariableNode::Traverse ( CodeGeneratorInterface code_generator)
overridevirtual

Implements structural::facade::ProgramNodeInterface.

Here is the call graph for this function:

Member Data Documentation

operational::iterator::List<ProgramNodeInterface*>* structural::facade::VariableNode::children_
protected
std::string structural::facade::VariableNode::name_
protected

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