#include <ScopeNode.hpp>


Public Member Functions | |
| ScopeNode (const ScopeNode &other) | |
| ScopeNode () | |
| virtual | ~ScopeNode () |
| Environment * | getEnv () const |
| void | setEnv (Environment *env) |
| virtual void | initialize (int t, const ANTLR_USE_NAMESPACE(std) string &txt) |
| virtual void | initialize (ANTLR_USE_NAMESPACE(antlr) RefToken t) |
| virtual void | initialize (RefScopeNode ast) |
| virtual | ANTLR_USE_NAMESPACE (antlr) RefAST clone() |
Static Public Member Functions | |
| static | ANTLR_USE_NAMESPACE (antlr) RefAST factory() |
Private Attributes | |
| Environment * | env_ |
This class is responsible for deleting the own Environment.
The list of the syntactic element that used this node and the scope is as follows:
Definition at line 67 of file ScopeNode.hpp.
| cfront::ScopeNode::ScopeNode | ( | const ScopeNode & | other | ) | [inline] |
The copy constructor.
Definition at line 71 of file ScopeNode.hpp.
| cfront::ScopeNode::ScopeNode | ( | ) | [inline] |
The default constructor.
Definition at line 75 of file ScopeNode.hpp.
| virtual cfront::ScopeNode::~ScopeNode | ( | ) | [inline, virtual] |
Definition at line 77 of file ScopeNode.hpp.
| Environment* cfront::ScopeNode::getEnv | ( | ) | const [inline] |
Definition at line 84 of file ScopeNode.hpp.
| void cfront::ScopeNode::setEnv | ( | Environment * | env | ) | [inline] |
Definition at line 89 of file ScopeNode.hpp.
| virtual void cfront::ScopeNode::initialize | ( | int | t, | |
| const ANTLR_USE_NAMESPACE(std) string & | txt | |||
| ) | [inline, virtual] |
Reimplemented from cfront::LocationNode.
Definition at line 94 of file ScopeNode.hpp.
References cfront::LocationNode::initialize().
| virtual void cfront::ScopeNode::initialize | ( | ANTLR_USE_NAMESPACE(antlr) RefToken | t | ) | [inline, virtual] |
Reimplemented from cfront::LocationNode.
Definition at line 99 of file ScopeNode.hpp.
References cfront::LocationNode::initialize().
| virtual void cfront::ScopeNode::initialize | ( | RefScopeNode | ast | ) | [inline, virtual] |
| virtual cfront::ScopeNode::ANTLR_USE_NAMESPACE | ( | antlr | ) | [inline, virtual] |
Provide a clone of the node (no sibling/child pointers are copied)
Reimplemented from cfront::LocationNode.
Definition at line 111 of file ScopeNode.hpp.
References cfront::ANTLR_USE_NAMESPACE().
| static cfront::ScopeNode::ANTLR_USE_NAMESPACE | ( | antlr | ) | [inline, static, virtual] |
Provide a clone of the node (no sibling/child pointers are copied).
Reimplemented from cfront::LocationNode.
Definition at line 115 of file ScopeNode.hpp.
References cfront::ANTLR_USE_NAMESPACE().
Environment* cfront::ScopeNode::env_ [private] |
Definition at line 121 of file ScopeNode.hpp.
1.5.6