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

93 lines
2.4 KiB
JSON
Generated

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