summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlbasicscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlbasicscript.cpp')
-rw-r--r--src/declarative/qml/qmlbasicscript.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlbasicscript.cpp b/src/declarative/qml/qmlbasicscript.cpp
index 6a32df7..b596437 100644
--- a/src/declarative/qml/qmlbasicscript.cpp
+++ b/src/declarative/qml/qmlbasicscript.cpp
@@ -121,6 +121,16 @@ public:
}
};
+// anchors.left: (nop convert)(qobject)parent.(anchorline)right
+
+/*
+ Property chains: a.b.c.d
+ if else value selection statements: if(a) b else if(c) d else e
+ trinary selection: a?b:c
+ addition: a + b
+ negation: a - a
+ equality: ==
+*/
static QVariant fetch_value(QObject *o, int idx, int type)
{
if (!o)