Puma Reference Manual Puma::CT_CmpdStmt Class Reference



Puma::CT_CmpdStmt Class Reference

Tree node representing a compound statement. More...

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_CmpdStmt:
Inheritance graph

List of all members.

Public Member Functions

 CT_CmpdStmt ()
const char * NodeName () const
 Get the name of the node.
CSemScopeSemScope () const
 Get the scope opened by the compound statement.

Static Public Member Functions

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

Detailed Description

Tree node representing a compound statement.


Constructor & Destructor Documentation


Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

Reimplemented in Puma::CT_DelayedParseSkippedFctBody, and Puma::CT_DelayedParseFctBody.

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

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

Reimplemented in Puma::CT_DelayedParseSkippedFctBody, and Puma::CT_DelayedParseFctBody.

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

Get the scope opened by the compound statement.

Reimplemented from Puma::CTree.