d2/testdata/d2compiler/TestCompile/link-board-nested.exp.json

498 lines
17 KiB
JSON
Raw Normal View History

2023-02-05 18:36:38 +00:00
{
"graph": {
"name": "",
2023-02-28 22:31:18 +00:00
"isFolderOnly": false,
2023-02-05 18:36:38 +00:00
"ast": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-9:1:101",
2023-02-05 18:36:38 +00:00
"nodes": [
{
"map_key": {
2023-03-01 23:38:02 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:25:25",
2023-02-05 18:36:38 +00:00
"key": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:6:6",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:2:2-0:6:6",
"value": [
{
"string": "link",
"raw_string": "link"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
2023-03-01 22:53:58 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"value": [
{
2023-03-01 22:53:58 +00:00
"string": "root.layers.x.layers.x"
2023-02-05 18:36:38 +00:00
}
]
}
}
}
},
{
"map_key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-9:1:101",
2023-02-05 18:36:38 +00:00
"key": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-1:6:32",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-1:6:32",
"value": [
{
"string": "layers",
"raw_string": "layers"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:8:34-9:1:101",
2023-02-05 18:36:38 +00:00
"nodes": [
{
"map_key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:2:38-8:3:99",
2023-02-05 18:36:38 +00:00
"key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:2:38-2:3:39",
2023-02-05 18:36:38 +00:00
"path": [
{
"unquoted_string": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:2:38-2:3:39",
2023-02-05 18:36:38 +00:00
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:5:41-8:3:99",
2023-02-05 18:36:38 +00:00
"nodes": [
{
"map_key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:47-7:5:95",
2023-02-05 18:36:38 +00:00
"key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:47-3:10:53",
2023-02-05 18:36:38 +00:00
"path": [
{
"unquoted_string": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:47-3:10:53",
2023-02-05 18:36:38 +00:00
"value": [
{
"string": "layers",
"raw_string": "layers"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:12:55-7:5:95",
2023-02-05 18:36:38 +00:00
"nodes": [
{
"map_key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:63-6:7:89",
2023-02-05 18:36:38 +00:00
"key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:63-4:7:64",
2023-02-05 18:36:38 +00:00
"path": [
{
"unquoted_string": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:63-4:7:64",
2023-02-05 18:36:38 +00:00
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"primary": {},
2023-03-01 18:28:01 +00:00
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:9:66-6:7:89",
2023-03-01 18:28:01 +00:00
"nodes": [
{
"map_key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,5:8:76-5:13:81",
2023-03-01 18:28:01 +00:00
"key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,5:8:76-5:13:81",
2023-03-01 18:28:01 +00:00
"path": [
{
"unquoted_string": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,5:8:76-5:13:81",
2023-03-01 18:28:01 +00:00
"value": [
{
"string": "hello",
"raw_string": "hello"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
2023-02-05 18:36:38 +00:00
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
2023-02-05 18:36:38 +00:00
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2023-02-05 18:36:38 +00:00
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "x",
"id_val": "x",
"references": [
{
"key": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:6:6",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:2:2-0:6:6",
"value": [
{
"string": "link",
"raw_string": "link"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "x"
},
"labelDimensions": {
"width": 0,
"height": 0
},
2023-02-05 18:36:38 +00:00
"style": {},
"link": {
2023-03-01 22:53:58 +00:00
"value": "root.layers.x.layers.x"
2023-02-05 18:36:38 +00:00
},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2023-02-05 18:36:38 +00:00
},
"zIndex": 0
}
],
"layers": [
{
"name": "x",
2023-03-01 18:28:01 +00:00
"isFolderOnly": true,
2023-02-05 18:36:38 +00:00
"ast": {
2023-06-18 18:19:37 +00:00
"range": ",1:0:0-2:0:0",
2023-02-05 18:36:38 +00:00
"nodes": [
{
"map_key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"path": [
{
"unquoted_string": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"value": [
{
2023-06-16 23:23:57 +00:00
"string": "layers"
2023-02-05 18:36:38 +00:00
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
2023-06-16 23:23:57 +00:00
"range": ",1:0:0-2:0:0",
2023-02-05 18:36:38 +00:00
"nodes": [
{
"map_key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"path": [
{
"unquoted_string": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"value": [
{
2023-06-16 23:23:57 +00:00
"string": "x"
2023-02-05 18:36:38 +00:00
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
2023-06-16 23:23:57 +00:00
"range": ",1:0:0-2:0:0",
2023-02-05 18:36:38 +00:00
"nodes": [
{
"map_key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"path": [
{
"unquoted_string": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-02-05 18:36:38 +00:00
"value": [
{
2023-06-18 18:19:37 +00:00
"string": "hello"
2023-02-05 18:36:38 +00:00
}
]
}
}
]
},
"primary": {},
2023-06-18 18:19:37 +00:00
"value": {}
2023-02-05 18:36:38 +00:00
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
2023-02-05 18:36:38 +00:00
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2023-02-05 18:36:38 +00:00
},
"zIndex": 0
},
"edges": null,
2023-03-01 18:28:01 +00:00
"objects": null,
"layers": [
{
"name": "x",
"isFolderOnly": false,
"ast": {
2023-06-18 18:19:37 +00:00
"range": ",1:0:0-2:0:0",
2023-03-01 18:28:01 +00:00
"nodes": [
{
"map_key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-03-01 18:28:01 +00:00
"key": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-03-01 18:28:01 +00:00
"path": [
{
"unquoted_string": {
2023-06-16 23:23:57 +00:00
"range": ",0:0:0-0:0:0",
2023-03-01 18:28:01 +00:00
"value": [
{
2023-06-18 18:19:37 +00:00
"string": "hello"
2023-03-01 18:28:01 +00:00
}
]
}
}
]
},
"primary": {},
2023-06-18 18:19:37 +00:00
"value": {}
2023-03-01 18:28:01 +00:00
}
}
]
},
"root": {
"id": "",
"id_val": "",
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
2023-03-01 18:28:01 +00:00
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2023-03-01 18:28:01 +00:00
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "hello",
"id_val": "hello",
"references": [
{
"key": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,5:8:76-5:13:81",
2023-03-01 18:28:01 +00:00
"path": [
{
"unquoted_string": {
2023-03-03 01:56:32 +00:00
"range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,5:8:76-5:13:81",
2023-03-01 18:28:01 +00:00
"value": [
{
"string": "hello",
"raw_string": "hello"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "hello"
},
"labelDimensions": {
"width": 0,
"height": 0
},
2023-03-01 18:28:01 +00:00
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2023-03-01 18:28:01 +00:00
},
"zIndex": 0
}
]
}
]
2023-02-05 18:36:38 +00:00
}
]
},
"err": null
}