| 1 |
-- in.cue -- |
| 2 |
a: b: { |
| 3 |
for i, x in c |
| 4 |
let y = x |
| 5 |
if y > 0 { |
| 6 |
"\(e)\(i)": x + d |
| 7 |
} |
| 8 |
x: { |
| 9 |
for x in [1] { foo: f.g } |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
c: [1, 2] |
| 14 |
d: 2 |
| 15 |
e: "t" |
| 16 |
f: { |
| 17 |
g: 3 |
| 18 |
} |
| 19 |
-- out/dependencies/field -- |
| 20 |
line reference path of resulting vertex |
| 21 |
2: c => c |
| 22 |
5: e => e |
| 23 |
-- out/dependencies/all -- |
| 24 |
line reference path of resulting vertex |
| 25 |
2: c => c |
| 26 |
5: e => e |
| 27 |
5: d => d |
| 28 |
8: f.g => f.g |
| 29 |
-- out/dependencies/dynamic -- |
| 30 |
line reference path of resulting vertex |
| 31 |
2: c => c |
| 32 |
5: e => e |
| 33 |
8: f.g => f.g |
| 34 |
5: x => c[0] |
| 35 |
5: d => d |
| 36 |
5: x => c[1] |
| 37 |
5: d => d |
| 38 |
-- out/dependencies-v3/stats/field -- |
| 39 |
// COUNT: 5 |
| 40 |
-- out/dependencies-v3/stats/all -- |
| 41 |
// COUNT: 13 |
| 42 |
-- out/dependencies-v3/stats/dynamic -- |
| 43 |
// COUNT: 23 |