Puma Reference Manual | Puma::CT_DesignatorSeq Class Reference |
Tree node representing a designator sequence. More...
#include <Puma/CTree.h>
Public Member Functions | |
CT_DesignatorSeq (int size=1) | |
Constructor. | |
const char * | NodeName () const |
Get the name of the node. | |
CTypeInfo * | Type () const |
Get the type of the entity to initialize. | |
CExprValue * | Value () const |
Get the value of the entity to initialize. | |
CSemValue * | SemValue () const |
Get the semantic value object. | |
Static Public Member Functions | |
static const char * | NodeId () |
Get the identifier for this node type. |
Tree node representing a designator sequence.
Example:
.a.b.c
Puma::CT_DesignatorSeq::CT_DesignatorSeq | ( | int | size = 1 | ) | [inline] |
Constructor.
size | Initial number of designators. |
static const char* Puma::CT_DesignatorSeq::NodeId | ( | ) | [static] |
Get the identifier for this node type.
Can be compared with NodeName().
const char* Puma::CT_DesignatorSeq::NodeName | ( | ) | const [inline, virtual] |
CSemValue* Puma::CT_DesignatorSeq::SemValue | ( | ) | const [inline, virtual] |
Get the semantic value object.
Reimplemented from Puma::CTree.
CTypeInfo* Puma::CT_DesignatorSeq::Type | ( | ) | const [inline, virtual] |
Get the type of the entity to initialize.
Reimplemented from Puma::CTree.
CExprValue* Puma::CT_DesignatorSeq::Value | ( | ) | const [inline, virtual] |
Get the value of the entity to initialize.
Reimplemented from Puma::CTree.