270 lines
10 KiB
JSON
270 lines
10 KiB
JSON
|
|
{
|
||
|
|
"graph": {
|
||
|
|
"ast": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,0:0:0-6:0:64",
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"map_key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,0:0:0-5:1:63",
|
||
|
|
"key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,0:0:0-0:1:1",
|
||
|
|
"path": [
|
||
|
|
{
|
||
|
|
"unquoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,0:0:0-0:1:1",
|
||
|
|
"value": [
|
||
|
|
{
|
||
|
|
"string": "a",
|
||
|
|
"raw_string": "a"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"primary": {},
|
||
|
|
"value": {
|
||
|
|
"map": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,0:3:3-5:0:62",
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"map_key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:2:7-4:4:61",
|
||
|
|
"key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:2:7-1:3:8",
|
||
|
|
"path": [
|
||
|
|
{
|
||
|
|
"unquoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:2:7-1:3:8",
|
||
|
|
"value": [
|
||
|
|
{
|
||
|
|
"string": "c",
|
||
|
|
"raw_string": "c"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"primary": {},
|
||
|
|
"value": {
|
||
|
|
"map": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:5:10-4:3:60",
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"map_key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:6:11-4:3:60",
|
||
|
|
"key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:6:11-1:11:16",
|
||
|
|
"path": [
|
||
|
|
{
|
||
|
|
"unquoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:6:11-1:11:16",
|
||
|
|
"value": [
|
||
|
|
{
|
||
|
|
"string": "style",
|
||
|
|
"raw_string": "style"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"primary": {},
|
||
|
|
"value": {
|
||
|
|
"map": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:13:18-4:2:59",
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"map_key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,2:4:24-2:16:36",
|
||
|
|
"key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,2:4:24-2:11:31",
|
||
|
|
"path": [
|
||
|
|
{
|
||
|
|
"unquoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,2:4:24-2:11:31",
|
||
|
|
"value": [
|
||
|
|
{
|
||
|
|
"string": "opacity",
|
||
|
|
"raw_string": "opacity"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"primary": {},
|
||
|
|
"value": {
|
||
|
|
"number": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,2:13:33-2:16:36",
|
||
|
|
"raw": "0.4",
|
||
|
|
"value": "2/5"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"map_key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,3:4:41-3:19:56",
|
||
|
|
"key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,3:4:41-3:8:45",
|
||
|
|
"path": [
|
||
|
|
{
|
||
|
|
"unquoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,3:4:41-3:8:45",
|
||
|
|
"value": [
|
||
|
|
{
|
||
|
|
"string": "fill",
|
||
|
|
"raw_string": "fill"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"primary": {},
|
||
|
|
"value": {
|
||
|
|
"double_quoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,3:10:47-3:19:56",
|
||
|
|
"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": ""
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"edges": [],
|
||
|
|
"objects": [
|
||
|
|
{
|
||
|
|
"id": "a",
|
||
|
|
"id_val": "a",
|
||
|
|
"label_dimensions": {
|
||
|
|
"width": 0,
|
||
|
|
"height": 0
|
||
|
|
},
|
||
|
|
"references": [
|
||
|
|
{
|
||
|
|
"key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,0:0:0-0:1:1",
|
||
|
|
"path": [
|
||
|
|
{
|
||
|
|
"unquoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,0:0:0-0:1:1",
|
||
|
|
"value": [
|
||
|
|
{
|
||
|
|
"string": "a",
|
||
|
|
"raw_string": "a"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"key_path_index": 0,
|
||
|
|
"map_key_edge_index": 0,
|
||
|
|
"scope_key": ""
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"attributes": {
|
||
|
|
"label": {
|
||
|
|
"value": "a"
|
||
|
|
},
|
||
|
|
"style": {},
|
||
|
|
"near_key": null,
|
||
|
|
"shape": {
|
||
|
|
"value": ""
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "c",
|
||
|
|
"id_val": "c",
|
||
|
|
"label_dimensions": {
|
||
|
|
"width": 0,
|
||
|
|
"height": 0
|
||
|
|
},
|
||
|
|
"references": [
|
||
|
|
{
|
||
|
|
"key": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:2:7-1:3:8",
|
||
|
|
"path": [
|
||
|
|
{
|
||
|
|
"unquoted_string": {
|
||
|
|
"range": "d2/testdata/d2oracle/TestMove/into_container_with_map.d2,1:2:7-1:3:8",
|
||
|
|
"value": [
|
||
|
|
{
|
||
|
|
"string": "c",
|
||
|
|
"raw_string": "c"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"key_path_index": 0,
|
||
|
|
"map_key_edge_index": 0,
|
||
|
|
"scope_key": "a"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"attributes": {
|
||
|
|
"label": {
|
||
|
|
"value": "c"
|
||
|
|
},
|
||
|
|
"style": {
|
||
|
|
"opacity": {
|
||
|
|
"value": "0.4"
|
||
|
|
},
|
||
|
|
"fill": {
|
||
|
|
"value": "#FFFFFF"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"near_key": null,
|
||
|
|
"shape": {
|
||
|
|
"value": ""
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"err": "<nil>"
|
||
|
|
}
|