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

493 lines
14 KiB
JSON
Raw Normal View History

2023-05-07 23:09:57 +00:00
{
"graph": {
"name": "",
"isFolderOnly": false,
"ast": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,0:0:0-7:0:21",
2023-05-07 23:09:57 +00:00
"nodes": [
{
"map_key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,0:0:0-0:1:1",
2023-05-07 23:09:57 +00:00
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,0:0:0-0:1:1",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,1:0:2-1:1:3",
"key": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,1:0:2-1:1:3",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,1:0:2-1:1:3",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,2:0:4-2:1:5",
"key": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,2:0:4-2:1:5",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,2:0:4-2:1:5",
2023-05-07 23:09:57 +00:00
"value": [
{
"string": "z",
"raw_string": "z"
}
]
}
}
]
},
"primary": {},
2023-05-08 19:59:39 +00:00
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,3:0:6-5:1:16",
"key": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,3:0:6-3:1:7",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,3:0:6-3:1:7",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
}
]
},
"primary": {},
2023-05-07 23:09:57 +00:00
"value": {
"map": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,3:3:9-5:0:15",
2023-05-07 23:09:57 +00:00
"nodes": [
{
"map_key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,4:2:13-4:3:14",
2023-05-07 23:09:57 +00:00
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,4:2:13-4:3:14",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,4:2:13-4:3:14",
2023-05-07 23:09:57 +00:00
"value": [
{
2023-05-08 19:59:39 +00:00
"string": "c",
"raw_string": "c"
2023-05-07 23:09:57 +00:00
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
},
{
"map_key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:0:17-6:3:20",
"key": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:0:17-6:3:20",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:0:17-6:1:18",
"value": [
{
"string": "a",
"raw_string": "a"
2023-05-07 23:09:57 +00:00
}
2023-05-08 19:59:39 +00:00
]
}
2023-05-07 23:09:57 +00:00
},
2023-05-08 19:59:39 +00:00
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:2:19-6:3:20",
"value": [
{
"string": "b",
"raw_string": "b"
2023-05-07 23:09:57 +00:00
}
2023-05-08 19:59:39 +00:00
]
}
}
]
},
2023-05-07 23:09:57 +00:00
"primary": {},
"value": {}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
2023-05-08 19:59:39 +00:00
"edges": null,
2023-05-07 23:09:57 +00:00
"objects": [
{
2023-05-08 19:59:39 +00:00
"id": "x",
"id_val": "x",
2023-05-07 23:09:57 +00:00
"references": [
{
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,0:0:0-0:1:1",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,0:0:0-0:1:1",
2023-05-07 23:09:57 +00:00
"value": [
{
2023-05-08 19:59:39 +00:00
"string": "x",
"raw_string": "x"
2023-05-07 23:09:57 +00:00
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
},
{
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,1:0:2-1:1:3",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,1:0:2-1:1:3",
2023-05-07 23:09:57 +00:00
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"key_path_index": 0,
2023-05-08 19:59:39 +00:00
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "x"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
2023-05-07 23:09:57 +00:00
},
2023-05-08 19:59:39 +00:00
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
{
"id": "z",
"id_val": "z",
"references": [
2023-05-07 23:09:57 +00:00
{
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,2:0:4-2:1:5",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,2:0:4-2:1:5",
2023-05-07 23:09:57 +00:00
"value": [
{
"string": "z",
"raw_string": "z"
}
]
}
}
]
},
"key_path_index": 0,
2023-05-08 19:59:39 +00:00
"map_key_edge_index": -1
2023-05-07 23:09:57 +00:00
}
],
"attributes": {
"label": {
"value": "z"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
{
2023-05-08 19:59:39 +00:00
"id": "a",
"id_val": "a",
2023-05-07 23:09:57 +00:00
"references": [
{
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,3:0:6-3:1:7",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,3:0:6-3:1:7",
2023-05-07 23:09:57 +00:00
"value": [
{
2023-05-08 19:59:39 +00:00
"string": "a",
"raw_string": "a"
2023-05-07 23:09:57 +00:00
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
},
{
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:0:17-6:3:20",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:0:17-6:1:18",
2023-05-07 23:09:57 +00:00
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
},
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:2:19-6:3:20",
2023-05-07 23:09:57 +00:00
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
}
]
},
2023-05-08 19:59:39 +00:00
"key_path_index": 0,
"map_key_edge_index": -1
2023-05-07 23:09:57 +00:00
}
],
"attributes": {
"label": {
2023-05-08 19:59:39 +00:00
"value": "a"
2023-05-07 23:09:57 +00:00
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
{
2023-05-08 19:59:39 +00:00
"id": "c",
"id_val": "c",
2023-05-07 23:09:57 +00:00
"references": [
{
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,4:2:13-4:3:14",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,4:2:13-4:3:14",
2023-05-07 23:09:57 +00:00
"value": [
{
2023-05-08 19:59:39 +00:00
"string": "c",
"raw_string": "c"
2023-05-07 23:09:57 +00:00
}
]
}
}
]
},
2023-05-08 19:59:39 +00:00
"key_path_index": 0,
"map_key_edge_index": -1
2023-05-07 23:09:57 +00:00
}
],
"attributes": {
"label": {
2023-05-08 19:59:39 +00:00
"value": "c"
2023-05-07 23:09:57 +00:00
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
{
"id": "b",
"id_val": "b",
"references": [
{
"key": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:0:17-6:3:20",
2023-05-07 23:09:57 +00:00
"path": [
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:0:17-6:1:18",
2023-05-07 23:09:57 +00:00
"value": [
{
2023-05-08 19:59:39 +00:00
"string": "a",
"raw_string": "a"
2023-05-07 23:09:57 +00:00
}
]
}
},
{
"unquoted_string": {
2023-05-08 19:59:39 +00:00
"range": "d2/testdata/d2oracle/TestMove/include_descendants_map_2.d2,6:2:19-6:3:20",
2023-05-07 23:09:57 +00:00
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
}
]
},
2023-05-08 19:59:39 +00:00
"key_path_index": 1,
"map_key_edge_index": -1
2023-05-07 23:09:57 +00:00
}
],
"attributes": {
"label": {
"value": "b"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
}
]
},
"err": "<nil>"
}