#include <WinCTree.h>
Public Member Functions | |
CT_AsmBlock (CTree *k, CTree *b, CTree *e) | |
const char * | NodeName () const |
virtual int | Sons () const |
virtual CTree * | Son (int n) const |
virtual void | ReplaceSon (CTree *old_son, CTree *new_son) |
Static Public Member Functions | |
static const char * | NodeId () |
static const char* Puma::CT_AsmBlock::NodeId | ( | ) | [static] |
const char* Puma::CT_AsmBlock::NodeName | ( | ) | const [inline, virtual] |
Get the node name (node identifier).
Implements Puma::CTree.
virtual int Puma::CT_AsmBlock::Sons | ( | ) | const [inline, virtual] |
Get the number of sons.
Implements Puma::CTree.
virtual CTree* Puma::CT_AsmBlock::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.