Puma::CT_Program Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_Program:

Inheritance graph

List of all members.


Detailed Description

Root node of C/C++ syntax tree.

Public Member Functions

 CT_Program (int size=20, int incr=20)
const char * NodeName () const
CSemScopeSemScope () const

Static Public Member Functions

static const char * NodeId ()

Constructor & Destructor Documentation

Puma::CT_Program::CT_Program ( int  size = 20,
int  incr = 20 
) [inline]

Constructor.

Parameters:
size The initial number of declarations in the program.
incr The initial increment count.


Member Function Documentation

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

Get the identifier for this node type. Can be compared with NodeName().

Reimplemented from Puma::CT_DeclList.

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

Get the name of the node. Can be compared with NodeId().

Reimplemented from Puma::CT_DeclList.

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

Get the semantic scope object.

Reimplemented from Puma::CTree.


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