Puma Reference Manual Puma: Puma::CSemScope Class Reference



Puma::CSemScope Class Reference

Scope information object for syntax tree nodes. More...

#include <Puma/CSemScope.h>

Inherited by Puma::CT_ArgDeclList, Puma::CT_ArgDeclSeq, Puma::CT_CmpdStmt, Puma::CT_ForStmt, Puma::CT_Handler, Puma::CT_IfElseStmt, Puma::CT_IfStmt, Puma::CT_Intro, Puma::CT_MembInitList, Puma::CT_MembList, Puma::CT_Program, Puma::CT_SwitchStmt, Puma::CT_TemplateDecl, Puma::CT_TemplateParamList, and Puma::CT_WhileStmt.

List of all members.

Public Member Functions

 CSemScope ()
 Constructor.
void Scope (CStructure *s)
 Set the scope.
CStructure * Scope () const
 Get the scope.

Detailed Description

Scope information object for syntax tree nodes.

Some syntactic constructs open own scopes, e.g. class definitions, function bodies, and compound statements.


Constructor & Destructor Documentation

Puma::CSemScope::CSemScope (  )  [inline]

Constructor.


Member Function Documentation

CStructure* Puma::CSemScope::Scope (  )  const [inline]

Get the scope.

void Puma::CSemScope::Scope ( CStructure *  s  )  [inline]

Set the scope.

Parameters:
s The scope.



Puma Reference Manual. Created on 18 Sep 2009.