#include <LocationNode.hpp>


Public Types | |
| typedef std::vector< Location > | Locations | 
Public Member Functions | |
| LocationNode (const LocationNode &other) | |
| LocationNode () | |
| virtual | ~LocationNode () | 
| const Location & | getLocation () const | 
| const Locations & | getOptLocations () const | 
| void | setLocation (const Location &loc) | 
| void | addOptLocation (const Location &loc) | 
| void | addOptLocation (const RefLocationNode &other) | 
| void | setLocation (RefLocationNode other) | 
| virtual void | initialize (int t, const ANTLR_USE_NAMESPACE(std) string &txt) | 
| virtual void | initialize (ANTLR_USE_NAMESPACE(antlr) RefToken t) | 
| virtual void | initialize (RefLocationNode ast) | 
| virtual | ANTLR_USE_NAMESPACE (antlr) RefAST clone() | 
| virtual | ANTLR_USE_NAMESPACE (std) string toStringList() const | 
Static Public Member Functions | |
| static | ANTLR_USE_NAMESPACE (antlr) RefAST factory() | 
Protected Attributes | |
| Location | location_ | 
| Locations | optLoc_ | 
Definition at line 64 of file LocationNode.hpp.
| typedef std::vector<Location> cfront::LocationNode::Locations | 
Definition at line 67 of file LocationNode.hpp.
| cfront::LocationNode::LocationNode | ( | const LocationNode & | other | ) |  [inline] | 
        
The copy constructor.
Definition at line 70 of file LocationNode.hpp.
| cfront::LocationNode::LocationNode | ( | ) |  [inline] | 
        
The default constructor.
Definition at line 74 of file LocationNode.hpp.
| virtual cfront::LocationNode::~LocationNode | ( | ) |  [inline, virtual] | 
        
Definition at line 75 of file LocationNode.hpp.
| const Location& cfront::LocationNode::getLocation | ( | ) |  const [inline] | 
        
Definition at line 77 of file LocationNode.hpp.
| const Locations& cfront::LocationNode::getOptLocations | ( | ) |  const [inline] | 
        
Definition at line 82 of file LocationNode.hpp.
| void cfront::LocationNode::setLocation | ( | const Location & | loc | ) |  [inline] | 
        
Definition at line 87 of file LocationNode.hpp.
| void cfront::LocationNode::addOptLocation | ( | const Location & | loc | ) |  [inline] | 
        
| void cfront::LocationNode::addOptLocation | ( | const RefLocationNode & | other | ) |  [inline] | 
        
Definition at line 97 of file LocationNode.hpp.
| void cfront::LocationNode::setLocation | ( | RefLocationNode | other | ) |  [inline] | 
        
Definition at line 102 of file LocationNode.hpp.
| virtual void cfront::LocationNode::initialize | ( | int | t, | |
| const ANTLR_USE_NAMESPACE(std) string & | txt | |||
| ) |  [inline, virtual] | 
        
Reimplemented in cfront::ScopeNode, and cfront::ValueNode.
Definition at line 113 of file LocationNode.hpp.
References CommonAST::initialize().
Referenced by cfront::ValueNode::initialize(), and cfront::ScopeNode::initialize().
| virtual void cfront::LocationNode::initialize | ( | ANTLR_USE_NAMESPACE(antlr) RefToken | t | ) |  [inline, virtual] | 
        
Reimplemented in cfront::ScopeNode, and cfront::ValueNode.
Definition at line 118 of file LocationNode.hpp.
References CommonAST::initialize().
| virtual void cfront::LocationNode::initialize | ( | RefLocationNode | ast | ) |  [inline, virtual] | 
        
Definition at line 125 of file LocationNode.hpp.
References cfront::ANTLR_USE_NAMESPACE(), and CommonAST::initialize().
| virtual cfront::LocationNode::ANTLR_USE_NAMESPACE | ( | antlr | ) |  [inline, virtual] | 
        
Provide a clone of the node (no sibling/child pointers are copied).
Reimplemented in cfront::ScopeNode, cfront::ScopeNode, cfront::ValueNode, and cfront::ValueNode.
Definition at line 132 of file LocationNode.hpp.
References cfront::ANTLR_USE_NAMESPACE().
| static cfront::LocationNode::ANTLR_USE_NAMESPACE | ( | antlr | ) |  [inline, static] | 
        
Reimplemented in cfront::ScopeNode, cfront::ScopeNode, cfront::ValueNode, and cfront::ValueNode.
Definition at line 136 of file LocationNode.hpp.
References cfront::ANTLR_USE_NAMESPACE().
| virtual cfront::LocationNode::ANTLR_USE_NAMESPACE | ( | std | ) |  const [inline, virtual] | 
        
Definition at line 141 of file LocationNode.hpp.
Location cfront::LocationNode::location_ [protected]           | 
        
Definition at line 155 of file LocationNode.hpp.
Locations cfront::LocationNode::optLoc_ [protected]           | 
        
Definition at line 156 of file LocationNode.hpp.
 1.5.6