| Puma Reference Manual | Puma::CT_EnumSpec Class Reference |
Tree node representing an enumeration specifier. More...
#include <Puma/CTree.h>

Public Member Functions | |
| CT_EnumSpec (CTree *k, CTree *n) | |
| Constructor. | |
| const char * | NodeName () const |
| Get the name of the node. | |
Public Member Functions inherited from Puma::CT_ClassSpec | |
| CT_ClassSpec (CTree *k, CTree *n) | |
| Constructor. | |
| int | Sons () const |
| Get the number of sons. | |
| CTree * | Son (int n) const |
| Get the n-th son. | |
| CT_SimpleName * | Name () const |
| Get the class name. | |
| CSemObject * | SemObject () const |
| Get the semantic information about the class. | |
| void | ReplaceSon (CTree *old_son, CTree *new_son) |
| Replace a son. | |
Public Member Functions inherited from Puma::CSemObject | |
| CSemObject () | |
| Constructor. | |
| void | Object (CObjectInfo *o) |
| Set the semantic information object for the entity. | |
| CObjectInfo * | Object () const |
| Get the semantic information object. | |
Static Public Member Functions | |
| static const char * | NodeId () |
| Get the identifier for this node type. | |
Tree node representing an enumeration specifier.
Example:
Constructor.
| k | The 'enum' keyword. |
| n | The name of the enumeration. |
|
static |
Get the identifier for this node type.
Can be compared with NodeName().
Reimplemented from Puma::CT_ClassSpec.
|
inlinevirtual |