Add an accessor to get the flat scope list from ScopeChain.

Done-with: Erik Verbruggen
This commit is contained in:
Christian Kamm
2010-02-22 10:21:07 +01:00
parent e9039db984
commit 8d14f18ec0
3 changed files with 20 additions and 12 deletions

View File

@@ -189,7 +189,7 @@ public:
_properties.clear();
_currentObject = 0;
foreach (const Interpreter::ObjectValue *scope, _context->scopeChain().all)
foreach (const Interpreter::ObjectValue *scope, _context->scopeChain().all())
enumerateProperties(scope);
return _properties;