#include <GnuCTree.h>
Public Member Functions | |
CT_GnuAsmOperand (CTree *s, CTree *o, CTree *e, CTree *c) | |
const char * | NodeName () const |
int | Sons () const |
CTree * | Son (int n) const |
CT_Expression * | Expr () const |
CT_String * | String () const |
void | ReplaceSon (CTree *old_son, CTree *new_son) |
Static Public Member Functions | |
static const char * | NodeId () |
static const char* Puma::CT_GnuAsmOperand::NodeId | ( | ) | [static] |
const char* Puma::CT_GnuAsmOperand::NodeName | ( | ) | const [inline, virtual] |
Get the node name (node identifier).
Implements Puma::CTree.
int Puma::CT_GnuAsmOperand::Sons | ( | ) | const [inline, virtual] |
Get the number of sons.
Implements Puma::CTree.
CTree* Puma::CT_GnuAsmOperand::Son | ( | int | n | ) | const [inline, virtual] |
Get the n-th son.
n | The index of the son. |
Reimplemented from Puma::CTree.
CT_Expression* Puma::CT_GnuAsmOperand::Expr | ( | ) | const [inline] |
CT_String* Puma::CT_GnuAsmOperand::String | ( | ) | const [inline] |
Replace a son.
old_son | The son to replace. | |
new_son | The son with which to replace. |
Reimplemented from Puma::CTree.