Classes | |
class | Scope |
Public Member Functions | |
VariableContext () | |
virtual | ~VariableContext () |
void | pushScope () |
void | popScope () |
void | clear () |
void | clearExceptGlobal () |
void | addVariable (const QCString &type, const QCString &name) |
ClassDef * | findVariable (const QCString &name) |
int | count () const |
Static Public Attributes | |
static const ClassDef * | dummyContext = (ClassDef*)0x8 |
Private Attributes | |
Scope | m_globalScope |
QList< Scope > | m_scopes |
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().
|
inlinevirtual |
Definition at line 10767 of file code.cpp.
Definition at line 10837 of file code.cpp.
|
inline |
Definition at line 10726 of file code.cpp.