Initalize the members of the binder.

This commit is contained in:
Roberto Raggi
2010-01-26 15:51:31 +01:00
parent 138221ac24
commit 02ee76b82a
3 changed files with 19 additions and 13 deletions

View File

@@ -39,10 +39,10 @@ namespace QmlJS {
class QMLJS_EXPORT Bind: protected AST::Visitor
{
public:
Bind();
Bind(Interpreter::Engine *interp);
virtual ~Bind();
Interpreter::ObjectValue* operator()(Document::Ptr doc, Snapshot &snapshot, AST::UiObjectMember *member, Interpreter::Engine &interp);
Interpreter::ObjectValue* operator()(Document::Ptr doc, const Snapshot &snapshot, AST::UiObjectMember *member);
protected:
void accept(AST::Node *node);
@@ -148,9 +148,9 @@ protected:
private:
Document::Ptr _doc;
Snapshot *_snapshot;
AST::UiObjectMember *_interestingMember;
Snapshot _snapshot;
Interpreter::Engine *_interp;
AST::UiObjectMember *_interestingMember;
Interpreter::ObjectValue *_currentObjectValue;