PUMA Library Reference Manual
Puma::CSemScope Class Reference

#include <Puma/CSemScope.h>

+ Inheritance diagram for Puma::CSemScope:

Description

Scope information object for syntax tree nodes.

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

Public Member Functions

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

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.