Debian Codegraph @

tests/benchmarks/qml/librarymetrics_performance/data/item.21.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 id: root
5 objectName: "root"
6 function generate() {
7 var f = null;
8 if (root.objectName == "root") {
9 f = function(param) { return 42 - param; }
10 } else {
11 f = function(param) { return 9000 * param; }
12 }
13 return f;
14 }
15
16 property int b: 50
17 property var a: b + generate()()
18 }