d2/testdata/d2ir/TestCompile/patterns/double-glob.exp.json
2023-07-29 16:57:25 -07:00

903 lines
34 KiB
JSON
Generated

{
"fields": [
{
"name": "shared",
"composite": {
"fields": [
{
"name": "animate",
"composite": {
"fields": [
{
"name": "style",
"composite": {
"fields": [
{
"name": "fill",
"primary": {
"value": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51",
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
}
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51",
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
}
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14",
"value": [
{
"string": "animate",
"raw_string": "animate"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14",
"value": [
{
"string": "animate",
"raw_string": "animate"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14",
"key": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14",
"value": [
{
"string": "animate",
"raw_string": "animate"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
}
]
},
{
"name": "animal",
"composite": {
"fields": [
{
"name": "style",
"composite": {
"fields": [
{
"name": "fill",
"primary": {
"value": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51",
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
}
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51",
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
}
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28",
"value": [
{
"string": "animal",
"raw_string": "animal"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28",
"value": [
{
"string": "animal",
"raw_string": "animal"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28",
"key": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28",
"value": [
{
"string": "animal",
"raw_string": "animal"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
}
]
},
{
"name": "style",
"composite": {
"fields": [
{
"name": "fill",
"primary": {
"value": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51",
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
}
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51",
"key": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
}
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14",
"value": [
{
"string": "animate",
"raw_string": "animate"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14",
"key": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14",
"value": [
{
"string": "animate",
"raw_string": "animate"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
},
{
"string": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
},
"key_path": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28",
"value": [
{
"string": "animal",
"raw_string": "animal"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28",
"key": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21",
"value": [
{
"string": "shared",
"raw_string": "shared"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28",
"value": [
{
"string": "animal",
"raw_string": "animal"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
}
]
}
],
"edges": null
}