Puma Reference Manual Puma::CT_ArgDeclList Class Reference



Puma::CT_ArgDeclList Class Reference

Tree node representing a function parameter list. More...

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_ArgDeclList:
Inheritance graph

List of all members.

Public Member Functions

 CT_ArgDeclList (int size=2, int props=SEPARATORS|OPEN_CLOSE)
 Constructor.
const char * NodeName () const
 Get the name of the node.
CSemScopeSemScope () const
 Get the scope opened by the parameter list.

Static Public Member Functions

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

Detailed Description

Tree node representing a function parameter list.


Constructor & Destructor Documentation

Puma::CT_ArgDeclList::CT_ArgDeclList ( int  size = 2,
int  props = SEPARATORS | OPEN_CLOSE 
) [inline]

Constructor.

Parameters:
sizeThe initial size of the list.
propsThe list properties.

Member Function Documentation

static const char* Puma::CT_ArgDeclList::NodeId ( ) [static]

Get the identifier for this node type.

Can be compared with NodeName().

Reimplemented from Puma::CT_DeclList.

Reimplemented in Puma::CT_ArgNameList.

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

Get the name of the node.

Can be compared with NodeId().

Reimplemented from Puma::CT_DeclList.

Reimplemented in Puma::CT_ArgNameList.

CSemScope* Puma::CT_ArgDeclList::SemScope ( ) const [inline, virtual]

Get the scope opened by the parameter list.

Reimplemented from Puma::CTree.