QmlJS: Simplify check if a document instantiates a component.

Change-Id: If45002ecec56ca766ef7a0c7878c0a48fadee452
Reviewed-on: http://codereview.qt-project.org/4734
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Christian Kamm
2011-09-13 10:09:14 +02:00
parent 4b2f42cf87
commit a8b03e9c28
2 changed files with 8 additions and 55 deletions

View File

@@ -102,6 +102,7 @@ private:
ObjectValue *_rootObjectValue;
QHash<AST::Node *, ObjectValue *> _qmlObjects;
QMultiHash<QString, const ObjectValue *> _qmlObjectsByPrototypeName;
QSet<AST::Node *> _groupedPropertyBindings;
QHash<AST::Node *, ObjectValue *> _attachedJSScopes;
QStringList _includedScripts;