From 4a2f09f14a4b79006e661b6d98c03909c4ba9db1 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 1 Oct 2013 09:04:50 +0200 Subject: [new compiler] Initial support for custom parsers Enough to support the Connections {} element. What's missing are pre-compiled bindings signal handlers. Change-Id: I3ad1413fa636434d899ae8fb380249aaf40363dc Reviewed-by: Lars Knoll --- src/qml/qml/qqmlcompiler_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qml/qml/qqmlcompiler_p.h') diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h index 516f6653ca..d410d396e3 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -157,6 +157,8 @@ public: // index in first hash is component index, hash inside maps from object index in that scope to integer id QHash > objectIndexToIdPerComponent; QHash objectIndexToIdForRoot; + // hash key is object index + QHash customParserData; QVector customParserBindings; // index is binding identifier, value is compiled function index. bool isComponent(int objectIndex) const { return objectIndexToIdPerComponent.contains(objectIndex); } -- cgit v1.2.3