Pass in the whole AST path for scope creation.

Just the declaring member isn't enough.
This commit is contained in:
Christian Kamm
2010-02-19 12:25:26 +01:00
parent 8274197366
commit 08cfc8f28c
8 changed files with 45 additions and 28 deletions

View File

@@ -264,7 +264,7 @@ public:
Context(Engine *engine);
~Context();
void build(AST::Node *node, const Document::Ptr doc, const Snapshot &snapshot);
void build(const QList<AST::Node *> &astPath, const Document::Ptr doc, const Snapshot &snapshot);
Engine *engine() const;
const ScopeChain &scopeChain() const;