**************************************************************** More...
#include <PSDL_Node.h>
Public Member Functions | |
TAO_PSDL_Const_Dcl (TAO_PSDL_Node *const_type, TAO_PSDL_Node *identifier, TAO_PSDL_Node *const_exp) | |
**************************************************************** | |
virtual | ~TAO_PSDL_Const_Dcl (void) |
TAO_PSDL_Node * | const_type (void) const |
Get the value. | |
TAO_PSDL_Node * | identifier (void) const |
TAO_PSDL_Node * | const_exp (void) const |
int | accept (TAO_PSDL_Node_Visitor *visitor) |
= The Node methods. | |
Private Attributes | |
TAO_PSDL_Node * | const_type_ |
The values. | |
TAO_PSDL_Node * | identifier_ |
TAO_PSDL_Node * | const_exp_ |
****************************************************************
Definition at line 1920 of file PSDL_Node.h.
TAO_PSDL_Const_Dcl::TAO_PSDL_Const_Dcl | ( | TAO_PSDL_Node * | const_type, | |
TAO_PSDL_Node * | identifier, | |||
TAO_PSDL_Node * | const_exp | |||
) |
****************************************************************
Definition at line 2970 of file PSDL_Node.cpp.
: const_type_ (const_type), identifier_ (identifier), const_exp_ (const_exp) { this->psdl_scope_visitor ()->visit_const_dcl (this); this->psdl_scope ()->add_const_decl (this->identifiers_[1], this->identifiers_[0]); // We dont these values of the identifiers anymore as they have been // added to the corresponding AST. So, set count to 'zero' again. this->count_ = 0; }
TAO_PSDL_Const_Dcl::~TAO_PSDL_Const_Dcl | ( | void | ) | [virtual] |
Definition at line 2988 of file PSDL_Node.cpp.
{ delete this->const_type_; delete this->identifier_; delete this->const_exp_; }
int TAO_PSDL_Const_Dcl::accept | ( | TAO_PSDL_Node_Visitor * | visitor | ) | [virtual] |
= The Node methods.
Implements TAO_PSDL_Node.
Definition at line 3016 of file PSDL_Node.cpp.
{ return visitor->visit_const_dcl (this); }
TAO_PSDL_Node * TAO_PSDL_Const_Dcl::const_exp | ( | void | ) | const |
Definition at line 3009 of file PSDL_Node.cpp.
{ return this->const_exp_; }
TAO_PSDL_Node * TAO_PSDL_Const_Dcl::const_type | ( | void | ) | const |
TAO_PSDL_Node * TAO_PSDL_Const_Dcl::identifier | ( | void | ) | const |
Definition at line 3003 of file PSDL_Node.cpp.
{ return this->identifier_; }
TAO_PSDL_Node* TAO_PSDL_Const_Dcl::const_exp_ [private] |
Definition at line 1942 of file PSDL_Node.h.
TAO_PSDL_Node* TAO_PSDL_Const_Dcl::const_type_ [private] |
The values.
Definition at line 1940 of file PSDL_Node.h.
TAO_PSDL_Node* TAO_PSDL_Const_Dcl::identifier_ [private] |
Definition at line 1941 of file PSDL_Node.h.