| Puma Reference Manual | Puma: Puma::CT_FctDeclarator Class Reference |
#include <Puma/CTree.h>

Example:
f(int a) const
Public Member Functions | |
| CT_FctDeclarator (CTree *d, CTree *args, CTree *cv, CTree *es) | |
| Constructor. | |
| const char * | NodeName () const |
| Get the name of the node. | |
| int | Sons () const |
| Get the number of sons. | |
| CTree * | Son (int n) const |
| Get the n-th son. | |
| CTree * | Declarator () const |
| Get the function declarator. | |
| CT_ArgDeclList * | Arguments () const |
| Get the function parameter list. | |
| CT_DeclSpecSeq * | Qualifier () const |
| Get the function qualifier list. | |
| CT_ExceptionSpec * | ExceptionSpecs () const |
| Get the exception specifier. | |
| void | ReplaceSon (CTree *old_son, CTree *new_son) |
| Replace a son. | |
Static Public Member Functions | |
| static const char * | NodeId () |
| Get the identifier for this node type. | |
| Puma::CT_FctDeclarator::CT_FctDeclarator | ( | CTree * | d, | |
| CTree * | args, | |||
| CTree * | cv, | |||
| CTree * | es | |||
| ) | [inline] |
Constructor.
| d | The function declarator. | |
| args | The function parameter list. | |
| cv | The function qualifiers. | |
| es | The exception specifier. |
| static const char* Puma::CT_FctDeclarator::NodeId | ( | ) | [static] |
Get the identifier for this node type.
Can be compared with NodeName().
| const char* Puma::CT_FctDeclarator::NodeName | ( | ) | const [inline, virtual] |
| int Puma::CT_FctDeclarator::Sons | ( | ) | const [inline, virtual] |
| CTree* Puma::CT_FctDeclarator::Son | ( | int | n | ) | const [inline, virtual] |
Get the n-th son.
| n | The index of the son. |
Reimplemented from Puma::CTree.
| CTree* Puma::CT_FctDeclarator::Declarator | ( | ) | const [inline, virtual] |
| CT_ArgDeclList* Puma::CT_FctDeclarator::Arguments | ( | ) | const [inline] |
Get the function parameter list.
| CT_DeclSpecSeq* Puma::CT_FctDeclarator::Qualifier | ( | ) | const [inline] |
Get the function qualifier list.
| CT_ExceptionSpec* Puma::CT_FctDeclarator::ExceptionSpecs | ( | ) | const [inline] |
Get the exception specifier.
Replace a son.
| old_son | The son to replace. | |
| new_son | The new son. |
Reimplemented from Puma::CTree.