diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index 94b2f7ad6..9a1c1d525 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -9,5 +9,6 @@ #### Bugfixes ⛑️ +- Fixes styles in connections not overriding styles set by globs [#1857](https://github.com/terrastruct/d2/pull/1857) - Fixes `null` being set on a nested shape not working in certain cases when connections also pointed to that shape [#1830](https://github.com/terrastruct/d2/pull/1830) - Fixes edge case of bad import syntax crashing using d2 as a library [#1829](https://github.com/terrastruct/d2/pull/1829) diff --git a/d2ast/d2ast.go b/d2ast/d2ast.go index 85a530c88..388997043 100644 --- a/d2ast/d2ast.go +++ b/d2ast/d2ast.go @@ -1025,6 +1025,7 @@ type EdgeIndex struct { } func (ei1 *EdgeIndex) Equals(ei2 *EdgeIndex) bool { + // TODO probably should be checking the values, but will wait until something breaks to change if ei1.Int != ei2.Int { return false } diff --git a/d2compiler/compile_test.go b/d2compiler/compile_test.go index 38d1fe051..ec746e839 100644 --- a/d2compiler/compile_test.go +++ b/d2compiler/compile_test.go @@ -4367,6 +4367,29 @@ container_2: { assert.Equal(t, 4, len(g.Objects)) }, }, + { + name: "override-edge/1", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +(* -> *)[*].style.stroke: red +(* -> *)[*].style.stroke: green +a -> b +`, ``) + assert.Equal(t, "green", g.Edges[0].Attributes.Style.Stroke.Value) + }, + }, + { + name: "override-edge/2", + run: func(t *testing.T) { + g, _ := assertCompile(t, ` +(* -> *)[*].style.stroke: red +a -> b: {style.stroke: green} +a -> b +`, ``) + assert.Equal(t, "green", g.Edges[0].Attributes.Style.Stroke.Value) + assert.Equal(t, "red", g.Edges[1].Attributes.Style.Stroke.Value) + }, + }, } for _, tc := range tca { diff --git a/d2ir/compile.go b/d2ir/compile.go index c3e05f4fc..bbbe60489 100644 --- a/d2ir/compile.go +++ b/d2ir/compile.go @@ -413,6 +413,7 @@ func (c *compiler) ampersandFilterMap(dst *Map, ast, scopeAST *d2ast.Map) bool { ks = d2format.Format(d2ast.MakeKeyPath(BoardIDA(dst))) } delete(gctx.appliedFields, ks) + delete(gctx.appliedEdges, ks) return false } } diff --git a/d2ir/d2ir.go b/d2ir/d2ir.go index 227fa69f9..c742a48f0 100644 --- a/d2ir/d2ir.go +++ b/d2ir/d2ir.go @@ -1094,7 +1094,7 @@ func (m *Map) getEdges(eid *EdgeID, refctx *RefContext, gctx *globContext, ea *[ } gctx.appliedEdges[ks] = struct{}{} } - *ea = append(*ea, ea2...) + *ea = append(*ea, e) } } } diff --git a/d2ir/filter_test.go b/d2ir/filter_test.go index 63375b816..06e926416 100644 --- a/d2ir/filter_test.go +++ b/d2ir/filter_test.go @@ -150,6 +150,21 @@ x -> y assertQuery(t, m, 0, 0, 0.1, "(x -> y)[1].style.opacity") }, }, + { + name: "label-filter/3", + run: func(t testing.TB) { + m, err := compile(t, ` +(* -> *)[*]: { + &label: hi + style.opacity: 0.1 +} + +x -> y: hi +`) + assert.Success(t, err) + assertQuery(t, m, 0, 0, 0.1, "(x -> y)[0].style.opacity") + }, + }, { name: "lazy-filter", run: func(t testing.TB) { diff --git a/d2ir/import_test.go b/d2ir/import_test.go index 81a3e3f50..d67f5950d 100644 --- a/d2ir/import_test.go +++ b/d2ir/import_test.go @@ -232,7 +232,7 @@ label: meow`, _, err := compileFS(t, "index.d2", map[string]string{ "index.d2": "...@'./../x.d2'", }) - assert.ErrorString(t, err, `index.d2:1:1: failed to import "../x.d2": stat ../x.d2: invalid argument`) + assert.ErrorString(t, err, `index.d2:1:1: failed to import "../x.d2": open ../x.d2: invalid argument`) }, }, { diff --git a/d2oracle/edit.go b/d2oracle/edit.go index 05c0df3b0..6d3bea97f 100644 --- a/d2oracle/edit.go +++ b/d2oracle/edit.go @@ -497,16 +497,19 @@ func _set(g *d2graph.Graph, baseAST *d2ast.Map, key string, tag, value *string) onlyInChain = false } } - // If a ref has an exact match on this key, just change the value - tmp1 := *ref.MapKey - tmp2 := *mk - noVal1 := &tmp1 - noVal2 := &tmp2 - noVal1.Value = d2ast.ValueBox{} - noVal2.Value = d2ast.ValueBox{} - if noVal1.D2OracleEquals(noVal2) { - ref.MapKey.Value = mk.Value - return nil + + if ref.MapKey.EdgeIndex == nil || !ref.MapKey.EdgeIndex.Glob { + // If a ref has an exact match on this key, just change the value + tmp1 := *ref.MapKey + tmp2 := *mk + noVal1 := &tmp1 + noVal2 := &tmp2 + noVal1.Value = d2ast.ValueBox{} + noVal2.Value = d2ast.ValueBox{} + if noVal1.D2OracleEquals(noVal2) { + ref.MapKey.Value = mk.Value + return nil + } } } if onlyInChain { @@ -575,6 +578,10 @@ func _set(g *d2graph.Graph, baseAST *d2ast.Map, key string, tag, value *string) if s.MapKey.Range.Path != baseAST.Range.Path { return false } + // Globs are also not writeable + if s.MapKey.HasGlob() { + return false + } } return s != nil && s.MapKey != nil && !ir.InClass(s.MapKey) } diff --git a/d2oracle/edit_test.go b/d2oracle/edit_test.go index 15e816377..a5743234d 100644 --- a/d2oracle/edit_test.go +++ b/d2oracle/edit_test.go @@ -2335,6 +2335,48 @@ layers: { near: bottom-right } } +`, + }, + { + name: "glob-field/1", + + text: `*.style.fill: red +a +b +`, + key: `a.style.fill`, + value: go2.Pointer(`blue`), + exp: `*.style.fill: red +a: {style.fill: blue} +b +`, + }, + { + name: "glob-field/2", + + text: `(* -> *)[*].style.stroke: red +a -> b +a -> b +`, + key: `(a -> b)[0].style.stroke`, + value: go2.Pointer(`blue`), + exp: `(* -> *)[*].style.stroke: red +a -> b: {style.stroke: blue} +a -> b +`, + }, + { + name: "glob-field/3", + + text: `(* -> *)[*].style.stroke: red +a -> b: {style.stroke: blue} +a -> b +`, + key: `(a -> b)[0].style.stroke`, + value: go2.Pointer(`green`), + exp: `(* -> *)[*].style.stroke: red +a -> b: {style.stroke: green} +a -> b `, }, } @@ -7445,6 +7487,32 @@ a.style.fill: null `, key: `yes.label.near`, exp: `yes +`, + }, + { + name: "connection-glob", + + text: `* -> * +a +b +`, + key: `(a -> b)[0]`, + exp: `* -> * +a +b +(a -> b)[0]: null +`, + }, + { + name: "glob-child/1", + + text: `*.b +a +`, + key: `a.b`, + exp: `*.b +a +a.b: null `, }, } diff --git a/d2oracle/get.go b/d2oracle/get.go index c33a46597..6b8b2e259 100644 --- a/d2oracle/get.go +++ b/d2oracle/get.go @@ -142,6 +142,9 @@ func GetParentID(g *d2graph.Graph, boardPath []string, absID string) (string, er func IsImportedObj(ast *d2ast.Map, obj *d2graph.Object) bool { for _, ref := range obj.References { + if ref.Key.HasGlob() { + return true + } if ref.Key.Range.Path != ast.Range.Path { return true } @@ -150,8 +153,13 @@ func IsImportedObj(ast *d2ast.Map, obj *d2graph.Object) bool { return false } +// Globs count as imported for now +// TODO Probably rename later func IsImportedEdge(ast *d2ast.Map, edge *d2graph.Edge) bool { for _, ref := range edge.References { + if ref.Edge.Src.HasGlob() || ref.Edge.Dst.HasGlob() { + return true + } if ref.Edge.Range.Path != ast.Range.Path { return true } diff --git a/testdata/d2compiler/TestCompile2/globs/override-edge.exp.json b/testdata/d2compiler/TestCompile2/globs/override-edge.exp.json new file mode 100644 index 000000000..21decc39b --- /dev/null +++ b/testdata/d2compiler/TestCompile2/globs/override-edge.exp.json @@ -0,0 +1,478 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,0:0:0-4:0:68", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:0:1-1:29:30", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:1:2-1:7:8", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:12:13-1:24:25", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:18:19-1:24:25", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,1:26:27-1:29:30", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:0:31-2:29:60", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:0:31-2:6:37", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:0:31-2:1:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:0:31-2:1:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:5:36-2:6:37", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:5:36-2:6:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:8:39-2:29:60", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:9:40-2:28:59", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:9:40-2:21:52", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:9:40-2:14:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:15:46-2:21:52", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:23:54-2:28:59", + "value": [ + { + "string": "green", + "raw_string": "green" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:0:61-3:6:67", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:0:61-3:6:67", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:0:61-3:1:62", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:0:61-3:1:62", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:5:66-3:6:67", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:5:66-3:6:67", + "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": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "green" + } + }, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "index": 1, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "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/override-edge.d2,2:0:31-2:1:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:0:31-2:1:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:0:61-3:1:62", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:0:61-3:1:62", + "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": {}, + "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/override-edge.d2,2:5:36-2:6:37", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,2:5:36-2:6:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:5:66-3:6:67", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge.d2,3:5:66-3:6:67", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/globs/override-edge/1.exp.json b/testdata/d2compiler/TestCompile2/globs/override-edge/1.exp.json new file mode 100644 index 000000000..fed08dc94 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/globs/override-edge/1.exp.json @@ -0,0 +1,403 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,0:0:0-4:0:70", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:0:1-1:29:30", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:1:2-1:7:8", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:12:13-1:24:25", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:18:19-1:24:25", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,1:26:27-1:29:30", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:0:31-2:31:62", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:1:32-2:7:38", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:1:32-2:2:33", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:1:32-2:2:33", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:6:37-2:7:38", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:6:37-2:7:38", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:8:39-2:11:42", + "int": null, + "glob": true + }, + "edge_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:12:43-2:24:55", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:12:43-2:17:48", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:18:49-2:24:55", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,2:26:57-2:31:62", + "value": [ + { + "string": "green", + "raw_string": "green" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:0:63-3:6:69", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:0:63-3:6:69", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:0:63-3:1:64", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:0:63-3:1:64", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:5:68-3:6:69", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:5:68-3:6:69", + "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": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "green" + } + }, + "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/override-edge/1.d2,3:0:63-3:1:64", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:0:63-3:1:64", + "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": {}, + "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/override-edge/1.d2,3:5:68-3:6:69", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/1.d2,3:5:68-3:6:69", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2compiler/TestCompile2/globs/override-edge/2.exp.json b/testdata/d2compiler/TestCompile2/globs/override-edge/2.exp.json new file mode 100644 index 000000000..28e9b1036 --- /dev/null +++ b/testdata/d2compiler/TestCompile2/globs/override-edge/2.exp.json @@ -0,0 +1,479 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,0:0:0-4:0:68", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:0:1-1:29:30", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:1:2-1:7:8", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "edge_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:12:13-1:24:25", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:12:13-1:17:18", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:18:19-1:24:25", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,1:26:27-1:29:30", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:0:31-2:29:60", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:0:31-2:6:37", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:0:31-2:1:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:0:31-2:1:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:5:36-2:6:37", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:5:36-2:6:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:8:39-2:29:60", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:9:40-2:28:59", + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:9:40-2:21:52", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:9:40-2:14:45", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:15:46-2:21:52", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:23:54-2:28:59", + "value": [ + { + "string": "green", + "raw_string": "green" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:0:61-3:6:67", + "edges": [ + { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:0:61-3:6:67", + "src": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:0:61-3:1:62", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:0:61-3:1:62", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:5:66-3:6:67", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:5:66-3:6:67", + "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": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "green" + } + }, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "index": 1, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "red" + } + }, + "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/override-edge/2.d2,2:0:31-2:1:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:0:31-2:1:32", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:0:61-3:1:62", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:0:61-3:1:62", + "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": {}, + "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/override-edge/2.d2,2:5:36-2:6:37", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,2:5:36-2:6:37", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:5:66-3:6:67", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2compiler/TestCompile2/globs/override-edge/2.d2,3:5:66-3:6:67", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": null +} diff --git a/testdata/d2ir/TestCompile/filters/edge.exp.json b/testdata/d2ir/TestCompile/filters/edge.exp.json index 836b33ce8..b975d17d3 100644 --- a/testdata/d2ir/TestCompile/filters/edge.exp.json +++ b/testdata/d2ir/TestCompile/filters/edge.exp.json @@ -824,510 +824,6 @@ }, "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 } ] }, @@ -1774,92 +1270,6 @@ "due_to_glob": false, "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 - }, { "string": { "range": "TestCompile/filters/edge.d2,7:19:120-7:24:125", @@ -2037,92 +1447,6 @@ "due_to_glob": false, "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 - }, { "string": { "range": "TestCompile/filters/edge.d2,7:2:103-7:18:119", @@ -2314,92 +1638,6 @@ "due_to_glob": false, "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 - }, { "string": { "range": "TestCompile/filters/edge.d2,8:19:154-8:24:159", @@ -2577,92 +1815,6 @@ "due_to_glob": false, "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 - }, { "string": { "range": "TestCompile/filters/edge.d2,8:2:137-8:18:153", @@ -2765,69 +1917,6 @@ } }, "references": [ - { - "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 - }, { "string": { "range": "TestCompile/filters/edge.d2,9:1:170-9:6:175", @@ -3304,233 +2393,6 @@ }, "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 } ] }, @@ -3865,233 +2727,6 @@ }, "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/label-filter/2.exp.json b/testdata/d2ir/TestCompile/filters/label-filter/2.exp.json index 2ead5445f..0fc2941dc 100644 --- a/testdata/d2ir/TestCompile/filters/label-filter/2.exp.json +++ b/testdata/d2ir/TestCompile/filters/label-filter/2.exp.json @@ -693,179 +693,6 @@ "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", @@ -1126,179 +953,6 @@ "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", @@ -1807,13 +1461,13 @@ { "context": { "edge": { - "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", "src": { - "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", "path": [ { "unquoted_string": { - "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", "value": [ { "string": "*", @@ -1829,11 +1483,11 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", "path": [ { "unquoted_string": { - "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", "value": [ { "string": "*", @@ -1850,16 +1504,16 @@ "dst_arrow": ">" }, "key": { - "range": "TestCompile/filters/label-filter/2.d2,1:0:1-1:30:31", + "range": "TestCompile/filters/label-filter/2.d2,3:0:33-6:1:81", "edges": [ { - "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:7:8", + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:7:40", "src": { - "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", "path": [ { "unquoted_string": { - "range": "TestCompile/filters/label-filter/2.d2,1:1:2-1:2:3", + "range": "TestCompile/filters/label-filter/2.d2,3:1:34-3:2:35", "value": [ { "string": "*", @@ -1875,11 +1529,11 @@ }, "src_arrow": "", "dst": { - "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", "path": [ { "unquoted_string": { - "range": "TestCompile/filters/label-filter/2.d2,1:6:7-1:7:8", + "range": "TestCompile/filters/label-filter/2.d2,3:6:39-3:7:40", "value": [ { "string": "*", @@ -1897,43 +1551,90 @@ } ], "edge_index": { - "range": "TestCompile/filters/label-filter/2.d2,1:8:9-1:11:12", + "range": "TestCompile/filters/label-filter/2.d2,3:8:41-3:11:44", "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" + "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" + } + } + } + } + ] } } } @@ -2921,6 +2622,374 @@ }, "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,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/label-filter/3.exp.json b/testdata/d2ir/TestCompile/filters/label-filter/3.exp.json new file mode 100644 index 000000000..868349959 --- /dev/null +++ b/testdata/d2ir/TestCompile/filters/label-filter/3.exp.json @@ -0,0 +1,941 @@ +{ + "fields": [ + { + "name": "x", + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:6:59", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:10:63", + "edges": [ + { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:6:59", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:8:61-6:10:63", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + } + ] + }, + { + "name": "y", + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:6:59", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:10:63", + "edges": [ + { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:6:59", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:8:61-6:10:63", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "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/3.d2,6:8:61-6:10:63", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + }, + "map": { + "fields": [ + { + "name": "style", + "composite": { + "fields": [ + { + "name": "opacity", + "primary": { + "value": { + "range": "TestCompile/filters/label-filter/3.d2,3:17:46-3:20:49", + "raw": "0.1", + "value": "1/10" + } + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/3.d2,3:8:37-3:15:44", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:7:36", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:8:37-3:15:44", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:20:49", + "key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:7:36", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:8:37-3:15:44", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/3.d2,3:17:46-3:20:49", + "raw": "0.1", + "value": "1/10" + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ], + "edges": null + }, + "references": [ + { + "string": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:7:36", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + }, + "key_path": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:7:36", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:8:37-3:15:44", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "context": { + "edge": null, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:20:49", + "key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:7:36", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:8:37-3:15:44", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/3.d2,3:17:46-3:20:49", + "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/3.d2,6:0:53-6:6:59", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:10:63", + "edges": [ + { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:6:59", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:0:53-6:1:54", + "value": [ + { + "string": "x", + "raw_string": "x" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:5:58-6:6:59", + "value": [ + { + "string": "y", + "raw_string": "y" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,6:8:61-6:10:63", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + "due_to_glob": false, + "due_to_lazy_glob": false + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,1:0:1-4:1:51", + "edges": [ + { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/3.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/label-filter/3.d2,1:13:14-4:1:51", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/label-filter/3.d2,2:2:18-2:12:28", + "ampersand": true, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,2:3:19-2:8:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,2:3:19-2:8:24", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,2:10:26-2:12:28", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:20:49", + "key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:7:36", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:8:37-3:15:44", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/3.d2,3:17:46-3:20:49", + "raw": "0.1", + "value": "1/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + }, + { + "context": { + "edge": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + }, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,1:0:1-4:1:51", + "edges": [ + { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:7:8", + "src": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:1:2-1:2:3", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,1:6:7-1:7:8", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "TestCompile/filters/label-filter/3.d2,1:8:9-1:11:12", + "int": null, + "glob": true + }, + "primary": {}, + "value": { + "map": { + "range": "TestCompile/filters/label-filter/3.d2,1:13:14-4:1:51", + "nodes": [ + { + "map_key": { + "range": "TestCompile/filters/label-filter/3.d2,2:2:18-2:12:28", + "ampersand": true, + "key": { + "range": "TestCompile/filters/label-filter/3.d2,2:3:19-2:8:24", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,2:3:19-2:8:24", + "value": [ + { + "string": "label", + "raw_string": "label" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,2:10:26-2:12:28", + "value": [ + { + "string": "hi", + "raw_string": "hi" + } + ] + } + } + } + }, + { + "map_key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:20:49", + "key": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:15:44", + "path": [ + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:2:31-3:7:36", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "TestCompile/filters/label-filter/3.d2,3:8:37-3:15:44", + "value": [ + { + "string": "opacity", + "raw_string": "opacity" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "number": { + "range": "TestCompile/filters/label-filter/3.d2,3:17:46-3:20:49", + "raw": "0.1", + "value": "1/10" + } + } + } + } + ] + } + } + } + }, + "due_to_glob": true, + "due_to_lazy_glob": true + } + ] + } + ] +} diff --git a/testdata/d2ir/TestCompile/patterns/alixander-review/6.exp.json b/testdata/d2ir/TestCompile/patterns/alixander-review/6.exp.json index e30ee4789..de8c8b7c4 100644 --- a/testdata/d2ir/TestCompile/patterns/alixander-review/6.exp.json +++ b/testdata/d2ir/TestCompile/patterns/alixander-review/6.exp.json @@ -692,179 +692,6 @@ }, "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 } ] } @@ -1044,179 +871,6 @@ }, "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 } ] } @@ -1457,143 +1111,6 @@ }, "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 } ] }, diff --git a/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json index 03bd3132f..c35f511d5 100644 --- a/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json +++ b/testdata/d2ir/TestCompile/patterns/edge-glob-index.exp.json @@ -800,930 +800,6 @@ }, "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 } ] }, @@ -2527,930 +1603,6 @@ }, "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 } ] } @@ -3653,336 +1805,6 @@ }, "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 } ] } @@ -4154,336 +1976,6 @@ }, "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 } ] } @@ -4706,264 +2198,6 @@ }, "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 } ] }, @@ -5164,336 +2398,6 @@ }, "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 } ] } @@ -5665,336 +2569,6 @@ }, "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 } ] } @@ -6217,264 +2791,6 @@ }, "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 } ] }, @@ -6675,336 +2991,6 @@ }, "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 } ] } @@ -7176,336 +3162,6 @@ }, "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 } ] } @@ -7728,264 +3384,6 @@ }, "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/glob-edge-glob-index.exp.json b/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json index 1d9dceda1..10b67da74 100644 --- a/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json +++ b/testdata/d2ir/TestCompile/patterns/glob-edge-glob-index.exp.json @@ -1431,966 +1431,6 @@ }, "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 } ] }, @@ -2716,348 +1756,6 @@ }, "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 } ] } @@ -3235,348 +1933,6 @@ }, "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 } ] } @@ -3805,276 +2161,6 @@ }, "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 } ] }, @@ -4281,348 +2367,6 @@ }, "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 } ] } @@ -4800,348 +2544,6 @@ }, "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 } ] } @@ -5370,276 +2772,6 @@ }, "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 } ] }, @@ -5846,348 +2978,6 @@ }, "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 } ] } @@ -6365,348 +3155,6 @@ }, "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 } ] } @@ -6935,276 +3383,6 @@ }, "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 } ] }, diff --git a/testdata/d2oracle/TestDelete/connection-glob.exp.json b/testdata/d2oracle/TestDelete/connection-glob.exp.json new file mode 100644 index 000000000..f1fb79d61 --- /dev/null +++ b/testdata/d2oracle/TestDelete/connection-glob.exp.json @@ -0,0 +1,312 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,0:0:0-4:0:29", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,0:0:0-0:6:6", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,0:0:0-0:6:6", + "src": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,0:0:0-0:1:1", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,0:0:0-0:1:1", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,0:5:5-0:6:6", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,0:5:5-0:6:6", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,1:0:7-1:1:8", + "key": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,1:0:7-1:1:8", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,2:0:9-2:1:10", + "key": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,2:0:9-2:1:10", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,2:0:9-2:1:10", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:0:11-3:17:28", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:1:12-3:7:18", + "src": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:1:12-3:2:13", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:1:12-3:2:13", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:6:17-3:7:18", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:6:17-3:7:18", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:8:19-3:11:22", + "int": 0, + "glob": false + }, + "primary": {}, + "value": { + "null": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,3:13:24-3:17:28" + } + } + } + } + ] + }, + "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/d2oracle/TestDelete/connection-glob.d2,1:0:7-1:1:8", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,1:0:7-1:1:8", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,2:0:9-2:1:10", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/connection-glob.d2,2:0:9-2:1:10", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": "" +} diff --git a/testdata/d2oracle/TestDelete/glob-child/1.exp.json b/testdata/d2oracle/TestDelete/glob-child/1.exp.json new file mode 100644 index 000000000..415c0c798 --- /dev/null +++ b/testdata/d2oracle/TestDelete/glob-child/1.exp.json @@ -0,0 +1,212 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,0:0:0-3:0:16", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,0:0:0-0:3:3", + "key": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,0:0:0-0:3:3", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,0:0:0-0:1:1", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,0:2:2-0:3:3", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,1:0:4-1:1:5", + "key": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,1:0:4-1:1:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,1:0:4-1:1:5", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": {} + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:0:6-2:9:15", + "key": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:0:6-2:3:9", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:0:6-2:1:7", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:2:8-2:3:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "null": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:5:11-2:9:15" + } + } + } + } + ] + }, + "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/d2oracle/TestDelete/glob-child/1.d2,1:0:4-1:1:5", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,1:0:4-1:1:5", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + }, + { + "key": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:0:6-2:3:9", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:0:6-2:1:7", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestDelete/glob-child/1.d2,2:2:8-2:3:9", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "a" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": "" +} diff --git a/testdata/d2oracle/TestSet/glob-field/1.exp.json b/testdata/d2oracle/TestSet/glob-field/1.exp.json new file mode 100644 index 000000000..ef0bae2ce --- /dev/null +++ b/testdata/d2oracle/TestSet/glob-field/1.exp.json @@ -0,0 +1,290 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,0:0:0-3:0:42", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,0:0:0-0:17:17", + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,0:0:0-0:12:12", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,0:0:0-0:1:1", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,0:2:2-0:7:7", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,0:8:8-0:12:12", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,0:14:14-0:17:17", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:0:18-1:21:39", + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:0:18-1:1:19", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:0:18-1:1:19", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:3:21-1:21:39", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:4:22-1:20:38", + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:4:22-1:14:32", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:4:22-1:9:27", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:10:28-1:14:32", + "value": [ + { + "string": "fill", + "raw_string": "fill" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:16:34-1:20:38", + "value": [ + { + "string": "blue", + "raw_string": "blue" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,2:0:40-2:1:41", + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,2:0:40-2:1:41", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,2:0:40-2:1:41", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "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": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:0:18-1:1:19", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,1:0:18-1:1:19", + "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": "blue" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,2:0:40-2:1:41", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/1.d2,2:0:40-2:1:41", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": -1 + } + ], + "attributes": { + "label": { + "value": "b" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "fill": { + "value": "red" + } + }, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": "" +} diff --git a/testdata/d2oracle/TestSet/glob-field/2.exp.json b/testdata/d2oracle/TestSet/glob-field/2.exp.json new file mode 100644 index 000000000..c4f0ab737 --- /dev/null +++ b/testdata/d2oracle/TestSet/glob-field/2.exp.json @@ -0,0 +1,479 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:0:0-3:0:66", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:0:0-0:29:29", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:1:1-0:7:7", + "src": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:6:6-0:7:7", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:8:8-0:11:11", + "int": null, + "glob": true + }, + "edge_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:12:12-0:24:24", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:12:12-0:17:17", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:18:18-0:24:24", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,0:26:26-0:29:29", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:0:30-1:28:58", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:0:30-1:6:36", + "src": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:0:30-1:1:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:0:30-1:1:31", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:5:35-1:6:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:5:35-1:6:36", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:8:38-1:28:58", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:9:39-1:27:57", + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:9:39-1:21:51", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:9:39-1:14:44", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:15:45-1:21:51", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:23:53-1:27:57", + "value": [ + { + "string": "blue", + "raw_string": "blue" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:0:59-2:6:65", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:0:59-2:6:65", + "src": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:0:59-2:1:60", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:0:59-2:1:60", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:5:64-2:6:65", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:5:64-2:6:65", + "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": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "blue" + } + }, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "index": 1, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "red" + } + }, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:0:30-1:1:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:0:30-1:1:31", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:0:59-2:1:60", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:0:59-2:1:60", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:5:35-1:6:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,1:5:35-1:6:36", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:5:64-2:6:65", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/2.d2,2:5:64-2:6:65", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": "" +} diff --git a/testdata/d2oracle/TestSet/glob-field/3.exp.json b/testdata/d2oracle/TestSet/glob-field/3.exp.json new file mode 100644 index 000000000..290195f8f --- /dev/null +++ b/testdata/d2oracle/TestSet/glob-field/3.exp.json @@ -0,0 +1,479 @@ +{ + "graph": { + "name": "", + "isFolderOnly": false, + "ast": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:0:0-3:0:67", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:0:0-0:29:29", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:1:1-0:7:7", + "src": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:1:1-0:2:2", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:1:1-0:2:2", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:6:6-0:7:7", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:6:6-0:7:7", + "value": [ + { + "string": "*", + "raw_string": "*" + } + ], + "pattern": [ + "*" + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "edge_index": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:8:8-0:11:11", + "int": null, + "glob": true + }, + "edge_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:12:12-0:24:24", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:12:12-0:17:17", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:18:18-0:24:24", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,0:26:26-0:29:29", + "value": [ + { + "string": "red", + "raw_string": "red" + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:0:30-1:29:59", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:0:30-1:6:36", + "src": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:0:30-1:1:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:0:30-1:1:31", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:5:35-1:6:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:5:35-1:6:36", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "dst_arrow": ">" + } + ], + "primary": {}, + "value": { + "map": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:8:38-1:29:59", + "nodes": [ + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:9:39-1:28:58", + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:9:39-1:21:51", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:9:39-1:14:44", + "value": [ + { + "string": "style", + "raw_string": "style" + } + ] + } + }, + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:15:45-1:21:51", + "value": [ + { + "string": "stroke", + "raw_string": "stroke" + } + ] + } + } + ] + }, + "primary": {}, + "value": { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:23:53-1:28:58", + "value": [ + { + "string": "green", + "raw_string": "green" + } + ] + } + } + } + } + ] + } + } + } + }, + { + "map_key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:0:60-2:6:66", + "edges": [ + { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:0:60-2:6:66", + "src": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:0:60-2:1:61", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:0:60-2:1:61", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "src_arrow": "", + "dst": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:5:65-2:6:66", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:5:65-2:6:66", + "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": [ + { + "index": 0, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "green" + } + }, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "index": 1, + "isCurve": false, + "src_arrow": false, + "dst_arrow": true, + "references": [ + { + "map_key_edge_index": 0 + }, + { + "map_key_edge_index": 0 + } + ], + "attributes": { + "label": { + "value": "" + }, + "labelDimensions": { + "width": 0, + "height": 0 + }, + "style": { + "stroke": { + "value": "red" + } + }, + "near_key": null, + "shape": { + "value": "" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ], + "objects": [ + { + "id": "a", + "id_val": "a", + "references": [ + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:0:30-1:1:31", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:0:30-1:1:31", + "value": [ + { + "string": "a", + "raw_string": "a" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:0:60-2:1:61", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:0:60-2:1:61", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + }, + { + "id": "b", + "id_val": "b", + "references": [ + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:5:35-1:6:36", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,1:5:35-1:6:36", + "value": [ + { + "string": "b", + "raw_string": "b" + } + ] + } + } + ] + }, + "key_path_index": 0, + "map_key_edge_index": 0 + }, + { + "key": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:5:65-2:6:66", + "path": [ + { + "unquoted_string": { + "range": "d2/testdata/d2oracle/TestSet/glob-field/3.d2,2:5:65-2:6:66", + "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": {}, + "near_key": null, + "shape": { + "value": "rectangle" + }, + "direction": { + "value": "" + }, + "constraint": null + }, + "zIndex": 0 + } + ] + }, + "err": "" +}