d2/testdata/d2oracle/TestSet/label_replace.exp.json

105 lines
2.7 KiB
JSON
Raw Normal View History

{
"graph": {
"ast": {
"range": "d2/testdata/d2oracle/TestSet/label_replace.d2,0:0:0-1:0:88",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestSet/label_replace.d2,0:0:0-0:87:87",
"key": {
"range": "d2/testdata/d2oracle/TestSet/label_replace.d2,0:0:0-0:6:6",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestSet/label_replace.d2,0:0:0-0:6:6",
"value": [
{
"string": "square",
"raw_string": "square"
}
]
}
}
]
},
"primary": {},
"value": {
"double_quoted_string": {
"range": "d2/testdata/d2oracle/TestSet/label_replace.d2,0:8:8-0:87:87",
"value": [
{
"string": "Always try to do things in chronological order; it's less confusing that way.",
"raw_string": "Always try to do things in chronological order; it's less confusing that way."
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
}
}
},
"edges": null,
"objects": [
{
"id": "square",
"id_val": "square",
"label_dimensions": {
"width": 0,
"height": 0
},
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestSet/label_replace.d2,0:0:0-0:6:6",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestSet/label_replace.d2,0:0:0-0:6:6",
"value": [
{
"string": "square",
"raw_string": "square"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": 0
}
],
"attributes": {
"label": {
"value": "Always try to do things in chronological order; it's less confusing that way."
},
"style": {},
"near_key": null,
"shape": {
"value": ""
}
}
}
]
},
"err": "<nil>"
}