#include <Puma/CTree.h>
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 () |
Puma::CT_DeclList::CT_DeclList | ( | int | size = 20 , |
|
int | incr = 20 | |||
) | [inline] |
Constructor.
size | The initial size of the list. | |
incr | The initial increment count of the list. |
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.
l | The linkage specifiers node. |