Puma Reference Manual Puma: Puma::CT_ArgDeclList Class Reference



Puma::CT_ArgDeclList Class Reference

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

#include <Puma/CTree.h>

Inherits Puma::CT_DeclList, and Puma::CSemScope.

Inherited by Puma::CT_ArgNameList.

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:
size The initial size of the list.
props The 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.




Puma Reference Manual. Created on 18 Sep 2009.