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

345 lines
10 KiB
JSON
Raw Permalink Normal View History

{
"graph": {
"name": "",
2023-02-27 22:33:33 +00:00
"isFolderOnly": false,
"ast": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,0:0:0-6:0:28",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,0:0:0-4:1:25",
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,0:0:0-0:1:1",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,0:3:3-4:1:25",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,1:2:7-3:3:23",
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,1:2:7-1:3:8",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,1:2:7-1:3:8",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,1:5:10-3:3:23",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,2:4:16-2:7:19",
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,2:4:16-2:7:19",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,2:4:16-2:5:17",
"value": [
{
"string": "_",
"raw_string": "_"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,2:6:18-2:7:19",
"value": [
{
"string": "f",
"raw_string": "f"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
}
]
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,5:0:26-5:1:27",
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,5:0:26-5:1:27",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,5:0:26-5:1:27",
"value": [
{
"string": "c",
"raw_string": "c"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
"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": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "a",
"id_val": "a",
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.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"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"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": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
{
"id": "b",
"id_val": "b",
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,1:2:7-1:3:8",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,1:2:7-1:3:8",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "b"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"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": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
{
"id": "f",
"id_val": "f",
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,2:4:16-2:7:19",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,2:4:16-2:5:17",
"value": [
{
"string": "_",
"raw_string": "_"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,2:6:18-2:7:19",
"value": [
{
"string": "f",
"raw_string": "f"
}
]
}
}
]
},
"key_path_index": 1,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "f"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"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": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
{
"id": "c",
"id_val": "c",
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,5:0:26-5:1:27",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/underscore_split.d2,5:0:26-5:1:27",
"value": [
{
"string": "c",
"raw_string": "c"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "c"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"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": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
}
]
},
"err": "<nil>"
}