d2ir: Fix Alex's null glob problem

This commit is contained in:
Anmol Sethi 2023-08-30 05:08:22 -07:00
parent 4523b503a7
commit d03082d84d
No known key found for this signature in database
GPG key ID: 8CEF1878FF10ADEB
22 changed files with 19098 additions and 1596 deletions

View file

@ -718,6 +718,8 @@ func (c *compiler) _compileField(f *Field, refctx *RefContext) {
// If new board type, use that as the new scope AST, otherwise, carry on
scopeAST = refctx.ScopeAST
}
} else {
scopeAST = refctx.ScopeAST
}
c.mapRefContextStack = append(c.mapRefContextStack, refctx)
c.compileMap(f.Map(), refctx.Key.Value.Map, scopeAST)

View file

@ -717,6 +717,14 @@ func (m *Map) EnsureField(kp *d2ast.KeyPath, refctx *RefContext, create bool, c
var fa []*Field
err := m.ensureField(i, kp, refctx, create, gctx, c, &fa)
if len(fa) > 0 && c != nil && len(c.globRefContextStack) == 0 {
for _, gctx2 := range c.globContexts() {
old := c.lazyGlobBeingApplied
c.lazyGlobBeingApplied = true
c.compileKey(gctx2.refctx)
c.lazyGlobBeingApplied = old
}
}
return fa, err
}
@ -1091,6 +1099,14 @@ func (m *Map) CreateEdge(eid *EdgeID, refctx *RefContext, c *compiler) ([]*Edge,
gctx = c.ensureGlobContext(refctx)
}
err := m.createEdge(eid, refctx, gctx, c, &ea)
if len(ea) > 0 && c != nil && len(c.globRefContextStack) == 0 {
for _, gctx2 := range c.globContexts() {
old := c.lazyGlobBeingApplied
c.lazyGlobBeingApplied = true
c.compileKey(gctx2.refctx)
c.lazyGlobBeingApplied = old
}
}
return ea, err
}

View file

@ -655,6 +655,29 @@ a.icon: null
b.icon: https://icons.terrastruct.com/essentials%2F073-add.svg
b.icon: null
# Shape nulling works
*.shape: circle
a.shape: null
b.shape: null
`)
assert.Success(t, err)
assertQuery(t, m, 2, 0, nil, "")
assertQuery(t, m, 0, 0, nil, "a")
assertQuery(t, m, 0, 0, nil, "b")
},
},
{
name: "override/7",
run: func(t testing.TB) {
m, err := compile(t, `
# Nulling glob doesn't work
*a.icon: https://icons.terrastruct.com/essentials%2F073-add.svg
a.icon: null
# Regular icon nulling works
b.icon: https://icons.terrastruct.com/essentials%2F073-add.svg
b.icon: null
# Shape nulling works
*.shape: circle
a.shape: null
@ -689,7 +712,7 @@ class: {
}
`)
assert.Success(t, err)
assertQuery(t, m, 10, 0, nil, "")
assertQuery(t, m, 13, 0, nil, "")
},
},
{

View file

@ -398,6 +398,34 @@
],
"sql_table": {
"columns": [
{
"name": {
"label": "c",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
},
"type": {
"label": "d",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
},
"constraint": null,
"reference": ""
},
{
"name": {
"label": "a",

View file

@ -693,87 +693,6 @@
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76",
"value": [
{
"string": "opacity",
"raw_string": "opacity"
}
]
},
"key_path": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76",
"path": [
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76",
"value": [
{
"string": "opacity",
"raw_string": "opacity"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:18:79",
"key": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76",
"path": [
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76",
"value": [
{
"string": "opacity",
"raw_string": "opacity"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79",
"raw": "1",
"value": "1"
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26",
@ -1207,87 +1126,6 @@
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76",
"path": [
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76",
"value": [
{
"string": "opacity",
"raw_string": "opacity"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:18:79",
"key": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76",
"path": [
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76",
"value": [
{
"string": "opacity",
"raw_string": "opacity"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79",
"raw": "1",
"value": "1"
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18",

View file

@ -426,6 +426,70 @@
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
},
"key_path": {
"range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/filters/lazy-filter.d2,2:2:8-2:11:17",
"ampersand": true,
"key": {
"range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/filters/lazy-filter.d2,2:10:16-2:11:17",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14",

File diff suppressed because it is too large Load diff

View file

@ -414,6 +414,242 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"context": {
"edge": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10",
"src": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"value": [
{
"string": "*",
"raw_string": "*"
}
],
"pattern": [
"*"
]
}
}
]
},
"src_arrow": "",
"dst": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
},
"key": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10",
"edges": [
{
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10",
"src": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"value": [
{
"string": "*",
"raw_string": "*"
}
],
"pattern": [
"*"
]
}
}
]
},
"src_arrow": "",
"dst": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
}
],
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"context": {
"edge": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10",
"src": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"value": [
{
"string": "*",
"raw_string": "*"
}
],
"pattern": [
"*"
]
}
}
]
},
"src_arrow": "",
"dst": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
},
"key": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10",
"edges": [
{
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10",
"src": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5",
"value": [
{
"string": "*",
"raw_string": "*"
}
],
"pattern": [
"*"
]
}
}
]
},
"src_arrow": "",
"dst": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
}
],
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
},

File diff suppressed because it is too large Load diff

View file

@ -177,6 +177,261 @@
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
@ -415,6 +670,176 @@
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
@ -568,6 +993,91 @@
{
"name": "child",
"references": [
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"key": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",
"value": [
{
"string": "child",
"raw_string": "child"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9",

File diff suppressed because it is too large Load diff

View file

@ -22,91 +22,6 @@
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:18:80",
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80",
"value": [
{
"string": "blue",
"raw_string": "blue"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/7.d2,2:8:14-2:12:18",
@ -276,39 +191,9 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
@ -316,58 +201,88 @@
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:18:80",
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80",
"value": [
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"string": "blue",
"raw_string": "blue"
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
}
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:18:80",
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80",
"value": [
{
"string": "blue",
"raw_string": "blue"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
},
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:7:13",
@ -537,6 +452,91 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:18:80",
"key": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80",
"value": [
{
"string": "blue",
"raw_string": "blue"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},

View file

@ -1534,6 +1534,147 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-2:1:20",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:4:4-2:1:20",
"nodes": [
{
"map_key": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:12:18",
"key": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18",
"value": [
{
"string": "page",
"raw_string": "page"
}
]
}
}
}
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
@ -1785,6 +1926,147 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-2:1:20",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "TestCompile/patterns/double-glob/defaults.d2,0:4:4-2:1:20",
"nodes": [
{
"map_key": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:12:18",
"key": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18",
"value": [
{
"string": "page",
"raw_string": "page"
}
]
}
}
}
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
},

View file

@ -372,6 +372,123 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41",
"key": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
@ -729,6 +846,240 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/1.d2,1:3:4-1:8:9",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/1.d2,1:0:1-1:13:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,1:3:4-1:8:9",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,1:9:10-1:13:14",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/1.d2,1:0:1-1:21:22",
"key": {
"range": "TestCompile/patterns/override/1.d2,1:0:1-1:13:14",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,1:0:1-1:2:3",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,1:3:4-1:8:9",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,1:9:10-1:13:14",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,1:15:16-1:21:22",
"value": [
{
"string": "yellow",
"raw_string": "yellow"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41",
"key": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}

View file

@ -424,6 +424,123 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65",
"key": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
@ -826,6 +943,284 @@
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "hi"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "hi"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23",
"value": [
{
"string": "yellow",
"raw_string": "yellow"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65",
"key": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49",
"value": [
{
"string": "**",
"raw_string": "**"
}
],
"pattern": [
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
@ -1440,6 +1835,166 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "hi"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "hi"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "hi"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23",
"value": [
{
"string": "yellow",
"raw_string": "yellow"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
@ -1783,6 +2338,166 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "hi"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "hi"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23",
"value": [
{
"string": "yellow",
"raw_string": "yellow"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}

File diff suppressed because it is too large Load diff

View file

@ -343,69 +343,6 @@
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:12:50",
"key": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/4.d2,4:9:47-4:12:50",
"value": [
{
"string": "bye",
"raw_string": "bye"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
},
{
"string": {
"range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22",
@ -576,6 +513,69 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:12:50",
"key": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45",
"value": [
{
"string": "label",
"raw_string": "label"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/4.d2,4:9:47-4:12:50",
"value": [
{
"string": "bye",
"raw_string": "bye"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
}

424
testdata/d2ir/TestCompile/patterns/override/7.exp.json generated vendored Normal file
View file

@ -0,0 +1,424 @@
{
"fields": [
{
"name": "a",
"composite": {
"fields": [],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/override/7.d2,3:0:93-3:1:94",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/7.d2,3:0:93-3:6:99",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,3:0:93-3:1:94",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,3:2:95-3:6:99",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/7.d2,3:0:93-3:12:105",
"key": {
"range": "TestCompile/patterns/override/7.d2,3:0:93-3:6:99",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,3:0:93-3:1:94",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,3:2:95-3:6:99",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"primary": {},
"value": {
"null": {
"range": "TestCompile/patterns/override/7.d2,3:8:101-3:12:105"
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
},
{
"string": {
"range": "TestCompile/patterns/override/7.d2,11:0:251-11:1:252",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/7.d2,11:0:251-11:7:258",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,11:0:251-11:1:252",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,11:2:253-11:7:258",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/7.d2,11:0:251-11:13:264",
"key": {
"range": "TestCompile/patterns/override/7.d2,11:0:251-11:7:258",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,11:0:251-11:1:252",
"value": [
{
"string": "a",
"raw_string": "a"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,11:2:253-11:7:258",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"null": {
"range": "TestCompile/patterns/override/7.d2,11:9:260-11:13:264"
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": "b",
"composite": {
"fields": [],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/override/7.d2,6:0:136-6:1:137",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/7.d2,6:0:136-6:6:142",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,6:0:136-6:1:137",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,6:2:138-6:6:142",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/7.d2,6:0:136-6:62:198",
"key": {
"range": "TestCompile/patterns/override/7.d2,6:0:136-6:6:142",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,6:0:136-6:1:137",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,6:2:138-6:6:142",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,6:8:144-6:62:198",
"value": [
{
"string": "https://icons.terrastruct.com/essentials%2F073-add.svg",
"raw_string": "https://icons.terrastruct.com/essentials%2F073-add.svg"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
},
{
"string": {
"range": "TestCompile/patterns/override/7.d2,7:0:199-7:1:200",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/7.d2,7:0:199-7:6:205",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,7:0:199-7:1:200",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,7:2:201-7:6:205",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/7.d2,7:0:199-7:12:211",
"key": {
"range": "TestCompile/patterns/override/7.d2,7:0:199-7:6:205",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,7:0:199-7:1:200",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,7:2:201-7:6:205",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"primary": {},
"value": {
"null": {
"range": "TestCompile/patterns/override/7.d2,7:8:207-7:12:211"
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
},
{
"string": {
"range": "TestCompile/patterns/override/7.d2,12:0:265-12:1:266",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
},
"key_path": {
"range": "TestCompile/patterns/override/7.d2,12:0:265-12:7:272",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,12:0:265-12:1:266",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,12:2:267-12:7:272",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/override/7.d2,12:0:265-12:13:278",
"key": {
"range": "TestCompile/patterns/override/7.d2,12:0:265-12:7:272",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,12:0:265-12:1:266",
"value": [
{
"string": "b",
"raw_string": "b"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/override/7.d2,12:2:267-12:7:272",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"null": {
"range": "TestCompile/patterns/override/7.d2,12:9:274-12:13:278"
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
}
],
"edges": null
}

File diff suppressed because it is too large Load diff

View file

@ -5,39 +5,240 @@
"composite": {
"fields": [
{
"name": "shape",
"name": "c",
"primary": {
"value": {
"range": "TestCompile/patterns/table-class-exception.d2,10:9:64-10:18:73",
"range": "TestCompile/patterns/table-class-exception.d2,2:5:13-2:6:14",
"value": [
{
"string": "sql_table",
"raw_string": "sql_table"
"string": "d",
"raw_string": "d"
}
]
}
},
"composite": {
"fields": [
{
"name": "style",
"composite": {
"fields": [
{
"name": "fill",
"primary": {
"value": {
"range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
},
"key_path": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42",
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
},
"key_path": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42",
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37",
"value": [
{
"string": "fill",
"raw_string": "fill"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42",
"value": [
{
"string": "red",
"raw_string": "red"
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11",
"value": [
{
"string": "shape",
"raw_string": "shape"
"string": "c",
"raw_string": "c"
}
]
},
"key_path": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11",
"value": [
{
"string": "shape",
"raw_string": "shape"
"string": "c",
"raw_string": "c"
}
]
}
@ -47,17 +248,17 @@
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:18:73",
"range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:6:14",
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11",
"value": [
{
"string": "shape",
"raw_string": "shape"
"string": "c",
"raw_string": "c"
}
]
}
@ -67,19 +268,19 @@
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:9:64-10:18:73",
"range": "TestCompile/patterns/table-class-exception.d2,2:5:13-2:6:14",
"value": [
{
"string": "sql_table",
"raw_string": "sql_table"
"string": "d",
"raw_string": "d"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
},
@ -279,6 +480,85 @@
}
]
},
{
"name": "shape",
"primary": {
"value": {
"range": "TestCompile/patterns/table-class-exception.d2,10:9:64-10:18:73",
"value": [
{
"string": "sql_table",
"raw_string": "sql_table"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
},
"key_path": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:18:73",
"key": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/table-class-exception.d2,10:9:64-10:18:73",
"value": [
{
"string": "sql_table",
"raw_string": "sql_table"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": "a",
"primary": {

View file

@ -1790,6 +1790,151 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21",
"nodes": [
{
"map_key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19",
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19",
"value": [
{
"string": "page",
"raw_string": "page"
}
]
}
}
}
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
@ -2045,6 +2190,151 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "scenarios"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21",
"nodes": [
{
"map_key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19",
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19",
"value": [
{
"string": "page",
"raw_string": "page"
}
]
}
}
}
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
},
@ -2450,6 +2740,151 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21",
"nodes": [
{
"map_key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19",
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19",
"value": [
{
"string": "page",
"raw_string": "page"
}
]
}
}
}
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}
@ -2705,6 +3140,151 @@
},
"due_to_glob": true,
"due_to_lazy_glob": true
},
{
"string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
},
"key_path": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21",
"key": {
"range": ",0:0:0-0:0:0",
"path": [
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "layers"
}
]
}
},
{
"unquoted_string": {
"range": ",0:0:0-0:0:0",
"value": [
{
"string": "x"
}
]
}
},
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3",
"value": [
{
"string": "***",
"raw_string": "***"
}
],
"pattern": [
"*",
"",
"*",
"",
"*"
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21",
"nodes": [
{
"map_key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19",
"key": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"path": [
{
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19",
"value": [
{
"string": "page",
"raw_string": "page"
}
]
}
}
}
}
]
}
}
}
},
"due_to_glob": true,
"due_to_lazy_glob": true
}
]
}

File diff suppressed because it is too large Load diff