Puma::CT_DeclList Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_DeclList:

Inheritance graph

List of all members.


Detailed Description

Tree node representing a list of declarations.

Public Member Functions

 CT_DeclList (int size=20, int incr=20)
const char * NodeName () const
void Linkage (CT_LinkageSpec *l)

Static Public Member Functions

static const char * NodeId ()

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

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.

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

Set the linkage specifiers to each declaration in the list.

Parameters:
l The linkage specifiers node.


Generated on Sat May 10 03:03:57 2008 for Puma by  doxygen 1.5.5