d2/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json
2023-08-30 00:37:03 -07:00

163 lines
4.5 KiB
JSON
Generated

{
"fields": [
{
"name": "tinker",
"primary": {
"value": {
"range": "TestCompile/patterns/prefix-suffix.d2,2:5:31-2:12:38",
"value": [
{
"string": "globbed",
"raw_string": "globbed"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6",
"value": [
{
"string": "tinker",
"raw_string": "tinker"
}
]
},
"key_path": {
"range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6",
"value": [
{
"string": "tinker",
"raw_string": "tinker"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:12:12",
"key": {
"range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/prefix-suffix.d2,0:0:0-0:6:6",
"value": [
{
"string": "tinker",
"raw_string": "tinker"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/prefix-suffix.d2,0:8:8-0:12:12",
"value": [
{
"string": "meow",
"raw_string": "meow"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": "thinker",
"primary": {
"value": {
"range": "TestCompile/patterns/prefix-suffix.d2,2:5:31-2:12:38",
"value": [
{
"string": "globbed",
"raw_string": "globbed"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20",
"value": [
{
"string": "thinker",
"raw_string": "thinker"
}
]
},
"key_path": {
"range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20",
"value": [
{
"string": "thinker",
"raw_string": "thinker"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:12:25",
"key": {
"range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/prefix-suffix.d2,1:0:13-1:7:20",
"value": [
{
"string": "thinker",
"raw_string": "thinker"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/prefix-suffix.d2,1:9:22-1:12:25",
"value": [
{
"string": "yes",
"raw_string": "yes"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
}
],
"edges": null
}