Classes | |
class | Scope |
Public Member Functions | |
PyVariableContext () | |
virtual | ~PyVariableContext () |
void | pushScope () |
void | popScope () |
void | clear () |
void | clearExceptGlobal () |
void | addVariable (const QCString &type, const QCString &name) |
ClassDef * | findVariable (const QCString &name) |
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().
Definition at line 1275 of file pycode.cpp.
|
inline |
Definition at line 1285 of file pycode.cpp.
|
inlinevirtual |
Definition at line 1290 of file pycode.cpp.
Definition at line 1326 of file pycode.cpp.
|
inline |
Definition at line 1307 of file pycode.cpp.
|
inline |
Definition at line 1313 of file pycode.cpp.
Definition at line 1352 of file pycode.cpp.
|
inline |
Definition at line 1299 of file pycode.cpp.
|
inline |
Definition at line 1294 of file pycode.cpp.
Definition at line 1278 of file pycode.cpp.
|
private |
Definition at line 1322 of file pycode.cpp.
Definition at line 1323 of file pycode.cpp.