Puma Reference Manual Puma: Puma::CT_Declarator Class Reference



Puma::CT_Declarator Class Reference

Base class for all tree nodes representing declarators. More...

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_Declarator:
Inheritance graph

List of all members.

Public Member Functions

virtual CTreeDeclarator () const =0
 Get the declarator.
virtual CT_DeclaratorIsDeclarator ()
 Get this.
CT_SimpleNameName ()
 Get the declared name.
CT_SimpleNameName (CT_Declarator *&last_declarator)
 Get the declared name and set last_declarator to the declarator containing the name.

Protected Member Functions

 CT_Declarator ()
 Constructor.

Detailed Description

Base class for all tree nodes representing declarators.


Constructor & Destructor Documentation

Puma::CT_Declarator::CT_Declarator ( ) [inline, protected]

Constructor.


Member Function Documentation

virtual CT_Declarator* Puma::CT_Declarator::IsDeclarator ( ) [inline, virtual]

Get this.

Reimplemented from Puma::CTree.

CT_SimpleName* Puma::CT_Declarator::Name ( )

Get the declared name.

CT_SimpleName* Puma::CT_Declarator::Name ( CT_Declarator *&  last_declarator)

Get the declared name and set last_declarator to the declarator containing the name.

Parameters:
last_declaratorTo be set to the declarator containing the name.