Move the scope building logic into QmlJS::ScopeBuilder.

This commit is contained in:
Christian Kamm
2010-02-19 15:55:11 +01:00
parent 08cfc8f28c
commit e9039db984
6 changed files with 187 additions and 102 deletions

View File

@@ -33,6 +33,7 @@
#include <qmljs/qmljsdocument.h>
#include <qmljs/qmljsinterpreter.h>
#include <qmljs/qmljslink.h>
#include <qmljs/qmljsscopebuilder.h>
#include <qmljs/parser/qmljsastvisitor_p.h>
namespace QmlJS {
@@ -72,10 +73,9 @@ private:
Interpreter::Engine _engine;
Interpreter::Context _context;
Link _link;
ScopeBuilder _scopeBuilder;
QList<DiagnosticMessage> _messages;
bool _allowAnyProperty;
};
} // namespace QmlJS