d2/testdata/d2ir/TestCompile/field/nested.exp.json

79 lines
1.8 KiB
JSON
Raw Normal View History

2023-01-11 23:50:49 +00:00
{
2023-01-18 01:39:31 +00:00
"ast": {
"range": "TestCompile/field/nested.d2,0:0:0-0:8:8",
"nodes": [
{
"map_key": {
"range": "TestCompile/field/nested.d2,0:0:0-0:8:8",
"key": {
"range": "TestCompile/field/nested.d2,0:0:0-0:3:3",
"path": [
{
"unquoted_string": {
"range": "TestCompile/field/nested.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/field/nested.d2,0:2:2-0:3:3",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
2023-01-11 23:50:49 +00:00
}
2023-01-18 01:39:31 +00:00
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/field/nested.d2,0:5:5-0:8:8",
"value": [
{
"string": "yes",
"raw_string": "yes"
}
]
2023-01-11 23:50:49 +00:00
}
}
2023-01-18 01:39:31 +00:00
}
2023-01-11 23:50:49 +00:00
}
2023-01-18 01:39:31 +00:00
]
},
"base": {
"fields": [
{
"name": "x",
"composite": {
"fields": [
{
"name": "y",
"primary": {
"value": {
"range": "TestCompile/field/nested.d2,0:5:5-0:8:8",
"value": [
{
"string": "yes",
"raw_string": "yes"
}
]
}
}
}
],
"edges": null
}
}
],
"edges": null
}
2023-01-11 23:50:49 +00:00
}