d2/testdata/d2ir/TestCompile/fields/root.exp.json
2023-01-24 03:24:15 -08:00

91 lines
2.3 KiB
JSON
Generated

{
"ast": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"nodes": [
{
"map_key": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"key": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
},
"base": {
"fields": [
{
"name": "x",
"references": [
{
"string": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
},
"key_path": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"context": {
"key": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"key": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"primary": {},
"value": {}
},
"edge": null
}
}
]
}
],
"edges": null
}
}