#include <ValueNode.hpp>
Public Member Functions | |
ValueNode (const ValueNode &other) | |
ValueNode () | |
virtual | ~ValueNode () |
Value | getValue () const |
void | setValue (Value &value) |
Value & | getValueRef () |
void | addOptLocation (const RefValueNode &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 (RefValueNode ast) |
virtual | ANTLR_USE_NAMESPACE (antlr) RefAST clone() |
Static Public Member Functions | |
static | ANTLR_USE_NAMESPACE (antlr) RefAST factory() |
Protected Attributes | |
Value | value_ |
Definition at line 94 of file ValueNode.hpp.
cfront::ValueNode::ValueNode | ( | const ValueNode & | other | ) | [inline] |
The copy constructor
Definition at line 98 of file ValueNode.hpp.
cfront::ValueNode::ValueNode | ( | ) | [inline] |
The default constructor
Definition at line 102 of file ValueNode.hpp.
References cfront::NameDescription::SS_NONE.
virtual cfront::ValueNode::~ValueNode | ( | ) | [inline, virtual] |
Definition at line 107 of file ValueNode.hpp.
Value cfront::ValueNode::getValue | ( | ) | const [inline] |
Definition at line 109 of file ValueNode.hpp.
void cfront::ValueNode::setValue | ( | Value & | value | ) | [inline] |
Definition at line 114 of file ValueNode.hpp.
Value& cfront::ValueNode::getValueRef | ( | ) | [inline] |
Definition at line 119 of file ValueNode.hpp.
void cfront::ValueNode::addOptLocation | ( | const RefValueNode & | other | ) | [inline] |
virtual void cfront::ValueNode::initialize | ( | int | t, | |
const ANTLR_USE_NAMESPACE(std) string & | txt | |||
) | [inline, virtual] |
Reimplemented from cfront::LocationNode.
Definition at line 128 of file ValueNode.hpp.
References cfront::LocationNode::initialize(), and cfront::NameDescription::SS_NONE.
virtual void cfront::ValueNode::initialize | ( | ANTLR_USE_NAMESPACE(antlr) RefToken | t | ) | [inline, virtual] |
Reimplemented from cfront::LocationNode.
Definition at line 134 of file ValueNode.hpp.
References cfront::LocationNode::initialize(), and cfront::NameDescription::SS_NONE.
virtual void cfront::ValueNode::initialize | ( | RefValueNode | ast | ) | [inline, virtual] |
virtual cfront::ValueNode::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 147 of file ValueNode.hpp.
References cfront::ANTLR_USE_NAMESPACE().
static cfront::ValueNode::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 151 of file ValueNode.hpp.
References cfront::ANTLR_USE_NAMESPACE().
Value cfront::ValueNode::value_ [protected] |
Definition at line 157 of file ValueNode.hpp.