diff options
Diffstat (limited to 'src/qml/qml/qqmlcompiler_p.h')
-rw-r--r-- | src/qml/qml/qqmlcompiler_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h index 5a96580f78..5a6291afe6 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -160,7 +160,11 @@ public: QHash<int, QHash<int, int> > objectIndexToIdPerComponent; QHash<int, int> objectIndexToIdForRoot; // hash key is object index - QHash<int, QByteArray> customParserData; + struct CustomParserData { + QByteArray compilationArtifact; // produced by custom parser + QBitArray bindings; // bindings covered by the custom parser + }; + QHash<int, CustomParserData> customParserData; QVector<int> customParserBindings; // index is binding identifier, value is compiled function index. int totalBindingsCount; // Number of bindings used in this type int totalParserStatusCount; // Number of instantiated types that are QQmlParserStatus subclasses |