Puma Reference Manual | Puma: Puma::CT_UnionDef Class Reference |
Tree node representing the definition of a union. More...
#include <Puma/CTree.h>
Inherits Puma::CT_ClassDef.
Public Member Functions | |
CT_UnionDef (CTree *k, CTree *n, CTree *b=0) | |
Constructor. | |
const char * | NodeName () const |
Get the name of the node. | |
Static Public Member Functions | |
static const char * | NodeId () |
Get the identifier for this node type. |
Tree node representing the definition of a union.
Example:
union U { int i; }
Constructor.
k | The keyword 'union'. | |
n | The name of the union. | |
b | The base union list. |
static const char* Puma::CT_UnionDef::NodeId | ( | ) | [static] |
Get the identifier for this node type.
Can be compared with NodeName().
Reimplemented from Puma::CT_ClassDef.
const char* Puma::CT_UnionDef::NodeName | ( | ) | const [inline, virtual] |