diff --git a/d2ir/compile.go b/d2ir/compile.go index 96ef29a91..d7bfa82f4 100644 --- a/d2ir/compile.go +++ b/d2ir/compile.go @@ -359,6 +359,20 @@ func (c *compiler) overlay(base *Map, f *Field) { f.Composite = base } +func (g *globContext) prefixed(dst *Map) *globContext { + g2 := *g + g2.refctx = g.refctx.Copy() + prefix := d2ast.MakeKeyPath(RelIDA(g2.refctx.ScopeMap, dst)) + g2.refctx.Key = g2.refctx.Key.Copy() + if g2.refctx.Key.Key != nil { + prefix.Path = append(prefix.Path, g2.refctx.Key.Key.Path...) + } + if len(prefix.Path) > 0 { + g2.refctx.Key.Key = prefix + } + return &g2 +} + func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { var globs []*globContext if len(c.globContextStack) > 0 { @@ -366,36 +380,13 @@ func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { if NodeBoardKind(dst) == BoardLayer { for _, g := range previousGlobs { if g.refctx.Key.HasTripleGlob() { - // Same as below but reset applied too. - g2 := *g - g2.refctx = g.refctx.Copy() - g2.appliedFields = make(map[string]struct{}) - g2.appliedEdges = make(map[string]struct{}) - prefix := d2ast.MakeKeyPath(RelIDA(g2.refctx.ScopeMap, dst)) - g2.refctx.Key = g2.refctx.Key.Copy() - if g2.refctx.Key.Key != nil { - prefix.Path = append(prefix.Path, g2.refctx.Key.Key.Path...) - } - if len(prefix.Path) > 0 { - g2.refctx.Key.Key = prefix - } - globs = append(globs, &g2) + globs = append(globs, g.prefixed(dst)) } } } else if NodeBoardKind(dst) != "" { // Make all globs relative to the scenario or step. for _, g := range previousGlobs { - g2 := *g - g2.refctx = g.refctx.Copy() - prefix := d2ast.MakeKeyPath(RelIDA(g2.refctx.ScopeMap, dst)) - g2.refctx.Key = g2.refctx.Key.Copy() - if g2.refctx.Key.Key != nil { - prefix.Path = append(prefix.Path, g2.refctx.Key.Key.Path...) - } - if len(prefix.Path) > 0 { - g2.refctx.Key.Key = prefix - } - globs = append(globs, &g2) + globs = append(globs, g.prefixed(dst)) } } else { globs = append(globs, previousGlobs...) @@ -492,7 +483,7 @@ func (c *compiler) ensureGlobContext(refctx *RefContext) *globContext { func (c *compiler) compileKey(refctx *RefContext) { if refctx.Key.HasGlob() { - // These three printlns are for debugging infinite loops. + // These printlns are for debugging infinite loops. // println("og", refctx.Edge, refctx.Key, refctx.Scope, refctx.ScopeMap, refctx.ScopeAST) for _, refctx2 := range c.globRefContextStack { // println("st", refctx2.Edge, refctx2.Key, refctx2.Scope, refctx2.ScopeMap, refctx2.ScopeAST) @@ -508,11 +499,19 @@ func (c *compiler) compileKey(refctx *RefContext) { }() c.ensureGlobContext(refctx) } + oldFields := refctx.ScopeMap.FieldCountRecursive() + oldEdges := refctx.ScopeMap.EdgeCountRecursive() if len(refctx.Key.Edges) == 0 { c.compileField(refctx.ScopeMap, refctx.Key.Key, refctx) } else { c.compileEdges(refctx) } + if oldFields != refctx.ScopeMap.FieldCountRecursive() || oldEdges != refctx.ScopeMap.EdgeCountRecursive() { + for _, gctx2 := range c.globContexts() { + // println(d2format.Format(gctx2.refctx.Key), d2format.Format(refctx.Key)) + c.compileKey(gctx2.refctx) + } + } } func (c *compiler) compileField(dst *Map, kp *d2ast.KeyPath, refctx *RefContext) { diff --git a/d2ir/d2ir.go b/d2ir/d2ir.go index f5319511c..5d49913a7 100644 --- a/d2ir/d2ir.go +++ b/d2ir/d2ir.go @@ -697,21 +697,18 @@ 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 err != nil { - return fa, err - } - if len(fa) > 0 && create && c != nil { - for _, gctx2 := range c.globContexts() { - c.compileKey(gctx2.refctx) - } - } - return fa, nil + return fa, err } func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext, create bool, gctx *globContext, c *compiler, fa *[]*Field) error { filter := func(f *Field, passthrough bool) bool { - ks := d2format.Format(d2ast.MakeKeyPath(BoardIDA(f))) if gctx != nil { + var ks string + if refctx.Key.HasTripleGlob() { + ks = d2format.Format(d2ast.MakeKeyPath(IDA(f))) + } else { + ks = d2format.Format(d2ast.MakeKeyPath(BoardIDA(f))) + } // For globs with edges, we only ignore duplicate fields if the glob is not at the terminal of the keypath, the glob is on the common key or the glob is on the edge key. if !kp.HasGlob() { if !passthrough { @@ -1031,15 +1028,7 @@ func (m *Map) CreateEdge(eid *EdgeID, refctx *RefContext, c *compiler) ([]*Edge, gctx = c.ensureGlobContext(refctx) } err := m.createEdge(eid, refctx, gctx, c, &ea) - if err != nil { - return ea, err - } - if len(ea) > 0 && c != nil { - for _, gctx2 := range c.globContexts() { - c.compileKey(gctx2.refctx) - } - } - return ea, nil + return ea, err } func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, gctx *globContext, c *compiler, ea *[]*Edge) error { @@ -1179,7 +1168,12 @@ func (m *Map) createEdge2(eid *EdgeID, refctx *RefContext, gctx *globContext, sr } if gctx != nil { - ks := d2format.Format(d2ast.MakeKeyPath(BoardIDA(e))) + var ks string + if refctx.Key.HasTripleGlob() { + ks = d2format.Format(d2ast.MakeKeyPath(IDA(e))) + } else { + ks = d2format.Format(d2ast.MakeKeyPath(BoardIDA(e))) + } if _, ok := gctx.appliedEdges[ks]; ok { return nil, nil } diff --git a/d2ir/pattern.go b/d2ir/pattern.go index 034083b09..34fe14f86 100644 --- a/d2ir/pattern.go +++ b/d2ir/pattern.go @@ -49,10 +49,9 @@ func (m *Map) _tripleGlob(fa *[]*Field) { } continue } - if NodeBoardKind(f) != "" { - continue + if NodeBoardKind(f) == "" { + *fa = append(*fa, f) } - *fa = append(*fa, f) if f.Map() != nil { f.Map()._tripleGlob(fa) } diff --git a/d2ir/pattern_test.go b/d2ir/pattern_test.go index e5064752d..a1cdd4c46 100644 --- a/d2ir/pattern_test.go +++ b/d2ir/pattern_test.go @@ -482,6 +482,39 @@ c assertQuery(t, m, 6, 0, nil, "") }, }, + { + name: "override/1", + run: func(t testing.TB) { + m, err := compile(t, ` +**.style.fill: yellow +**.style.fill: red + +a +`) + assert.Success(t, err) + assertQuery(t, m, 3, 0, nil, "") + assertQuery(t, m, 0, 0, "red", "a.style.fill") + }, + }, + { + name: "override/2", + run: func(t testing.TB) { + m, err := compile(t, ` +***.style.fill: yellow + +layers: { + hi: { + **.style.fill: red + # should be red, but it's yellow right now + a + } +} +`) + assert.Success(t, err) + assertQuery(t, m, 5, 0, nil, "") + assertQuery(t, m, 0, 0, "red", "layers.hi.a.style.fill") + }, + }, } runa(t, tca) diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/1.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/1.exp.json index 76ebe7c77..2d16cfb4b 100644 --- a/testdata/d2ir/TestCompile/patterns/alixander-review/1.exp.json +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/1.exp.json @@ -4,6 +4,1526 @@ "name": "x", "composite": { "fields": [ + { + "name": "y", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + } + ] + }, + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + }, { "name": "style", "composite": { @@ -1144,218 +2664,6 @@ } } } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:22:63", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:18:59-3:22:63", - "value": true - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:22:63", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:18:59-3:22:63", - "value": true - } - } - } - } } ] } @@ -2025,218 +3333,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:22:63", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:18:59-3:22:63", - "value": true - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:22:63", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:16:57", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:0:41-3:1:42", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:2:43-3:7:48", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:8:49-3:16:57", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/patterns/alixander-review/1.d2,3:18:59-3:22:63", - "value": true - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", @@ -3167,1288 +4263,6 @@ } } } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - } - ] - }, - { - "name": "y", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", - "value": [ - { - "string": "yellow", - "raw_string": "yellow" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", - "value": [ - { - "string": "yellow", - "raw_string": "yellow" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", - "value": [ - { - "string": "yellow", - "raw_string": "yellow" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", - "value": [ - { - "string": "yellow", - "raw_string": "yellow" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", - "value": [ - { - "string": "yellow", - "raw_string": "yellow" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", - "value": [ - { - "string": "yellow", - "raw_string": "yellow" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", - "value": [ - { - "string": "yellow", - "raw_string": "yellow" - } - ] - } - } - } - } - } - ] - }, - { - "name": "shape", - "primary": { - "value": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:16:40", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:8:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:0:24-2:2:26", - "value": [ - { - "string": "**", - "raw_string": "**" - } - ], - "pattern": [ - "*", - "", - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:3:27-2:8:32", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,2:10:34-2:16:40", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", - "key": { - "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/alixander-review/1.d2,6:2:72-6:3:73", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "primary": {}, - "value": {} - } - } } ] } @@ -4726,6 +4540,244 @@ } } } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } } ] } @@ -4891,6 +4943,244 @@ } } } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + } } ] } diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/3.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/3.exp.json index 426624b29..a9262751f 100644 --- a/testdata/d2ir/TestCompile/patterns/alixander-review/3.exp.json +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/3.exp.json @@ -1204,6 +1204,334 @@ "value": {} } } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:5:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:3:7", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "src": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:5:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:3:7", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "src": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:5:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:3:7", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:5:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:3:7", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "src": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:5:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:3:7", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "src": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:5:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:3:7", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:4:8-3:5:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } } ] } diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/defaults.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/defaults.exp.json index bae761521..27b8540f3 100644 --- a/testdata/d2ir/TestCompile/patterns/double-glob/defaults.exp.json +++ b/testdata/d2ir/TestCompile/patterns/double-glob/defaults.exp.json @@ -1560,83 +1560,6 @@ } ] }, - { - "name": "shape", - "primary": { - "value": { - "range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18", - "value": [ - { - "string": "page", - "raw_string": "page" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "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" - } - ] - } - } - } - } - } - ] - }, { "name": "p", "composite": { @@ -1774,6 +1697,83 @@ } } ] + }, + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + } + } + ] } ], "edges": null @@ -1880,6 +1880,145 @@ } } } + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + } } ] }, diff --git a/testdata/d2ir/TestCompile/patterns/override/1.exp.json b/testdata/d2ir/TestCompile/patterns/override/1.exp.json new file mode 100644 index 000000000..41699da8d --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/1.exp.json @@ -0,0 +1,782 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/1.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/1.d2,4:0:43-4:1:44", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,4:0:43-4:1:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,4:0:43-4:1:44", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,4:0:43-4:1:44", + "key": { + "range": "TestCompile/patterns/override/1.d2,4:0:43-4:1:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,4:0:43-4:1:44", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/override/2.exp.json b/testdata/d2ir/TestCompile/patterns/override/2.exp.json new file mode 100644 index 000000000..a360c2c0a --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/2.exp.json @@ -0,0 +1,2003 @@ +{ + "fields": [ + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "hi", + "composite": { + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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": "TestCompile/patterns/override/2.d2,1:0:1-1:14:15", + "path": [ + { + "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" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "key": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-4:4:39", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-4:4:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-4:4:39", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-8:3:122", + "key": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-4:4:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-4:4:39", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/2.d2,4:6:41-8:3:122", + "nodes": [ + { + "map_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" + } + ] + } + } + } + }, + { + "comment": { + "range": "TestCompile/patterns/override/2.d2,6:4:70-6:46:112", + "value": "should be red, but it's yellow right now" + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "key": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/2.d2,3:0:25-3:6:31", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,3:0:25-3:6:31", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,3:0:25-3:6:31", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,3:0:25-9:1:124", + "key": { + "range": "TestCompile/patterns/override/2.d2,3:0:25-3:6:31", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,3:0:25-3:6:31", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/2.d2,3:8:33-9:1:124", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-8:3:122", + "key": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-4:4:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,4:2:37-4:4:39", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/2.d2,4:6:41-8:3:122", + "nodes": [ + { + "map_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" + } + ] + } + } + } + }, + { + "comment": { + "range": "TestCompile/patterns/override/2.d2,6:4:70-6:46:112", + "value": "should be red, but it's yellow right now" + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "key": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,7:4:117-7:5:118", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + }, + { + "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" + } + ] + } + } + } + } + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/single-glob/defaults.exp.json b/testdata/d2ir/TestCompile/patterns/single-glob/defaults.exp.json index abae25174..08e7283b5 100644 --- a/testdata/d2ir/TestCompile/patterns/single-glob/defaults.exp.json +++ b/testdata/d2ir/TestCompile/patterns/single-glob/defaults.exp.json @@ -3466,124 +3466,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-0:7:7", - "value": [ - { - "string": "wrapper", - "raw_string": "wrapper" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-0:9:9", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-0:7:7", - "value": [ - { - "string": "wrapper", - "raw_string": "wrapper" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:8:8-0:9:9", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-2:1:27", - "key": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-0:9:9", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-0:7:7", - "value": [ - { - "string": "wrapper", - "raw_string": "wrapper" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:8:8-0:9:9", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/single-glob/defaults.d2,0:11:11-2:1:27", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:12:25", - "key": { - "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", - "value": [ - { - "string": "page", - "raw_string": "page" - } - ] - } - } - } - } - ] - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", diff --git a/testdata/d2ir/TestCompile/patterns/triple-glob/defaults.exp.json b/testdata/d2ir/TestCompile/patterns/triple-glob/defaults.exp.json index e0b0bfe2e..dc21aecd1 100644 --- a/testdata/d2ir/TestCompile/patterns/triple-glob/defaults.exp.json +++ b/testdata/d2ir/TestCompile/patterns/triple-glob/defaults.exp.json @@ -578,6 +578,67 @@ } }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", @@ -716,6 +777,67 @@ } }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", @@ -854,6 +976,67 @@ } }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", @@ -992,6 +1175,67 @@ } }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", diff --git a/testdata/d2ir/TestCompile/patterns/triple-glob/edge-defaults.exp.json b/testdata/d2ir/TestCompile/patterns/triple-glob/edge-defaults.exp.json index 64a4e7727..e44017522 100644 --- a/testdata/d2ir/TestCompile/patterns/triple-glob/edge-defaults.exp.json +++ b/testdata/d2ir/TestCompile/patterns/triple-glob/edge-defaults.exp.json @@ -1525,255 +1525,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", @@ -2195,255 +1946,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", @@ -2954,510 +2456,6 @@ } } }, - { - "context": { - "edge": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, - { - "context": { - "edge": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, - { - "context": { - "edge": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, { "context": { "edge": { @@ -3706,31 +2704,6 @@ }, "key": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, "edges": [ { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", @@ -3899,31 +2872,6 @@ }, "key": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, "edges": [ { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", @@ -4321,89 +3269,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", @@ -4742,89 +3607,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", @@ -5167,174 +3949,6 @@ } } }, - { - "context": { - "edge": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, { "context": { "edge": { @@ -5583,31 +4197,6 @@ }, "key": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, "edges": [ { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", @@ -5776,31 +4365,6 @@ }, "key": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, "edges": [ { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", @@ -5949,6 +4513,172 @@ } }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", @@ -6038,6 +4768,172 @@ "edges": null }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", @@ -6404,6 +5300,342 @@ } } } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + ] + } + } + } + } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + ] + } + } + } + } } ] } @@ -6710,358 +5942,6 @@ } } } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } } ] } @@ -7369,358 +6249,6 @@ } } } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } } ] }, @@ -7997,6 +6525,89 @@ } }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", @@ -8086,6 +6697,89 @@ "edges": null }, "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", @@ -8452,6 +7146,174 @@ } } } + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + ] + } + } + } + } } ] } @@ -8758,358 +7620,6 @@ } } } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } } ] } @@ -9417,358 +7927,6 @@ } } } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, - { - "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" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "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" - } - ] - } - } - ] - }, - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } } ] } @@ -10056,172 +8214,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", @@ -10560,172 +8552,6 @@ } } }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - }, { "string": { "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", @@ -11571,342 +9397,6 @@ } } } - }, - { - "context": { - "edge": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } - }, - { - "context": { - "edge": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:0:0-2:1:53", - "edges": [ - { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:11:11", - "src": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:1:1-0:4:4", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:8:8-0:11:11", - "value": [ - { - "string": "***", - "raw_string": "***" - } - ], - "pattern": [ - "*", - "", - "*", - "", - "*" - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "edge_index": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:12:12-0:15:15", - "int": null, - "glob": true - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,0:17:17-2:1:53", - "nodes": [ - { - "map_key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:32:51", - "key": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:23:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:1:20-1:17:36", - "value": [ - { - "string": "target-arrowhead", - "raw_string": "target-arrowhead" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:18:37-1:23:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", - "value": [ - { - "string": "diamond", - "raw_string": "diamond" - } - ] - } - } - } - } - ] - } - } - } - } } ] },