diff --git a/d2ast/d2ast.go b/d2ast/d2ast.go index 8434c4b96..87b0921f6 100644 --- a/d2ast/d2ast.go +++ b/d2ast/d2ast.go @@ -606,6 +606,15 @@ func (m *Map) IsFileMap() bool { return m.Range.Start.Line == 0 && m.Range.Start.Column == 0 } +func (m *Map) HasFilter() bool { + for _, n := range m.Nodes { + if n.MapKey != nil && (n.MapKey.Ampersand || n.MapKey.NotAmpersand) { + return true + } + } + return false +} + // TODO: require @ on import values for readability type Key struct { Range Range `json:"range"` @@ -641,8 +650,7 @@ type Key struct { Value ValueBox `json:"value"` } -// TODO maybe need to compare Primary -func (mk1 *Key) Equals(mk2 *Key) bool { +func (mk1 *Key) D2OracleEquals(mk2 *Key) bool { if mk1.Ampersand != mk2.Ampersand { return false } @@ -715,6 +723,98 @@ func (mk1 *Key) Equals(mk2 *Key) bool { return true } +func (mk1 *Key) Equals(mk2 *Key) bool { + if mk1.Ampersand != mk2.Ampersand { + return false + } + if (mk1.Key == nil) != (mk2.Key == nil) { + return false + } + if (mk1.EdgeIndex == nil) != (mk2.EdgeIndex == nil) { + return false + } + if mk1.EdgeIndex != nil { + if !mk1.EdgeIndex.Equals(mk2.EdgeIndex) { + return false + } + } + if (mk1.EdgeKey == nil) != (mk2.EdgeKey == nil) { + return false + } + if len(mk1.Edges) != len(mk2.Edges) { + return false + } + for i := range mk1.Edges { + if !mk1.Edges[i].Equals(mk2.Edges[i]) { + return false + } + } + if (mk1.Value.Map == nil) != (mk2.Value.Map == nil) { + if mk1.Value.Map != nil && len(mk1.Value.Map.Nodes) > 0 { + return false + } + if mk2.Value.Map != nil && len(mk2.Value.Map.Nodes) > 0 { + return false + } + } else if (mk1.Value.Unbox() == nil) != (mk2.Value.Unbox() == nil) { + return false + } + + if mk1.Key != nil { + if len(mk1.Key.Path) != len(mk2.Key.Path) { + return false + } + for i, id := range mk1.Key.Path { + if id.Unbox().ScalarString() != mk2.Key.Path[i].Unbox().ScalarString() { + return false + } + } + } + if mk1.EdgeKey != nil { + if len(mk1.EdgeKey.Path) != len(mk2.EdgeKey.Path) { + return false + } + for i, id := range mk1.EdgeKey.Path { + if id.Unbox().ScalarString() != mk2.EdgeKey.Path[i].Unbox().ScalarString() { + return false + } + } + } + + if mk1.Value.Map != nil && len(mk1.Value.Map.Nodes) > 0 { + if len(mk1.Value.Map.Nodes) != len(mk2.Value.Map.Nodes) { + return false + } + for i := range mk1.Value.Map.Nodes { + if !mk1.Value.Map.Nodes[i].MapKey.Equals(mk2.Value.Map.Nodes[i].MapKey) { + return false + } + } + } + + if mk1.Value.Unbox() != nil { + if (mk1.Value.ScalarBox().Unbox() == nil) != (mk2.Value.ScalarBox().Unbox() == nil) { + return false + } + if mk1.Value.ScalarBox().Unbox() != nil { + if mk1.Value.ScalarBox().Unbox().ScalarString() != mk2.Value.ScalarBox().Unbox().ScalarString() { + return false + } + } + } + + if mk1.Primary.Unbox() != nil { + if (mk1.Primary.Unbox() == nil) != (mk2.Primary.Unbox() == nil) { + return false + } + if mk1.Primary.ScalarString() != mk2.Primary.ScalarString() { + return false + } + } + + return true +} + func (mk *Key) SetScalar(scalar ScalarBox) { if mk.Value.Unbox() != nil && mk.Value.ScalarBox().Unbox() == nil { mk.Primary = scalar @@ -723,7 +823,43 @@ func (mk *Key) SetScalar(scalar ScalarBox) { } } -func (mk *Key) HasQueryGlob() bool { +func (mk *Key) HasGlob() bool { + if mk.Key.HasGlob() { + return true + } + for _, e := range mk.Edges { + if e.Src.HasGlob() || e.Dst.HasGlob() { + return true + } + } + if mk.EdgeIndex != nil && mk.EdgeIndex.Glob { + return true + } + if mk.EdgeKey.HasGlob() { + return true + } + return false +} + +func (mk *Key) HasTripleGlob() bool { + if mk.Key.HasTripleGlob() { + return true + } + for _, e := range mk.Edges { + if e.Src.HasTripleGlob() || e.Dst.HasTripleGlob() { + return true + } + } + if mk.EdgeIndex != nil && mk.EdgeIndex.Glob { + return true + } + if mk.EdgeKey.HasTripleGlob() { + return true + } + return false +} + +func (mk *Key) SupportsGlobFilters() bool { if mk.Key.HasGlob() && len(mk.Edges) == 0 { return true } @@ -736,6 +872,11 @@ func (mk *Key) HasQueryGlob() bool { return false } +func (mk *Key) Copy() *Key { + mk2 := *mk + return &mk2 +} + type KeyPath struct { Range Range `json:"range"` Path []*StringBox `json:"path"` @@ -763,16 +904,16 @@ func (kp *KeyPath) Copy() *KeyPath { return &kp2 } -func (kp *KeyPath) HasDoubleGlob() bool { - if kp == nil { - return false - } - for _, el := range kp.Path { - if el.UnquotedString != nil && el.ScalarString() == "**" { - return true - } - } - return false +func (kp *KeyPath) Last() *StringBox { + return kp.Path[len(kp.Path)-1] +} + +func IsDoubleGlob(pattern []string) bool { + return len(pattern) == 3 && pattern[0] == "*" && pattern[1] == "" && pattern[2] == "*" +} + +func IsTripleGlob(pattern []string) bool { + return len(pattern) == 5 && pattern[0] == "*" && pattern[1] == "" && pattern[2] == "*" && pattern[3] == "" && pattern[4] == "*" } func (kp *KeyPath) HasGlob() bool { @@ -787,6 +928,54 @@ func (kp *KeyPath) HasGlob() bool { return false } +func (kp *KeyPath) FirstGlob() int { + if kp == nil { + return -1 + } + for i, el := range kp.Path { + if el.UnquotedString != nil && len(el.UnquotedString.Pattern) > 0 { + return i + } + } + return -1 +} + +func (kp *KeyPath) HasTripleGlob() bool { + if kp == nil { + return false + } + for _, el := range kp.Path { + if el.UnquotedString != nil && IsTripleGlob(el.UnquotedString.Pattern) { + return true + } + } + return false +} + +func (kp *KeyPath) HasMultiGlob() bool { + if kp == nil { + return false + } + for _, el := range kp.Path { + if el.UnquotedString != nil && (IsDoubleGlob(el.UnquotedString.Pattern) || IsTripleGlob(el.UnquotedString.Pattern)) { + return true + } + } + return false +} + +func (kp1 *KeyPath) Equals(kp2 *KeyPath) bool { + if len(kp1.Path) != len(kp2.Path) { + return false + } + for i, id := range kp1.Path { + if id.Unbox().ScalarString() != kp2.Path[i].Unbox().ScalarString() { + return false + } + } + return true +} + type Edge struct { Range Range `json:"range"` @@ -799,6 +988,22 @@ type Edge struct { DstArrow string `json:"dst_arrow"` } +func (e1 *Edge) Equals(e2 *Edge) bool { + if !e1.Src.Equals(e2.Src) { + return false + } + if e1.SrcArrow != e2.SrcArrow { + return false + } + if !e1.Dst.Equals(e2.Dst) { + return false + } + if e1.DstArrow != e2.DstArrow { + return false + } + return true +} + type EdgeIndex struct { Range Range `json:"range"` @@ -807,6 +1012,16 @@ type EdgeIndex struct { Glob bool `json:"glob"` } +func (ei1 *EdgeIndex) Equals(ei2 *EdgeIndex) bool { + if ei1.Int != ei2.Int { + return false + } + if ei1.Glob != ei2.Glob { + return false + } + return true +} + type Substitution struct { Range Range `json:"range"` @@ -1082,6 +1297,10 @@ func (sb ScalarBox) Unbox() Scalar { } } +func (sb ScalarBox) ScalarString() string { + return sb.Unbox().ScalarString() +} + // StringBox is used to box String for JSON persistence. type StringBox struct { UnquotedString *UnquotedString `json:"unquoted_string,omitempty"` diff --git a/d2compiler/compile.go b/d2compiler/compile.go index 841e381a0..6b40777e4 100644 --- a/d2compiler/compile.go +++ b/d2compiler/compile.go @@ -322,21 +322,21 @@ func (c *compiler) compileField(obj *d2graph.Object, f *d2ir.Field) { } for _, fr := range f.References { if fr.Primary() { - if fr.Context.Key.Value.Map != nil { - obj.Map = fr.Context.Key.Value.Map + if fr.Context_.Key.Value.Map != nil { + obj.Map = fr.Context_.Key.Value.Map } } r := d2graph.Reference{ Key: fr.KeyPath, KeyPathIndex: fr.KeyPathIndex(), - MapKey: fr.Context.Key, - MapKeyEdgeIndex: fr.Context.EdgeIndex(), - Scope: fr.Context.Scope, - ScopeAST: fr.Context.ScopeAST, + MapKey: fr.Context_.Key, + MapKeyEdgeIndex: fr.Context_.EdgeIndex(), + Scope: fr.Context_.Scope, + ScopeAST: fr.Context_.ScopeAST, } - if fr.Context.ScopeMap != nil && !d2ir.IsVar(fr.Context.ScopeMap) { - scopeObjIDA := d2graphIDA(d2ir.BoardIDA(fr.Context.ScopeMap)) + if fr.Context_.ScopeMap != nil && !d2ir.IsVar(fr.Context_.ScopeMap) { + scopeObjIDA := d2graphIDA(d2ir.BoardIDA(fr.Context_.ScopeMap)) r.ScopeObj = obj.Graph.Root.EnsureChild(scopeObjIDA) } obj.References = append(obj.References, r) @@ -725,14 +725,14 @@ func (c *compiler) compileEdge(obj *d2graph.Object, e *d2ir.Edge) { edge.Label.MapKey = e.LastPrimaryKey() for _, er := range e.References { r := d2graph.EdgeReference{ - Edge: er.Context.Edge, - MapKey: er.Context.Key, - MapKeyEdgeIndex: er.Context.EdgeIndex(), - Scope: er.Context.Scope, - ScopeAST: er.Context.ScopeAST, + Edge: er.Context_.Edge, + MapKey: er.Context_.Key, + MapKeyEdgeIndex: er.Context_.EdgeIndex(), + Scope: er.Context_.Scope, + ScopeAST: er.Context_.ScopeAST, } - if er.Context.ScopeMap != nil && !d2ir.IsVar(er.Context.ScopeMap) { - scopeObjIDA := d2graphIDA(d2ir.BoardIDA(er.Context.ScopeMap)) + if er.Context_.ScopeMap != nil && !d2ir.IsVar(er.Context_.ScopeMap) { + scopeObjIDA := d2graphIDA(d2ir.BoardIDA(er.Context_.ScopeMap)) r.ScopeObj = edge.Src.Graph.Root.EnsureChild(scopeObjIDA) } edge.References = append(edge.References, r) diff --git a/d2compiler/compile_test.go b/d2compiler/compile_test.go index a713c3622..15c966eab 100644 --- a/d2compiler/compile_test.go +++ b/d2compiler/compile_test.go @@ -2745,6 +2745,7 @@ func TestCompile2(t *testing.T) { t.Run("seqdiagrams", testSeqDiagrams) t.Run("nulls", testNulls) t.Run("vars", testVars) + t.Run("globs", testGlobs) } func testBoards(t *testing.T) { @@ -4032,6 +4033,86 @@ z: { }) } +func testGlobs(t *testing.T) { + t.Parallel() + + tca := []struct { + name string + skip bool + run func(t *testing.T) + }{ + { + name: "alixander-lazy-globs-review/1", + run: func(t *testing.T) { + assertCompile(t, ` +***.style.fill: yellow +**.shape: circle +*.style.multiple: true + +x: { + y +} + +layers: { + next: { + a + } +} +`, "") + }, + }, + { + name: "alixander-lazy-globs-review/2", + run: func(t *testing.T) { + assertCompile(t, ` +**.style.fill: yellow + +scenarios: { + b: { + a -> b + } +} +`, "") + }, + }, + { + name: "alixander-lazy-globs-review/3", + run: func(t *testing.T) { + assertCompile(t, ` +***: { + c: d +} + +***: { + style.fill: red +} + +table: { + shape: sql_table + a: b +} + +class: { + shape: class + a: b +} +`, "") + }, + }, + } + + for _, tc := range tca { + tc := tc + t.Run(tc.name, func(t *testing.T) { + t.Parallel() + if tc.skip { + t.SkipNow() + } + tc.run(t) + }) + } +} + func assertCompile(t *testing.T, text string, expErr string) (*d2graph.Graph, *d2target.Config) { d2Path := fmt.Sprintf("d2/testdata/d2compiler/%v.d2", t.Name()) g, config, err := d2compiler.Compile(d2Path, strings.NewReader(text), nil) diff --git a/d2ir/compile.go b/d2ir/compile.go index 7d5e61493..2c46f70e4 100644 --- a/d2ir/compile.go +++ b/d2ir/compile.go @@ -5,14 +5,25 @@ import ( "strconv" "strings" + "oss.terrastruct.com/util-go/go2" + "oss.terrastruct.com/d2/d2ast" "oss.terrastruct.com/d2/d2format" "oss.terrastruct.com/d2/d2parser" "oss.terrastruct.com/d2/d2themes" "oss.terrastruct.com/d2/d2themes/d2themescatalog" - "oss.terrastruct.com/util-go/go2" ) +type globContext struct { + root *globContext + refctx *RefContext + + // Set of BoardIDA that this glob has already applied to. + appliedFields map[string]struct{} + // Set of Edge IDs that this glob has already applied to. + appliedEdges map[string]struct{} +} + type compiler struct { err *d2parser.ParseError @@ -23,7 +34,13 @@ type compiler struct { importCache map[string]*Map utf16Pos bool - globStack []bool + // Stack of globs that must be recomputed at each new object in and below the current scope. + globContextStack [][]*globContext + // Used to prevent field globs causing infinite loops. + globRefContextStack []*RefContext + // Used to check whether ampersands are allowed in the current map. + mapRefContextStack []*RefContext + lazyGlobBeingApplied bool } type CompileOptions struct { @@ -49,8 +66,8 @@ func Compile(ast *d2ast.Map, opts *CompileOptions) (*Map, error) { } m := &Map{} m.initRoot() - m.parent.(*Field).References[0].Context.Scope = ast - m.parent.(*Field).References[0].Context.ScopeAST = ast + m.parent.(*Field).References[0].Context_.Scope = ast + m.parent.(*Field).References[0].Context_.ScopeAST = ast c.pushImportStack(&d2ast.Import{ Path: []*d2ast.StringBox{d2ast.RawStringBox(ast.GetRange().Path, true)}, @@ -83,7 +100,7 @@ func (c *compiler) overlayClasses(m *Map) { for _, lf := range layers.Fields { if lf.Map() == nil || lf.Primary() != nil { - c.errorf(lf.References[0].Context.Key, "invalid layer") + c.errorf(lf.References[0].Context_.Key, "invalid layer") continue } l := lf.Map() @@ -337,7 +354,7 @@ func (c *compiler) resolveSubstitution(vars *Map, substitution *d2ast.Substituti func (c *compiler) overlay(base *Map, f *Field) { if f.Map() == nil || f.Primary() != nil { - c.errorf(f.References[0].Context.Key, "invalid %s", NodeBoardKind(f)) + c.errorf(f.References[0].Context_.Key, "invalid %s", NodeBoardKind(f)) return } base = base.CopyBase(f) @@ -345,7 +362,26 @@ func (c *compiler) overlay(base *Map, f *Field) { f.Composite = base } -func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { +func (g *globContext) copy() *globContext { + g2 := *g + g2.refctx = g.root.refctx.Copy() + return &g2 +} + +func (g *globContext) prefixed(dst *Map) *globContext { + g2 := g.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) ampersandFilterMap(dst *Map, ast, scopeAST *d2ast.Map) bool { for _, n := range ast.Nodes { switch { case n.MapKey != nil: @@ -356,10 +392,55 @@ func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { ScopeAST: scopeAST, }) if !ok { - return + // Unapply glob if appropriate. + gctx := c.getGlobContext(c.mapRefContextStack[len(c.mapRefContextStack)-1]) + if gctx == nil { + return false + } + var ks string + if gctx.refctx.Key.HasTripleGlob() { + ks = d2format.Format(d2ast.MakeKeyPath(IDA(dst))) + } else { + ks = d2format.Format(d2ast.MakeKeyPath(BoardIDA(dst))) + } + delete(gctx.appliedFields, ks) + return false } } } + return true +} + +func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { + var globs []*globContext + if len(c.globContextStack) > 0 { + previousGlobs := c.globContextStack[len(c.globContextStack)-1] + if NodeBoardKind(dst) == BoardLayer { + for _, g := range previousGlobs { + if g.refctx.Key.HasTripleGlob() { + globs = append(globs, g.prefixed(dst)) + } + } + } else if NodeBoardKind(dst) != "" { + // Make all globs relative to the scenario or step. + for _, g := range previousGlobs { + globs = append(globs, g.prefixed(dst)) + } + } else { + globs = append(globs, previousGlobs...) + } + } + c.globContextStack = append(c.globContextStack, globs) + defer func() { + dst.globs = c.globContexts() + c.globContextStack = c.globContextStack[:len(c.globContextStack)-1] + }() + + ok := c.ampersandFilterMap(dst, ast, scopeAST) + if !ok { + return + } + for _, n := range ast.Nodes { switch { case n.MapKey != nil: @@ -389,6 +470,17 @@ func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { c.errorf(n.Import, "cannot spread import non map into map") continue } + + for _, gctx := range impn.Map().globs { + if !gctx.refctx.Key.HasTripleGlob() { + continue + } + gctx2 := gctx.copy() + gctx2.refctx.ScopeMap = dst + c.compileKey(gctx2.refctx) + c.ensureGlobContext(gctx2.refctx) + } + OverlayMap(dst, impn.Map()) if impnf, ok := impn.(*Field); ok { @@ -403,12 +495,68 @@ func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) { } } +func (c *compiler) globContexts() []*globContext { + return c.globContextStack[len(c.globContextStack)-1] +} + +func (c *compiler) getGlobContext(refctx *RefContext) *globContext { + for _, gctx := range c.globContexts() { + if gctx.refctx.Equal(refctx) { + return gctx + } + } + return nil +} + +func (c *compiler) ensureGlobContext(refctx *RefContext) *globContext { + gctx := c.getGlobContext(refctx) + if gctx != nil { + return gctx + } + gctx = &globContext{ + refctx: refctx, + appliedFields: make(map[string]struct{}), + appliedEdges: make(map[string]struct{}), + } + gctx.root = gctx + c.globContextStack[len(c.globContextStack)-1] = append(c.globContexts(), gctx) + return gctx +} + func (c *compiler) compileKey(refctx *RefContext) { + if refctx.Key.HasGlob() { + // 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) + if refctx.Equal(refctx2) { + // Break the infinite loop. + return + } + // println("keys", d2format.Format(refctx2.Key), d2format.Format(refctx.Key)) + } + c.globRefContextStack = append(c.globRefContextStack, refctx) + defer func() { + c.globRefContextStack = c.globRefContextStack[:len(c.globRefContextStack)-1] + }() + 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)) + old := c.lazyGlobBeingApplied + c.lazyGlobBeingApplied = true + c.compileKey(gctx2.refctx) + c.lazyGlobBeingApplied = old + } + } } func (c *compiler) compileField(dst *Map, kp *d2ast.KeyPath, refctx *RefContext) { @@ -416,7 +564,7 @@ func (c *compiler) compileField(dst *Map, kp *d2ast.KeyPath, refctx *RefContext) return } - fa, err := dst.EnsureField(kp, refctx, true) + fa, err := dst.EnsureField(kp, refctx, true, c) if err != nil { c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) return @@ -431,7 +579,7 @@ func (c *compiler) ampersandFilter(refctx *RefContext) bool { if !refctx.Key.Ampersand { return true } - if len(c.globStack) == 0 || !c.globStack[len(c.globStack)-1] { + if len(c.mapRefContextStack) == 0 || !c.mapRefContextStack[len(c.mapRefContextStack)-1].Key.SupportsGlobFilters() { c.errorf(refctx.Key, "glob filters cannot be used outside globs") return false } @@ -439,13 +587,50 @@ func (c *compiler) ampersandFilter(refctx *RefContext) bool { return true } - fa, err := refctx.ScopeMap.EnsureField(refctx.Key.Key, refctx, false) + fa, err := refctx.ScopeMap.EnsureField(refctx.Key.Key, refctx, false, c) if err != nil { c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) return false } if len(fa) == 0 { - return false + if refctx.Key.Key.Last().ScalarString() != "label" { + return false + } + kp := refctx.Key.Key.Copy() + kp.Path = kp.Path[:len(kp.Path)-1] + if len(kp.Path) == 0 { + n := refctx.ScopeMap.Parent() + switch n := n.(type) { + case *Field: + fa = append(fa, n) + case *Edge: + if n.Primary_ == nil { + if refctx.Key.Value.ScalarBox().Unbox().ScalarString() == "" { + return true + } + return false + } + if n.Primary_.Value.ScalarString() != refctx.Key.Value.ScalarBox().Unbox().ScalarString() { + return false + } + } + } else { + fa, err = refctx.ScopeMap.EnsureField(kp, refctx, false, c) + if err != nil { + c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) + return false + } + } + for _, f := range fa { + label := f.Name + if f.Primary_ != nil { + label = f.Primary_.Value.ScalarString() + } + if label != refctx.Key.Value.ScalarBox().Unbox().ScalarString() { + return false + } + } + return true } for _, f := range fa { ok := c._ampersandFilter(f, refctx) @@ -484,7 +669,22 @@ func (c *compiler) _ampersandFilter(f *Field, refctx *RefContext) bool { } func (c *compiler) _compileField(f *Field, refctx *RefContext) { - if len(refctx.Key.Edges) == 0 && refctx.Key.Value.Null != nil { + // In case of filters, we need to pass filters before continuing + if refctx.Key.Value.Map != nil && refctx.Key.Value.Map.HasFilter() { + if f.Map() == nil { + f.Composite = &Map{ + parent: f, + } + } + c.mapRefContextStack = append(c.mapRefContextStack, refctx) + ok := c.ampersandFilterMap(f.Map(), refctx.Key.Value.Map, refctx.ScopeAST) + c.mapRefContextStack = c.mapRefContextStack[:len(c.mapRefContextStack)-1] + if !ok { + return + } + } + + if len(refctx.Key.Edges) == 0 && (refctx.Key.Primary.Null != nil || refctx.Key.Value.Null != nil) { // For vars, if we delete the field, it may just resolve to an outer scope var of the same name // Instead we keep it around, so that resolveSubstitutions can find it if !IsVar(ParentMap(f)) { @@ -494,11 +694,15 @@ func (c *compiler) _compileField(f *Field, refctx *RefContext) { } if refctx.Key.Primary.Unbox() != nil { + if c.ignoreLazyGlob(f) { + return + } f.Primary_ = &Scalar{ parent: f, Value: refctx.Key.Primary.Unbox(), } } + if refctx.Key.Value.Array != nil { a := &Array{ parent: f, @@ -506,35 +710,37 @@ func (c *compiler) _compileField(f *Field, refctx *RefContext) { c.compileArray(a, refctx.Key.Value.Array, refctx.ScopeAST) f.Composite = a } else if refctx.Key.Value.Map != nil { + scopeAST := refctx.Key.Value.Map if f.Map() == nil { f.Composite = &Map{ parent: f, } - } - scopeAST := refctx.Key.Value.Map - switch NodeBoardKind(f) { - case BoardScenario: - c.overlay(ParentBoard(f).Map(), f) - case BoardStep: - stepsMap := ParentMap(f) - for i := range stepsMap.Fields { - if stepsMap.Fields[i] == f { - if i == 0 { - c.overlay(ParentBoard(f).Map(), f) - } else { - c.overlay(stepsMap.Fields[i-1].Map(), f) + switch NodeBoardKind(f) { + case BoardScenario: + c.overlay(ParentBoard(f).Map(), f) + case BoardStep: + stepsMap := ParentMap(f) + for i := range stepsMap.Fields { + if stepsMap.Fields[i] == f { + if i == 0 { + c.overlay(ParentBoard(f).Map(), f) + } else { + c.overlay(stepsMap.Fields[i-1].Map(), f) + } + break } - break } + case BoardLayer: + default: + // If new board type, use that as the new scope AST, otherwise, carry on + scopeAST = refctx.ScopeAST } - case BoardLayer: - default: - // If new board type, use that as the new scope AST, otherwise, carry on + } else { scopeAST = refctx.ScopeAST } - c.globStack = append(c.globStack, refctx.Key.HasQueryGlob()) + c.mapRefContextStack = append(c.mapRefContextStack, refctx) c.compileMap(f.Map(), refctx.Key.Value.Map, scopeAST) - c.globStack = c.globStack[:len(c.globStack)-1] + c.mapRefContextStack = c.mapRefContextStack[:len(c.mapRefContextStack)-1] switch NodeBoardKind(f) { case BoardScenario, BoardStep: c.overlayClasses(f.Map()) @@ -580,6 +786,9 @@ func (c *compiler) _compileField(f *Field, refctx *RefContext) { } } } else if refctx.Key.Value.ScalarBox().Unbox() != nil { + if c.ignoreLazyGlob(f) { + return + } f.Primary_ = &Scalar{ parent: f, Value: refctx.Key.Value.ScalarBox().Unbox(), @@ -591,6 +800,17 @@ func (c *compiler) _compileField(f *Field, refctx *RefContext) { } } +// Whether the current lazy glob being applied should not override the field +// if already set by a non glob key. +func (c *compiler) ignoreLazyGlob(n Node) bool { + if c.lazyGlobBeingApplied && n.Primary() != nil { + if n.LastPrimaryRef() != nil { + return true + } + } + return false +} + func (c *compiler) updateLinks(m *Map) { for _, f := range m.Fields { if f.Name == "link" { @@ -692,7 +912,7 @@ func (c *compiler) compileEdges(refctx *RefContext) { return } - fa, err := refctx.ScopeMap.EnsureField(refctx.Key.Key, refctx, true) + fa, err := refctx.ScopeMap.EnsureField(refctx.Key.Key, refctx, true, c) if err != nil { c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) return @@ -726,21 +946,25 @@ func (c *compiler) _compileEdges(refctx *RefContext) { var ea []*Edge if eid.Index != nil || eid.Glob { - ea = refctx.ScopeMap.GetEdges(eid, refctx) + ea = refctx.ScopeMap.GetEdges(eid, refctx, c) if len(ea) == 0 { - c.errorf(refctx.Edge, "indexed edge does not exist") + if !eid.Glob { + c.errorf(refctx.Edge, "indexed edge does not exist") + } continue } for _, e := range ea { e.References = append(e.References, &EdgeReference{ - Context: refctx, + Context_: refctx, + DueToGlob_: len(c.globRefContextStack) > 0, + DueToLazyGlob_: c.lazyGlobBeingApplied, }) - refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Src, refctx) - refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Dst, refctx) + refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Src, refctx, c) + refctx.ScopeMap.appendFieldReferences(0, refctx.Edge.Dst, refctx, c) } } else { var err error - ea, err = refctx.ScopeMap.CreateEdge(eid, refctx) + ea, err = refctx.ScopeMap.CreateEdge(eid, refctx, c) if err != nil { c.err.Errors = append(c.err.Errors, err.(d2ast.Error)) continue @@ -757,6 +981,9 @@ func (c *compiler) _compileEdges(refctx *RefContext) { c.compileField(e.Map_, refctx.Key.EdgeKey, refctx) } else { if refctx.Key.Primary.Unbox() != nil { + if c.ignoreLazyGlob(e) { + return + } e.Primary_ = &Scalar{ parent: e, Value: refctx.Key.Primary.Unbox(), @@ -771,10 +998,13 @@ func (c *compiler) _compileEdges(refctx *RefContext) { parent: e, } } - c.globStack = append(c.globStack, refctx.Key.HasQueryGlob()) + c.mapRefContextStack = append(c.mapRefContextStack, refctx) c.compileMap(e.Map_, refctx.Key.Value.Map, refctx.ScopeAST) - c.globStack = c.globStack[:len(c.globStack)-1] + c.mapRefContextStack = c.mapRefContextStack[:len(c.mapRefContextStack)-1] } else if refctx.Key.Value.ScalarBox().Unbox() != nil { + if c.ignoreLazyGlob(e) { + return + } e.Primary_ = &Scalar{ parent: e, Value: refctx.Key.Value.ScalarBox().Unbox(), diff --git a/d2ir/compile_test.go b/d2ir/compile_test.go index 9fc96b228..7979a63e0 100644 --- a/d2ir/compile_test.go +++ b/d2ir/compile_test.go @@ -107,7 +107,7 @@ func assertQuery(t testing.TB, n d2ir.Node, nfields, nedges int, primary interfa } if len(na) == 0 { - return nil + t.Fatalf("query didn't match anything") } return na[0] @@ -416,10 +416,27 @@ scenarios: { } }`) assert.Success(t, err) - + assertQuery(t, m, 8, 2, nil, "") assertQuery(t, m, 0, 0, nil, "(a -> b)[0]") }, }, + { + name: "multiple-scenario-map", + run: func(t testing.TB) { + m, err := compile(t, `a -> b: { style.opacity: 0.3 } +scenarios: { + 1: { + (a -> b)[0].style.opacity: 0.1 + } + 1: { + z + } +}`) + assert.Success(t, err) + assertQuery(t, m, 11, 2, nil, "") + assertQuery(t, m, 0, 0, 0.1, "scenarios.1.(a -> b)[0].style.opacity") + }, + }, } runa(t, tca) } diff --git a/d2ir/d2ir.go b/d2ir/d2ir.go index 4550a9857..72bcc116d 100644 --- a/d2ir/d2ir.go +++ b/d2ir/d2ir.go @@ -13,6 +13,7 @@ import ( "oss.terrastruct.com/d2/d2format" "oss.terrastruct.com/d2/d2graph" "oss.terrastruct.com/d2/d2parser" + "oss.terrastruct.com/d2/d2target" ) // Most errors returned by a node should be created with d2parser.Errorf @@ -29,6 +30,7 @@ type Node interface { fmt.Stringer LastRef() Reference + LastPrimaryRef() Reference LastPrimaryKey() *d2ast.Key } @@ -110,6 +112,10 @@ func (n *Scalar) LastRef() Reference { return parentRef(n) } func (n *Map) LastRef() Reference { return parentRef(n) } func (n *Array) LastRef() Reference { return parentRef(n) } +func (n *Scalar) LastPrimaryRef() Reference { return parentPrimaryRef(n) } +func (n *Map) LastPrimaryRef() Reference { return parentPrimaryRef(n) } +func (n *Array) LastPrimaryRef() Reference { return parentPrimaryRef(n) } + func (n *Scalar) LastPrimaryKey() *d2ast.Key { return parentPrimaryKey(n) } func (n *Map) LastPrimaryKey() *d2ast.Key { return parentPrimaryKey(n) } func (n *Array) LastPrimaryKey() *d2ast.Key { return parentPrimaryKey(n) } @@ -119,13 +125,23 @@ type Reference interface { // Most specific AST node for the reference. AST() d2ast.Node Primary() bool + Context() *RefContext + // Result of a glob in Context or from above. + DueToGlob() bool + DueToLazyGlob() bool } var _ Reference = &FieldReference{} var _ Reference = &EdgeReference{} -func (r *FieldReference) reference() {} -func (r *EdgeReference) reference() {} +func (r *FieldReference) reference() {} +func (r *EdgeReference) reference() {} +func (r *FieldReference) Context() *RefContext { return r.Context_ } +func (r *EdgeReference) Context() *RefContext { return r.Context_ } +func (r *FieldReference) DueToGlob() bool { return r.DueToGlob_ } +func (r *EdgeReference) DueToGlob() bool { return r.DueToGlob_ } +func (r *FieldReference) DueToLazyGlob() bool { return r.DueToLazyGlob_ } +func (r *EdgeReference) DueToLazyGlob() bool { return r.DueToLazyGlob_ } type Scalar struct { parent Node @@ -154,13 +170,15 @@ type Map struct { parent Node Fields []*Field `json:"fields"` Edges []*Edge `json:"edges"` + + globs []*globContext } func (m *Map) initRoot() { m.parent = &Field{ Name: "root", References: []*FieldReference{{ - Context: &RefContext{ + Context_: &RefContext{ ScopeMap: m, }, }}, @@ -245,7 +263,11 @@ func NodeBoardKind(n Node) BoardKind { } f = ParentField(n) case *Map: - f = ParentField(n) + var ok bool + f, ok = n.parent.(*Field) + if !ok { + return "" + } if f.Root() { return BoardLayer } @@ -295,9 +317,9 @@ func (f *Field) Copy(newParent Node) Node { return f } -func (f *Field) lastPrimaryRef() *FieldReference { +func (f *Field) LastPrimaryRef() Reference { for i := len(f.References) - 1; i >= 0; i-- { - if f.References[i].Primary() { + if f.References[i].Primary() && !f.References[i].DueToLazyGlob() { return f.References[i] } } @@ -305,11 +327,11 @@ func (f *Field) lastPrimaryRef() *FieldReference { } func (f *Field) LastPrimaryKey() *d2ast.Key { - fr := f.lastPrimaryRef() + fr := f.LastPrimaryRef() if fr == nil { return nil } - return fr.Context.Key + return fr.(*FieldReference).Context_.Key } func (f *Field) LastRef() Reference { @@ -451,10 +473,10 @@ func (e *Edge) Copy(newParent Node) Node { return e } -func (e *Edge) lastPrimaryRef() *EdgeReference { +func (e *Edge) LastPrimaryRef() Reference { for i := len(e.References) - 1; i >= 0; i-- { fr := e.References[i] - if fr.Context.Key.EdgeKey == nil { + if fr.Context_.Key.EdgeKey == nil && !fr.DueToLazyGlob() { return fr } } @@ -462,11 +484,11 @@ func (e *Edge) lastPrimaryRef() *EdgeReference { } func (e *Edge) LastPrimaryKey() *d2ast.Key { - er := e.lastPrimaryRef() + er := e.LastPrimaryRef() if er == nil { return nil } - return er.Context.Key + return er.(*EdgeReference).Context_.Key } func (e *Edge) LastRef() Reference { @@ -494,16 +516,18 @@ type FieldReference struct { String d2ast.String `json:"string"` KeyPath *d2ast.KeyPath `json:"key_path"` - Context *RefContext `json:"context"` + Context_ *RefContext `json:"context"` + DueToGlob_ bool `json:"due_to_glob"` + DueToLazyGlob_ bool `json:"due_to_lazy_glob"` } // Primary returns true if the Value in Context.Key.Value corresponds to the Field // represented by String. func (fr *FieldReference) Primary() bool { - if fr.KeyPath == fr.Context.Key.Key { - return len(fr.Context.Key.Edges) == 0 && fr.KeyPathIndex() == len(fr.KeyPath.Path)-1 - } else if fr.KeyPath == fr.Context.Key.EdgeKey { - return len(fr.Context.Key.Edges) == 1 && fr.KeyPathIndex() == len(fr.KeyPath.Path)-1 + if fr.KeyPath == fr.Context_.Key.Key { + return len(fr.Context_.Key.Edges) == 0 && fr.KeyPathIndex() == len(fr.KeyPath.Path)-1 + } else if fr.KeyPath == fr.Context_.Key.EdgeKey { + return len(fr.Context_.Key.Edges) == 1 && fr.KeyPathIndex() == len(fr.KeyPath.Path)-1 } return false } @@ -518,33 +542,35 @@ func (fr *FieldReference) KeyPathIndex() int { } func (fr *FieldReference) EdgeDest() bool { - return fr.KeyPath == fr.Context.Edge.Dst + return fr.KeyPath == fr.Context_.Edge.Dst } func (fr *FieldReference) InEdge() bool { - return fr.Context.Edge != nil + return fr.Context_.Edge != nil } func (fr *FieldReference) AST() d2ast.Node { if fr.String == nil { // Root map. - return fr.Context.Scope + return fr.Context_.Scope } return fr.String } type EdgeReference struct { - Context *RefContext `json:"context"` + Context_ *RefContext `json:"context"` + DueToGlob_ bool `json:"due_to_glob"` + DueToLazyGlob_ bool `json:"due_to_lazy_glob"` } func (er *EdgeReference) AST() d2ast.Node { - return er.Context.Edge + return er.Context_.Edge } // Primary returns true if the Value in Context.Key.Value corresponds to the *Edge // represented by Context.Edge func (er *EdgeReference) Primary() bool { - return len(er.Context.Key.Edges) == 1 && er.Context.Key.EdgeKey == nil + return len(er.Context_.Key.Edges) == 1 && er.Context_.Key.EdgeKey == nil } type RefContext struct { @@ -569,6 +595,12 @@ func (rc *RefContext) EdgeIndex() int { return -1 } +func (rc *RefContext) Equal(rc2 *RefContext) bool { + // We intentionally ignore edges here because the same glob can produce multiple RefContexts that should be treated the same with only the edge as the difference. + // Same with ScopeMap. + return rc.Key.Equals(rc2.Key) && rc.Scope == rc2.Scope && rc.ScopeAST == rc2.ScopeAST +} + func (m *Map) FieldCountRecursive() int { if m == nil { return 0 @@ -667,7 +699,7 @@ func (m *Map) getField(ida []string) *Field { } // EnsureField is a bit of a misnomer. It's more of a Query/Ensure combination function at this point. -func (m *Map) EnsureField(kp *d2ast.KeyPath, refctx *RefContext, create bool) ([]*Field, error) { +func (m *Map) EnsureField(kp *d2ast.KeyPath, refctx *RefContext, create bool, c *compiler) ([]*Field, error) { i := 0 for kp.Path[i].Unbox().ScalarString() == "_" { m = ParentMap(m) @@ -680,26 +712,77 @@ func (m *Map) EnsureField(kp *d2ast.KeyPath, refctx *RefContext, create bool) ([ i++ } + var gctx *globContext + if refctx != nil && refctx.Key.HasGlob() && c != nil { + gctx = c.getGlobContext(refctx) + } + var fa []*Field - err := m.ensureField(i, kp, refctx, create, &fa) + err := m.ensureField(i, kp, refctx, create, gctx, c, &fa) + if len(fa) > 0 && c != nil && len(c.globRefContextStack) == 0 { + for _, gctx2 := range c.globContexts() { + old := c.lazyGlobBeingApplied + c.lazyGlobBeingApplied = true + c.compileKey(gctx2.refctx) + c.lazyGlobBeingApplied = old + } + } return fa, err } -func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext, create bool, fa *[]*Field) error { +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 { + 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))) + } + if !kp.HasGlob() { + if !passthrough { + gctx.appliedFields[ks] = struct{}{} + } + return true + } + // 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. And only for globs with edge indexes. + lastEl := kp.Path[len(kp.Path)-1] + if len(refctx.Key.Edges) == 0 || lastEl.UnquotedString == nil || len(lastEl.UnquotedString.Pattern) == 0 || kp == refctx.Key.Key || kp == refctx.Key.EdgeKey { + if _, ok := gctx.appliedFields[ks]; ok { + return false + } + } + if !passthrough { + gctx.appliedFields[ks] = struct{}{} + } + } + return true + } + faAppend := func(fa2 ...*Field) { + for _, f := range fa2 { + if filter(f, false) { + *fa = append(*fa, f) + } + } + } + us, ok := kp.Path[i].Unbox().(*d2ast.UnquotedString) if ok && us.Pattern != nil { - fa2, ok := m.doubleGlob(us.Pattern) + fa2, ok := m.multiGlob(us.Pattern) if ok { if i == len(kp.Path)-1 { - *fa = append(*fa, fa2...) + faAppend(fa2...) } else { for _, f := range fa2 { + if !filter(f, true) { + continue + } if f.Map() == nil { f.Composite = &Map{ parent: f, } } - err := f.Map().ensureField(i+1, kp, refctx, create, fa) + err := f.Map().ensureField(i+1, kp, refctx, create, gctx, c, fa) if err != nil { return err } @@ -710,14 +793,17 @@ func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext, create b for _, f := range m.Fields { if matchPattern(f.Name, us.Pattern) { if i == len(kp.Path)-1 { - *fa = append(*fa, f) + faAppend(f) } else { + if !filter(f, true) { + continue + } if f.Map() == nil { f.Composite = &Map{ parent: f, } } - err := f.Map().ensureField(i+1, kp, refctx, create, fa) + err := f.Map().ensureField(i+1, kp, refctx, create, gctx, c, fa) if err != nil { return err } @@ -756,14 +842,19 @@ func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext, create b // Don't add references for fake common KeyPath from trimCommon in CreateEdge. if refctx != nil { f.References = append(f.References, &FieldReference{ - String: kp.Path[i].Unbox(), - KeyPath: kp, - Context: refctx, + String: kp.Path[i].Unbox(), + KeyPath: kp, + Context_: refctx, + DueToGlob_: len(c.globRefContextStack) > 0, + DueToLazyGlob_: c.lazyGlobBeingApplied, }) } if i+1 == len(kp.Path) { - *fa = append(*fa, f) + faAppend(f) + return nil + } + if !filter(f, true) { return nil } if _, ok := f.Composite.(*Array); ok { @@ -774,33 +865,61 @@ func (m *Map) ensureField(i int, kp *d2ast.KeyPath, refctx *RefContext, create b parent: f, } } - return f.Map().ensureField(i+1, kp, refctx, create, fa) + return f.Map().ensureField(i+1, kp, refctx, create, gctx, c, fa) } if !create { return nil } + shape := ParentShape(m) + if _, ok := d2graph.ReservedKeywords[strings.ToLower(head)]; !ok && len(c.globRefContextStack) > 0 { + if shape == d2target.ShapeClass || shape == d2target.ShapeSQLTable { + return nil + } + } f := &Field{ parent: m, Name: head, } + defer func() { + if i < kp.FirstGlob() { + return + } + for _, grefctx := range c.globRefContextStack { + var ks string + if grefctx.Key.HasTripleGlob() { + ks = d2format.Format(d2ast.MakeKeyPath(IDA(f))) + } else { + ks = d2format.Format(d2ast.MakeKeyPath(BoardIDA(f))) + } + gctx2 := c.getGlobContext(grefctx) + gctx2.appliedFields[ks] = struct{}{} + } + }() // Don't add references for fake common KeyPath from trimCommon in CreateEdge. if refctx != nil { f.References = append(f.References, &FieldReference{ - String: kp.Path[i].Unbox(), - KeyPath: kp, - Context: refctx, + String: kp.Path[i].Unbox(), + KeyPath: kp, + Context_: refctx, + DueToGlob_: len(c.globRefContextStack) > 0, + DueToLazyGlob_: c.lazyGlobBeingApplied, }) } + if !filter(f, true) { + return nil + } m.Fields = append(m.Fields, f) if i+1 == len(kp.Path) { - *fa = append(*fa, f) + faAppend(f) return nil } - f.Composite = &Map{ - parent: f, + if f.Composite == nil { + f.Composite = &Map{ + parent: f, + } } - return f.Map().ensureField(i+1, kp, refctx, create, fa) + return f.Map().ensureField(i+1, kp, refctx, create, gctx, c, fa) } func (m *Map) DeleteEdge(eid *EdgeID) *Edge { @@ -833,7 +952,7 @@ func (m *Map) DeleteField(ida ...string) *Field { for _, fr := range f.References { for _, e := range m.Edges { for _, er := range e.References { - if er.Context == fr.Context { + if er.Context_ == fr.Context_ { m.DeleteEdge(e.ID) break } @@ -865,10 +984,14 @@ func (m *Map) DeleteField(ida ...string) *Field { return nil } -func (m *Map) GetEdges(eid *EdgeID, refctx *RefContext) []*Edge { +func (m *Map) GetEdges(eid *EdgeID, refctx *RefContext, c *compiler) []*Edge { if refctx != nil { + var gctx *globContext + if refctx.Key.HasGlob() && c != nil { + gctx = c.ensureGlobContext(refctx) + } var ea []*Edge - m.getEdges(eid, refctx, &ea) + m.getEdges(eid, refctx, gctx, &ea) return ea } @@ -882,7 +1005,7 @@ func (m *Map) GetEdges(eid *EdgeID, refctx *RefContext) []*Edge { return nil } if f.Map() != nil { - return f.Map().GetEdges(eid, nil) + return f.Map().GetEdges(eid, nil, nil) } return nil } @@ -896,7 +1019,7 @@ func (m *Map) GetEdges(eid *EdgeID, refctx *RefContext) []*Edge { return ea } -func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { +func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, gctx *globContext, ea *[]*Edge) error { eid, m, common, err := eid.resolve(m) if err != nil { return err @@ -914,7 +1037,7 @@ func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { } } } - fa, err := m.EnsureField(commonKP, nil, false) + fa, err := m.EnsureField(commonKP, nil, false, nil) if err != nil { return nil } @@ -927,7 +1050,7 @@ func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { parent: f, } } - err = f.Map().getEdges(eid, refctx, ea) + err = f.Map().getEdges(eid, refctx, gctx, ea) if err != nil { return err } @@ -935,11 +1058,11 @@ func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { return nil } - srcFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Src, nil, false) + srcFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Src, nil, false, nil) if err != nil { return err } - dstFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Dst, nil, false) + dstFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Dst, nil, false, nil) if err != nil { return err } @@ -950,19 +1073,46 @@ func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { eid2.SrcPath = RelIDA(m, src) eid2.DstPath = RelIDA(m, dst) - ea2 := m.GetEdges(eid2, nil) - *ea = append(*ea, ea2...) + ea2 := m.GetEdges(eid2, nil, nil) + for _, e := range ea2 { + if gctx != nil { + 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 { + continue + } + gctx.appliedEdges[ks] = struct{}{} + } + *ea = append(*ea, ea2...) + } } } return nil } -func (m *Map) CreateEdge(eid *EdgeID, refctx *RefContext) ([]*Edge, error) { +func (m *Map) CreateEdge(eid *EdgeID, refctx *RefContext, c *compiler) ([]*Edge, error) { var ea []*Edge - return ea, m.createEdge(eid, refctx, &ea) + var gctx *globContext + if refctx != nil && refctx.Key.HasGlob() && c != nil { + gctx = c.ensureGlobContext(refctx) + } + err := m.createEdge(eid, refctx, gctx, c, &ea) + if len(ea) > 0 && c != nil && len(c.globRefContextStack) == 0 { + for _, gctx2 := range c.globContexts() { + old := c.lazyGlobBeingApplied + c.lazyGlobBeingApplied = true + c.compileKey(gctx2.refctx) + c.lazyGlobBeingApplied = old + } + } + return ea, err } -func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { +func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, gctx *globContext, c *compiler, ea *[]*Edge) error { if ParentEdge(m) != nil { return d2parser.Errorf(refctx.Edge, "cannot create edge inside edge") } @@ -983,7 +1133,7 @@ func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { } } } - fa, err := m.EnsureField(commonKP, nil, true) + fa, err := m.EnsureField(commonKP, nil, true, c) if err != nil { return err } @@ -996,7 +1146,7 @@ func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { parent: f, } } - err = f.Map().createEdge(eid, refctx, ea) + err = f.Map().createEdge(eid, refctx, gctx, c, ea) if err != nil { return err } @@ -1022,11 +1172,11 @@ func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { return d2parser.Errorf(refctx.Edge.Dst.Path[ij].Unbox(), "edge with board keyword alone doesn't make sense") } - srcFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Src, refctx, true) + srcFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Src, refctx, true, c) if err != nil { return err } - dstFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Dst, refctx, true) + dstFA, err := refctx.ScopeMap.EnsureField(refctx.Edge.Dst, refctx, true, c) if err != nil { return err } @@ -1038,21 +1188,21 @@ func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { continue } - if refctx.Edge.Src.HasDoubleGlob() { + if refctx.Edge.Src.HasMultiGlob() { // If src has a double glob we only select leafs, those without children. if src.Map().IsContainer() { continue } - if ParentBoard(src) != ParentBoard(dst) { + if NodeBoardKind(src) != "" || ParentBoard(src) != ParentBoard(dst) { continue } } - if refctx.Edge.Dst.HasDoubleGlob() { + if refctx.Edge.Dst.HasMultiGlob() { // If dst has a double glob we only select leafs, those without children. if dst.Map().IsContainer() { continue } - if ParentBoard(src) != ParentBoard(dst) { + if NodeBoardKind(dst) != "" || ParentBoard(src) != ParentBoard(dst) { continue } } @@ -1060,17 +1210,20 @@ func (m *Map) createEdge(eid *EdgeID, refctx *RefContext, ea *[]*Edge) error { eid2 := eid.Copy() eid2.SrcPath = RelIDA(m, src) eid2.DstPath = RelIDA(m, dst) - e, err := m.createEdge2(eid2, refctx, src, dst) + + e, err := m.createEdge2(eid2, refctx, gctx, c, src, dst) if err != nil { return err } - *ea = append(*ea, e) + if e != nil { + *ea = append(*ea, e) + } } } return nil } -func (m *Map) createEdge2(eid *EdgeID, refctx *RefContext, src, dst *Field) (*Edge, error) { +func (m *Map) createEdge2(eid *EdgeID, refctx *RefContext, gctx *globContext, c *compiler, src, dst *Field) (*Edge, error) { if NodeBoardKind(src) != "" { return nil, d2parser.Errorf(refctx.Edge.Src, "cannot create edges between boards") } @@ -1083,7 +1236,7 @@ func (m *Map) createEdge2(eid *EdgeID, refctx *RefContext, src, dst *Field) (*Ed eid.Index = nil eid.Glob = true - ea := m.GetEdges(eid, nil) + ea := m.GetEdges(eid, nil, nil) index := len(ea) eid.Index = &index eid.Glob = false @@ -1091,9 +1244,29 @@ func (m *Map) createEdge2(eid *EdgeID, refctx *RefContext, src, dst *Field) (*Ed parent: m, ID: eid, References: []*EdgeReference{{ - Context: refctx, + Context_: refctx, + DueToGlob_: len(c.globRefContextStack) > 0, + DueToLazyGlob_: c.lazyGlobBeingApplied, }}, } + + if gctx != nil { + var ks string + // We only ever want to create one of the edge per glob so we filter without the edge index. + e2 := e.Copy(e.Parent()).(*Edge) + e2.ID = e2.ID.Copy() + e2.ID.Index = nil + if refctx.Key.HasTripleGlob() { + ks = d2format.Format(d2ast.MakeKeyPath(IDA(e2))) + } else { + ks = d2format.Format(d2ast.MakeKeyPath(BoardIDA(e2))) + } + if _, ok := gctx.appliedEdges[ks]; ok { + return nil, nil + } + gctx.appliedEdges[ks] = struct{}{} + } + m.Edges = append(m.Edges, e) return e, nil @@ -1148,6 +1321,18 @@ func (e *Edge) AST() d2ast.Node { return k } +func (e *Edge) IDString() string { + ast := e.AST().(*d2ast.Key) + if e.ID.Index != nil { + ast.EdgeIndex = &d2ast.EdgeIndex{ + Int: e.ID.Index, + } + } + ast.Primary = d2ast.ScalarBox{} + ast.Value = d2ast.ValueBox{} + return d2format.Format(ast) +} + func (a *Array) AST() d2ast.Node { if a == nil { return nil @@ -1178,7 +1363,7 @@ func (m *Map) AST() d2ast.Node { return astMap } -func (m *Map) appendFieldReferences(i int, kp *d2ast.KeyPath, refctx *RefContext) { +func (m *Map) appendFieldReferences(i int, kp *d2ast.KeyPath, refctx *RefContext, c *compiler) { sb := kp.Path[i] f := m.GetField(sb.Unbox().ScalarString()) if f == nil { @@ -1186,15 +1371,17 @@ func (m *Map) appendFieldReferences(i int, kp *d2ast.KeyPath, refctx *RefContext } f.References = append(f.References, &FieldReference{ - String: sb.Unbox(), - KeyPath: kp, - Context: refctx, + String: sb.Unbox(), + KeyPath: kp, + Context_: refctx, + DueToGlob_: len(c.globRefContextStack) > 0, + DueToLazyGlob_: c.lazyGlobBeingApplied, }) if i+1 == len(kp.Path) { return } if f.Map() != nil { - f.Map().appendFieldReferences(i+1, kp, refctx) + f.Map().appendFieldReferences(i+1, kp, refctx, c) } } @@ -1268,6 +1455,24 @@ func ParentEdge(n Node) *Edge { } } +func ParentShape(n Node) string { + for { + f, ok := n.(*Field) + if ok { + if f.Map() != nil { + shapef := f.Map().GetField("shape") + if shapef != nil && shapef.Primary() != nil { + return shapef.Primary().Value.ScalarString() + } + } + } + n = n.Parent() + if n == nil { + return "" + } + } +} + func countUnderscores(p []string) int { for i, el := range p { if el != "_" { @@ -1310,6 +1515,18 @@ func parentRef(n Node) Reference { return nil } +func parentPrimaryRef(n Node) Reference { + f := ParentField(n) + if f != nil { + return f.LastPrimaryRef() + } + e := ParentEdge(n) + if e != nil { + return e.LastPrimaryRef() + } + return nil +} + func parentPrimaryKey(n Node) *d2ast.Key { f := ParentField(n) if f != nil { @@ -1325,60 +1542,65 @@ func parentPrimaryKey(n Node) *d2ast.Key { // BoardIDA returns the absolute path to n from the nearest board root. func BoardIDA(n Node) (ida []string) { for { - f, ok := n.(*Field) - if ok { - if f.Root() || NodeBoardKind(f) != "" { + switch n := n.(type) { + case *Field: + if n.Root() || NodeBoardKind(n) != "" { reverseIDA(ida) return ida } - ida = append(ida, f.Name) + ida = append(ida, n.Name) + case *Edge: + ida = append(ida, n.IDString()) } - f = ParentField(n) - if f == nil { + n = n.Parent() + if n == nil { reverseIDA(ida) return ida } - n = f } } // IDA returns the absolute path to n. func IDA(n Node) (ida []string) { for { - f, ok := n.(*Field) - if ok { - ida = append(ida, f.Name) - if f.Root() { + switch n := n.(type) { + case *Field: + ida = append(ida, n.Name) + if n.Root() { reverseIDA(ida) return ida } + case *Edge: + ida = append(ida, n.IDString()) } - f = ParentField(n) - if f == nil { + n = n.Parent() + if n == nil { reverseIDA(ida) return ida } - n = f } } // RelIDA returns the path to n relative to p. func RelIDA(p, n Node) (ida []string) { for { - f, ok := n.(*Field) - if ok { - ida = append(ida, f.Name) - if f.Root() { + switch n := n.(type) { + case *Field: + ida = append(ida, n.Name) + if n.Root() { reverseIDA(ida) return ida } + case *Edge: + ida = append(ida, n.String()) } - f = ParentField(n) - if f == nil || f.Root() || f == p || f.Composite == p { + n = n.Parent() + f, fok := n.(*Field) + e, eok := n.(*Edge) + if n == nil || (fok && (f.Root() || f == p || f.Composite == p)) || (eok && (e == p || e.Map_ == p)) { reverseIDA(ida) return ida } - n = f } } @@ -1476,7 +1698,7 @@ func (m *Map) InClass(key *d2ast.Key) bool { } for _, ref := range classF.References { - if ref.Context.Key == key { + if ref.Context_.Key == key { return true } } diff --git a/d2ir/filter_test.go b/d2ir/filter_test.go index 710ba0803..322d5b450 100644 --- a/d2ir/filter_test.go +++ b/d2ir/filter_test.go @@ -96,6 +96,120 @@ x -> y assertQuery(t, m, 0, 0, nil, "(x -> y)[1]") }, }, + { + name: "label-filter/1", + run: func(t testing.TB) { + m, err := compile(t, ` +x +y +p: p +a -> z: delta + +*.style.opacity: 0.1 +*: { + &label: x + style.opacity: 1 +} +*: { + &label: p + style.opacity: 0.5 +} +(* -> *)[*]: { + &label: delta + target-arrowhead.shape: diamond +} +`) + assert.Success(t, err) + assertQuery(t, m, 17, 1, nil, "") + assertQuery(t, m, 0, 0, 1, "x.style.opacity") + assertQuery(t, m, 0, 0, 0.1, "y.style.opacity") + assertQuery(t, m, 0, 0, 0.5, "p.style.opacity") + assertQuery(t, m, 0, 0, 0.1, "a.style.opacity") + assertQuery(t, m, 0, 0, 0.1, "z.style.opacity") + assertQuery(t, m, 0, 0, "diamond", "(a -> z).target-arrowhead.shape") + }, + }, + { + name: "label-filter/2", + run: func(t testing.TB) { + m, err := compile(t, ` +(* -> *)[*].style.opacity: 0.1 + +(* -> *)[*]: { + &label: hi + style.opacity: 1 +} + +x -> y: hi +x -> y +`) + assert.Success(t, err) + assertQuery(t, m, 6, 2, nil, "") + assertQuery(t, m, 2, 0, "hi", "(x -> y)[0]") + assertQuery(t, m, 0, 0, 1, "(x -> y)[0].style.opacity") + assertQuery(t, m, 0, 0, 0.1, "(x -> y)[1].style.opacity") + }, + }, + { + name: "lazy-filter", + run: func(t testing.TB) { + m, err := compile(t, ` +*: { + &label: a + style.fill: yellow +} + +a +# if i remove this line, the glob applies as expected +b +b.label: a +`) + assert.Success(t, err) + assertQuery(t, m, 7, 0, nil, "") + assertQuery(t, m, 0, 0, "yellow", "a.style.fill") + assertQuery(t, m, 0, 0, "yellow", "b.style.fill") + }, + }, + { + name: "primary-filter", + run: func(t testing.TB) { + m, err := compile(t, ` +parent: { + a -> b1 + a -> b2 + a -> b3 + + b1 -> c1 + b1 -> c2 + + c1: { + c1-child.class: hidden + } + + c2: { + C2-child.class: hidden + } + c2.class: hidden + b2.class: hidden +} + +classes: { + hidden: { + style: { + fill: red + } + } +} + +# Error +**: null { + &class: hidden +} +`) + assert.Success(t, err) + assertQuery(t, m, 9, 3, nil, "") + }, + }, } runa(t, tca) diff --git a/d2ir/import.go b/d2ir/import.go index 44cf509ff..ef5687127 100644 --- a/d2ir/import.go +++ b/d2ir/import.go @@ -108,7 +108,7 @@ func (c *compiler) __import(imp *d2ast.Import) (*Map, bool) { ir = &Map{} ir.initRoot() - ir.parent.(*Field).References[0].Context.Scope = ast + ir.parent.(*Field).References[0].Context_.Scope = ast c.compileMap(ir, ast, ast) @@ -128,14 +128,14 @@ func nilScopeMap(n Node) { } case *Edge: for _, r := range n.References { - r.Context.ScopeMap = nil + r.Context_.ScopeMap = nil } if n.Map() != nil { nilScopeMap(n.Map()) } case *Field: for _, r := range n.References { - r.Context.ScopeMap = nil + r.Context_.ScopeMap = nil } if n.Map() != nil { nilScopeMap(n.Map()) diff --git a/d2ir/merge.go b/d2ir/merge.go index a4a30d21f..d68464bbe 100644 --- a/d2ir/merge.go +++ b/d2ir/merge.go @@ -11,7 +11,7 @@ func OverlayMap(base, overlay *Map) { } for _, oe := range overlay.Edges { - bea := base.GetEdges(oe.ID, nil) + bea := base.GetEdges(oe.ID, nil, nil) if len(bea) == 0 { base.Edges = append(base.Edges, oe.Copy(base).(*Edge)) continue diff --git a/d2ir/pattern.go b/d2ir/pattern.go index 9409e0363..f73f15d45 100644 --- a/d2ir/pattern.go +++ b/d2ir/pattern.go @@ -3,32 +3,68 @@ package d2ir import ( "strings" + "oss.terrastruct.com/d2/d2ast" "oss.terrastruct.com/d2/d2graph" ) -func (m *Map) doubleGlob(pattern []string) ([]*Field, bool) { - if !(len(pattern) == 3 && pattern[0] == "*" && pattern[1] == "" && pattern[2] == "*") { - return nil, false - } +func (m *Map) multiGlob(pattern []string) ([]*Field, bool) { var fa []*Field - m._doubleGlob(&fa) - return fa, true + if d2ast.IsDoubleGlob(pattern) { + m._doubleGlob(&fa) + return fa, true + } + if d2ast.IsTripleGlob(pattern) { + m._tripleGlob(&fa) + return fa, true + } + return nil, false } func (m *Map) _doubleGlob(fa *[]*Field) { for _, f := range m.Fields { if _, ok := d2graph.ReservedKeywords[f.Name]; ok { + if f.Name == "layers" { + continue + } if _, ok := d2graph.BoardKeywords[f.Name]; !ok { continue } + // We don't ever want to append layers, scenarios or steps directly. + if f.Map() != nil { + f.Map()._tripleGlob(fa) + } + continue + } + if NodeBoardKind(f) == "" { + *fa = append(*fa, f) } - *fa = append(*fa, f) if f.Map() != nil { f.Map()._doubleGlob(fa) } } } +func (m *Map) _tripleGlob(fa *[]*Field) { + for _, f := range m.Fields { + if _, ok := d2graph.ReservedKeywords[f.Name]; ok { + if _, ok := d2graph.BoardKeywords[f.Name]; !ok { + continue + } + // We don't ever want to append layers, scenarios or steps directly. + if f.Map() != nil { + f.Map()._tripleGlob(fa) + } + continue + } + if NodeBoardKind(f) == "" { + *fa = append(*fa, f) + } + if f.Map() != nil { + f.Map()._tripleGlob(fa) + } + } +} + func matchPattern(s string, pattern []string) bool { if len(pattern) == 0 { return true diff --git a/d2ir/pattern_test.go b/d2ir/pattern_test.go index 613751ab3..941db0785 100644 --- a/d2ir/pattern_test.go +++ b/d2ir/pattern_test.go @@ -128,7 +128,7 @@ an* -> an*`) assert.Success(t, err) assertQuery(t, m, 2, 2, nil, "") assertQuery(t, m, 0, 0, nil, "(animate -> animal)[0]") - assertQuery(t, m, 0, 0, nil, "(animal -> animal)[0]") + assertQuery(t, m, 0, 0, nil, "(animal -> animate)[0]") }, }, { @@ -154,7 +154,7 @@ sh*.an* -> sh*.an*`) assertQuery(t, m, 3, 2, nil, "") assertQuery(t, m, 2, 2, nil, "shared") assertQuery(t, m, 0, 0, nil, "shared.(animate -> animal)[0]") - assertQuery(t, m, 0, 0, nil, "shared.(animal -> animal)[0]") + assertQuery(t, m, 0, 0, nil, "shared.(animal -> animate)[0]") }, }, { @@ -285,6 +285,31 @@ d assertQuery(t, m, 0, 0, nil, "(* -> *)[*]") }, }, + { + name: "single-glob/defaults", + run: func(t testing.TB) { + m, err := compile(t, `wrapper.*: { + shape: page +} + +wrapper.a +wrapper.b +wrapper.c +wrapper.d + +scenarios.x: { wrapper.p } +layers.x: { wrapper.p } +`) + assert.Success(t, err) + assertQuery(t, m, 26, 0, nil, "") + assertQuery(t, m, 0, 0, "page", "wrapper.a.shape") + assertQuery(t, m, 0, 0, "page", "wrapper.b.shape") + assertQuery(t, m, 0, 0, "page", "wrapper.c.shape") + assertQuery(t, m, 0, 0, "page", "wrapper.d.shape") + assertQuery(t, m, 0, 0, "page", "scenarios.x.wrapper.p.shape") + assertQuery(t, m, 0, 0, nil, "layers.x.wrapper.p") + }, + }, { name: "double-glob/edge/1", run: func(t testing.TB) { @@ -314,21 +339,438 @@ task.** -> fast assertQuery(t, m, 3, 1, nil, "") }, }, + { + name: "double-glob/defaults", + run: func(t testing.TB) { + m, err := compile(t, `**: { + shape: page +} + +a +b +c +d + +scenarios.x: { p } +layers.x: { p } +`) + assert.Success(t, err) + assertQuery(t, m, 23, 0, nil, "") + assertQuery(t, m, 0, 0, "page", "a.shape") + assertQuery(t, m, 0, 0, "page", "b.shape") + assertQuery(t, m, 0, 0, "page", "c.shape") + assertQuery(t, m, 0, 0, "page", "d.shape") + assertQuery(t, m, 0, 0, "page", "scenarios.x.p.shape") + assertQuery(t, m, 0, 0, nil, "layers.x.p") + }, + }, + { + name: "triple-glob/defaults", + run: func(t testing.TB) { + m, err := compile(t, `***: { + shape: page +} + +a +b +c +d + +scenarios.x: { p } +layers.x: { p } +`) + assert.Success(t, err) + assertQuery(t, m, 24, 0, nil, "") + assertQuery(t, m, 0, 0, "page", "a.shape") + assertQuery(t, m, 0, 0, "page", "b.shape") + assertQuery(t, m, 0, 0, "page", "c.shape") + assertQuery(t, m, 0, 0, "page", "d.shape") + assertQuery(t, m, 0, 0, "page", "scenarios.x.p.shape") + assertQuery(t, m, 0, 0, "page", "layers.x.p.shape") + }, + }, + { + name: "triple-glob/edge-defaults", + run: func(t testing.TB) { + m, err := compile(t, `(*** -> ***)[*]: { + target-arrowhead.shape: diamond +} + +a -> b +c -> d + +scenarios.x: { p -> q } +layers.x: { j -> f } +`) + assert.Success(t, err) + assertQuery(t, m, 28, 6, nil, "") + assertQuery(t, m, 0, 0, "diamond", "(a -> b)[0].target-arrowhead.shape") + assertQuery(t, m, 0, 0, "diamond", "(c -> d)[0].target-arrowhead.shape") + assertQuery(t, m, 0, 0, "diamond", "scenarios.x.(a -> b)[0].target-arrowhead.shape") + assertQuery(t, m, 0, 0, "diamond", "scenarios.x.(c -> d)[0].target-arrowhead.shape") + assertQuery(t, m, 0, 0, "diamond", "scenarios.x.(p -> q)[0].target-arrowhead.shape") + assertQuery(t, m, 4, 1, nil, "layers.x") + assertQuery(t, m, 0, 0, "diamond", "layers.x.(j -> f)[0].target-arrowhead.shape") + }, + }, + { + name: "alixander-review/1", + run: func(t testing.TB) { + m, err := compile(t, ` +***.style.fill: yellow +**.shape: circle +*.style.multiple: true + +x: { + y +} + +layers: { + next: { + a + } +} +`) + assert.Success(t, err) + assertQuery(t, m, 14, 0, nil, "") + }, + }, + { + name: "alixander-review/2", + run: func(t testing.TB) { + m, err := compile(t, ` +a + +* -> y + +b +c +`) + assert.Success(t, err) + assertQuery(t, m, 4, 3, nil, "") + }, + }, + { + name: "alixander-review/3", + run: func(t testing.TB) { + m, err := compile(t, ` +a + +***.b -> c + +layers: { + z: { + d + } +} +`) + assert.Success(t, err) + assertQuery(t, m, 8, 2, nil, "") + }, + }, + { + name: "alixander-review/4", + run: func(t testing.TB) { + m, err := compile(t, ` +**.child + +a +b +c +`) + assert.Success(t, err) + assertQuery(t, m, 6, 0, nil, "") + }, + }, + { + name: "alixander-review/5", + run: func(t testing.TB) { + m, err := compile(t, ` +**.style.fill: red + +scenarios: { + b: { + a -> b + } +} +`) + assert.Success(t, err) + assertQuery(t, m, 8, 1, nil, "") + assertQuery(t, m, 0, 0, "red", "scenarios.b.a.style.fill") + assertQuery(t, m, 0, 0, "red", "scenarios.b.b.style.fill") + }, + }, + { + name: "alixander-review/6", + run: func(t testing.TB) { + m, err := compile(t, ` +(* -> *)[*].style.opacity: 0.1 + +x -> y: hi +x -> y +`) + assert.Success(t, err) + assertQuery(t, m, 6, 2, nil, "") + assertQuery(t, m, 0, 0, 0.1, "(x -> y)[0].style.opacity") + assertQuery(t, m, 0, 0, 0.1, "(x -> y)[1].style.opacity") + }, + }, + { + name: "alixander-review/7", + run: func(t testing.TB) { + m, err := compile(t, ` +*: { + style.fill: red +} +**: { + style.fill: red +} + +table: { + style.fill: blue + shape: sql_table + a: b +} +`) + assert.Success(t, err) + assertQuery(t, m, 7, 0, nil, "") + assertQuery(t, m, 0, 0, "blue", "table.style.fill") + }, + }, + { + name: "alixander-review/8", + run: func(t testing.TB) { + m, err := compile(t, ` +(a -> *)[*].style.stroke: red +(* -> *)[*].style.stroke: red + +b -> c +`) + assert.Success(t, err) + assertQuery(t, m, 4, 1, nil, "") + assertQuery(t, m, 0, 0, "red", "(b -> c)[0].style.stroke") + }, + }, + { + 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") + }, + }, + { + name: "override/3", + run: func(t testing.TB) { + m, err := compile(t, ` +(*** -> ***)[*].label: hi + +a -> b + +layers: { + hi: { + (*** -> ***)[*].label: bye + + scenarios: { + b: { + # This label is "hi", but it should be "bye" + a -> b + } + } + } +} +`) + assert.Success(t, err) + assertQuery(t, m, 10, 2, nil, "") + assertQuery(t, m, 0, 0, "hi", "(a -> b)[0].label") + assertQuery(t, m, 0, 0, "bye", "layers.hi.scenarios.b.(a -> b)[0].label") + }, + }, + { + name: "override/4", + run: func(t testing.TB) { + m, err := compile(t, ` +(*** -> ***)[*].label: hi + +a -> b: { + label: bye +} +`) + assert.Success(t, err) + assertQuery(t, m, 3, 1, nil, "") + assertQuery(t, m, 0, 0, "bye", "(a -> b)[0].label") + }, + }, + { + name: "override/5", + run: func(t testing.TB) { + m, err := compile(t, ` +(*** -> ***)[*].label: hi + +# This is "hey" right now but should be "hi"? +a -> b + +(*** -> ***)[*].label: hey +`) + assert.Success(t, err) + assertQuery(t, m, 3, 1, nil, "") + assertQuery(t, m, 0, 0, "hey", "(a -> b)[0].label") + }, + }, + { + name: "override/6", + run: func(t testing.TB) { + m, err := compile(t, ` +# Nulling glob doesn't work +a +*a.icon: https://icons.terrastruct.com/essentials%2F073-add.svg +a.icon: null + +# Regular icon nulling works +b.icon: https://icons.terrastruct.com/essentials%2F073-add.svg +b.icon: null + +# Shape nulling works +*.shape: circle +a.shape: null +b.shape: null +`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, nil, "a") + assertQuery(t, m, 0, 0, nil, "b") + }, + }, + { + name: "override/7", + run: func(t testing.TB) { + m, err := compile(t, ` +# Nulling glob doesn't work +*a.icon: https://icons.terrastruct.com/essentials%2F073-add.svg +a.icon: null + +# Regular icon nulling works +b.icon: https://icons.terrastruct.com/essentials%2F073-add.svg +b.icon: null + +# Shape nulling works +*.shape: circle +a.shape: null +b.shape: null +`) + assert.Success(t, err) + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, nil, "a") + assertQuery(t, m, 0, 0, nil, "b") + }, + }, + { + name: "table-class-exception", + run: func(t testing.TB) { + m, err := compile(t, ` +***: { + c: d +} + +***: { + style.fill: red +} + +table: { + shape: sql_table + a: b +} + +class: { + shape: class + a: b +} +`) + assert.Success(t, err) + assertQuery(t, m, 13, 0, nil, "") + }, + }, + { + name: "prevent-chain-recursion", + run: func(t testing.TB) { + m, err := compile(t, ` +***: { + c: d +} + +***: { + style.fill: red +} + +one +two +`) + assert.Success(t, err) + assertQuery(t, m, 12, 0, nil, "") + }, + }, + { + name: "import-glob/1", + run: func(t testing.TB) { + m, err := compileFS(t, "index.d2", map[string]string{ + "index.d2": "before; ...@globs.d2; after", + "globs.d2": `*: jingle +**: true +***: meow`, + }) + assert.Success(t, err) + + assertQuery(t, m, 2, 0, nil, "") + assertQuery(t, m, 0, 0, "meow", "before") + assertQuery(t, m, 0, 0, "meow", "after") + }, + }, + { + name: "import-glob/2", + run: func(t testing.TB) { + m, err := compileFS(t, "index.d2", map[string]string{ + "index.d2": `...@rules.d2 +hi +`, + "rules.d2": `***.style.fill: red +***: meow +x`, + }) + assert.Success(t, err) + + assertQuery(t, m, 6, 0, nil, "") + assertQuery(t, m, 2, 0, "meow", "hi") + assertQuery(t, m, 2, 0, "meow", "x") + assertQuery(t, m, 0, 0, "red", "hi.style.fill") + assertQuery(t, m, 0, 0, "red", "x.style.fill") + }, + }, } runa(t, tca) - - t.Run("errors", func(t *testing.T) { - tca := []testCase{ - { - name: "glob-edge-glob-index", - run: func(t testing.TB) { - _, err := compile(t, `(* -> b)[*].style.fill: red -`) - assert.ErrorString(t, err, `TestCompile/patterns/errors/glob-edge-glob-index.d2:1:2: indexed edge does not exist`) - }, - }, - } - runa(t, tca) - }) } diff --git a/d2ir/query.go b/d2ir/query.go index 8534d53e5..49a4ae2e8 100644 --- a/d2ir/query.go +++ b/d2ir/query.go @@ -14,17 +14,22 @@ func (m *Map) QueryAll(idStr string) (na []Node, _ error) { } if k.Key != nil { - f := m.GetField(k.Key.IDA()...) - if f == nil { + fa, err := m.EnsureField(k.Key, nil, false, nil) + if err != nil { + return nil, err + } + if len(fa) == 0 { return nil, nil } - if len(k.Edges) == 0 { - na = append(na, f) - return na, nil - } - m = f.Map() - if m == nil { - return nil, nil + for _, f := range fa { + if len(k.Edges) == 0 { + na = append(na, f) + return na, nil + } + m = f.Map() + if m == nil { + return nil, nil + } } } @@ -36,7 +41,7 @@ func (m *Map) QueryAll(idStr string) (na []Node, _ error) { ScopeMap: m, Edge: k.Edges[i], } - ea := m.GetEdges(eid, refctx) + ea := m.GetEdges(eid, refctx, nil) for _, e := range ea { if k.EdgeKey == nil { na = append(na, e) diff --git a/d2oracle/edit.go b/d2oracle/edit.go index 4a8d4813d..e953a731d 100644 --- a/d2oracle/edit.go +++ b/d2oracle/edit.go @@ -493,7 +493,7 @@ func _set(g *d2graph.Graph, baseAST *d2ast.Map, key string, tag, value *string) noVal2 := &tmp2 noVal1.Value = d2ast.ValueBox{} noVal2.Value = d2ast.ValueBox{} - if noVal1.Equals(noVal2) { + if noVal1.D2OracleEquals(noVal2) { ref.MapKey.Value = mk.Value return nil } @@ -776,7 +776,7 @@ func _set(g *d2graph.Graph, baseAST *d2ast.Map, key string, tag, value *string) func appendUniqueMapKey(m *d2ast.Map, mk *d2ast.Key) { for _, n := range m.Nodes { - if n.MapKey != nil && n.MapKey.Equals(mk) { + if n.MapKey != nil && n.MapKey.D2OracleEquals(mk) { return } } @@ -1471,7 +1471,7 @@ func ensureNode(g *d2graph.Graph, excludedEdges []*d2ast.Edge, scopeObj *d2graph } for _, n := range scope.Nodes { - if n.MapKey != nil && n.MapKey.Equals(mk) { + if n.MapKey != nil && n.MapKey.D2OracleEquals(mk) { return } } @@ -1922,7 +1922,7 @@ func move(g *d2graph.Graph, boardPath []string, key, newKey string, includeDesce ref.Key.Path = ref.Key.Path[ref.KeyPathIndex:] exists := false for _, n := range toScope.Nodes { - if n.MapKey != nil && n.MapKey != ref.MapKey && n.MapKey.Equals(ref.MapKey) { + if n.MapKey != nil && n.MapKey != ref.MapKey && n.MapKey.D2OracleEquals(ref.MapKey) { exists = true } } diff --git a/make.sh b/make.sh index 9c244eb0d..6177fa6f2 100755 --- a/make.sh +++ b/make.sh @@ -9,8 +9,8 @@ fi PATH="$(cd -- "$(dirname "$0")" && pwd)/ci/sub/bin:$PATH" cd -- "$(dirname "$0")" -if ! go version | grep -qF '1.20'; then - echoerr "You need go 1.20 to build d2." +if ! go version | grep -q '1.2[0-9]'; then + echoerr "You need go 1.2x to build d2." exit 1 fi diff --git a/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.exp.json b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.exp.json new file mode 100644 index 000000000..d25a94a2c --- /dev/null +++ b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.exp.json @@ -0,0 +1,610 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,0:0:0-14:0:109", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,1:0:1-1:22:23", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,2:0:24-2:16:40", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,3:0:41-3:22:63", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,3:0:41-3:16:57", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,3:0:41-3:1:42", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,3:2:43-3:7:48", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,3:8:49-3:16:57", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,3:18:59-3:22:63", + "value": true + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,5:0:65-7:1:75", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,5:0:65-5:1:66", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,5:0:65-5:1:66", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,5:3:68-7:1:75", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,6:2:72-6:3:73", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,6:2:72-6:3:73", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,6:2:72-6:3:73", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,9:0:77-13:1:108", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,9:0:77-9:6:83", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,9:0:77-9:6:83", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,9:8:85-13:1:108", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,10:2:89-12:3:106", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,10:2:89-10:6:93", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,10:2:89-10:6:93", + "value": [ + { + "string": "next", + "raw_string": "next" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,10:8:95-12:3:106", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,11:4:101-11:5:102", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,5:0:65-5:1:66", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,5:0:65-5:1:66", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "x" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + }, + "multiple": { + "value": "true" + } + }, + "near_key": null, + "shape": { + "value": "circle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "y", + "id_val": "y", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,6:2:72-6:3:73", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,6:2:72-6:3:73", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "y" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + } + }, + "near_key": null, + "shape": { + "value": "circle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "layers": [ + { + "name": "next", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "fill" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.exp.json b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.exp.json new file mode 100644 index 000000000..c3895ff2c --- /dev/null +++ b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.exp.json @@ -0,0 +1,610 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,0:0:0-14:0:109", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,1:0:1-1:22:23", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,1:0:1-1:14:15", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,2:0:24-2:16:40", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,2:0:24-2:8:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,2:0:24-2:2:26", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,2:3:27-2:8:32", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,2:10:34-2:16:40", + "value": [ + { + "string": "circle", + "raw_string": "circle" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,3:0:41-3:22:63", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,3:0:41-3:16:57", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,3:0:41-3:1:42", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,3:2:43-3:7:48", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,3:8:49-3:16:57", + "value": [ + { + "string": "multiple", + "raw_string": "multiple" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "boolean": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,3:18:59-3:22:63", + "value": true + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,5:0:65-7:1:75", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,5:0:65-5:1:66", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,5:0:65-5:1:66", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,5:3:68-7:1:75", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,6:2:72-6:3:73", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,6:2:72-6:3:73", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,6:2:72-6:3:73", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,9:0:77-13:1:108", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,9:0:77-9:6:83", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,9:0:77-9:6:83", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,9:8:85-13:1:108", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,10:2:89-12:3:106", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,10:2:89-10:6:93", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,10:2:89-10:6:93", + "value": [ + { + "string": "next", + "raw_string": "next" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,10:8:95-12:3:106", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,11:4:101-11:5:102", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "x", + "id_val": "x", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,5:0:65-5:1:66", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,5:0:65-5:1:66", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "x" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + }, + "multiple": { + "value": "true" + } + }, + "near_key": null, + "shape": { + "value": "circle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "y", + "id_val": "y", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,6:2:72-6:3:73", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,6:2:72-6:3:73", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "y" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + } + }, + "near_key": null, + "shape": { + "value": "circle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "layers": [ + { + "name": "next", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "fill" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/1.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.exp.json b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.exp.json new file mode 100644 index 000000000..a2f7e9adc --- /dev/null +++ b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.exp.json @@ -0,0 +1,587 @@ +{ + "graph": { + "name": "", + "isFolderOnly": true, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,0:0:0-8:0:61", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:0:1-1:21:22", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:15:16-1:21:22", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,3:0:24-7:1:60", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,3:0:24-3:9:33", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,3:0:24-3:9:33", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,3:11:35-7:1:60", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,4:2:39-6:3:58", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,4:2:39-4:3:40", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,4:2:39-4:3:40", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,4:5:42-6:3:58", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:4:48-5:10:54", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:4:48-5:10:54", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:4:48-5:5:49", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:4:48-5:5:49", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:9:53-5:10:54", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:9:53-5:10:54", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": null, + "scenarios": [ + { + "name": "b", + "isFolderOnly": false, + "ast": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "fill" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:15:16-1:21:22", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": ",1:0:0-2:0:0", + "nodes": [ + { + "map_key": { + "range": ",0:0:0-0:0:0", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "fill" + } + ] + } + } + ] + }, + "primary": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,1:15:16-1:21:22", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + }, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": ",0:0:0-0:0:0", + "edges": [ + { + "range": ",0:0:0-0:0:0", + "src": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:4:48-5:5:49", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:4:48-5:5:49", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:9:53-5:10:54", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/2.d2,5:9:53-5:10:54", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "yellow" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.exp.json b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.exp.json new file mode 100644 index 000000000..c42990a09 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.exp.json @@ -0,0 +1,486 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,0:0:0-18:0:117", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,1:0:1-3:1:16", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,1:0:1-1:3:4", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,1:5:6-3:1:16", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,2:2:10-2:6:14", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,2:2:10-2:3:11", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,2:2:10-2:3:11", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,2:5:13-2:6:14", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,5:0:18-7:1:44", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,5:0:18-5:3:21", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,5:0:18-5:3:21", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,5:5:23-7:1:44", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,6:2:27-6:17:42", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,9:0:46-12:1:82", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,9:0:46-9:5:51", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,9:0:46-9:5:51", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,9:7:53-12:1:82", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,10:2:57-10:18:73", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,10:2:57-10:7:62", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,10:2:57-10:7:62", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,10:9:64-10:18:73", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,11:2:76-11:6:80", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,11:2:76-11:3:77", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,11:2:76-11:3:77", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,11:5:79-11:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,14:0:84-17:1:116", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,14:0:84-14:5:89", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,14:0:84-14:5:89", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,14:7:91-17:1:116", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,15:2:95-15:14:107", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,15:2:95-15:7:100", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,15:2:95-15:7:100", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,15:9:102-15:14:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,16:2:110-16:6:114", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,16:2:110-16:3:111", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,16:2:110-16:3:111", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,16:5:113-16:6:114", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + } + ] + } + } + } + } + ] + }, + "root": { + "id": "", + "id_val": "", + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + "edges": null, + "objects": [ + { + "id": "table", + "id_val": "table", + "references": [ + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,9:0:46-9:5:51", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/alixander-lazy-globs-review/3.d2,9:0:46-9:5:51", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "sql_table": { + "columns": [ + { + "name": { + "label": "c", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "type": { + "label": "d", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "constraint": null, + "reference": "" + }, + { + "name": { + "label": "a", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "type": { + "label": "b", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 0, + "labelHeight": 0 + }, + "constraint": null, + "reference": "" + } + ] + }, + "attributes": { + "label": { + "value": "table" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "red" + } + }, + "near_key": null, + "shape": { + "value": "sql_table" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2ir/TestCompile/classes/basic.exp.json b/testdata/d2ir/TestCompile/classes/basic.exp.json index eed20a6c8..86e555a27 100644 --- a/testdata/d2ir/TestCompile/classes/basic.exp.json +++ b/testdata/d2ir/TestCompile/classes/basic.exp.json @@ -52,7 +52,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -163,7 +165,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -252,7 +256,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -359,7 +365,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -495,7 +503,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/classes/inherited.exp.json b/testdata/d2ir/TestCompile/classes/inherited.exp.json index f88697361..1cce8f672 100644 --- a/testdata/d2ir/TestCompile/classes/inherited.exp.json +++ b/testdata/d2ir/TestCompile/classes/inherited.exp.json @@ -107,7 +107,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -196,7 +198,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -303,7 +307,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -439,7 +445,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -558,7 +566,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -647,7 +657,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -754,7 +766,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -890,7 +904,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1009,7 +1025,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1098,7 +1116,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1205,7 +1225,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1312,7 +1334,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1401,7 +1425,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1508,7 +1534,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1644,7 +1672,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1774,7 +1804,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1830,7 +1862,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2018,7 +2052,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -2133,7 +2169,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2222,7 +2260,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2329,7 +2369,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -2436,7 +2478,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2525,7 +2569,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2632,7 +2678,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2768,7 +2816,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -2898,7 +2948,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -2954,7 +3006,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -3010,7 +3064,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -3096,7 +3152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -3211,7 +3269,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -3300,7 +3360,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -3407,7 +3469,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -3514,7 +3578,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -3597,7 +3663,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -3686,7 +3754,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -3769,7 +3839,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -3876,7 +3948,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -3977,7 +4051,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -4113,7 +4189,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -4243,7 +4321,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -4373,7 +4453,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -4429,7 +4511,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -4485,7 +4569,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -4536,7 +4622,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -4724,7 +4812,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -4839,7 +4929,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -4928,7 +5020,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -5035,7 +5129,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -5142,7 +5238,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -5225,7 +5323,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -5314,7 +5414,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -5397,7 +5499,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -5504,7 +5608,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -5605,7 +5711,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -5741,7 +5849,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -5871,7 +5981,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -6001,7 +6113,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -6057,7 +6171,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -6108,7 +6224,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -6164,7 +6282,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -6215,7 +6335,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -6279,7 +6401,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -6390,7 +6514,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -6479,7 +6605,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -6586,7 +6714,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -6693,7 +6823,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -6776,7 +6908,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -6865,7 +6999,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -6948,7 +7084,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -7055,7 +7193,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -7156,7 +7296,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -7292,7 +7434,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -7422,7 +7566,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -7552,7 +7698,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -7638,7 +7786,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -7753,7 +7903,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -7920,7 +8072,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -8476,7 +8630,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -9061,7 +9217,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -9675,7 +9833,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/classes/layer-modify.exp.json b/testdata/d2ir/TestCompile/classes/layer-modify.exp.json index 087bc4de2..a3cb58791 100644 --- a/testdata/d2ir/TestCompile/classes/layer-modify.exp.json +++ b/testdata/d2ir/TestCompile/classes/layer-modify.exp.json @@ -107,7 +107,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -196,7 +198,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -303,7 +307,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -439,7 +445,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -558,7 +566,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -701,7 +711,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -790,7 +802,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -917,7 +931,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1024,7 +1040,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1151,7 +1169,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1287,7 +1307,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1416,7 +1438,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1574,7 +1598,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/classes/merge-classes.exp.json b/testdata/d2ir/TestCompile/classes/merge-classes.exp.json deleted file mode 100644 index 4c52c1b60..000000000 --- a/testdata/d2ir/TestCompile/classes/merge-classes.exp.json +++ /dev/null @@ -1,1202 +0,0 @@ -{ - "fields": [ - { - "name": "classes", - "composite": { - "fields": [ - { - "name": "mango", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/classes/merge-classes.d2,2:16:38-2:22:44", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,2:10:32-2:14:36", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:14:36", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:9:31", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:10:32-2:14:36", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:22:44", - "key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:14:36", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:9:31", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:10:32-2:14:36", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:16:38-2:22:44", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:9:31", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:14:36", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:9:31", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:10:32-2:14:36", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:22:44", - "key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:14:36", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:9:31", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:10:32-2:14:36", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:16:38-2:22:44", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - } - } - ] - }, - { - "name": "width", - "primary": { - "value": { - "range": "TestCompile/classes/merge-classes.d2,3:9:54-3:11:56", - "raw": "10", - "value": "10" - } - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:11:56", - "key": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,3:9:54-3:11:56", - "raw": "10", - "value": "10" - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-1:7:18", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-1:7:18", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-1:7:18", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-4:3:60", - "key": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-1:7:18", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-1:7:18", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,1:9:20-4:2:59", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:22:44", - "key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:14:36", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:9:31", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:10:32-2:14:36", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:16:38-2:22:44", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:11:56", - "key": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,3:9:54-3:11:56", - "raw": "10", - "value": "10" - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,0:0:0-0:7:7", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,0:0:0-0:7:7", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,0:0:0-0:7:7", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,0:0:0-5:1:62", - "key": { - "range": "TestCompile/classes/merge-classes.d2,0:0:0-0:7:7", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,0:0:0-0:7:7", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,0:9:9-5:0:61", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-4:3:60", - "key": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-1:7:18", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,1:2:13-1:7:18", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,1:9:20-4:2:59", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:22:44", - "key": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:14:36", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:4:26-2:9:31", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:10:32-2:14:36", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,2:16:38-2:22:44", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:11:56", - "key": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,3:2:47-3:7:52", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,3:9:54-3:11:56", - "raw": "10", - "value": "10" - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - }, - { - "name": "layers", - "composite": { - "fields": [ - { - "name": "hawaii", - "composite": { - "fields": [ - { - "name": "classes", - "composite": { - "fields": [ - { - "name": "mango", - "composite": { - "fields": [ - { - "name": "width", - "primary": { - "value": { - "range": "TestCompile/classes/merge-classes.d2,10:15:130-10:19:134", - "raw": "9000", - "value": "9000" - } - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:19:134", - "key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,10:15:130-10:19:134", - "raw": "9000", - "value": "9000" - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-11:7:142", - "key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,9:13:113-11:6:141", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:19:134", - "key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,10:15:130-10:19:134", - "raw": "9000", - "value": "9000" - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-12:5:148", - "key": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,8:13:98-12:4:147", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-11:7:142", - "key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,9:13:113-11:6:141", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:19:134", - "key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,10:15:130-10:19:134", - "raw": "9000", - "value": "9000" - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-7:8:81", - "value": [ - { - "string": "hawaii", - "raw_string": "hawaii" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-7:8:81", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-7:8:81", - "value": [ - { - "string": "hawaii", - "raw_string": "hawaii" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-13:3:152", - "key": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-7:8:81", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-7:8:81", - "value": [ - { - "string": "hawaii", - "raw_string": "hawaii" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,7:10:83-13:2:151", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-12:5:148", - "key": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,8:13:98-12:4:147", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-11:7:142", - "key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,9:13:113-11:6:141", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:19:134", - "key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,10:15:130-10:19:134", - "raw": "9000", - "value": "9000" - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/merge-classes.d2,6:0:63-6:6:69", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/merge-classes.d2,6:0:63-6:6:69", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,6:0:63-6:6:69", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/merge-classes.d2,6:0:63-14:1:154", - "key": { - "range": "TestCompile/classes/merge-classes.d2,6:0:63-6:6:69", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,6:0:63-6:6:69", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,6:8:71-14:0:153", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-13:3:152", - "key": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-7:8:81", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,7:2:75-7:8:81", - "value": [ - { - "string": "hawaii", - "raw_string": "hawaii" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,7:10:83-13:2:151", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-12:5:148", - "key": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,8:4:89-8:11:96", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,8:13:98-12:4:147", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-11:7:142", - "key": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,9:6:106-9:11:111", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/merge-classes.d2,9:13:113-11:6:141", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:19:134", - "key": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/merge-classes.d2,10:8:123-10:13:128", - "value": [ - { - "string": "width", - "raw_string": "width" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "number": { - "range": "TestCompile/classes/merge-classes.d2,10:15:130-10:19:134", - "raw": "9000", - "value": "9000" - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/classes/merge.exp.json b/testdata/d2ir/TestCompile/classes/merge.exp.json index 1ad04233f..b192ca8a3 100644 --- a/testdata/d2ir/TestCompile/classes/merge.exp.json +++ b/testdata/d2ir/TestCompile/classes/merge.exp.json @@ -107,7 +107,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -196,7 +198,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -265,7 +269,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -401,7 +407,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -566,7 +574,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -685,7 +695,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -774,7 +786,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -843,7 +857,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -900,7 +916,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1036,7 +1054,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1122,7 +1142,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1287,7 +1309,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1437,7 +1461,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1616,7 +1642,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/classes/nested.exp.json b/testdata/d2ir/TestCompile/classes/nested.exp.json index 9fec0c647..007eecf1b 100644 --- a/testdata/d2ir/TestCompile/classes/nested.exp.json +++ b/testdata/d2ir/TestCompile/classes/nested.exp.json @@ -107,7 +107,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -196,7 +198,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -303,7 +307,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -439,7 +445,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -511,7 +519,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -622,7 +632,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -711,7 +723,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -818,7 +832,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -954,7 +970,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1040,7 +1058,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1155,7 +1175,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1266,7 +1288,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1355,7 +1379,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1462,7 +1488,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1598,7 +1626,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1742,7 +1772,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1915,7 +1947,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/classes/nonroot-class.exp.json b/testdata/d2ir/TestCompile/classes/nonroot-class.exp.json deleted file mode 100644 index 7569a2187..000000000 --- a/testdata/d2ir/TestCompile/classes/nonroot-class.exp.json +++ /dev/null @@ -1,617 +0,0 @@ -{ - "fields": [ - { - "name": "x", - "composite": { - "fields": [ - { - "name": "classes", - "composite": { - "fields": [ - { - "name": "mango", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/classes/nonroot-class.d2,3:18:49-3:24:55", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:16:47", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:24:55", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:16:47", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:18:49-3:24:55", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:16:47", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:24:55", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:16:47", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:18:49-3:24:55", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-4:5:61", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/nonroot-class.d2,2:11:29-4:4:60", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:24:55", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:16:47", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:18:49-3:24:55", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-1:9:14", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-1:9:14", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-1:9:14", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-5:3:65", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-1:9:14", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-1:9:14", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/nonroot-class.d2,1:11:16-5:2:64", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-4:5:61", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/nonroot-class.d2,2:11:29-4:4:60", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:24:55", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:16:47", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:18:49-3:24:55", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/classes/nonroot-class.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - }, - "key_path": { - "range": "TestCompile/classes/nonroot-class.d2,0:0:0-0:1:1", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/classes/nonroot-class.d2,0:0:0-6:1:67", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,0:0:0-0:1:1", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/nonroot-class.d2,0:3:3-6:0:66", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-5:3:65", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-1:9:14", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,1:2:7-1:9:14", - "value": [ - { - "string": "classes", - "raw_string": "classes" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/nonroot-class.d2,1:11:16-5:2:64", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-4:5:61", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,2:4:22-2:9:27", - "value": [ - { - "string": "mango", - "raw_string": "mango" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/classes/nonroot-class.d2,2:11:29-4:4:60", - "nodes": [ - { - "map_key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:24:55", - "key": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:16:47", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:6:37-3:11:42", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:12:43-3:16:47", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/classes/nonroot-class.d2,3:18:49-3:24:55", - "value": [ - { - "string": "orange", - "raw_string": "orange" - } - ] - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/edges/chain.exp.json b/testdata/d2ir/TestCompile/edges/chain.exp.json index 8484dbbdb..0500f467b 100644 --- a/testdata/d2ir/TestCompile/edges/chain.exp.json +++ b/testdata/d2ir/TestCompile/edges/chain.exp.json @@ -185,7 +185,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -374,7 +376,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -558,7 +562,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -747,7 +753,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -931,7 +939,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1120,7 +1130,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1297,7 +1309,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1472,7 +1486,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1647,7 +1663,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/edges/nested.exp.json b/testdata/d2ir/TestCompile/edges/nested.exp.json index 548780974..5be013c80 100644 --- a/testdata/d2ir/TestCompile/edges/nested.exp.json +++ b/testdata/d2ir/TestCompile/edges/nested.exp.json @@ -170,7 +170,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -341,7 +343,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -515,7 +519,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -686,7 +692,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -835,7 +843,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/edges/root.exp.json b/testdata/d2ir/TestCompile/edges/root.exp.json index ec08bcf95..2c986a481 100644 --- a/testdata/d2ir/TestCompile/edges/root.exp.json +++ b/testdata/d2ir/TestCompile/edges/root.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -226,7 +228,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -329,7 +333,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/edges/underscore.exp.json b/testdata/d2ir/TestCompile/edges/underscore.exp.json index 066323086..bdb82ef60 100644 --- a/testdata/d2ir/TestCompile/edges/underscore.exp.json +++ b/testdata/d2ir/TestCompile/edges/underscore.exp.json @@ -137,7 +137,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -257,7 +259,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -405,7 +409,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -531,7 +537,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/fields/array.exp.json b/testdata/d2ir/TestCompile/fields/array.exp.json index 4530ab3bc..d648144d6 100644 --- a/testdata/d2ir/TestCompile/fields/array.exp.json +++ b/testdata/d2ir/TestCompile/fields/array.exp.json @@ -118,7 +118,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/fields/label.exp.json b/testdata/d2ir/TestCompile/fields/label.exp.json index 278d70857..5c7aa801d 100644 --- a/testdata/d2ir/TestCompile/fields/label.exp.json +++ b/testdata/d2ir/TestCompile/fields/label.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/fields/nested.exp.json b/testdata/d2ir/TestCompile/fields/nested.exp.json index 042d9865f..3dfc1f981 100644 --- a/testdata/d2ir/TestCompile/fields/nested.exp.json +++ b/testdata/d2ir/TestCompile/fields/nested.exp.json @@ -99,7 +99,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -188,7 +190,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/fields/primary/nested.exp.json b/testdata/d2ir/TestCompile/fields/primary/nested.exp.json index 815fc5fcc..9388dc418 100644 --- a/testdata/d2ir/TestCompile/fields/primary/nested.exp.json +++ b/testdata/d2ir/TestCompile/fields/primary/nested.exp.json @@ -71,7 +71,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -189,7 +191,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -307,7 +311,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/fields/primary/root.exp.json b/testdata/d2ir/TestCompile/fields/primary/root.exp.json index 5b82d2d85..13a6aa1ab 100644 --- a/testdata/d2ir/TestCompile/fields/primary/root.exp.json +++ b/testdata/d2ir/TestCompile/fields/primary/root.exp.json @@ -67,7 +67,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -163,7 +165,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/fields/root.exp.json b/testdata/d2ir/TestCompile/fields/root.exp.json index daba81dbf..619b7fcc4 100644 --- a/testdata/d2ir/TestCompile/fields/root.exp.json +++ b/testdata/d2ir/TestCompile/fields/root.exp.json @@ -52,7 +52,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/filters/array.exp.json b/testdata/d2ir/TestCompile/filters/array.exp.json index 1fc271233..b65935e1b 100644 --- a/testdata/d2ir/TestCompile/filters/array.exp.json +++ b/testdata/d2ir/TestCompile/filters/array.exp.json @@ -110,7 +110,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -172,7 +174,73 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,11:1:134-11:15:148", + "ampersand": true, + "key": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:9:142-11:15:148", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -265,7 +333,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -349,7 +419,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -463,7 +535,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -577,7 +651,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -639,7 +715,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -753,7 +831,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -867,7 +947,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -929,7 +1011,73 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/array.d2,11:1:134-11:15:148", + "ampersand": true, + "key": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:2:135-11:7:140", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/array.d2,11:9:142-11:15:148", + "value": [ + { + "string": "server", + "raw_string": "server" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1022,7 +1170,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1106,7 +1256,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1220,7 +1372,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/filters/base#01.exp.json b/testdata/d2ir/TestCompile/filters/base#01.exp.json deleted file mode 100644 index 0521ab4f3..000000000 --- a/testdata/d2ir/TestCompile/filters/base#01.exp.json +++ /dev/null @@ -1,560 +0,0 @@ -{ - "fields": [ - { - "name": "jacob", - "composite": { - "fields": [ - { - "name": "shape", - "primary": { - "value": { - "range": "TestCompile/filters/base#01.d2,1:8:17-1:14:23", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:14:23", - "key": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,1:8:17-1:14:23", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/base#01.d2,7:1:62-7:18:79", - "ampersand": true, - "key": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,7:9:70-7:18:79", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/base#01.d2,0:0:0-2:1:25", - "key": { - "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/base#01.d2,0:7:7-2:1:25", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:14:23", - "key": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,1:8:17-1:14:23", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - }, - { - "name": "jeremy", - "composite": { - "fields": [ - { - "name": "shape", - "primary": { - "value": { - "range": "TestCompile/filters/base#01.d2,7:9:70-7:18:79", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:17:53", - "key": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,4:8:44-4:17:53", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/base#01.d2,7:1:62-7:18:79", - "ampersand": true, - "key": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,7:9:70-7:18:79", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - } - ] - }, - { - "name": "label", - "primary": { - "value": { - "range": "TestCompile/filters/base#01.d2,8:8:88-8:23:103", - "value": [ - { - "string": "I'm a rectangle", - "raw_string": "I'm a rectangle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/base#01.d2,8:1:81-8:23:103", - "key": { - "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,8:1:81-8:6:86", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,8:8:88-8:23:103", - "value": [ - { - "string": "I'm a rectangle", - "raw_string": "I'm a rectangle" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", - "value": [ - { - "string": "jeremy", - "raw_string": "jeremy" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", - "value": [ - { - "string": "jeremy", - "raw_string": "jeremy" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/base#01.d2,3:0:26-5:1:55", - "key": { - "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,3:0:26-3:6:32", - "value": [ - { - "string": "jeremy", - "raw_string": "jeremy" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/base#01.d2,3:8:34-5:1:55", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:17:53", - "key": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/base#01.d2,4:8:44-4:17:53", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/filters/base.exp.json b/testdata/d2ir/TestCompile/filters/base.exp.json index c8a934bbc..98d52c7fe 100644 --- a/testdata/d2ir/TestCompile/filters/base.exp.json +++ b/testdata/d2ir/TestCompile/filters/base.exp.json @@ -77,7 +77,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -139,7 +141,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -235,7 +239,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -316,7 +322,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -378,7 +386,73 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/base.d2,7:1:62-7:18:79", + "ampersand": true, + "key": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:2:63-7:7:68", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/base.d2,7:9:70-7:18:79", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -455,7 +529,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -551,7 +627,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/filters/edge.exp.json b/testdata/d2ir/TestCompile/filters/edge.exp.json index 7e65c4f85..836b33ce8 100644 --- a/testdata/d2ir/TestCompile/filters/edge.exp.json +++ b/testdata/d2ir/TestCompile/filters/edge.exp.json @@ -205,7 +205,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -315,7 +317,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -565,7 +569,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -815,7 +821,513 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1024,7 +1536,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1134,7 +1648,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1254,7 +1770,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1338,7 +1856,95 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1427,7 +2033,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1511,7 +2119,95 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1614,7 +2310,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1698,7 +2396,95 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1787,7 +2573,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1871,7 +2659,95 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1948,7 +2824,72 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -2133,7 +3074,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -2358,7 +3301,236 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2463,7 +3635,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -2688,7 +3862,236 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/edge.d2,6:0:86-10:1:203", + "edges": [ + { + "range": "TestCompile/filters/edge.d2,6:1:87-6:7:93", + "src": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:1:87-6:2:88", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,6:6:92-6:7:93", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/edge.d2,6:8:94-6:11:97", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/edge.d2,6:13:99-10:1:203", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/edge.d2,7:1:102-7:33:134", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:24:125", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", + "value": [ + { + "string": "source-arrowhead", + "raw_string": "source-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,7:26:127-7:33:134", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,8:1:136-8:33:168", + "ampersand": true, + "key": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:24:159", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,8:26:161-8:33:168", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:32:201", + "key": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/edge.d2,9:8:177-9:32:201", + "value": [ + { + "string": "diamond shape arrowheads", + "raw_string": "diamond shape arrowheads" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/filters/errors/bad-syntax.exp.json b/testdata/d2ir/TestCompile/filters/errors/bad-syntax.exp.json deleted file mode 100644 index a91868c61..000000000 --- a/testdata/d2ir/TestCompile/filters/errors/bad-syntax.exp.json +++ /dev/null @@ -1,749 +0,0 @@ -{ - "fields": [ - { - "name": "jacob", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:10:25", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - } - } - ] - }, - { - "name": "multiple", - "primary": { - "value": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", - "value": true - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:15:41", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", - "value": true - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-3:1:43", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:13:13-3:1:43", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:10:25", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:15:41", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", - "value": true - } - } - } - } - ] - } - } - } - } - } - ] - }, - { - "name": "&style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:8:65-6:11:68", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:11:68", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:8:65-6:11:68", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - } - } - ] - }, - { - "name": "multiple", - "primary": { - "value": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:12:81-7:16:85", - "value": true - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:16:85", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:12:81-7:16:85", - "value": true - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:2:47-5:8:53", - "value": [ - { - "string": "&style", - "raw_string": "&style" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:8:53", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:1:46", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:2:47-5:8:53", - "value": [ - { - "string": "&style", - "raw_string": "&style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-8:1:87", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:8:53", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:0:45-5:1:46", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:2:47-5:8:53", - "value": [ - { - "string": "&style", - "raw_string": "&style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/bad-syntax.d2,5:10:55-8:1:87", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:11:68", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:2:59-6:6:63", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,6:8:65-6:11:68", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:16:85", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:2:71-7:10:79", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/bad-syntax.d2,7:12:81-7:16:85", - "value": true - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-3:1:43", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/bad-syntax.d2,0:13:13-3:1:43", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:10:25", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:15:41", - "key": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/bad-syntax.d2,2:11:37-2:15:41", - "value": true - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/filters/errors/composite.exp.json b/testdata/d2ir/TestCompile/filters/errors/composite.exp.json deleted file mode 100644 index 8aa7bec36..000000000 --- a/testdata/d2ir/TestCompile/filters/errors/composite.exp.json +++ /dev/null @@ -1,449 +0,0 @@ -{ - "fields": [ - { - "name": "jacob", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:10:76", - "key": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - } - } - ] - }, - { - "name": "multiple", - "primary": { - "value": { - "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", - "value": true - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:15:92", - "key": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", - "value": true - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-10:1:94", - "key": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/composite.d2,7:13:64-10:1:94", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:10:76", - "key": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:15:92", - "key": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", - "value": true - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-10:1:94", - "key": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:11:62", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:0:51-7:5:56", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,7:6:57-7:11:62", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/composite.d2,7:13:64-10:1:94", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:10:76", - "key": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,8:1:67-8:5:71", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,8:7:73-8:10:76", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:15:92", - "key": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/composite.d2,9:1:78-9:9:86", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/composite.d2,9:11:88-9:15:92", - "value": true - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/filters/errors/no-glob.exp.json b/testdata/d2ir/TestCompile/filters/errors/no-glob.exp.json deleted file mode 100644 index 549e146b6..000000000 --- a/testdata/d2ir/TestCompile/filters/errors/no-glob.exp.json +++ /dev/null @@ -1,750 +0,0 @@ -{ - "fields": [ - { - "name": "jacob", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:10:25", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - } - } - ] - }, - { - "name": "multiple", - "primary": { - "value": { - "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", - "value": true - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:15:41", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", - "value": true - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-3:1:43", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/no-glob.d2,0:13:13-3:1:43", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:10:25", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:15:41", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", - "value": true - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-3:1:43", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:11:11", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,0:6:6-0:11:11", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/no-glob.d2,0:13:13-3:1:43", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:10:25", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:1:16-1:5:20", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,1:7:22-1:10:25", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:15:41", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,2:1:27-2:9:35", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/no-glob.d2,2:11:37-2:15:41", - "value": true - } - } - } - } - ] - } - } - } - } - } - ] - }, - { - "name": "jasmine", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": null, - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", - "value": [ - { - "string": "jasmine", - "raw_string": "jasmine" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-8:1:94", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", - "value": [ - { - "string": "jasmine", - "raw_string": "jasmine" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/no-glob.d2,5:15:60-8:1:94", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,6:2:64-6:12:74", - "ampersand": true, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,6:9:71-6:12:74", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:17:92", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/no-glob.d2,7:12:87-7:17:92", - "value": false - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", - "value": [ - { - "string": "jasmine", - "raw_string": "jasmine" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", - "value": [ - { - "string": "jasmine", - "raw_string": "jasmine" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-8:1:94", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:13:58", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:0:45-5:7:52", - "value": [ - { - "string": "jasmine", - "raw_string": "jasmine" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,5:8:53-5:13:58", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/errors/no-glob.d2,5:15:60-8:1:94", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,6:2:64-6:12:74", - "ampersand": true, - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,6:3:65-6:7:69", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,6:9:71-6:12:74", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - }, - { - "map_key": { - "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:17:92", - "key": { - "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/errors/no-glob.d2,7:2:77-7:10:85", - "value": [ - { - "string": "multiple", - "raw_string": "multiple" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "boolean": { - "range": "TestCompile/filters/errors/no-glob.d2,7:12:87-7:17:92", - "value": false - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/filters/escaped.exp.json b/testdata/d2ir/TestCompile/filters/escaped.exp.json deleted file mode 100644 index c6257902d..000000000 --- a/testdata/d2ir/TestCompile/filters/escaped.exp.json +++ /dev/null @@ -1,560 +0,0 @@ -{ - "fields": [ - { - "name": "jacob", - "composite": { - "fields": [ - { - "name": "shape", - "primary": { - "value": { - "range": "TestCompile/filters/escaped.d2,1:8:17-1:14:23", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:14:23", - "key": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,1:8:17-1:14:23", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/escaped.d2,7:1:62-7:18:79", - "ampersand": true, - "key": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,7:9:70-7:18:79", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/escaped.d2,0:0:0-2:1:25", - "key": { - "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,0:0:0-0:5:5", - "value": [ - { - "string": "jacob", - "raw_string": "jacob" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/escaped.d2,0:7:7-2:1:25", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:14:23", - "key": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,1:1:10-1:6:15", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,1:8:17-1:14:23", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - }, - { - "name": "jeremy", - "composite": { - "fields": [ - { - "name": "shape", - "primary": { - "value": { - "range": "TestCompile/filters/escaped.d2,7:9:70-7:18:79", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:17:53", - "key": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,4:8:44-4:17:53", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - }, - { - "string": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/escaped.d2,7:1:62-7:18:79", - "ampersand": true, - "key": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,7:2:63-7:7:68", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,7:9:70-7:18:79", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - } - ] - }, - { - "name": "label", - "primary": { - "value": { - "range": "TestCompile/filters/escaped.d2,8:8:88-8:23:103", - "value": [ - { - "string": "I'm a rectangle", - "raw_string": "I'm a rectangle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/escaped.d2,8:1:81-8:23:103", - "key": { - "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,8:1:81-8:6:86", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,8:8:88-8:23:103", - "value": [ - { - "string": "I'm a rectangle", - "raw_string": "I'm a rectangle" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", - "value": [ - { - "string": "jeremy", - "raw_string": "jeremy" - } - ] - }, - "key_path": { - "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", - "value": [ - { - "string": "jeremy", - "raw_string": "jeremy" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/filters/escaped.d2,3:0:26-5:1:55", - "key": { - "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,3:0:26-3:6:32", - "value": [ - { - "string": "jeremy", - "raw_string": "jeremy" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "map": { - "range": "TestCompile/filters/escaped.d2,3:8:34-5:1:55", - "nodes": [ - { - "map_key": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:17:53", - "key": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,4:1:37-4:6:42", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/filters/escaped.d2,4:8:44-4:17:53", - "value": [ - { - "string": "rectangle", - "raw_string": "rectangle" - } - ] - } - } - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/filters/label-filter/1.exp.json b/testdata/d2ir/TestCompile/filters/label-filter/1.exp.json new file mode 100644 index 000000000..a6cb88ffd --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/label-filter/1.exp.json @@ -0,0 +1,3607 @@ +{ + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,9:17:80-9:18:81", + "raw": "1", + "value": "1" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,9:8:71-9:15:78", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:15:78", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:7:70", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:8:71-9:15:78", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:18:81", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:15:78", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:7:70", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:8:71-9:15:78", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,9:17:80-9:18:81", + "raw": "1", + "value": "1" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:7:70", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:15:78", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:7:70", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:8:71-9:15:78", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:18:81", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:15:78", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:2:65-9:7:70", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,9:8:71-9:15:78", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,9:17:80-9:18:81", + "raw": "1", + "value": "1" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,1:0:1-1:1:2", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,1:0:1-1:1:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,1:0:1-1:1:2", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,1:0:1-1:1:2", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,1:0:1-1:1:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,1:0:1-1:1:2", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "y", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,2:0:3-2:1:4", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,2:0:3-2:1:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,2:0:3-2:1:4", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,2:0:3-2:1:4", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,2:0:3-2:1:4", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,2:0:3-2:1:4", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "p", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,3:3:8-3:4:9", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,13:17:118-13:20:121", + "raw": "0.5", + "value": "1/2" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,13:8:109-13:15:116", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:15:116", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:7:108", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:8:109-13:15:116", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:20:121", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:15:116", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:7:108", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:8:109-13:15:116", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,13:17:118-13:20:121", + "raw": "0.5", + "value": "1/2" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:7:108", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:15:116", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:7:108", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:8:109-13:15:116", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:20:121", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:15:116", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:2:103-13:7:108", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,13:8:109-13:15:116", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,13:17:118-13:20:121", + "raw": "0.5", + "value": "1/2" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,3:0:5-3:1:6", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,3:0:5-3:1:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,3:0:5-3:1:6", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,3:0:5-3:4:9", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,3:0:5-3:1:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,3:0:5-3:1:6", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,3:3:8-3:4:9", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "a", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:6:16", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:13:23", + "edges": [ + { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:6:16", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:8:18-4:13:23", + "value": [ + { + "string": "delta", + "raw_string": "delta" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "z", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:20:45", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:15:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:0:25-6:1:26", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,6:8:33-6:15:40", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/1.d2,6:17:42-6:20:45", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:6:16", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:13:23", + "edges": [ + { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:6:16", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:8:18-4:13:23", + "value": [ + { + "string": "delta", + "raw_string": "delta" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "z" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,4:8:18-4:13:23", + "value": [ + { + "string": "delta", + "raw_string": "delta" + } + ] + } + }, + "map": { + "fields": [ + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/1.d2,17:25:179-17:32:186", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,17:18:172-17:23:177", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:23:177", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:17:171", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:18:172-17:23:177", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:32:186", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:23:177", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:17:171", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:18:172-17:23:177", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:25:179-17:32:186", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:17:171", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:23:177", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:17:171", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:18:172-17:23:177", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:32:186", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:23:177", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:17:171", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:18:172-17:23:177", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:25:179-17:32:186", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:6:16", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:13:23", + "edges": [ + { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:6:16", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:0:10-4:1:11", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:5:15-4:6:16", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,4:8:18-4:13:23", + "value": [ + { + "string": "delta", + "raw_string": "delta" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/1.d2,15:1:125-15:7:131", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,15:1:125-15:2:126", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,15:1:125-15:2:126", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,15:6:130-15:7:131", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,15:6:130-15:7:131", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,15:0:124-18:1:188", + "edges": [ + { + "range": "TestCompile/filters/label-filter/1.d2,15:1:125-15:7:131", + "src": { + "range": "TestCompile/filters/label-filter/1.d2,15:1:125-15:2:126", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,15:1:125-15:2:126", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/1.d2,15:6:130-15:7:131", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,15:6:130-15:7:131", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/1.d2,15:8:132-15:11:135", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/label-filter/1.d2,15:13:137-18:1:188", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/label-filter/1.d2,16:1:140-16:14:153", + "ampersand": true, + "key": { + "range": "TestCompile/filters/label-filter/1.d2,16:2:141-16:7:146", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,16:2:141-16:7:146", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,16:9:148-16:14:153", + "value": [ + { + "string": "delta", + "raw_string": "delta" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:32:186", + "key": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:23:177", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:1:155-17:17:171", + "value": [ + { + "string": "target-arrowhead", + "raw_string": "target-arrowhead" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:18:172-17:23:177", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/1.d2,17:25:179-17:32:186", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/filters/label-filter/2.exp.json b/testdata/d2ir/TestCompile/filters/label-filter/2.exp.json new file mode 100644 index 000000000..2ead5445f --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/label-filter/2.exp.json @@ -0,0 +1,2928 @@ +{ + "fields": [ + { + "name": "x", + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:6:89", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:10:93", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:6:89", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:8:91-8:10:93", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "y", + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:6:89", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:10:93", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:6:89", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:8:91-8:10:93", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "x" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/2.d2,8:8:91-8:10:93", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79", + "raw": "1", + "value": "1" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:18:79", + "key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79", + "raw": "1", + "value": "1" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:18:79", + "key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79", + "raw": "1", + "value": "1" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:6:89", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:10:93", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:6:89", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:0:83-8:1:84", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:5:88-8:6:89", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,8:8:91-8:10:93", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,3:0:33-6:1:81", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,3:8:41-3:11:44", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/label-filter/2.d2,3:13:46-6:1:81", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/label-filter/2.d2,4:2:50-4:12:60", + "ampersand": true, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,4:3:51-4:8:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,4:3:51-4:8:56", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,4:10:58-4:12:60", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:18:79", + "key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79", + "raw": "1", + "value": "1" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,3:0:33-6:1:81", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,3:8:41-3:11:44", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/label-filter/2.d2,3:13:46-6:1:81", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/label-filter/2.d2,4:2:50-4:12:60", + "ampersand": true, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,4:3:51-4:8:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,4:3:51-4:8:56", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,4:10:58-4:12:60", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:18:79", + "key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79", + "raw": "1", + "value": "1" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "edge_id": { + "src_path": [ + "x" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 1, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:6:100", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:0:94-9:1:95", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,9:5:99-9:6:100", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,3:0:33-6:1:81", + "edges": [ + { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", + "src": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/2.d2,3:8:41-3:11:44", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/label-filter/2.d2,3:13:46-6:1:81", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/label-filter/2.d2,4:2:50-4:12:60", + "ampersand": true, + "key": { + "range": "TestCompile/filters/label-filter/2.d2,4:3:51-4:8:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,4:3:51-4:8:56", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,4:10:58-4:12:60", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:18:79", + "key": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:15:76", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:2:63-5:7:68", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/2.d2,5:8:69-5:15:76", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/2.d2,5:17:78-5:18:79", + "raw": "1", + "value": "1" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/filters/lazy-filter.exp.json b/testdata/d2ir/TestCompile/filters/lazy-filter.exp.json new file mode 100644 index 000000000..d3df4d200 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/lazy-filter.exp.json @@ -0,0 +1,901 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/filters/lazy-filter.d2,3:14:32-3:20:38", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:20:38", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:14:32-3:20:38", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:20:38", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:14:32-3:20:38", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,6:0:42-6:1:43", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,6:0:42-6:1:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,6:0:42-6:1:43", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,6:0:42-6:1:43", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,6:0:42-6:1:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,6:0:42-6:1:43", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/filters/lazy-filter.d2,9:9:109-9:10:110", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,9:2:102-9:7:107", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:7:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:1:101", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:2:102-9:7:107", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:10:110", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:7:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:1:101", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:2:102-9:7:107", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:9:109-9:10:110", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,2:2:8-2:11:17", + "ampersand": true, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:10:16-2:11:17", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,2:2:8-2:11:17", + "ampersand": true, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:10:16-2:11:17", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,2:2:8-2:11:17", + "ampersand": true, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:3:9-2:8:14", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,2:10:16-2:11:17", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/filters/lazy-filter.d2,3:14:32-3:20:38", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:20:38", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:14:32-3:20:38", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:20:38", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:12:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:2:20-3:7:25", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:8:26-3:12:30", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,3:14:32-3:20:38", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,8:0:98-8:1:99", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,8:0:98-8:1:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,8:0:98-8:1:99", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,8:0:98-8:1:99", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,8:0:98-8:1:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,8:0:98-8:1:99", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:1:101", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:7:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:1:101", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:2:102-9:7:107", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:10:110", + "key": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:7:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:0:100-9:1:101", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:2:102-9:7:107", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/lazy-filter.d2,9:9:109-9:10:110", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/filters/order.exp.json b/testdata/d2ir/TestCompile/filters/order.exp.json index d7a77a374..aaaa8b71e 100644 --- a/testdata/d2ir/TestCompile/filters/order.exp.json +++ b/testdata/d2ir/TestCompile/filters/order.exp.json @@ -77,7 +77,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -139,7 +141,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -235,7 +239,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -316,7 +322,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -378,7 +386,73 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/order.d2,8:1:86-8:18:103", + "ampersand": true, + "key": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:2:87-8:7:92", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/order.d2,8:9:94-8:18:103", + "value": [ + { + "string": "rectangle", + "raw_string": "rectangle" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -455,7 +529,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -551,7 +627,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/filters/primary-filter.exp.json b/testdata/d2ir/TestCompile/filters/primary-filter.exp.json new file mode 100644 index 000000000..d17adef3f --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/primary-filter.exp.json @@ -0,0 +1,2355 @@ +{ + "fields": [ + { + "name": "parent", + "composite": { + "fields": [ + { + "name": "a", + "composite": { + "fields": null, + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "src": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "src": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:9:30", + "src": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,3:7:28-3:9:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,3:7:28-3:9:30", + "value": [ + { + "string": "b2", + "raw_string": "b2" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:9:30", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:9:30", + "src": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,3:7:28-3:9:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,3:7:28-3:9:30", + "value": [ + { + "string": "b2", + "raw_string": "b2" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "src": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "src": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b1", + "composite": { + "fields": null, + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "src": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "src": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "src": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "src": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:10:63", + "src": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,7:8:61-7:10:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,7:8:61-7:10:63", + "value": [ + { + "string": "c2", + "raw_string": "c2" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:10:63", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:10:63", + "src": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,7:8:61-7:10:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,7:8:61-7:10:63", + "value": [ + { + "string": "c2", + "raw_string": "c2" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b3", + "composite": { + "fields": null, + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "src": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "src": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c1", + "composite": { + "fields": [], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "src": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "src": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-9:4:69", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-9:4:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-9:4:69", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-11:3:103", + "key": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-9:4:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-9:4:69", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,9:6:71-11:3:103", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,10:4:77-10:26:99", + "key": { + "range": "TestCompile/filters/primary-filter.d2,10:4:77-10:18:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,10:4:77-10:12:85", + "value": [ + { + "string": "c1-child", + "raw_string": "c1-child" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,10:13:86-10:18:91", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,10:20:93-10:26:99", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b1" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "src": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "src": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b3" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "src": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "src": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "edge_id": { + "src_path": [ + "b1" + ], + "src_arrow": false, + "dst_path": [ + "c1" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "src": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "src": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,1:0:1-1:6:7", + "value": [ + { + "string": "parent", + "raw_string": "parent" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,1:0:1-1:6:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,1:0:1-1:6:7", + "value": [ + { + "string": "parent", + "raw_string": "parent" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/primary-filter.d2,1:0:1-18:1:183", + "key": { + "range": "TestCompile/filters/primary-filter.d2,1:0:1-1:6:7", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,1:0:1-1:6:7", + "value": [ + { + "string": "parent", + "raw_string": "parent" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,1:8:9-18:1:183", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:9:20", + "src": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:2:13-2:3:14", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,2:7:18-2:9:20", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:9:30", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:9:30", + "src": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,3:2:23-3:3:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,3:7:28-3:9:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,3:7:28-3:9:30", + "value": [ + { + "string": "b2", + "raw_string": "b2" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:9:40", + "src": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:2:33-4:3:34", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,4:7:38-4:9:40", + "value": [ + { + "string": "b3", + "raw_string": "b3" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:10:52", + "src": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:2:44-6:4:46", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,6:8:50-6:10:52", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:10:63", + "edges": [ + { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:10:63", + "src": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,7:2:55-7:4:57", + "value": [ + { + "string": "b1", + "raw_string": "b1" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/primary-filter.d2,7:8:61-7:10:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,7:8:61-7:10:63", + "value": [ + { + "string": "c2", + "raw_string": "c2" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-11:3:103", + "key": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-9:4:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,9:2:67-9:4:69", + "value": [ + { + "string": "c1", + "raw_string": "c1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,9:6:71-11:3:103", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,10:4:77-10:26:99", + "key": { + "range": "TestCompile/filters/primary-filter.d2,10:4:77-10:18:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,10:4:77-10:12:85", + "value": [ + { + "string": "c1-child", + "raw_string": "c1-child" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,10:13:86-10:18:91", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,10:20:93-10:26:99", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,13:2:107-15:3:143", + "key": { + "range": "TestCompile/filters/primary-filter.d2,13:2:107-13:4:109", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,13:2:107-13:4:109", + "value": [ + { + "string": "c2", + "raw_string": "c2" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,13:6:111-15:3:143", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,14:4:117-14:26:139", + "key": { + "range": "TestCompile/filters/primary-filter.d2,14:4:117-14:18:131", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,14:4:117-14:12:125", + "value": [ + { + "string": "C2-child", + "raw_string": "C2-child" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,14:13:126-14:18:131", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,14:20:133-14:26:139", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,16:2:146-16:18:162", + "key": { + "range": "TestCompile/filters/primary-filter.d2,16:2:146-16:10:154", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,16:2:146-16:4:148", + "value": [ + { + "string": "c2", + "raw_string": "c2" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,16:5:149-16:10:154", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,16:12:156-16:18:162", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,17:2:165-17:18:181", + "key": { + "range": "TestCompile/filters/primary-filter.d2,17:2:165-17:10:173", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,17:2:165-17:4:167", + "value": [ + { + "string": "b2", + "raw_string": "b2" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,17:5:168-17:10:173", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,17:12:175-17:18:181", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "classes", + "composite": { + "fields": [ + { + "name": "hidden", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/filters/primary-filter.d2,23:12:233-23:15:236", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:15:236", + "key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:12:233-23:15:236", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-24:5:242", + "key": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,22:11:219-24:5:242", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:15:236", + "key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:12:233-23:15:236", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-21:8:204", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-21:8:204", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-21:8:204", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-25:3:246", + "key": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-21:8:204", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-21:8:204", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,21:10:206-25:3:246", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-24:5:242", + "key": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,22:11:219-24:5:242", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:15:236", + "key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:12:233-23:15:236", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/primary-filter.d2,20:0:185-20:7:192", + "value": [ + { + "string": "classes", + "raw_string": "classes" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/primary-filter.d2,20:0:185-20:7:192", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,20:0:185-20:7:192", + "value": [ + { + "string": "classes", + "raw_string": "classes" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/primary-filter.d2,20:0:185-26:1:248", + "key": { + "range": "TestCompile/filters/primary-filter.d2,20:0:185-20:7:192", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,20:0:185-20:7:192", + "value": [ + { + "string": "classes", + "raw_string": "classes" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,20:9:194-26:1:248", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-25:3:246", + "key": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-21:8:204", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,21:2:198-21:8:204", + "value": [ + { + "string": "hidden", + "raw_string": "hidden" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,21:10:206-25:3:246", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-24:5:242", + "key": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,22:4:212-22:9:217", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/primary-filter.d2,22:11:219-24:5:242", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:15:236", + "key": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:6:227-23:10:231", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/primary-filter.d2,23:12:233-23:15:236", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/globs/escaped.exp.json b/testdata/d2ir/TestCompile/globs/escaped.exp.json deleted file mode 100644 index de7e12d68..000000000 --- a/testdata/d2ir/TestCompile/globs/escaped.exp.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "fields": [ - { - "name": "animal", - "primary": { - "value": { - "range": "TestCompile/globs/escaped.d2,0:8:8-0:12:12", - "value": [ - { - "string": "meow", - "raw_string": "meow" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - }, - "key_path": { - "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/globs/escaped.d2,0:0:0-0:12:12", - "key": { - "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/escaped.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/globs/escaped.d2,0:8:8-0:12:12", - "value": [ - { - "string": "meow", - "raw_string": "meow" - } - ] - } - } - } - } - } - ] - }, - { - "name": "action", - "primary": { - "value": { - "range": "TestCompile/globs/escaped.d2,1:8:21-1:11:24", - "value": [ - { - "string": "yes", - "raw_string": "yes" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - }, - "key_path": { - "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/globs/escaped.d2,1:0:13-1:11:24", - "key": { - "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/escaped.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/globs/escaped.d2,1:8:21-1:11:24", - "value": [ - { - "string": "yes", - "raw_string": "yes" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/globs/prefix.exp.json b/testdata/d2ir/TestCompile/globs/prefix.exp.json deleted file mode 100644 index 7c50c6809..000000000 --- a/testdata/d2ir/TestCompile/globs/prefix.exp.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "fields": [ - { - "name": "animal", - "primary": { - "value": { - "range": "TestCompile/globs/prefix.d2,0:8:8-0:12:12", - "value": [ - { - "string": "meow", - "raw_string": "meow" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - }, - "key_path": { - "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/globs/prefix.d2,0:0:0-0:12:12", - "key": { - "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/prefix.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/globs/prefix.d2,0:8:8-0:12:12", - "value": [ - { - "string": "meow", - "raw_string": "meow" - } - ] - } - } - } - } - } - ] - }, - { - "name": "action", - "primary": { - "value": { - "range": "TestCompile/globs/prefix.d2,1:8:21-1:11:24", - "value": [ - { - "string": "yes", - "raw_string": "yes" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - }, - "key_path": { - "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/globs/prefix.d2,1:0:13-1:11:24", - "key": { - "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/globs/prefix.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/globs/prefix.d2,1:8:21-1:11:24", - "value": [ - { - "string": "yes", - "raw_string": "yes" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/imports/#00.exp.json b/testdata/d2ir/TestCompile/imports/#00.exp.json deleted file mode 100644 index cc2a0a3e5..000000000 --- a/testdata/d2ir/TestCompile/imports/#00.exp.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "fields": [ - { - "name": "x", - "primary": { - "value": { - "range": "x.d2,0:3:3-0:7:7", - "value": [ - { - "string": "wowa", - "raw_string": "wowa" - } - ] - } - }, - "references": [ - { - "string": { - "range": "x.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - }, - "key_path": { - "range": "x.d2,0:0:0-0:1:1", - "path": [ - { - "unquoted_string": { - "range": "x.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "x.d2,0:0:0-0:7:7", - "key": { - "range": "x.d2,0:0:0-0:1:1", - "path": [ - { - "unquoted_string": { - "range": "x.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "x.d2,0:3:3-0:7:7", - "value": [ - { - "string": "wowa", - "raw_string": "wowa" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/imports/boards.exp.json b/testdata/d2ir/TestCompile/imports/boards.exp.json index 236a496dc..a9de84ecf 100644 --- a/testdata/d2ir/TestCompile/imports/boards.exp.json +++ b/testdata/d2ir/TestCompile/imports/boards.exp.json @@ -98,7 +98,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -187,7 +189,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -297,7 +301,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -386,7 +392,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -450,7 +458,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -526,7 +536,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -631,7 +643,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -707,7 +721,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -812,7 +828,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/nested.exp.json b/testdata/d2ir/TestCompile/imports/nested.exp.json deleted file mode 100644 index d6a74f941..000000000 --- a/testdata/d2ir/TestCompile/imports/nested.exp.json +++ /dev/null @@ -1,249 +0,0 @@ -{ - "fields": [ - { - "name": "x", - "composite": { - "fields": [ - { - "name": "shape", - "primary": { - "value": { - "range": "x.d2,1:8:13-1:14:19", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - }, - "references": [ - { - "string": { - "range": "x.d2,1:1:6-1:6:11", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - }, - "key_path": { - "range": "x.d2,1:1:6-1:6:11", - "path": [ - { - "unquoted_string": { - "range": "x.d2,1:1:6-1:6:11", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "x.d2,1:1:6-1:14:19", - "key": { - "range": "x.d2,1:1:6-1:6:11", - "path": [ - { - "unquoted_string": { - "range": "x.d2,1:1:6-1:6:11", - "value": [ - { - "string": "shape", - "raw_string": "shape" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "x.d2,1:8:13-1:14:19", - "value": [ - { - "string": "circle", - "raw_string": "circle" - } - ] - } - } - } - } - } - ] - }, - { - "name": "label", - "primary": { - "value": { - "range": "x.d2,2:8:28-2:12:32", - "value": [ - { - "string": "meow", - "raw_string": "meow" - } - ] - } - }, - "references": [ - { - "string": { - "range": "x.d2,2:1:21-2:6:26", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - }, - "key_path": { - "range": "x.d2,2:1:21-2:6:26", - "path": [ - { - "unquoted_string": { - "range": "x.d2,2:1:21-2:6:26", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "x.d2,2:1:21-2:12:32", - "key": { - "range": "x.d2,2:1:21-2:6:26", - "path": [ - { - "unquoted_string": { - "range": "x.d2,2:1:21-2:6:26", - "value": [ - { - "string": "label", - "raw_string": "label" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "x.d2,2:8:28-2:12:32", - "value": [ - { - "string": "meow", - "raw_string": "meow" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "index.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - }, - "key_path": { - "range": "index.d2,0:0:0-0:1:1", - "path": [ - { - "unquoted_string": { - "range": "index.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "index.d2,0:0:0-0:7:7", - "key": { - "range": "index.d2,0:0:0-0:1:1", - "path": [ - { - "unquoted_string": { - "range": "index.d2,0:0:0-0:1:1", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "import": { - "range": "index.d2,0:3:3-0:7:7", - "spread": false, - "path": [ - { - "unquoted_string": { - "range": "index.d2,0:4:4-0:5:5", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "index.d2,0:6:6-0:7:7", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/imports/nested/array.exp.json b/testdata/d2ir/TestCompile/imports/nested/array.exp.json index 9e1737148..c35c86882 100644 --- a/testdata/d2ir/TestCompile/imports/nested/array.exp.json +++ b/testdata/d2ir/TestCompile/imports/nested/array.exp.json @@ -97,7 +97,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/nested/map.exp.json b/testdata/d2ir/TestCompile/imports/nested/map.exp.json index b1dedaa35..2377f1914 100644 --- a/testdata/d2ir/TestCompile/imports/nested/map.exp.json +++ b/testdata/d2ir/TestCompile/imports/nested/map.exp.json @@ -77,7 +77,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -154,7 +156,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -241,7 +245,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/nested/scalar.exp.json b/testdata/d2ir/TestCompile/imports/nested/scalar.exp.json index ed273c2c0..7fb4ed533 100644 --- a/testdata/d2ir/TestCompile/imports/nested/scalar.exp.json +++ b/testdata/d2ir/TestCompile/imports/nested/scalar.exp.json @@ -93,7 +93,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/nested/spread.exp.json b/testdata/d2ir/TestCompile/imports/nested/spread.exp.json index 6a7baa961..6250a7662 100644 --- a/testdata/d2ir/TestCompile/imports/nested/spread.exp.json +++ b/testdata/d2ir/TestCompile/imports/nested/spread.exp.json @@ -52,7 +52,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -108,7 +110,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/nested/spread_primary.exp.json b/testdata/d2ir/TestCompile/imports/nested/spread_primary.exp.json index 1dbc2241c..d712911fe 100644 --- a/testdata/d2ir/TestCompile/imports/nested/spread_primary.exp.json +++ b/testdata/d2ir/TestCompile/imports/nested/spread_primary.exp.json @@ -67,7 +67,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -123,7 +125,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -217,7 +221,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/spread.exp.json b/testdata/d2ir/TestCompile/imports/spread.exp.json index cc2a0a3e5..db398ce59 100644 --- a/testdata/d2ir/TestCompile/imports/spread.exp.json +++ b/testdata/d2ir/TestCompile/imports/spread.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/steps-inheritence.exp.json b/testdata/d2ir/TestCompile/imports/steps-inheritence.exp.json index e80dff636..0218343fa 100644 --- a/testdata/d2ir/TestCompile/imports/steps-inheritence.exp.json +++ b/testdata/d2ir/TestCompile/imports/steps-inheritence.exp.json @@ -52,7 +52,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -116,7 +118,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -172,7 +176,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -248,7 +254,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -308,7 +316,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -364,7 +374,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -440,7 +452,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -587,7 +601,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -651,7 +667,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -707,7 +725,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -783,7 +803,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -843,7 +865,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -899,7 +923,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -955,7 +981,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1031,7 +1059,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1178,7 +1208,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/value.exp.json b/testdata/d2ir/TestCompile/imports/value.exp.json index 8e5c0f021..703c3422a 100644 --- a/testdata/d2ir/TestCompile/imports/value.exp.json +++ b/testdata/d2ir/TestCompile/imports/value.exp.json @@ -77,7 +77,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -154,7 +156,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -230,7 +234,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/vars/1.exp.json b/testdata/d2ir/TestCompile/imports/vars/1.exp.json index 9d278fd74..b3f70120c 100644 --- a/testdata/d2ir/TestCompile/imports/vars/1.exp.json +++ b/testdata/d2ir/TestCompile/imports/vars/1.exp.json @@ -77,7 +77,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -160,7 +162,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -252,7 +256,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/vars/2.exp.json b/testdata/d2ir/TestCompile/imports/vars/2.exp.json index 3107e5c6e..c1368afb1 100644 --- a/testdata/d2ir/TestCompile/imports/vars/2.exp.json +++ b/testdata/d2ir/TestCompile/imports/vars/2.exp.json @@ -69,7 +69,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -126,7 +128,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -218,7 +222,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -304,7 +310,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -392,7 +400,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/imports/vars/3.exp.json b/testdata/d2ir/TestCompile/imports/vars/3.exp.json index e2ddd2094..68e6c6c4e 100644 --- a/testdata/d2ir/TestCompile/imports/vars/3.exp.json +++ b/testdata/d2ir/TestCompile/imports/vars/3.exp.json @@ -69,7 +69,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -126,7 +128,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -218,7 +222,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -304,7 +310,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -392,7 +400,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/layers/errs/3/bad_edge.exp.json b/testdata/d2ir/TestCompile/layers/errs/3/bad_edge.exp.json deleted file mode 100644 index 5cd2e210c..000000000 --- a/testdata/d2ir/TestCompile/layers/errs/3/bad_edge.exp.json +++ /dev/null @@ -1,1375 +0,0 @@ -{ - "fields": [ - { - "name": "layers", - "composite": { - "fields": [ - { - "name": "x", - "composite": { - "fields": [ - { - "name": "y", - "references": [ - { - "string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - }, - "key_path": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "context": { - "edge": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "edges": [ - { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "primary": {}, - "value": {} - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - }, - "key_path": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "context": { - "edge": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "edges": [ - { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "primary": {}, - "value": {} - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - }, - "key_path": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "context": { - "edge": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "edges": [ - { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "primary": {}, - "value": {} - } - } - } - ] - }, - { - "name": "steps", - "composite": { - "fields": [ - { - "name": "z", - "composite": { - "fields": [ - { - "name": "p", - "references": [ - { - "string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - }, - "key_path": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "context": { - "edge": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "edges": [ - { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "primary": {}, - "value": {} - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - }, - "key_path": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "context": { - "edge": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "edges": [ - { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "primary": {}, - "value": {} - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - }, - "key_path": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "context": { - "edge": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - }, - "key": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "edges": [ - { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:23:23", - "src": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:10:10", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:0:0-0:6:6", - "value": [ - { - "string": "layers", - "raw_string": "layers" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:7:7-0:8:8", - "value": [ - { - "string": "x", - "raw_string": "x" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:9:9-0:10:10", - "value": [ - { - "string": "y", - "raw_string": "y" - } - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:23:23", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:14:14-0:19:19", - "value": [ - { - "string": "steps", - "raw_string": "steps" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:20:20-0:21:21", - "value": [ - { - "string": "z", - "raw_string": "z" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/layers/errs/3/bad_edge.d2,0:22:22-0:23:23", - "value": [ - { - "string": "p", - "raw_string": "p" - } - ] - } - } - ] - }, - "dst_arrow": ">" - } - ], - "primary": {}, - "value": {} - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json b/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json index c18033088..668820d84 100644 --- a/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json +++ b/testdata/d2ir/TestCompile/layers/errs/4/good_edge.exp.json @@ -229,7 +229,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -449,7 +451,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -640,7 +644,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -865,7 +871,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1085,7 +1093,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1311,7 +1321,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1531,7 +1543,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/layers/root.exp.json b/testdata/d2ir/TestCompile/layers/root.exp.json index 82ca928ad..eda3c52a7 100644 --- a/testdata/d2ir/TestCompile/layers/root.exp.json +++ b/testdata/d2ir/TestCompile/layers/root.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -226,7 +228,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -342,7 +346,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -443,7 +449,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -544,7 +552,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -652,7 +662,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -789,7 +801,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -892,7 +906,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/1.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/1.exp.json new file mode 100644 index 000000000..b6516bba8 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/1.exp.json @@ -0,0 +1,8281 @@ +{ + "fields": [ + { + "name": "x", + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "multiple", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/1.d2,3:18:59-3:22:63", + "value": true + } + }, + "references": [ + { + "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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": 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 + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,5:0:65-5:1:66", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,5:0:65-5:1:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,5:0:65-5:1:66", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,5:0:65-7:1:75", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,5:0:65-5:1:66", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,5:0:65-5:1:66", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/1.d2,5:3:68-7:1:75", + "nodes": [ + { + "map_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": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "next", + "composite": { + "fields": [ + { + "name": "a", + "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": ",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": "next" + } + ] + } + }, + { + "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": ",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": "next" + } + ] + } + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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": ",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": "next" + } + ] + } + }, + { + "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": ",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": "next" + } + ] + } + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.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": "next" + } + ] + } + }, + { + "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": ",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": "next" + } + ] + } + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-10:6:93", + "value": [ + { + "string": "next", + "raw_string": "next" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-10:6:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-10:6:93", + "value": [ + { + "string": "next", + "raw_string": "next" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-12:3:106", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-10:6:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-10:6:93", + "value": [ + { + "string": "next", + "raw_string": "next" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:8:95-12:3:106", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "next" + } + ] + }, + "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": "next" + } + ] + } + }, + { + "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": ",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": "next" + } + ] + } + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "next" + } + ] + }, + "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": "next" + } + ] + } + }, + { + "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": ",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": "next" + } + ] + } + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/1.d2,9:0:77-9:6:83", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/1.d2,9:0:77-9:6:83", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,9:0:77-9:6:83", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,9:0:77-13:1:108", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,9:0:77-9:6:83", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,9:0:77-9:6:83", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/1.d2,9:8:85-13:1:108", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-12:3:106", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-10:6:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:2:89-10:6:93", + "value": [ + { + "string": "next", + "raw_string": "next" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/1.d2,10:8:95-12:3:106", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "key": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/1.d2,11:4:101-11:5:102", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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": "next" + } + ] + } + }, + { + "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": ",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": "next" + } + ] + } + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "next" + } + ] + } + }, + { + "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": ",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": "next" + } + ] + } + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/2.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/2.exp.json new file mode 100644 index 000000000..d88480af2 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/2.exp.json @@ -0,0 +1,1102 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,1:0:1-1:1:2", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,1:0:1-1:1:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,1:0:1-1:1:2", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,1:0:1-1:1:2", + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,1:0:1-1:1:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,1:0:1-1:1:2", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "y", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,5:0:12-5:1:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,5:0:12-5:1:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,5:0:12-5:1:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,5:0:12-5:1:13", + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,5:0:12-5:1:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,5:0:12-5:1:13", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/2.d2,6:0:14-6:1:15", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/2.d2,6:0:14-6:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,6:0:14-6:1:15", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,6:0:14-6:1:15", + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,6:0:14-6:1:15", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,6:0:14-6:1:15", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + }, + { + "edge_id": { + "src_path": [ + "b" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:6:10", + "src": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:0:4-3:1:5", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/2.d2,3:5:9-3:6:10", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/3.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/3.exp.json new file mode 100644 index 000000000..1defbbfb0 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/3.exp.json @@ -0,0 +1,3809 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "b", + "references": [ + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,1:0:1-1:1:2", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/3.d2,1:0:1-1:1:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,1:0:1-1:1:2", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,1:0:1-1:1:2", + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,1:0:1-1:1:2", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,1:0:1-1:1:2", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "z", + "composite": { + "fields": [ + { + "name": "d", + "composite": { + "fields": [ + { + "name": "b", + "references": [ + { + "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", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "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", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:9:13-3:10:14", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "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", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "d", + "b" + ], + "src_arrow": false, + "dst_path": [ + "c" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "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", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-6:3:29", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-6:3:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-6:3:29", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-8:3:42", + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-6:3:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-6:3:29", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:5:31-8:3:42", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "z" + } + ] + }, + "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": "z" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "z" + } + ] + }, + "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": "z" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/3.d2,5:0:16-5:6:22", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/3.d2,5:0:16-5:6:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,5:0:16-5:6:22", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,5:0:16-9:1:44", + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,5:0:16-5:6:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,5:0:16-5:6:22", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/3.d2,5:8:24-9:1:44", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-8:3:42", + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-6:3:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:2:28-6:3:29", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/3.d2,6:5:31-8:3:42", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/3.d2,7:4:37-7:5:38", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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": "z" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "z" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/3.d2,3:0:4-3:10:14", + "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": "z" + } + ] + } + } + ] + }, + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a", + "b" + ], + "src_arrow": false, + "dst_path": [ + "c" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "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": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/4.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/4.exp.json new file mode 100644 index 000000000..3b9a8519e --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/4.exp.json @@ -0,0 +1,1229 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "child", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,3:0:11-3:1:12", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,3:0:11-3:1:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,3:0:11-3:1:12", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,3:0:11-3:1:12", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,3:0:11-3:1:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,3:0:11-3:1:12", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "name": "child", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,4:0:13-4:1:14", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,4:0:13-4:1:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,4:0:13-4:1:14", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,4:0:13-4:1:14", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,4:0:13-4:1:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,4:0:13-4:1:14", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "composite": { + "fields": [ + { + "name": "child", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:8:9", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,1:3:4-1:8:9", + "value": [ + { + "string": "child", + "raw_string": "child" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/4.d2,5:0:15-5:1:16", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/4.d2,5:0:15-5:1:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,5:0:15-5:1:16", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,5:0:15-5:1:16", + "key": { + "range": "TestCompile/patterns/alixander-review/4.d2,5:0:15-5:1:16", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/4.d2,5:0:15-5:1:16", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/5.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/5.exp.json new file mode 100644 index 000000000..d7c15fa34 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/5.exp.json @@ -0,0 +1,3793 @@ +{ + "fields": [ + { + "name": "scenarios", + "composite": { + "fields": [ + { + "name": "b", + "composite": { + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "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": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-4:3:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-4:3:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-4:3:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-6:3:55", + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-4:3:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-4:3:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:5:39-6:3:55", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/5.d2,3:0:21-3:9:30", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/5.d2,3:0:21-3:9:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,3:0:21-3:9:30", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,3:0:21-7:1:57", + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,3:0:21-3:9:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,3:0:21-3:9:30", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/5.d2,3:11:32-7:1:57", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-6:3:55", + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-4:3:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:2:36-4:3:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/5.d2,4:5:39-6:3:55", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:10:51", + "src": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:4:45-5:5:46", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,5:9:50-5:10:51", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:18:19", + "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": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/5.d2,1:15:16-1:18:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/6.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/6.exp.json new file mode 100644 index 000000000..e30ee4789 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/6.exp.json @@ -0,0 +1,2214 @@ +{ + "fields": [ + { + "name": "x", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:6:39", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:10:43", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:6:39", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:8:41-3:10:43", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "y", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:6:39", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:10:43", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:6:39", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:8:41-3:10:43", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "x" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:8:41-3:10:43", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:6:39", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:10:43", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:6:39", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:0:33-3:1:34", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:5:38-3:6:39", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,3:8:41-3:10:43", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "edge_id": { + "src_path": [ + "x" + ], + "src_arrow": false, + "dst_path": [ + "y" + ], + "dst_arrow": true, + "index": 1, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:6:50", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:0:44-4:1:45", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,4:5:49-4:6:50", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:0:1-1:30:31", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:25:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:18:19-1:25:26", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/patterns/alixander-review/6.d2,1:27:28-1:30:31", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/7.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/7.exp.json new file mode 100644 index 000000000..f10e20827 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/7.exp.json @@ -0,0 +1,1079 @@ +{ + "fields": [ + { + "name": "table", + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80", + "value": [ + { + "string": "blue", + "raw_string": "blue" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:8:14-2:12:18", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:12:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:7:13", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:8:14-2:12:18", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:17:23", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:12:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:7:13", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:8:14-2:12:18", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:14:20-2:17:23", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:17:49", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:14:46-5:17:49", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:18:80", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80", + "value": [ + { + "string": "blue", + "raw_string": "blue" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:7:13", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:12:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:7:13", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:8:14-2:12:18", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:17:23", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:12:18", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:2:8-2:7:13", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:8:14-2:12:18", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,2:14:20-2:17:23", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:17:49", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:14:46-5:17:49", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:18:80", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80", + "value": [ + { + "string": "blue", + "raw_string": "blue" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:9:90-10:18:99", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:7:88", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:7:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:7:88", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:18:99", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:7:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:7:88", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:9:90-10:18:99", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "a", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:5:105-11:6:106", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:14:46-5:17:49", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:17:49", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:14:46-5:17:49", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:17:49", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:12:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:2:34-5:7:39", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:8:40-5:12:44", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,5:14:46-5:17:49", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:3:103", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:3:103", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:3:103", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:6:106", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:3:103", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:3:103", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:5:105-11:6:106", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/7.d2,8:0:53-8:5:58", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/7.d2,8:0:53-8:5:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,8:0:53-8:5:58", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,8:0:53-12:1:108", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,8:0:53-8:5:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,8:0:53-8:5:58", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/alixander-review/7.d2,8:7:60-12:1:108", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:18:80", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:12:74", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:2:64-9:7:69", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:8:70-9:12:74", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,9:14:76-9:18:80", + "value": [ + { + "string": "blue", + "raw_string": "blue" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:18:99", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:7:88", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:2:83-10:7:88", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,10:9:90-10:18:99", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:6:106", + "key": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:3:103", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:2:102-11:3:103", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/7.d2,11:5:105-11:6:106", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/errors/glob-edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/8.exp.json similarity index 54% rename from testdata/d2ir/TestCompile/patterns/errors/glob-edge-glob-index.exp.json rename to testdata/d2ir/TestCompile/patterns/alixander-review/8.exp.json index 9735275e6..8beb437d0 100644 --- a/testdata/d2ir/TestCompile/patterns/errors/glob-edge-glob-index.exp.json +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/8.exp.json @@ -5,7 +5,7 @@ "references": [ { "string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "value": [ { "string": "b", @@ -14,11 +14,11 @@ ] }, "key_path": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "value": [ { "string": "b", @@ -31,33 +31,13 @@ }, "context": { "edge": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "value": [ { "string": "b", @@ -68,39 +48,36 @@ } ] }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, "dst_arrow": ">" }, "key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", "edges": [ { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", - "value": [ - { - "string": "*", - "raw_string": "*" - } - ], - "pattern": [ - "*" - ] - } - } - ] - }, - "src_arrow": "", - "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "value": [ { "string": "b", @@ -111,50 +88,149 @@ } ] }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, "dst_arrow": ">" } ], - "edge_key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", + "src": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "value": [ { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", - "value": [ - { - "string": "fill", - "raw_string": "fill" + "string": "b", + "raw_string": "b" } ] } } ] }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", - "value": [ - { - "string": "red", - "raw_string": "red" + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] } - ] + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", + "src": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" } - } + ], + "primary": {}, + "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -167,7 +243,7 @@ ], "src_arrow": false, "dst_path": [ - "b" + "c" ], "dst_arrow": true, "index": 0, @@ -180,10 +256,10 @@ "composite": { "fields": [ { - "name": "fill", + "name": "stroke", "primary": { "value": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,2:26:57-2:29:60", "value": [ { "string": "red", @@ -195,20 +271,20 @@ "references": [ { "string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:18:49-2:24:55", "value": [ { - "string": "fill", - "raw_string": "fill" + "string": "stroke", + "raw_string": "stroke" } ] }, "key_path": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:24:55", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:17:48", "value": [ { "string": "style", @@ -219,11 +295,11 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:18:49-2:24:55", "value": [ { - "string": "fill", - "raw_string": "fill" + "string": "stroke", + "raw_string": "stroke" } ] } @@ -232,13 +308,13 @@ }, "context": { "edge": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:7:38", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "value": [ { "string": "*", @@ -254,16 +330,19 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "value": [ { - "string": "b", - "raw_string": "b" + "string": "*", + "raw_string": "*" } + ], + "pattern": [ + "*" ] } } @@ -272,16 +351,16 @@ "dst_arrow": ">" }, "key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,2:0:31-2:29:60", "edges": [ { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:7:38", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "value": [ { "string": "*", @@ -297,16 +376,19 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "value": [ { - "string": "b", - "raw_string": "b" + "string": "*", + "raw_string": "*" } + ], + "pattern": [ + "*" ] } } @@ -315,12 +397,17 @@ "dst_arrow": ">" } ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/8.d2,2:8:39-2:11:42", + "int": null, + "glob": true + }, "edge_key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:24:55", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:17:48", "value": [ { "string": "style", @@ -331,11 +418,11 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:18:49-2:24:55", "value": [ { - "string": "fill", - "raw_string": "fill" + "string": "stroke", + "raw_string": "stroke" } ] } @@ -345,7 +432,7 @@ "primary": {}, "value": { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,2:26:57-2:29:60", "value": [ { "string": "red", @@ -355,7 +442,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] } @@ -365,7 +454,7 @@ "references": [ { "string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:17:48", "value": [ { "string": "style", @@ -374,11 +463,11 @@ ] }, "key_path": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:24:55", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:17:48", "value": [ { "string": "style", @@ -389,11 +478,11 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:18:49-2:24:55", "value": [ { - "string": "fill", - "raw_string": "fill" + "string": "stroke", + "raw_string": "stroke" } ] } @@ -402,13 +491,13 @@ }, "context": { "edge": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:7:38", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "value": [ { "string": "*", @@ -424,16 +513,19 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "value": [ { - "string": "b", - "raw_string": "b" + "string": "*", + "raw_string": "*" } + ], + "pattern": [ + "*" ] } } @@ -442,16 +534,16 @@ "dst_arrow": ">" }, "key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,2:0:31-2:29:60", "edges": [ { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:7:38", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "value": [ { "string": "*", @@ -467,16 +559,19 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "value": [ { - "string": "b", - "raw_string": "b" + "string": "*", + "raw_string": "*" } + ], + "pattern": [ + "*" ] } } @@ -485,12 +580,17 @@ "dst_arrow": ">" } ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/8.d2,2:8:39-2:11:42", + "int": null, + "glob": true + }, "edge_key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:24:55", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:17:48", "value": [ { "string": "style", @@ -501,11 +601,11 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:18:49-2:24:55", "value": [ { - "string": "fill", - "raw_string": "fill" + "string": "stroke", + "raw_string": "stroke" } ] } @@ -515,7 +615,7 @@ "primary": {}, "value": { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,2:26:57-2:29:60", "value": [ { "string": "red", @@ -525,7 +625,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] } @@ -536,13 +638,100 @@ { "context": { "edge": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", + "edges": [ + { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:6:68", + "src": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:0:62-4:1:63", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,4:5:67-4:6:68", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:7:38", + "src": { + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "value": [ { "string": "*", @@ -558,16 +747,19 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "value": [ { - "string": "b", - "raw_string": "b" + "string": "*", + "raw_string": "*" } + ], + "pattern": [ + "*" ] } } @@ -576,16 +768,16 @@ "dst_arrow": ">" }, "key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:0:0-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,2:0:31-2:29:60", "edges": [ { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:7:38", "src": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:1:1-0:2:2", + "range": "TestCompile/patterns/alixander-review/8.d2,2:1:32-2:2:33", "value": [ { "string": "*", @@ -601,16 +793,19 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:6:6-0:7:7", + "range": "TestCompile/patterns/alixander-review/8.d2,2:6:37-2:7:38", "value": [ { - "string": "b", - "raw_string": "b" + "string": "*", + "raw_string": "*" } + ], + "pattern": [ + "*" ] } } @@ -619,12 +814,17 @@ "dst_arrow": ">" } ], + "edge_index": { + "range": "TestCompile/patterns/alixander-review/8.d2,2:8:39-2:11:42", + "int": null, + "glob": true + }, "edge_key": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:24:55", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:9:9-0:14:14", + "range": "TestCompile/patterns/alixander-review/8.d2,2:12:43-2:17:48", "value": [ { "string": "style", @@ -635,11 +835,11 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:15:15-0:19:19", + "range": "TestCompile/patterns/alixander-review/8.d2,2:18:49-2:24:55", "value": [ { - "string": "fill", - "raw_string": "fill" + "string": "stroke", + "raw_string": "stroke" } ] } @@ -649,7 +849,7 @@ "primary": {}, "value": { "unquoted_string": { - "range": "TestCompile/patterns/errors/glob-edge-glob-index.d2,0:21:21-0:24:24", + "range": "TestCompile/patterns/alixander-review/8.d2,2:26:57-2:29:60", "value": [ { "string": "red", @@ -659,7 +859,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] } diff --git a/testdata/d2ir/TestCompile/patterns/case.exp.json b/testdata/d2ir/TestCompile/patterns/case.exp.json deleted file mode 100644 index 4c0ba1765..000000000 --- a/testdata/d2ir/TestCompile/patterns/case.exp.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "fields": [ - { - "name": "animal", - "primary": { - "value": { - "range": "TestCompile/patterns/case.d2,2:4:29-2:11:36", - "value": [ - { - "string": "globbed", - "raw_string": "globbed" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/case.d2,0:0:0-0:12:12", - "key": { - "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/case.d2,0:0:0-0:6:6", - "value": [ - { - "string": "animal", - "raw_string": "animal" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/case.d2,0:8:8-0:12:12", - "value": [ - { - "string": "meow", - "raw_string": "meow" - } - ] - } - } - } - } - } - ] - }, - { - "name": "action", - "primary": { - "value": { - "range": "TestCompile/patterns/case.d2,2:4:29-2:11:36", - "value": [ - { - "string": "globbed", - "raw_string": "globbed" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/case.d2,1:0:13-1:11:24", - "key": { - "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/case.d2,1:0:13-1:6:19", - "value": [ - { - "string": "action", - "raw_string": "action" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/case.d2,1:8:21-1:11:24", - "value": [ - { - "string": "yes", - "raw_string": "yes" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null -} diff --git a/testdata/d2ir/TestCompile/patterns/case/1.exp.json b/testdata/d2ir/TestCompile/patterns/case/1.exp.json index 292d5d24e..5d27f6319 100644 --- a/testdata/d2ir/TestCompile/patterns/case/1.exp.json +++ b/testdata/d2ir/TestCompile/patterns/case/1.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -150,7 +152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/case/2.exp.json b/testdata/d2ir/TestCompile/patterns/case/2.exp.json index 283008b8a..c0331792b 100644 --- a/testdata/d2ir/TestCompile/patterns/case/2.exp.json +++ b/testdata/d2ir/TestCompile/patterns/case/2.exp.json @@ -63,7 +63,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -130,7 +132,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/1.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/1.exp.json index 804f187d0..5c880b983 100644 --- a/testdata/d2ir/TestCompile/patterns/double-glob/1.exp.json +++ b/testdata/d2ir/TestCompile/patterns/double-glob/1.exp.json @@ -139,7 +139,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -260,7 +262,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -339,7 +343,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -478,7 +484,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -599,7 +607,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -678,7 +688,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -813,7 +825,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -934,7 +948,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1013,7 +1029,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1086,7 +1104,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/defaults.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/defaults.exp.json new file mode 100644 index 000000000..355e0094b --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/double-glob/defaults.exp.json @@ -0,0 +1,2361 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "scenarios", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,4:0:22-4:1:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,5:0:24-5:1:25", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,6:0:26-6:1:27", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,7:0:28-7:1:29", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "p", + "composite": { + "fields": [ + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:17:48", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:10:41-9:11:42", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:11:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:10:41-9:11:42", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:18:49", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:11:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:10:41-9:11:42", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:13:44-9:18:49", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:17:48", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-2:1:20", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:4:4-2:1:20", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:12:18", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-2:1:20", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:4:4-2:1:20", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:12:18", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:11:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:10:41-9:11:42", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:18:49", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:11:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:0:31-9:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:10:41-9:11:42", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:13:44-9:18:49", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:17:48", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,9:15:46-9:16:47", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-2:1:20", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:4:4-2:1:20", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:12:18", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-2:1:20", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:0:0-0:2:2", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,0:4:4-2:1:20", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:12:18", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:1:7-1:6:12", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,1:8:14-1:12:18", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "p", + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:14:64", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:7:57-10:8:58", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:8:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:6:56", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:7:57-10:8:58", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:15:65", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:8:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:6:56", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:7:57-10:8:58", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:10:60-10:15:65", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:14:64", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:6:56", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:8:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:6:56", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:7:57-10:8:58", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:15:65", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:8:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:0:50-10:6:56", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:7:57-10:8:58", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:10:60-10:15:65", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:14:64", + "key": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/double-glob/defaults.d2,10:12:62-10:13:63", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/edge-no-container.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/edge-no-container.exp.json index 9e115779c..280e2698a 100644 --- a/testdata/d2ir/TestCompile/patterns/double-glob/edge-no-container.exp.json +++ b/testdata/d2ir/TestCompile/patterns/double-glob/edge-no-container.exp.json @@ -56,7 +56,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -116,7 +118,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -172,7 +176,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -281,7 +287,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -442,7 +450,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -600,7 +610,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -747,7 +759,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -883,7 +897,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1018,7 +1034,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1153,7 +1171,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/edge/1.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/edge/1.exp.json index 209501268..1aec90b3b 100644 --- a/testdata/d2ir/TestCompile/patterns/double-glob/edge/1.exp.json +++ b/testdata/d2ir/TestCompile/patterns/double-glob/edge/1.exp.json @@ -56,7 +56,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -112,7 +114,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -221,7 +225,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -363,7 +369,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -423,7 +431,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -509,7 +519,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -667,7 +679,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -803,7 +817,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/double-glob/edge/2.exp.json b/testdata/d2ir/TestCompile/patterns/double-glob/edge/2.exp.json index ec8c116c4..694a4faf2 100644 --- a/testdata/d2ir/TestCompile/patterns/double-glob/edge/2.exp.json +++ b/testdata/d2ir/TestCompile/patterns/double-glob/edge/2.exp.json @@ -163,7 +163,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -220,7 +222,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -367,7 +371,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -503,7 +509,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json index 8da87a6c9..03bd3132f 100644 --- a/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json +++ b/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -221,7 +223,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -331,7 +335,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -483,7 +489,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -635,7 +643,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -787,7 +797,933 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -902,7 +1838,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1012,7 +1950,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1122,7 +2062,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -1274,7 +2216,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -1426,7 +2370,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -1578,7 +2524,933 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1778,7 +3650,339 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1947,7 +4151,339 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -2038,7 +4574,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -2165,7 +4703,267 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2363,7 +5161,339 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -2532,7 +5662,339 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -2623,7 +6085,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -2750,7 +6214,267 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2948,7 +6672,339 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -3117,7 +7173,339 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -3208,7 +7596,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -3335,7 +7725,267 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:0:21-3:27:48", + "edges": [ + { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:7:28", + "src": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:1:22-3:2:23", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:6:27-3:7:28", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:8:29-3:11:32", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:22:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:12:33-3:17:38", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:18:39-3:22:43", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/edge-glob-index.d2,3:24:45-3:27:48", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/edge-nexus.exp.json b/testdata/d2ir/TestCompile/patterns/edge-nexus.exp.json index ee685d494..687051252 100644 --- a/testdata/d2ir/TestCompile/patterns/edge-nexus.exp.json +++ b/testdata/d2ir/TestCompile/patterns/edge-nexus.exp.json @@ -52,7 +52,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -108,7 +110,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -164,7 +168,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -220,7 +226,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -341,7 +349,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -450,7 +460,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -557,7 +569,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -664,7 +678,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -771,7 +787,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/edge/1.exp.json b/testdata/d2ir/TestCompile/patterns/edge/1.exp.json index 087072d2d..e961e1ac3 100644 --- a/testdata/d2ir/TestCompile/patterns/edge/1.exp.json +++ b/testdata/d2ir/TestCompile/patterns/edge/1.exp.json @@ -52,7 +52,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -108,7 +110,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -227,7 +231,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -344,7 +350,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/edge/2.exp.json b/testdata/d2ir/TestCompile/patterns/edge/2.exp.json index 016f524db..02950f5d0 100644 --- a/testdata/d2ir/TestCompile/patterns/edge/2.exp.json +++ b/testdata/d2ir/TestCompile/patterns/edge/2.exp.json @@ -78,7 +78,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -156,7 +158,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -295,7 +299,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -432,7 +438,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -510,7 +518,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -583,7 +593,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/edge/3.exp.json b/testdata/d2ir/TestCompile/patterns/edge/3.exp.json index a6a0200bc..8d19eaaa5 100644 --- a/testdata/d2ir/TestCompile/patterns/edge/3.exp.json +++ b/testdata/d2ir/TestCompile/patterns/edge/3.exp.json @@ -78,7 +78,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -156,7 +158,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -335,7 +339,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -512,7 +518,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -590,7 +598,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -663,7 +673,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/escaped.exp.json b/testdata/d2ir/TestCompile/patterns/escaped.exp.json index 27262dd30..8048e9a5a 100644 --- a/testdata/d2ir/TestCompile/patterns/escaped.exp.json +++ b/testdata/d2ir/TestCompile/patterns/escaped.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -150,7 +152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -227,7 +231,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json index 76ba3598f..1d9dceda1 100644 --- a/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json +++ b/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -221,7 +223,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -331,7 +335,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -446,7 +452,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -556,7 +564,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -666,7 +676,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -776,7 +788,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -934,7 +948,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -1092,7 +1108,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -1250,7 +1268,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false }, { "string": { @@ -1408,7 +1428,969 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1523,7 +2505,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1729,7 +2713,351 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1904,7 +3232,351 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -1995,7 +3667,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -2128,7 +3802,279 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2332,7 +4278,351 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -2507,7 +4797,351 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -2598,7 +5232,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -2731,7 +5367,279 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2935,7 +5843,351 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -3110,7 +6362,351 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -3201,7 +6797,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -3334,7 +6932,279 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:0:28-4:27:55", + "edges": [ + { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:7:35", + "src": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:1:29-4:2:30", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:6:34-4:7:35", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:8:36-4:11:39", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:22:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:12:40-4:17:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:18:46-4:22:50", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/glob-edge-glob-index.d2,4:24:52-4:27:55", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3538,7 +7408,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -3713,7 +7585,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -3804,7 +7678,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -3937,7 +7813,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/import-glob/1.exp.json b/testdata/d2ir/TestCompile/patterns/import-glob/1.exp.json new file mode 100644 index 000000000..7c0aa92b0 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/import-glob/1.exp.json @@ -0,0 +1,143 @@ +{ + "fields": [ + { + "name": "before", + "primary": { + "value": { + "range": "globs.d2,2:5:24-2:9:28", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "index.d2,0:0:0-0:6:6", + "value": [ + { + "string": "before", + "raw_string": "before" + } + ] + }, + "key_path": { + "range": "index.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:0:0-0:6:6", + "value": [ + { + "string": "before", + "raw_string": "before" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:0:0-0:6:6", + "key": { + "range": "index.d2,0:0:0-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:0:0-0:6:6", + "value": [ + { + "string": "before", + "raw_string": "before" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "after", + "primary": { + "value": { + "range": "globs.d2,2:5:24-2:9:28", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + }, + "references": [ + { + "string": { + "range": "index.d2,0:22:22-0:27:27", + "value": [ + { + "string": "after", + "raw_string": "after" + } + ] + }, + "key_path": { + "range": "index.d2,0:22:22-0:27:27", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:22:22-0:27:27", + "value": [ + { + "string": "after", + "raw_string": "after" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,0:22:22-0:27:27", + "key": { + "range": "index.d2,0:22:22-0:27:27", + "path": [ + { + "unquoted_string": { + "range": "index.d2,0:22:22-0:27:27", + "value": [ + { + "string": "after", + "raw_string": "after" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/import-glob/2.exp.json b/testdata/d2ir/TestCompile/patterns/import-glob/2.exp.json new file mode 100644 index 000000000..a55fa2287 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/import-glob/2.exp.json @@ -0,0 +1,1415 @@ +{ + "fields": [ + { + "name": "x", + "primary": { + "value": { + "range": "rules.d2,1:5:25-1:9:29", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "rules.d2,2:0:30-2:1:31", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "rules.d2,2:0:30-2:1:31", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,2:0:30-2:1:31", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,2:0:30-2:1:31", + "key": { + "range": "rules.d2,2:0:30-2:1:31", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,2:0:30-2:1:31", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "hi", + "primary": { + "value": { + "range": "rules.d2,1:5:25-1:9:29", + "value": [ + { + "string": "meow", + "raw_string": "meow" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "rules.d2,0:0:0-0:19:19", + "key": { + "range": "rules.d2,0:0:0-0:14:14", + "path": [ + { + "unquoted_string": { + "range": "rules.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:4:4-0:9:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "rules.d2,0:10:10-0:14:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "rules.d2,0:16:16-0:19:19", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "index.d2,1:0:13-1:2:15", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + }, + "key_path": { + "range": "index.d2,1:0:13-1:2:15", + "path": [ + { + "unquoted_string": { + "range": "index.d2,1:0:13-1:2:15", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "index.d2,1:0:13-1:2:15", + "key": { + "range": "index.d2,1:0:13-1:2:15", + "path": [ + { + "unquoted_string": { + "range": "index.d2,1:0:13-1:2:15", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/nested/prefix-suffix/3.exp.json b/testdata/d2ir/TestCompile/patterns/nested/prefix-suffix/3.exp.json index 9b5259d95..c25616563 100644 --- a/testdata/d2ir/TestCompile/patterns/nested/prefix-suffix/3.exp.json +++ b/testdata/d2ir/TestCompile/patterns/nested/prefix-suffix/3.exp.json @@ -125,7 +125,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -236,7 +238,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -381,7 +385,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -492,7 +498,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -621,7 +629,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -732,7 +742,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -877,7 +889,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } @@ -988,7 +1002,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } 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..8efff4de9 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/1.exp.json @@ -0,0 +1,1147 @@ +{ + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41", + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41", + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41", + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41", + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41", + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/1.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,1:0:1-1:21:22", + "key": { + "range": "TestCompile/patterns/override/1.d2,1:0:1-1:13:14", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,1:0:1-1:2:3", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,1:3:4-1:8:9", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,1:9:10-1:13:14", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,1:15:16-1:21:22", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:18:41", + "key": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:13:36", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:0:23-2:2:25", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:3:26-2:8:31", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:9:32-2:13:36", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/1.d2,2:15:38-2:18:41", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "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..54f0423bd --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/2.exp.json @@ -0,0 +1,2506 @@ +{ + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65", + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65", + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65", + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65", + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65", + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:22:65", + "key": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:17:60", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:4:47-5:6:49", + "value": [ + { + "string": "**", + "raw_string": "**" + } + ], + "pattern": [ + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:7:50-5:12:55", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:13:56-5:17:60", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,5:19:62-5:22:65", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "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": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:22:23", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:0:1-1:3:4", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:4:5-1:9:10", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:10:11-1:14:15", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/2.d2,1:16:17-1:22:23", + "value": [ + { + "string": "yellow", + "raw_string": "yellow" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/override/3.exp.json b/testdata/d2ir/TestCompile/patterns/override/3.exp.json new file mode 100644 index 000000000..604061dc0 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/3.exp.json @@ -0,0 +1,8530 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "hi", + "composite": { + "fields": [ + { + "name": "scenarios", + "composite": { + "fields": [ + { + "name": "b", + "composite": { + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-13:7:189", + "key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,10:9:112-13:7:189", + "nodes": [ + { + "comment": { + "range": "TestCompile/patterns/override/3.d2,11:8:122-11:52:166", + "value": "This label is \"hi\", but it should be \"bye\"" + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + }, + "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": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-14:5:195", + "key": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,9:15:101-14:5:195", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-13:7:189", + "key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,10:9:112-13:7:189", + "nodes": [ + { + "comment": { + "range": "TestCompile/patterns/override/3.d2,11:8:122-11:52:166", + "value": "This label is \"hi\", but it should be \"bye\"" + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "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": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-6:4:50", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-6:4:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-6:4:50", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-15:3:199", + "key": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-6:4:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-6:4:50", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,6:6:52-15:3:199", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-14:5:195", + "key": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,9:15:101-14:5:195", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-13:7:189", + "key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,10:9:112-13:7:189", + "nodes": [ + { + "comment": { + "range": "TestCompile/patterns/override/3.d2,11:8:122-11:52:166", + "value": "This label is \"hi\", but it should be \"bye\"" + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,5:0:36-5:6:42", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,5:0:36-5:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,5:0:36-5:6:42", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,5:0:36-16:1:201", + "key": { + "range": "TestCompile/patterns/override/3.d2,5:0:36-5:6:42", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,5:0:36-5:6:42", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,5:8:44-16:1:201", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-15:3:199", + "key": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-6:4:50", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,6:2:48-6:4:50", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,6:6:52-15:3:199", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,7:4:58-7:30:84", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:15:69", + "src": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:5:59-7:8:62", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:12:66-7:15:69", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,7:16:70-7:19:73", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:20:74-7:25:79", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,7:27:81-7:30:84", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-14:5:195", + "key": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,9:4:90-9:13:99", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,9:15:101-14:5:195", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-13:7:189", + "key": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,10:6:109-10:7:110", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/3.d2,10:9:112-13:7:189", + "nodes": [ + { + "comment": { + "range": "TestCompile/patterns/override/3.d2,11:8:122-11:52:166", + "value": "This label is \"hi\", but it should be \"bye\"" + } + }, + { + "map_key": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:14:181", + "src": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:8:175-12:9:176", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,12:13:180-12:14:181", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "b" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "hi" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "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" + } + ] + } + } + ] + }, + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/3.d2,1:0:1-1:25:26", + "edges": [ + { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/3.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/3.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/override/4.exp.json b/testdata/d2ir/TestCompile/patterns/override/4.exp.json new file mode 100644 index 000000000..40b076ead --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/4.exp.json @@ -0,0 +1,861 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-5:1:52", + "edges": [ + { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/4.d2,3:8:36-5:1:52", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:12:50", + "key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:9:47-4:12:50", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-5:1:52", + "edges": [ + { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/4.d2,3:8:36-5:1:52", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:12:50", + "key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:9:47-4:12:50", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/patterns/override/4.d2,4:9:47-4:12:50", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/4.d2,1:0:1-1:25:26", + "edges": [ + { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/4.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:12:50", + "key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:9:47-4:12:50", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-5:1:52", + "edges": [ + { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:6:34", + "src": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:0:28-3:1:29", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,3:5:33-3:6:34", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/override/4.d2,3:8:36-5:1:52", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:12:50", + "key": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:2:40-4:7:45", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,4:9:47-4:12:50", + "value": [ + { + "string": "bye", + "raw_string": "bye" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/4.d2,1:0:1-1:25:26", + "edges": [ + { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/4.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/4.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/override/5.exp.json b/testdata/d2ir/TestCompile/patterns/override/5.exp.json new file mode 100644 index 000000000..e73c6eed9 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/5.exp.json @@ -0,0 +1,998 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "src": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "edges": [ + { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "src": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "src": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "edges": [ + { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "src": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "label", + "primary": { + "value": { + "range": "TestCompile/patterns/override/5.d2,6:23:105-6:26:108", + "value": [ + { + "string": "hey", + "raw_string": "hey" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/5.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/5.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/5.d2,1:0:1-1:25:26", + "edges": [ + { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/5.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/5.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/override/5.d2,6:16:98-6:21:103", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/5.d2,6:16:98-6:21:103", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:16:98-6:21:103", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:11:93", + "src": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/5.d2,6:0:82-6:26:108", + "edges": [ + { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:11:93", + "src": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/5.d2,6:12:94-6:15:97", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/5.d2,6:16:98-6:21:103", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:16:98-6:21:103", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:23:105-6:26:108", + "value": [ + { + "string": "hey", + "raw_string": "hey" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "src": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "edges": [ + { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:6:80", + "src": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:0:74-4:1:75", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,4:5:79-4:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/5.d2,1:0:1-1:25:26", + "edges": [ + { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:11:12", + "src": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:1:2-1:4:5", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:8:9-1:11:12", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/5.d2,1:12:13-1:15:16", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/5.d2,1:16:17-1:21:22", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:16:17-1:21:22", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,1:23:24-1:25:26", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:11:93", + "src": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/override/5.d2,6:0:82-6:26:108", + "edges": [ + { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:11:93", + "src": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:1:83-6:4:86", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:8:90-6:11:93", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/patterns/override/5.d2,6:12:94-6:15:97", + "int": null, + "glob": true + }, + "edge_key": { + "range": "TestCompile/patterns/override/5.d2,6:16:98-6:21:103", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:16:98-6:21:103", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/5.d2,6:23:105-6:26:108", + "value": [ + { + "string": "hey", + "raw_string": "hey" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/override/6.exp.json b/testdata/d2ir/TestCompile/patterns/override/6.exp.json new file mode 100644 index 000000000..f52183c3e --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/6.exp.json @@ -0,0 +1,477 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/6.d2,2:0:29-2:1:30", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/6.d2,2:0:29-2:1:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,2:0:29-2:1:30", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/6.d2,2:0:29-2:1:30", + "key": { + "range": "TestCompile/patterns/override/6.d2,2:0:29-2:1:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,2:0:29-2:1:30", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/override/6.d2,4:0:95-4:1:96", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/6.d2,4:0:95-4:6:101", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,4:0:95-4:1:96", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,4:2:97-4:6:101", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/6.d2,4:0:95-4:12:107", + "key": { + "range": "TestCompile/patterns/override/6.d2,4:0:95-4:6:101", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,4:0:95-4:1:96", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,4:2:97-4:6:101", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/6.d2,4:8:103-4:12:107" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/override/6.d2,12:0:253-12:1:254", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/6.d2,12:0:253-12:7:260", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,12:0:253-12:1:254", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,12:2:255-12:7:260", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/6.d2,12:0:253-12:13:266", + "key": { + "range": "TestCompile/patterns/override/6.d2,12:0:253-12:7:260", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,12:0:253-12:1:254", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,12:2:255-12:7:260", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/6.d2,12:9:262-12:13:266" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/6.d2,7:0:138-7:1:139", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/6.d2,7:0:138-7:6:144", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,7:0:138-7:1:139", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,7:2:140-7:6:144", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/6.d2,7:0:138-7:62:200", + "key": { + "range": "TestCompile/patterns/override/6.d2,7:0:138-7:6:144", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,7:0:138-7:1:139", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,7:2:140-7:6:144", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,7:8:146-7:62:200", + "value": [ + { + "string": "https://icons.terrastruct.com/essentials%2F073-add.svg", + "raw_string": "https://icons.terrastruct.com/essentials%2F073-add.svg" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/override/6.d2,8:0:201-8:1:202", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/6.d2,8:0:201-8:6:207", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,8:0:201-8:1:202", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,8:2:203-8:6:207", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/6.d2,8:0:201-8:12:213", + "key": { + "range": "TestCompile/patterns/override/6.d2,8:0:201-8:6:207", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,8:0:201-8:1:202", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,8:2:203-8:6:207", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/6.d2,8:8:209-8:12:213" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/override/6.d2,13:0:267-13:1:268", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/6.d2,13:0:267-13:7:274", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,13:0:267-13:1:268", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,13:2:269-13:7:274", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/6.d2,13:0:267-13:13:280", + "key": { + "range": "TestCompile/patterns/override/6.d2,13:0:267-13:7:274", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,13:0:267-13:1:268", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/6.d2,13:2:269-13:7:274", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/6.d2,13:9:276-13:13:280" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/override/7.exp.json b/testdata/d2ir/TestCompile/patterns/override/7.exp.json new file mode 100644 index 000000000..6658f0928 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/override/7.exp.json @@ -0,0 +1,424 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/7.d2,3:0:93-3:1:94", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/7.d2,3:0:93-3:6:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,3:0:93-3:1:94", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,3:2:95-3:6:99", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/7.d2,3:0:93-3:12:105", + "key": { + "range": "TestCompile/patterns/override/7.d2,3:0:93-3:6:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,3:0:93-3:1:94", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,3:2:95-3:6:99", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/7.d2,3:8:101-3:12:105" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/override/7.d2,11:0:251-11:1:252", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/7.d2,11:0:251-11:7:258", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,11:0:251-11:1:252", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,11:2:253-11:7:258", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/7.d2,11:0:251-11:13:264", + "key": { + "range": "TestCompile/patterns/override/7.d2,11:0:251-11:7:258", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,11:0:251-11:1:252", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,11:2:253-11:7:258", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/7.d2,11:9:260-11:13:264" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/override/7.d2,6:0:136-6:1:137", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/7.d2,6:0:136-6:6:142", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,6:0:136-6:1:137", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,6:2:138-6:6:142", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/7.d2,6:0:136-6:62:198", + "key": { + "range": "TestCompile/patterns/override/7.d2,6:0:136-6:6:142", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,6:0:136-6:1:137", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,6:2:138-6:6:142", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,6:8:144-6:62:198", + "value": [ + { + "string": "https://icons.terrastruct.com/essentials%2F073-add.svg", + "raw_string": "https://icons.terrastruct.com/essentials%2F073-add.svg" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/override/7.d2,7:0:199-7:1:200", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/7.d2,7:0:199-7:6:205", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,7:0:199-7:1:200", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,7:2:201-7:6:205", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/7.d2,7:0:199-7:12:211", + "key": { + "range": "TestCompile/patterns/override/7.d2,7:0:199-7:6:205", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,7:0:199-7:1:200", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,7:2:201-7:6:205", + "value": [ + { + "string": "icon", + "raw_string": "icon" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/7.d2,7:8:207-7:12:211" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/override/7.d2,12:0:265-12:1:266", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/override/7.d2,12:0:265-12:7:272", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,12:0:265-12:1:266", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,12:2:267-12:7:272", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/override/7.d2,12:0:265-12:13:278", + "key": { + "range": "TestCompile/patterns/override/7.d2,12:0:265-12:7:272", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,12:0:265-12:1:266", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/override/7.d2,12:2:267-12:7:272", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "TestCompile/patterns/override/7.d2,12:9:274-12:13:278" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json b/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json index a71fb970b..db2c68dc4 100644 --- a/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json +++ b/testdata/d2ir/TestCompile/patterns/prefix-suffix.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -150,7 +152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/prefix-suffix/2.exp.json b/testdata/d2ir/TestCompile/patterns/prefix-suffix/2.exp.json index 175299dad..32d2fc713 100644 --- a/testdata/d2ir/TestCompile/patterns/prefix-suffix/2.exp.json +++ b/testdata/d2ir/TestCompile/patterns/prefix-suffix/2.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -150,7 +152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/prefix-suffix/3.exp.json b/testdata/d2ir/TestCompile/patterns/prefix-suffix/3.exp.json index 1504168b9..dfb1a9f64 100644 --- a/testdata/d2ir/TestCompile/patterns/prefix-suffix/3.exp.json +++ b/testdata/d2ir/TestCompile/patterns/prefix-suffix/3.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -150,7 +152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/prefix.exp.json b/testdata/d2ir/TestCompile/patterns/prefix.exp.json index 62dec6cc3..920eddc82 100644 --- a/testdata/d2ir/TestCompile/patterns/prefix.exp.json +++ b/testdata/d2ir/TestCompile/patterns/prefix.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -150,7 +152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/double-glob.exp.json b/testdata/d2ir/TestCompile/patterns/prevent-chain-recursion.exp.json similarity index 60% rename from testdata/d2ir/TestCompile/patterns/double-glob.exp.json rename to testdata/d2ir/TestCompile/patterns/prevent-chain-recursion.exp.json index 4696f0b15..d75403066 100644 --- a/testdata/d2ir/TestCompile/patterns/double-glob.exp.json +++ b/testdata/d2ir/TestCompile/patterns/prevent-chain-recursion.exp.json @@ -1,286 +1,22 @@ { "fields": [ { - "name": "shared", + "name": "one", "composite": { "fields": [ { - "name": "animate", - "composite": { - "fields": [ - { - "name": "style", - "composite": { - "fields": [ - { - "name": "fill", - "primary": { - "value": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", - "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", - "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", - "value": [ - { - "string": "style", - "raw_string": "style" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", - "value": [ - { - "string": "fill", - "raw_string": "fill" - } - ] - } - } - ] - }, - "primary": {}, - "value": { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", - "value": [ - { - "string": "red", - "raw_string": "red" - } - ] - } - } - } - } - } - ] - } - ], - "edges": null - }, - "references": [ - { - "string": { - "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", - "value": [ - { - "string": "animate", - "raw_string": "animate" - } - ] - }, - "key_path": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", - "value": [ - { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", - "value": [ - { - "string": "animate", - "raw_string": "animate" - } - ] - } - } - ] - }, - "context": { - "edge": null, - "key": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", - "key": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", - "path": [ - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", - "value": [ - { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", - "value": [ - { - "string": "animate", - "raw_string": "animate" - } - ] - } - } - ] - }, - "primary": {}, - "value": {} + "name": "c", + "primary": { + "value": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:5:13-2:6:14", + "value": [ + { + "string": "d", + "raw_string": "d" } - } + ] } - ] - }, - { - "name": "animal", + }, "composite": { "fields": [ { @@ -291,7 +27,7 @@ "name": "fill", "primary": { "value": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", "value": [ { "string": "red", @@ -303,7 +39,7 @@ "references": [ { "string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -312,11 +48,11 @@ ] }, "key_path": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -327,7 +63,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -341,13 +77,13 @@ "context": { "edge": null, "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -358,7 +94,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -372,7 +108,7 @@ "primary": {}, "value": { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", "value": [ { "string": "red", @@ -382,7 +118,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] } @@ -392,7 +130,7 @@ "references": [ { "string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -401,11 +139,11 @@ ] }, "key_path": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -416,7 +154,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -430,13 +168,13 @@ "context": { "edge": null, "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -447,7 +185,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -461,7 +199,7 @@ "primary": {}, "value": { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", "value": [ { "string": "red", @@ -471,7 +209,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] } @@ -481,35 +221,24 @@ "references": [ { "string": { - "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", "value": [ { - "string": "animal", - "raw_string": "animal" + "string": "c", + "raw_string": "c" } ] }, "key_path": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", "value": [ { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", - "value": [ - { - "string": "animal", - "raw_string": "animal" + "string": "c", + "raw_string": "c" } ] } @@ -519,28 +248,17 @@ "context": { "edge": null, "key": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:6:14", "key": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", "value": [ { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", - "value": [ - { - "string": "animal", - "raw_string": "animal" + "string": "c", + "raw_string": "c" } ] } @@ -548,9 +266,21 @@ ] }, "primary": {}, - "value": {} + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:5:13-2:6:14", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] }, @@ -562,7 +292,7 @@ "name": "fill", "primary": { "value": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", "value": [ { "string": "red", @@ -574,7 +304,7 @@ "references": [ { "string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -583,11 +313,11 @@ ] }, "key_path": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -598,7 +328,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -612,13 +342,13 @@ "context": { "edge": null, "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -629,7 +359,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -643,7 +373,7 @@ "primary": {}, "value": { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", "value": [ { "string": "red", @@ -653,7 +383,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] } @@ -663,7 +395,7 @@ "references": [ { "string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -672,11 +404,11 @@ ] }, "key_path": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -687,7 +419,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -701,13 +433,13 @@ "context": { "edge": null, "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:22:51", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", "key": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:6:35-2:11:40", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", "value": [ { "string": "style", @@ -718,7 +450,7 @@ }, { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:12:41-2:16:45", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", "value": [ { "string": "fill", @@ -732,7 +464,7 @@ "primary": {}, "value": { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,2:18:47-2:21:50", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", "value": [ { "string": "red", @@ -742,7 +474,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": true } ] } @@ -752,35 +486,24 @@ "references": [ { "string": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,9:0:46-9:3:49", "value": [ { - "string": "shared", - "raw_string": "shared" + "string": "one", + "raw_string": "one" } ] }, "key_path": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,9:0:46-9:3:49", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,9:0:46-9:3:49", "value": [ { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", - "value": [ - { - "string": "animate", - "raw_string": "animate" + "string": "one", + "raw_string": "one" } ] } @@ -790,28 +513,17 @@ "context": { "edge": null, "key": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,9:0:46-9:3:49", "key": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:14:14", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,9:0:46-9:3:49", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:0:0-0:6:6", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,9:0:46-9:3:49", "value": [ { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,0:7:7-0:14:14", - "value": [ - { - "string": "animate", - "raw_string": "animate" + "string": "one", + "raw_string": "one" } ] } @@ -821,39 +533,516 @@ "primary": {}, "value": {} } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "two", + "composite": { + "fields": [ + { + "name": "c", + "primary": { + "value": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:5:13-2:6:14", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:6:14", + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:2:10-2:3:11", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,2:5:13-2:6:14", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/prevent-chain-recursion.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] } - }, + ], + "edges": null + }, + "references": [ { "string": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,10:0:50-10:3:53", "value": [ { - "string": "shared", - "raw_string": "shared" + "string": "two", + "raw_string": "two" } ] }, "key_path": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,10:0:50-10:3:53", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,10:0:50-10:3:53", "value": [ { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", - "value": [ - { - "string": "animal", - "raw_string": "animal" + "string": "two", + "raw_string": "two" } ] } @@ -863,28 +1052,17 @@ "context": { "edge": null, "key": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,10:0:50-10:3:53", "key": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:13:28", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,10:0:50-10:3:53", "path": [ { "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:0:15-1:6:21", + "range": "TestCompile/patterns/prevent-chain-recursion.d2,10:0:50-10:3:53", "value": [ { - "string": "shared", - "raw_string": "shared" - } - ] - } - }, - { - "unquoted_string": { - "range": "TestCompile/patterns/double-glob.d2,1:7:22-1:13:28", - "value": [ - { - "string": "animal", - "raw_string": "animal" + "string": "two", + "raw_string": "two" } ] } @@ -894,7 +1072,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/reserved.exp.json b/testdata/d2ir/TestCompile/patterns/reserved.exp.json index 01fb1938f..196237058 100644 --- a/testdata/d2ir/TestCompile/patterns/reserved.exp.json +++ b/testdata/d2ir/TestCompile/patterns/reserved.exp.json @@ -81,7 +81,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -177,7 +179,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -302,7 +306,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -358,7 +364,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -414,7 +422,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -470,7 +480,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -606,7 +618,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -740,7 +754,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -874,7 +890,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1008,7 +1026,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1142,7 +1162,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1276,7 +1298,9 @@ } } } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/scenarios.exp.json b/testdata/d2ir/TestCompile/patterns/scenarios.exp.json index 4fdd38d3b..a352aa25a 100644 --- a/testdata/d2ir/TestCompile/patterns/scenarios.exp.json +++ b/testdata/d2ir/TestCompile/patterns/scenarios.exp.json @@ -2,32 +2,10 @@ "fields": [ { "name": "scenarios", - "primary": { - "value": { - "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", - "value": [ - { - "string": "something", - "raw_string": "something" - } - ] - } - }, "composite": { "fields": [ { "name": "meow", - "primary": { - "value": { - "range": "TestCompile/patterns/scenarios.d2,16:4:57-16:13:66", - "value": [ - { - "string": "something", - "raw_string": "something" - } - ] - } - }, "composite": { "fields": [ { @@ -93,7 +71,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -160,7 +140,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -227,7 +209,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -294,7 +278,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -449,7 +435,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -633,7 +621,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -700,7 +690,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -767,7 +759,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -834,7 +828,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -901,7 +897,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1028,7 +1026,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1153,7 +1153,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1278,7 +1280,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1403,7 +1407,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1528,7 +1534,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1653,7 +1661,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1778,7 +1788,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -1903,7 +1915,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2028,7 +2042,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2153,7 +2169,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2278,7 +2296,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2403,7 +2423,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2524,7 +2546,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2645,7 +2669,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2766,7 +2792,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -2887,7 +2915,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3008,7 +3038,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3129,7 +3161,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3250,7 +3284,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3371,7 +3407,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3492,7 +3530,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3613,7 +3653,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3734,7 +3776,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] }, @@ -3855,7 +3899,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": true, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/single-glob/defaults.exp.json b/testdata/d2ir/TestCompile/patterns/single-glob/defaults.exp.json new file mode 100644 index 000000000..ab8e85c96 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/single-glob/defaults.exp.json @@ -0,0 +1,6557 @@ +{ + "fields": [ + { + "name": "wrapper", + "composite": { + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "scenarios", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "wrapper", + "composite": { + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "p", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:8:21-1:12:25", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,1:1:14-1:6:19", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "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" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:23:93-9:24:94", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:24:94", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:23:93-9:24:94", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:25:95", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:24:94", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:23:93-9:24:94", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:9:38", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:0:29-4:7:36", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,4:8:37-4:9:38", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:9:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:0:39-5:7:46", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,5:8:47-5:9:48", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:9:58", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:0:49-6:7:56", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,6:8:57-6:9:58", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:9:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:0:59-7:7:66", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,7:8:67-7:9:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:24:94", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:23:93-9:24:94", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:25:95", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:24:94", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:23:93-9:24:94", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-0:7:7", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "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/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": ",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/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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,0:0:0-0:7:7", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "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/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": ",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/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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:10:80-9:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:10:80-9:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:26:96", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:10:80-9:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:13:83-9:26:96", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:25:95", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:24:94", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:23:93-9:24:94", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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/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": ",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/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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/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": ",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/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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:10:80-9:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:26:96", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:0:70-9:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:10:80-9:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:13:83-9:26:96", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:25:95", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:24:94", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:15:85-9:22:92", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,9:23:93-9:24:94", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/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": ",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/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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/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": ",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/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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "wrapper", + "composite": { + "fields": [ + { + "name": "p", + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:20:117-10:21:118", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:21:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:19:116", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:20:117-10:21:118", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:22:119", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:21:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:19:116", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:20:117-10:21:118", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:19:116", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:21:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:19:116", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:20:117-10:21:118", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:22:119", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:21:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:19:116", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:20:117-10:21:118", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:7:104-10:8:105", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:8:105", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:6:103", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:7:104-10:8:105", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:23:120", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:8:105", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:6:103", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:7:104-10:8:105", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:10:107-10:23:120", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:22:119", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:21:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:19:116", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:20:117-10:21:118", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:6:103", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:8:105", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:6:103", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:7:104-10:8:105", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:23:120", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:8:105", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:0:97-10:6:103", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:7:104-10:8:105", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:10:107-10:23:120", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:22:119", + "key": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:21:118", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:12:109-10:19:116", + "value": [ + { + "string": "wrapper", + "raw_string": "wrapper" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/single-glob/defaults.d2,10:20:117-10:21:118", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/suffix.exp.json b/testdata/d2ir/TestCompile/patterns/suffix.exp.json index 40da3b5a1..b0cb6cbeb 100644 --- a/testdata/d2ir/TestCompile/patterns/suffix.exp.json +++ b/testdata/d2ir/TestCompile/patterns/suffix.exp.json @@ -73,7 +73,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -150,7 +152,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/patterns/table-class-exception.exp.json b/testdata/d2ir/TestCompile/patterns/table-class-exception.exp.json new file mode 100644 index 000000000..8b4fedc2d --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/table-class-exception.exp.json @@ -0,0 +1,1268 @@ +{ + "fields": [ + { + "name": "table", + "composite": { + "fields": [ + { + "name": "c", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,2:5:13-2:6:14", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:6:14", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,2:2:10-2:3:11", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,2:5:13-2:6:14", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,10:9:64-10:18:73", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:18:73", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,10:9:64-10:18:73", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "a", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,11:5:79-11:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + "composite": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "fill", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:17:42", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:12:37", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:2:27-6:7:32", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:8:33-6:12:37", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,6:14:39-6:17:42", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:3:77", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:3:77", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:3:77", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:6:80", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:3:77", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:3:77", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,11:5:79-11:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,9:0:46-9:5:51", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,9:0:46-9:5:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,9:0:46-9:5:51", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,9:0:46-12:1:82", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,9:0:46-9:5:51", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,9:0:46-9:5:51", + "value": [ + { + "string": "table", + "raw_string": "table" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/table-class-exception.d2,9:7:53-12:1:82", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:18:73", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,10:2:57-10:7:62", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,10:9:64-10:18:73", + "value": [ + { + "string": "sql_table", + "raw_string": "sql_table" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:6:80", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:3:77", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,11:2:76-11:3:77", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,11:5:79-11:6:80", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "class", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,15:9:102-15:14:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:7:100", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:7:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:7:100", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:14:107", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:7:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:7:100", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,15:9:102-15:14:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "a", + "primary": { + "value": { + "range": "TestCompile/patterns/table-class-exception.d2,16:5:113-16:6:114", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:3:111", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:3:111", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:3:111", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:6:114", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:3:111", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:3:111", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,16:5:113-16:6:114", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/table-class-exception.d2,14:0:84-14:5:89", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/table-class-exception.d2,14:0:84-14:5:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,14:0:84-14:5:89", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,14:0:84-17:1:116", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,14:0:84-14:5:89", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,14:0:84-14:5:89", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/table-class-exception.d2,14:7:91-17:1:116", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:14:107", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:7:100", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,15:2:95-15:7:100", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,15:9:102-15:14:107", + "value": [ + { + "string": "class", + "raw_string": "class" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:6:114", + "key": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:3:111", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,16:2:110-16:3:111", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/table-class-exception.d2,16:5:113-16:6:114", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/triple-glob/defaults.exp.json b/testdata/d2ir/TestCompile/patterns/triple-glob/defaults.exp.json new file mode 100644 index 000000000..0607e99f9 --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/triple-glob/defaults.exp.json @@ -0,0 +1,3293 @@ +{ + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "scenarios", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "a", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,4:0:23-4:1:24", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,5:0:25-5:1:26", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,6:0:27-6:1:28", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,7:0:29-7:1:30", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "p", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:17:49", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:10:42-9:11:43", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:11:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:9:41", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:10:42-9:11:43", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:18:50", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:11:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:9:41", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:10:42-9:11:43", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:13:45-9:18:50", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:17:49", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:9:41", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:11:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:9:41", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:10:42-9:11:43", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:18:50", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:11:43", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:0:32-9:9:41", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:10:42-9:11:43", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:13:45-9:18:50", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:17:49", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,9:15:47-9:16:48", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "p", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:14:65", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:7:58-10:8:59", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:8:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:6:57", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:7:58-10:8:59", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:15:66", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:8:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:6:57", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:7:58-10:8:59", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:10:61-10:15:66", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:14:65", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:6:57", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:8:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:6:57", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:7:58-10:8:59", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:15:66", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:8:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:0:51-10:6:57", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:7:58-10:8:59", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:10:61-10:15:66", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:14:65", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,10:12:63-10:13:64", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-2:1:21", + "key": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:0:0-0:3:3", + "value": [ + { + "string": "***", + "raw_string": "***" + } + ], + "pattern": [ + "*", + "", + "*", + "", + "*" + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,0:5:5-2:1:21", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:12:19", + "key": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:1:8-1:6:13", + "value": [ + { + "string": "shape", + "raw_string": "shape" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/defaults.d2,1:8:15-1:12:19", + "value": [ + { + "string": "page", + "raw_string": "page" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null +} diff --git a/testdata/d2ir/TestCompile/patterns/triple-glob/edge-defaults.exp.json b/testdata/d2ir/TestCompile/patterns/triple-glob/edge-defaults.exp.json new file mode 100644 index 000000000..9b2766ddb --- /dev/null +++ b/testdata/d2ir/TestCompile/patterns/triple-glob/edge-defaults.exp.json @@ -0,0 +1,8432 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "scenarios", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "c", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "d", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "p", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:22:92", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "q", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:22:92", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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", + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "d" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "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", + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "edge_id": { + "src_path": [ + "p" + ], + "src_arrow": false, + "dst_path": [ + "q" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:22:92", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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", + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:10:80-7:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:10:80-7:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:23:93", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:10:80-7:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:13:83-7:23:93", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:22:92", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:10:80-7:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:23:93", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:11:81", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:0:70-7:9:79", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:10:80-7:11:81", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:13:83-7:23:93", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:22:92", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:21:91", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:15:85-7:16:86", + "value": [ + { + "string": "p", + "raw_string": "p" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,7:20:90-7:21:91", + "value": [ + { + "string": "q", + "raw_string": "q" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "scenarios" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "name": "layers", + "composite": { + "fields": [ + { + "name": "x", + "composite": { + "fields": [ + { + "name": "j", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:19:113", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "f", + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:19:113", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "j" + ], + "src_arrow": false, + "dst_path": [ + "f" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:19:113", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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", + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:7:101-8:8:102", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:8:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:6:100", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:7:101-8:8:102", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:20:114", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:8:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:6:100", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:7:101-8:8:102", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:10:104-8:20:114", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:19:113", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:6:100", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + }, + "key_path": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:8:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:6:100", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:7:101-8:8:102", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:20:114", + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:8:102", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:0:94-8:6:100", + "value": [ + { + "string": "layers", + "raw_string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:7:101-8:8:102", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:10:104-8:20:114", + "nodes": [ + { + "map_key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:19:113", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:18:112", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:12:106-8:13:107", + "value": [ + { + "string": "j", + "raw_string": "j" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,8:17:111-8:18:112", + "value": [ + { + "string": "f", + "raw_string": "f" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + }, + "key_path": { + "range": ",0:0:0-0:0:0", + "path": [ + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "layers" + } + ] + } + }, + { + "unquoted_string": { + "range": ",0:0:0-0:0:0", + "value": [ + { + "string": "x" + } + ] + } + } + ] + }, + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:6:61", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:0:55-4:1:56", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,4:5:60-4:6:61", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + }, + { + "edge_id": { + "src_path": [ + "c" + ], + "src_arrow": false, + "dst_path": [ + "d" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "target-arrowhead", + "composite": { + "fields": [ + { + "name": "shape", + "primary": { + "value": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,1:25:44-1:32:51", + "value": [ + { + "string": "diamond", + "raw_string": "diamond" + } + ] + } + }, + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "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" + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "edges": [ + { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:6:68", + "src": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:0:62-5:1:63", + "value": [ + { + "string": "c", + "raw_string": "c" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/patterns/triple-glob/edge-defaults.d2,5:5:67-5:6:68", + "value": [ + { + "string": "d", + "raw_string": "d" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "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" + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/scenarios/edge.exp.json b/testdata/d2ir/TestCompile/scenarios/edge.exp.json index c0ef78879..86c00ee6e 100644 --- a/testdata/d2ir/TestCompile/scenarios/edge.exp.json +++ b/testdata/d2ir/TestCompile/scenarios/edge.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -226,7 +228,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -349,7 +353,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -497,7 +503,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -612,7 +620,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "string": { @@ -760,7 +770,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -952,7 +964,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1117,7 +1131,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1208,7 +1224,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false }, { "context": { @@ -1331,7 +1349,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1477,7 +1497,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1653,7 +1675,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1756,7 +1780,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/scenarios/multiple-scenario-map.exp.json b/testdata/d2ir/TestCompile/scenarios/multiple-scenario-map.exp.json new file mode 100644 index 000000000..603b8a13f --- /dev/null +++ b/testdata/d2ir/TestCompile/scenarios/multiple-scenario-map.exp.json @@ -0,0 +1,2609 @@ +{ + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:30:30", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:8:8-0:30:30", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:30:30", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:8:8-0:30:30", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "scenarios", + "composite": { + "fields": [ + { + "name": "1", + "composite": { + "fields": [ + { + "name": "a", + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:30:30", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:8:8-0:30:30", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:4:55-3:34:85", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:12:63-3:15:66", + "int": 0, + "glob": false + }, + "edge_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "b", + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:30:30", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:8:8-0:30:30", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:4:55-3:34:85", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:12:63-3:15:66", + "int": 0, + "glob": false + }, + "edge_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "z", + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:4:55-3:34:85", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:12:63-3:15:66", + "int": 0, + "glob": false + }, + "edge_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:4:55-3:34:85", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:12:63-3:15:66", + "int": 0, + "glob": false + }, + "edge_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:30:30", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:8:8-0:30:30", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:4:55-3:34:85", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:12:63-3:15:66", + "int": 0, + "glob": false + }, + "edge_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ] + }, + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-2:3:47", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-2:3:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-2:3:47", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-4:3:89", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-2:3:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-2:3:47", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:5:49-4:3:89", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:4:55-3:34:85", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:12:63-3:15:66", + "int": 0, + "glob": false + }, + "edge_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-5:3:93", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-5:3:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-5:3:93", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-7:3:103", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-5:3:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-5:3:93", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:5:95-7:3:103", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,1:0:31-1:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,1:0:31-1:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,1:0:31-1:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,1:0:31-8:1:105", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,1:0:31-1:9:40", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,1:0:31-1:9:40", + "value": [ + { + "string": "scenarios", + "raw_string": "scenarios" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,1:11:42-8:1:105", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-4:3:89", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-2:3:47", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:2:46-2:3:47", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,2:5:49-4:3:89", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:4:55-3:34:85", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:11:62", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:5:56-3:6:57", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:10:61-3:11:62", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:12:63-3:15:66", + "int": 0, + "glob": false + }, + "edge_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:29:80", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:16:67-3:21:72", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:22:73-3:29:80", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,3:31:82-3:34:85", + "raw": "0.1", + "value": "1/10" + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-7:3:103", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-5:3:93", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:2:92-5:3:93", + "value": [ + { + "string": "1", + "raw_string": "1" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,5:5:95-7:3:103", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,6:1:98-6:2:99", + "value": [ + { + "string": "z", + "raw_string": "z" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + } + ] + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": [ + { + "edge_id": { + "src_path": [ + "a" + ], + "src_arrow": false, + "dst_path": [ + "b" + ], + "dst_arrow": true, + "index": 0, + "glob": false + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ], + "edges": null + }, + "references": [ + { + "context": { + "edge": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:30:30", + "edges": [ + { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:6:6", + "src": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:0:0-0:1:1", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:5:5-0:6:6", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:8:8-0:30:30", + "nodes": [ + { + "map_key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:29:29", + "key": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:23:23", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:10:10-0:15:15", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:16:16-0:23:23", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/scenarios/multiple-scenario-map.d2,0:25:25-0:28:28", + "raw": "0.3", + "value": "3/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/scenarios/root.exp.json b/testdata/d2ir/TestCompile/scenarios/root.exp.json index 0c7ae1e33..93e644f22 100644 --- a/testdata/d2ir/TestCompile/scenarios/root.exp.json +++ b/testdata/d2ir/TestCompile/scenarios/root.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -226,7 +228,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -349,7 +353,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -464,7 +470,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -572,7 +580,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -673,7 +683,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -774,7 +786,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -877,7 +891,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -984,7 +1000,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1103,7 +1121,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1218,7 +1238,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1274,7 +1296,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1377,7 +1401,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1462,7 +1488,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1651,7 +1679,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1754,7 +1784,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/steps/recursive.exp.json b/testdata/d2ir/TestCompile/steps/recursive.exp.json index bcaeb4be0..595f96cc7 100644 --- a/testdata/d2ir/TestCompile/steps/recursive.exp.json +++ b/testdata/d2ir/TestCompile/steps/recursive.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -226,7 +228,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -349,7 +353,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -464,7 +470,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -572,7 +580,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -673,7 +683,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -774,7 +786,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -877,7 +891,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -984,7 +1000,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1103,7 +1121,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1218,7 +1238,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1326,7 +1348,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1427,7 +1451,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1528,7 +1554,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1584,7 +1612,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1707,7 +1737,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1822,7 +1854,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1930,7 +1964,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2031,7 +2067,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2132,7 +2170,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -2188,7 +2228,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -2244,7 +2286,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2347,7 +2391,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2432,7 +2478,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2547,7 +2595,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2650,7 +2700,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2816,7 +2868,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -3086,7 +3140,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -3189,7 +3245,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } diff --git a/testdata/d2ir/TestCompile/steps/root.exp.json b/testdata/d2ir/TestCompile/steps/root.exp.json index a8b486f76..62376b02f 100644 --- a/testdata/d2ir/TestCompile/steps/root.exp.json +++ b/testdata/d2ir/TestCompile/steps/root.exp.json @@ -111,7 +111,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -226,7 +228,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -349,7 +353,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -464,7 +470,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -572,7 +580,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -673,7 +683,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -774,7 +786,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -877,7 +891,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -984,7 +1000,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1103,7 +1121,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1218,7 +1238,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1326,7 +1348,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1427,7 +1451,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1528,7 +1554,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }, @@ -1584,7 +1612,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1687,7 +1717,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1772,7 +1804,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -1961,7 +1995,9 @@ } } } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] } @@ -2064,7 +2100,9 @@ "primary": {}, "value": {} } - } + }, + "due_to_glob": false, + "due_to_lazy_glob": false } ] }