Puma Reference Manual Puma: Puma::CT_ArgDeclSeq Class Reference



Puma::CT_ArgDeclSeq Class Reference

Tree node representing a K&R function parameter declarations list. More...

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_ArgDeclSeq:
Inheritance graph

List of all members.

Public Member Functions

 CT_ArgDeclSeq (int size=2)
 Constructor.
const char * NodeName () const
 Get the name of the node.
CSemScopeSemScope () const
 Get the scope opened by the parameter declarations list.

Static Public Member Functions

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

Detailed Description

Tree node representing a K&R function parameter declarations list.


Constructor & Destructor Documentation

Puma::CT_ArgDeclSeq::CT_ArgDeclSeq ( int  size = 2) [inline]

Constructor.

Parameters:
sizeThe initial size of the list.

Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

Reimplemented from Puma::CT_DeclList.

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

Get the name of the node.

Can be compared with NodeId().

Reimplemented from Puma::CT_DeclList.

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

Get the scope opened by the parameter declarations list.

Reimplemented from Puma::CTree.