d2/testdata/d2ir/TestCompile/edges/root.exp.json

344 lines
10 KiB
JSON
Raw Normal View History

2023-01-17 12:44:14 +00:00
{
2023-01-18 11:51:16 +00:00
"fields": [
{
"name": "x",
"references": [
{
"string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
},
"key_path": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
2023-01-18 11:51:16 +00:00
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"context": {
"edge": {
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"src": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"src_arrow": "",
"dst": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
},
2023-01-18 11:51:16 +00:00
"key": {
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"edges": [
{
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"src": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
2023-01-18 11:51:16 +00:00
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"src_arrow": "",
"dst": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
2023-01-18 11:51:16 +00:00
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
}
],
"primary": {},
"value": {}
}
},
2023-08-20 04:20:32 +00:00
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": "y",
"references": [
{
"string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
},
"key_path": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"context": {
"edge": {
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"src": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"src_arrow": "",
"dst": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
},
"key": {
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"edges": [
{
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"src": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"src_arrow": "",
"dst": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
}
],
"primary": {},
"value": {}
}
},
2023-08-20 04:20:32 +00:00
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
}
],
"edges": [
{
"edge_id": {
"src_path": [
"x"
],
"src_arrow": false,
"dst_path": [
"y"
],
"dst_arrow": true,
"index": 0,
"glob": false
},
"references": [
{
"context": {
2023-01-18 11:51:16 +00:00
"edge": {
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"src": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
2023-01-18 11:51:16 +00:00
"path": [
2023-01-18 05:30:28 +00:00
{
2023-01-18 11:51:16 +00:00
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
2023-01-18 05:30:28 +00:00
{
2023-01-18 11:51:16 +00:00
"string": "x",
"raw_string": "x"
2023-01-18 05:30:28 +00:00
}
]
2023-01-18 11:51:16 +00:00
}
}
]
},
"src_arrow": "",
"dst": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
2023-01-18 11:51:16 +00:00
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
2023-01-18 05:30:28 +00:00
{
2023-01-18 11:51:16 +00:00
"string": "y",
"raw_string": "y"
2023-01-18 05:30:28 +00:00
}
]
2023-01-18 11:51:16 +00:00
}
2023-01-18 05:30:28 +00:00
}
2023-01-18 11:51:16 +00:00
]
2023-01-18 05:30:28 +00:00
},
2023-01-18 11:51:16 +00:00
"dst_arrow": ">"
},
2023-01-18 11:51:16 +00:00
"key": {
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"edges": [
2023-01-18 05:28:33 +00:00
{
2023-01-18 11:51:16 +00:00
"range": "TestCompile/edges/root.d2,0:0:0-0:6:6",
"src": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
2023-01-18 11:51:16 +00:00
"path": [
2023-01-18 05:28:33 +00:00
{
2023-01-18 11:51:16 +00:00
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
2023-01-18 05:28:33 +00:00
}
]
2023-01-18 11:51:16 +00:00
},
"src_arrow": "",
"dst": {
2023-05-05 16:11:46 +00:00
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
2023-01-18 11:51:16 +00:00
"path": [
{
"unquoted_string": {
"range": "TestCompile/edges/root.d2,0:5:5-0:6:6",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
2023-01-18 05:28:33 +00:00
}
2023-01-18 11:51:16 +00:00
],
"primary": {},
"value": {}
2023-01-18 05:30:28 +00:00
}
},
2023-08-20 04:20:32 +00:00
"due_to_glob": false,
"due_to_lazy_glob": false
2023-01-18 11:51:16 +00:00
}
]
}
]
2023-01-17 12:44:14 +00:00
}