QmlJS: Reactivate instantiating component scope detection.

* Bind::usesQmlPrototype is now significantly more performant
* type environments are no longer hashed by filename, but rather
  by Document *
* duplicate scope builds are avoided

Task-number: QTCREATORBUG-2835
Reviewed-by: Erik Verbruggen
This commit is contained in:
Christian Kamm
2010-11-23 12:57:48 +01:00
parent 8f27c43877
commit 93967104f3
6 changed files with 78 additions and 7 deletions

View File

@@ -71,6 +71,8 @@ public:
AST::ExpressionNode *expression() const;
AST::Node *ast() const;
const QmlJS::Engine *engine() const;
QList<DiagnosticMessage> diagnosticMessages() const;
QString source() const;