#include <ACTree.h>
Public Member Functions | |
CT_SliceRef (CTree *sl, CTree *n, CTree *se) | |
const char * | NodeName () const |
int | Sons () const |
CTree * | Son (int n) const |
void | ReplaceSon (CTree *old_son, CTree *new_son) |
CT_SimpleName * | name () const |
Static Public Member Functions | |
static const char * | NodeId () |
static const char* Puma::CT_SliceRef::NodeId | ( | ) | [static] |
const char* Puma::CT_SliceRef::NodeName | ( | ) | const [inline, virtual] |
Get the node name (node identifier).
Implements Puma::CTree.
int Puma::CT_SliceRef::Sons | ( | ) | const [inline, virtual] |
Get the number of sons.
Implements Puma::CTree.
CTree* Puma::CT_SliceRef::Son | ( | int | n | ) | const [inline, virtual] |
Get the n-th son.
n | The index of the son. |
Reimplemented from Puma::CTree.
Replace a son.
old_son | The son to replace. | |
new_son | The son with which to replace. |
Reimplemented from Puma::CTree.
CT_SimpleName* Puma::CT_SliceRef::name | ( | ) | const [inline] |