Puma Reference Manual | Puma: Puma::CT_Declarator Class Reference |
Base class for all tree nodes representing declarators. More...
#include <Puma/CTree.h>
Inherits Puma::CTree.
Inherited by Puma::CT_ArrayDeclarator, Puma::CT_BitFieldDeclarator, Puma::CT_BracedDeclarator, Puma::CT_FctDeclarator, Puma::CT_InitDeclarator, Puma::CT_MembPtrDeclarator, Puma::CT_PtrDeclarator, and Puma::CT_RefDeclarator.
Public Member Functions | |
virtual CTree * | Declarator () const =0 |
Get the declarator. | |
virtual CT_Declarator * | IsDeclarator () |
Get this. | |
CT_SimpleName * | Name () |
Get the declared name. | |
CT_SimpleName * | Name (CT_Declarator *&last_declarator) |
Get the declared name and set last_declarator to the declarator containing the name. | |
Protected Member Functions | |
CT_Declarator () | |
Constructor. |
Base class for all tree nodes representing declarators.
Puma::CT_Declarator::CT_Declarator | ( | ) | [inline, protected] |
Constructor.
virtual CTree* Puma::CT_Declarator::Declarator | ( | ) | const [pure virtual] |
Get the declarator.
Implemented in Puma::CT_InitDeclarator, Puma::CT_BracedDeclarator, Puma::CT_ArrayDeclarator, Puma::CT_FctDeclarator, Puma::CT_RefDeclarator, Puma::CT_PtrDeclarator, Puma::CT_MembPtrDeclarator, and Puma::CT_BitFieldDeclarator.
virtual CT_Declarator* Puma::CT_Declarator::IsDeclarator | ( | ) | [inline, virtual] |
Get this.
Reimplemented from Puma::CTree.
CT_SimpleName* Puma::CT_Declarator::Name | ( | CT_Declarator *& | last_declarator | ) |
Get the declared name and set last_declarator to the declarator containing the name.
last_declarator | To be set to the declarator containing the name. |
CT_SimpleName* Puma::CT_Declarator::Name | ( | ) |
Get the declared name.