Puma::CT_GnuTypeof Class Reference

#include <GnuCTree.h>

Inheritance diagram for Puma::CT_GnuTypeof:

Inheritance graph

List of all members.

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
CTreeSon (int n) const
void ReplaceSon (CTree *old_son, CTree *new_son)
CTreeExpr () const
CT_NamedTypeTypeName () const
CSemValueSemValue () const
CTypeInfoType () const

Static Public Member Functions

static const char * NodeId ()


Constructor & Destructor Documentation

Puma::CT_GnuTypeof::CT_GnuTypeof ( CTree k,
CTree o,
CTree t,
CTree c 
) [inline]

Puma::CT_GnuTypeof::CT_GnuTypeof ( CTree k,
CTree e 
) [inline]


Member Function Documentation

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.

Parameters:
n The index of the son.
Returns:
The n-th son or NULL.

Reimplemented from Puma::CTree.

void Puma::CT_GnuTypeof::ReplaceSon ( CTree old_son,
CTree new_son 
) [inline, virtual]

Replace a son.

Parameters:
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.

Returns:
The value object or NULL.

Reimplemented from Puma::CTree.

CTypeInfo* Puma::CT_GnuTypeof::Type (  )  const [inline, virtual]

Get the semantic type of the node.

Returns:
The type object or NULL.

Reimplemented from Puma::CTree.


Generated on Sat May 10 03:04:06 2008 for Puma by  doxygen 1.5.5