Some refactoring needed to create ranges for JavaScript functions.

This commit is contained in:
Roberto Raggi
2010-02-02 16:36:14 +01:00
parent 03fa188b41
commit 14ffb1e465
8 changed files with 46 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ public:
~Link();
// Get the scope chain for the currentObject inside doc.
Interpreter::ObjectValue *scopeChainAt(Document::Ptr doc, AST::UiObjectMember *currentObject);
Interpreter::ObjectValue *scopeChainAt(Document::Ptr doc, AST::Node *currentObject);
private:
static QList<Document::Ptr> reachableDocuments(Document::Ptr startDoc, const Snapshot &snapshot);