The VariableContext
Class Reference
Declaration
class VariableContext { ... }
Public Member Typedefs Index
Public Member Functions Index
Private Member Attributes Index
Description
Represents a stack of variable to class mappings as found in the code. Each scope is enclosed in pushScope() and popScope() calls. Variables are added by calling addVariables() and one can search for variable using findVariable().
Definition at line 74 of file scopedtypevariant.h.
Public Member Typedefs
Scope
using VariableContext::Scope = std::unordered_map<std::string,ScopedTypeVariant> |
|
Public Member Functions
addVariable()
atGlobalScope()
bool VariableContext::atGlobalScope () |
|
inline
|
clear()
void VariableContext::clear () |
|
inline
|
clearExceptGlobal()
void VariableContext::clearExceptGlobal () |
|
inline
|
findVariable()
const ScopedTypeVariant * VariableContext::findVariable (const QCString & name) |
|
inline
|
popScope()
void VariableContext::popScope () |
|
inline
|
pushScope()
void VariableContext::pushScope () |
|
inline
|
Private Member Attributes
m_globalScope
Scope VariableContext::m_globalScope |
|
m_scopes
std::vector<Scope> VariableContext::m_scopes |
|
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.