| 1 |
-- in.cue -- |
| 2 |
import "encoding/json" |
| 3 |
|
| 4 |
// The reference to string needs to be included even for Visit. |
| 5 |
a: b: json.Marshal({#a: str}) |
| 6 |
|
| 7 |
str: "x:y:z" |
| 8 |
-- out/dependencies/field -- |
| 9 |
line reference path of resulting vertex |
| 10 |
4: json.Marshal => "encoding/json".Marshal |
| 11 |
4: str => str |
| 12 |
-- out/dependencies/all -- |
| 13 |
line reference path of resulting vertex |
| 14 |
4: json.Marshal => "encoding/json".Marshal |
| 15 |
4: str => str |
| 16 |
-- out/dependencies/dynamic -- |
| 17 |
line reference path of resulting vertex |
| 18 |
4: json.Marshal => "encoding/json".Marshal |
| 19 |
4: str => str |
| 20 |
-- out/dependencies-v3/stats/field -- |
| 21 |
// COUNT: 2 |
| 22 |
-- out/dependencies-v3/stats/all -- |
| 23 |
// COUNT: 4 |
| 24 |
-- out/dependencies-v3/stats/dynamic -- |
| 25 |
// COUNT: 6 |