Puma Reference Manual Puma::CSemScope Class Reference



Puma::CSemScope Class Reference

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

#include <Puma/CSemScope.h>

Inheritance diagram for Puma::CSemScope:
Inheritance graph

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

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

Set the scope.

Parameters:
sThe scope.
CStructure* Puma::CSemScope::Scope ( ) const
inline

Get the scope.




Puma Reference Manual. Created on Sun Jul 1 2012.