d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.exp.json
Alexander Wang d007471d89
tests
2023-02-28 14:31:18 -08:00

330 lines
12 KiB
JSON
Generated

{
"graph": {
"name": "",
"isFolderOnly": false,
"ast": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,0:0:0-7:0:95",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,0:0:0-6:1:94",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,0:0:0-0:1:1",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,0:3:3-6:0:93",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,1:2:7-5:3:92",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,1:2:7-1:3:8",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,1:2:7-1:3:8",
"value": [
{
"string": "c",
"raw_string": "c"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,1:5:10-5:2:91",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,2:4:16-2:22:34",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,2:4:16-2:17:29",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,2:4:16-2:9:21",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,2:10:22-2:17:29",
"value": [
{
"string": "opacity",
"raw_string": "opacity"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,2:19:31-2:22:34",
"raw": "0.4",
"value": "2/5"
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,3:4:39-3:25:60",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,3:4:39-3:14:49",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,3:4:39-3:9:44",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,3:10:45-3:14:49",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"double_quoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,3:16:51-3:25:60",
"value": [
{
"string": "#FFFFFF",
"raw_string": "#FFFFFF"
}
]
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,4:4:65-4:27:88",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,4:4:65-4:16:77",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,4:4:65-4:9:70",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,4:10:71-4:16:77",
"value": [
{
"string": "stroke",
"raw_string": "stroke"
}
]
}
}
]
},
"primary": {},
"value": {
"double_quoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,4:18:79-4:27:88",
"value": [
{
"string": "#FFFFFF",
"raw_string": "#FFFFFF"
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "a",
"id_val": "a",
"label_dimensions": {
"width": 0,
"height": 0
},
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,0:0:0-0:1:1",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "a"
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
{
"id": "c",
"id_val": "c",
"label_dimensions": {
"width": 0,
"height": 0
},
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,1:2:7-1:3:8",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_keys.d2,1:2:7-1:3:8",
"value": [
{
"string": "c",
"raw_string": "c"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "c"
},
"style": {
"opacity": {
"value": "0.4"
},
"stroke": {
"value": "#FFFFFF"
},
"fill": {
"value": "#FFFFFF"
}
},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
}
]
},
"err": "<nil>"
}