d2/testdata/d2ir/TestCompile/fields/primary/root.exp.json

193 lines
5.8 KiB
JSON
Raw Normal View History

2023-01-16 11:52:37 +00:00
{
2023-01-18 11:51:16 +00:00
"fields": [
{
2024-11-24 02:40:36 +00:00
"name": {
"range": "TestCompile/fields/primary/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
},
2023-01-18 11:51:16 +00:00
"primary": {
"value": {
"range": "TestCompile/fields/primary/root.d2,0:3:3-0:6:6",
"value": [
{
"string": "yes",
"raw_string": "yes"
}
]
}
},
"composite": {
"fields": [
{
2024-11-24 02:40:36 +00:00
"name": {
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
"value": [
{
"string": "pqrs",
"raw_string": "pqrs"
}
]
},
2023-01-18 11:51:16 +00:00
"references": [
2023-01-18 01:39:31 +00:00
{
2023-01-18 11:51:16 +00:00
"string": {
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
2023-01-18 01:39:31 +00:00
"value": [
{
2023-01-18 11:51:16 +00:00
"string": "pqrs",
"raw_string": "pqrs"
2023-01-18 01:39:31 +00:00
}
]
2023-01-18 11:51:16 +00:00
},
"key_path": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
2023-01-18 11:51:16 +00:00
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
"value": [
{
"string": "pqrs",
"raw_string": "pqrs"
}
]
}
}
]
},
"context": {
"edge": null,
2023-01-18 11:51:16 +00:00
"key": {
2023-01-18 10:06:44 +00:00
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:14:14",
2023-01-18 01:39:31 +00:00
"key": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
2023-01-18 01:39:31 +00:00
"path": [
{
"unquoted_string": {
2023-01-18 10:06:44 +00:00
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
2023-01-18 01:39:31 +00:00
"value": [
{
"string": "pqrs",
"raw_string": "pqrs"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
2023-08-20 04:20:32 +00:00
"due_to_glob": false,
"due_to_lazy_glob": false
2023-01-18 11:51:16 +00:00
}
]
2023-01-18 01:39:31 +00:00
}
2023-01-18 11:51:16 +00:00
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/fields/primary/root.d2,0:0:0-0:1:1",
2023-01-18 01:39:31 +00:00
"value": [
{
2023-01-18 11:51:16 +00:00
"string": "x",
"raw_string": "x"
2023-01-18 01:39:31 +00:00
}
]
2023-01-18 11:51:16 +00:00
},
"key_path": {
"range": "TestCompile/fields/primary/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
2023-01-18 10:06:44 +00:00
"range": "TestCompile/fields/primary/root.d2,0:0:0-0:1:1",
2023-01-18 11:51:16 +00:00
"value": [
2023-01-18 05:30:28 +00:00
{
2023-01-18 11:51:16 +00:00
"string": "x",
"raw_string": "x"
2023-01-18 05:30:28 +00:00
}
]
2023-01-18 11:51:16 +00:00
}
}
]
},
"context": {
"edge": null,
2023-01-18 11:51:16 +00:00
"key": {
"range": "TestCompile/fields/primary/root.d2,0:0:0-0:15:15",
"key": {
"range": "TestCompile/fields/primary/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/primary/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
2023-01-18 05:30:28 +00:00
}
2023-01-18 11:51:16 +00:00
]
},
"primary": {
"unquoted_string": {
"range": "TestCompile/fields/primary/root.d2,0:3:3-0:6:6",
"value": [
{
"string": "yes",
"raw_string": "yes"
}
]
}
},
"value": {
"map": {
"range": "TestCompile/fields/primary/root.d2,0:7:7-0:15:15",
2023-01-18 11:51:16 +00:00
"nodes": [
{
"map_key": {
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:14:14",
"key": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
2023-01-18 11:51:16 +00:00
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/primary/root.d2,0:9:9-0:13:13",
"value": [
{
"string": "pqrs",
"raw_string": "pqrs"
}
]
2023-01-18 05:30:28 +00:00
}
2023-01-18 11:51:16 +00:00
}
]
},
"primary": {},
"value": {}
2023-01-18 05:30:28 +00:00
}
2023-01-18 11:51:16 +00:00
}
]
2023-01-18 05:30:28 +00:00
}
2023-01-18 11:51:16 +00:00
}
}
},
2023-08-20 04:20:32 +00:00
"due_to_glob": false,
"due_to_lazy_glob": false
2023-01-18 11:51:16 +00:00
}
]
}
],
"edges": null
2023-01-16 11:52:37 +00:00
}