Puma Reference Manual Puma: Puma::CSemScope Class Reference



Puma::CSemScope Class Reference

#include <Puma/CSemScope.h>

Inheritance diagram for Puma::CSemScope:

Inheritance graph

List of all members.


Detailed 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.
void Scope (CStructure *s)
 Set the scope.
CStructureScope () const
 Get the scope.


Constructor & Destructor Documentation

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

Constructor.


Member Function Documentation

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

Set the scope.

Parameters:
s The scope.

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

Get the scope.




Puma Reference Manual. Created on 11 Jul 2008.