diff options
author | Simon Hausmann <[email protected]> | 2013-09-16 14:38:58 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-09-20 14:26:33 +0200 |
commit | 896d63dc10f0ad99d314a3c99f24681feac8aebf (patch) | |
tree | 1d2b96a8eabd0db8aeb3e3d5d0d119af4a1412b0 /src/qml/compiler/qv4compileddata_p.h | |
parent | d847bf07a2659a9b1bf022565eca5455f918b50c (diff) |
[new compiler] Cleanup attached and group property determination
Determine when a qualified identifier signifies an attached property or a group
property in one place and set the Binding::Type accordingly.
This simplifies the object builder code, too.
Change-Id: I9f572441e9b5b43338752b848649fbd507cabe4c
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r-- | src/qml/compiler/qv4compileddata_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h index e11cdddcbb..5f67d0c215 100644 --- a/src/qml/compiler/qv4compileddata_p.h +++ b/src/qml/compiler/qv4compileddata_p.h @@ -251,7 +251,9 @@ struct Binding Type_Number, Type_String, Type_Script, - Type_Object + Type_Object, + Type_AttachedProperty, + Type_GroupProperty }; enum Flags { |