Debian Codegraph @

cue/ast/astutil/testdata/resolve/value.txtar

raw
1 -- in.cue --
2 b: X={
3 c: X.a
4 }
5 -- out/resolve/in --
6 3[b]: Scope: 0[<nil>] Node: 0[]
7 5[X]: Scope: 0[<nil>] Node: 0[]
8 8[c]: Scope: 0[<nil>] Node: 0[]
9 9[X]: Scope: 2[*ast.Field] Node: 4[X={c: X.a}]
10 10[a]: Scope: 0[<nil>] Node: 0[]