Puma Reference Manual | Puma: Puma::CT_Decl Class Reference |
Base class for all tree nodes representing declarations. More...
#include <Puma/CTree.h>
Inherits Puma::CTree.
Inherited by Puma::CT_AccessDecl, Puma::CT_AdviceDecl, Puma::CT_ArgDecl, Puma::CT_AsmDef, Puma::CT_ClassDef, Puma::CT_Condition, Puma::CT_EnumDef, Puma::CT_Enumerator, Puma::CT_FctDef, Puma::CT_Handler, Puma::CT_LinkageSpec, Puma::CT_NamespaceAliasDef, Puma::CT_NamespaceDef, Puma::CT_ObjDecl, Puma::CT_PointcutDecl, Puma::CT_TemplateDecl, Puma::CT_TemplateParamDecl, and Puma::CT_UsingDirective.
Public Member Functions | |
void | Linkage (CT_LinkageSpec *l) |
Set the linkage of the declared entity. | |
CT_LinkageSpec * | Linkage () const |
Get the linkage specifiers. | |
virtual CT_Decl * | IsDeclaration () |
Get this. | |
Protected Member Functions | |
CT_Decl () | |
Constructor. |
Base class for all tree nodes representing declarations.
Puma::CT_Decl::CT_Decl | ( | ) | [inline, protected] |
Constructor.
virtual CT_Decl* Puma::CT_Decl::IsDeclaration | ( | ) | [inline, virtual] |
Get this.
Reimplemented from Puma::CTree.
CT_LinkageSpec* Puma::CT_Decl::Linkage | ( | ) | const [inline] |
Get the linkage specifiers.
Reimplemented in Puma::CT_LinkageSpec.
void Puma::CT_Decl::Linkage | ( | CT_LinkageSpec * | l | ) | [inline] |
Set the linkage of the declared entity.
l | The linkage specifiers. |