207 lines
9.5 KiB
JSON
Generated
207 lines
9.5 KiB
JSON
Generated
{
|
|
"graph": {
|
|
"name": "",
|
|
"isFolderOnly": true,
|
|
"ast": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,0:0:0-9:0:81",
|
|
"nodes": [
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,1:0:1-8:1:80",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,1:0:1-1:4:5",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,1:0:1-1:4:5",
|
|
"value": [
|
|
{
|
|
"string": "vars",
|
|
"raw_string": "vars"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {},
|
|
"value": {
|
|
"map": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,1:6:7-8:1:80",
|
|
"nodes": [
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,2:1:10-7:3:78",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,2:1:10-2:10:19",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,2:1:10-2:10:19",
|
|
"value": [
|
|
{
|
|
"string": "d2-config",
|
|
"raw_string": "d2-config"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {},
|
|
"value": {
|
|
"map": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,2:12:21-7:3:78",
|
|
"nodes": [
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,3:2:25-6:5:74",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,3:2:25-3:6:29",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,3:2:25-3:6:29",
|
|
"value": [
|
|
{
|
|
"string": "data",
|
|
"raw_string": "data"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {},
|
|
"value": {
|
|
"map": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,3:8:31-6:5:74",
|
|
"nodes": [
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,4:6:39-4:14:47",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,4:6:39-4:9:42",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,4:6:39-4:9:42",
|
|
"value": [
|
|
{
|
|
"string": "cat",
|
|
"raw_string": "cat"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {},
|
|
"value": {
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,4:11:44-4:14:47",
|
|
"value": [
|
|
{
|
|
"string": "hat",
|
|
"raw_string": "hat"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,5:6:54-5:20:68",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,5:6:54-5:11:59",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,5:6:54-5:11:59",
|
|
"value": [
|
|
{
|
|
"string": "later",
|
|
"raw_string": "later"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {},
|
|
"value": {
|
|
"array": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,5:13:61-6:0:69",
|
|
"nodes": [
|
|
{
|
|
"number": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,5:14:62-5:15:63",
|
|
"raw": "1",
|
|
"value": "1"
|
|
}
|
|
},
|
|
{
|
|
"number": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,5:16:64-5:17:65",
|
|
"raw": "5",
|
|
"value": "5"
|
|
}
|
|
},
|
|
{
|
|
"number": {
|
|
"range": "d2/testdata/d2compiler/TestCompile2/vars/config/data.d2,5:18:66-5:19:67",
|
|
"raw": "2",
|
|
"value": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"root": {
|
|
"id": "",
|
|
"id_val": "",
|
|
"attributes": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"labelDimensions": {
|
|
"width": 0,
|
|
"height": 0
|
|
},
|
|
"style": {},
|
|
"near_key": null,
|
|
"shape": {
|
|
"value": ""
|
|
},
|
|
"direction": {
|
|
"value": ""
|
|
},
|
|
"constraint": null
|
|
},
|
|
"zIndex": 0
|
|
},
|
|
"edges": null,
|
|
"objects": null
|
|
},
|
|
"err": null
|
|
}
|