Puma Reference Manual Puma: Puma::CT_DeclList Class Reference



Puma::CT_DeclList Class Reference

Tree node representing a list of declarations. More...

#include <Puma/CTree.h>

Inherits Puma::CT_List.

Inherited by Puma::CT_ArgDeclList, Puma::CT_ArgDeclSeq, Puma::CT_MembList, and Puma::CT_Program.

List of all members.

Public Member Functions

 CT_DeclList (int size=20, int incr=20)
 Constructor.
const char * NodeName () const
 Get the name of the node.
void Linkage (CT_LinkageSpec *l)
 Set the linkage specifiers to each declaration in the list.

Static Public Member Functions

static const char * NodeId ()
 Get the identifier for this node type.

Detailed Description

Tree node representing a list of declarations.


Constructor & Destructor Documentation

Puma::CT_DeclList::CT_DeclList ( int  size = 20,
int  incr = 20 
) [inline]

Constructor.

Parameters:
size The initial size of the list.
incr The initial increment count of the list.

Member Function Documentation

void Puma::CT_DeclList::Linkage ( CT_LinkageSpec l  ) 

Set the linkage specifiers to each declaration in the list.

Parameters:
l The linkage specifiers node.
static const char* Puma::CT_DeclList::NodeId (  )  [static]

Get the identifier for this node type.

Can be compared with NodeName().

Reimplemented in Puma::CT_Program, Puma::CT_ArgDeclList, Puma::CT_ArgDeclSeq, Puma::CT_ArgNameList, and Puma::CT_MembList.

const char* Puma::CT_DeclList::NodeName (  )  const [inline, virtual]

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

Reimplemented in Puma::CT_Program, Puma::CT_ArgDeclList, Puma::CT_ArgDeclSeq, Puma::CT_ArgNameList, and Puma::CT_MembList.




Puma Reference Manual. Created on 18 Sep 2009.