d2/testdata/d2oracle/TestMove/flat_reparent_with_value.exp.json

191 lines
4.8 KiB
JSON
Raw Normal View History

{
"graph": {
"name": "",
2023-02-27 22:33:33 +00:00
"isFolderOnly": false,
"ast": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,0:0:0-2:0:10",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,0:0:0-0:1:1",
"key": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,0:0:0-0:1:1",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,1:0:2-1:7:9",
"key": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,1:0:2-1:1:3",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,1:0:2-1:1:3",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
}
]
},
"primary": {},
"value": {
"double_quoted_string": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,1:3:5-1:7:9",
"value": [
{
"string": "yo",
"raw_string": "yo"
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-30 01:59:27 +00:00
"value": ""
},
"constraint": {
"value": ""
}
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "a",
"id_val": "a",
"label_dimensions": {
"width": 0,
"height": 0
},
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.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"
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-30 01:59:27 +00:00
"value": ""
},
"constraint": {
"value": ""
}
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
{
"id": "b",
"id_val": "b",
"label_dimensions": {
"width": 0,
"height": 0
},
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,1:0:2-1:1:3",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/flat_reparent_with_value.d2,1:0:2-1:1:3",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "yo"
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-30 01:59:27 +00:00
"value": ""
},
"constraint": {
"value": ""
}
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
}
]
},
"err": "<nil>"
}