| Puma Reference Manual | Puma: Puma::CT_UnionDef Class Reference |
#include <Puma/CTree.h>

Example:
union U { int i; }
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. | |
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] |