| Puma Reference Manual | Puma: Puma::CLocalScope Class Reference |
#include <Puma/CLocalScope.h>

Examples for local scopes:
{ <local scope> }
if (...) <local scope>;
while (...) { <local scope> }
Public Member Functions | |
| CLocalScope () | |
| Constructor. | |
| ~CLocalScope () | |
| Destructor. | |
| CLocalScope * | Top () const |
| Get the outermost local scope in a nested hierarchy of local scopes. | |
| CFunctionInfo * | Function () const |
| Get the function containing the local scope. | |
| Puma::CLocalScope::CLocalScope | ( | ) | [inline] |
Constructor.
| Puma::CLocalScope::~CLocalScope | ( | ) | [inline] |
Destructor.
If the object type is CObjectInfo::LOCAL_INFO, then CObjectInfo::CleanUp() is called.
| CLocalScope* Puma::CLocalScope::Top | ( | ) | const |
Get the outermost local scope in a nested hierarchy of local scopes.
| CFunctionInfo* Puma::CLocalScope::Function | ( | ) | const |
Get the function containing the local scope.