| Puma Reference Manual | Puma: Puma::CT_Program Class Reference |
#include <Puma/CTree.h>

Public Member Functions | |
| CT_Program (int size=20, int incr=20) | |
| Constructor. | |
| const char * | NodeName () const |
| Get the name of the node. | |
| CSemScope * | SemScope () const |
| Get the top scope. | |
Static Public Member Functions | |
| static const char * | NodeId () |
| Get the identifier for this node type. | |
| Puma::CT_Program::CT_Program | ( | int | size = 20, |
|
| int | incr = 20 | |||
| ) | [inline] |
Constructor.
| size | The initial number of declarations in the program. | |
| incr | The initial increment count. |
| 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] |
| CSemScope* Puma::CT_Program::SemScope | ( | ) | const [inline, virtual] |