#include <CTree.h>
Public Member Functions | |
CT_ArrayDelimiter (CTree *m, CTree *s, CTree *q, CTree *e, bool p=false) | |
const char * | NodeName () const |
int | Sons () const |
CTree * | Son (int n) const |
CT_Token * | Star () const |
CT_Token * | Static () const |
CT_DeclSpecSeq * | Qualifier () const |
CTree * | Expr () const |
void | ReplaceSon (CTree *old_son, CTree *new_son) |
Static Public Member Functions | |
static const char * | NodeId () |
Puma::CT_ArrayDelimiter::CT_ArrayDelimiter | ( | CTree * | m, | |
CTree * | s, | |||
CTree * | q, | |||
CTree * | e, | |||
bool | p = false | |||
) | [inline] |
static const char* Puma::CT_ArrayDelimiter::NodeId | ( | ) | [static] |
Get the identifier for this node type. Can be compared with NodeName().
const char* Puma::CT_ArrayDelimiter::NodeName | ( | ) | const [inline, virtual] |
Get the name of the node. Can be compared with NodeId().
Implements Puma::CTree.
int Puma::CT_ArrayDelimiter::Sons | ( | ) | const [inline, virtual] |
Get the number of sons.
Implements Puma::CTree.
CTree* Puma::CT_ArrayDelimiter::Son | ( | int | n | ) | const [inline, virtual] |
Get the n-th son.
n | The index of the son. |
Reimplemented from Puma::CTree.
CT_Token* Puma::CT_ArrayDelimiter::Star | ( | ) | const [inline] |
CT_Token* Puma::CT_ArrayDelimiter::Static | ( | ) | const [inline] |
CT_DeclSpecSeq* Puma::CT_ArrayDelimiter::Qualifier | ( | ) | const [inline] |
CTree* Puma::CT_ArrayDelimiter::Expr | ( | ) | const [inline] |
Replace a son.
old_son | The son to replace. | |
new_son | The new son. |
Reimplemented from Puma::CTree.