#include <GnuCTree.h>
Public Member Functions | |
CT_GnuTypeof (CTree *k, CTree *o, CTree *t, CTree *c) | |
CT_GnuTypeof (CTree *k, CTree *e) | |
const char * | NodeName () const |
int | Sons () const |
CTree * | Son (int n) const |
void | ReplaceSon (CTree *old_son, CTree *new_son) |
CTree * | Expr () const |
CT_NamedType * | TypeName () const |
CSemValue * | SemValue () const |
CTypeInfo * | Type () const |
Static Public Member Functions | |
static const char * | NodeId () |
static const char* Puma::CT_GnuTypeof::NodeId | ( | ) | [static] |
const char* Puma::CT_GnuTypeof::NodeName | ( | ) | const [inline, virtual] |
Get the node name (node identifier).
Implements Puma::CTree.
int Puma::CT_GnuTypeof::Sons | ( | ) | const [inline, virtual] |
Get the number of sons.
Implements Puma::CTree.
CTree* Puma::CT_GnuTypeof::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.
CTree* Puma::CT_GnuTypeof::Expr | ( | ) | const [inline] |
CT_NamedType* Puma::CT_GnuTypeof::TypeName | ( | ) | const [inline] |
CSemValue* Puma::CT_GnuTypeof::SemValue | ( | ) | const [inline, virtual] |
Get the semantic value of the node.
Reimplemented from Puma::CTree.
CTypeInfo* Puma::CT_GnuTypeof::Type | ( | ) | const [inline, virtual] |