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

Public Member Functions

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

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 Tue Oct 28 2014.