{ "graph": { "name": "", "isFolderOnly": true, "ast": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,0:0:0-15:0:104", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:0:1-1:18:19", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:0:1-1:10:11", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:0:1-1:1:2", "value": [ { "string": "*", "raw_string": "*" } ], "pattern": [ "*" ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:2:3-1:4:5", "value": [ { "string": "b*", "raw_string": "b*" } ], "pattern": [ "b", "*" ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:5:6-1:10:11", "value": [ { "string": "shape", "raw_string": "shape" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:12:13-1:18:19", "value": [ { "string": "circle", "raw_string": "circle" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,3:0:21-14:1:103", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,3:0:21-3:9:30", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,3:0:21-3:9:30", "value": [ { "string": "scenarios", "raw_string": "scenarios" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,3:11:32-14:1:103", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,4:2:36-8:3:67", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,4:2:36-4:3:37", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,4:2:36-4:3:37", "value": [ { "string": "k", "raw_string": "k" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,4:5:39-8:3:67", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,5:4:45-7:5:63", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,5:4:45-5:5:46", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,5:4:45-5:5:46", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,5:7:48-7:5:63", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,6:6:56-6:7:57", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,6:6:56-6:7:57", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,6:6:56-6:7:57", "value": [ { "string": "b", "raw_string": "b" } ] } } ] }, "primary": {}, "value": {} } } ] } } } } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,9:2:70-13:3:101", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,9:2:70-9:3:71", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,9:2:70-9:3:71", "value": [ { "string": "z", "raw_string": "z" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,9:5:73-13:3:101", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,10:4:79-12:5:97", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,10:4:79-10:5:80", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,10:4:79-10:5:80", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,10:7:82-12:5:97", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,11:6:90-11:7:91", "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,11:6:90-11:7:91", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,11:6:90-11:7:91", "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": null, "scenarios": [ { "name": "k", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,0:0:0-1:0:0", "nodes": [ { "map_key": { "range": ",0:0:0-0:0:0", "key": { "range": ",0:0:0-0:0:0", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,5:4:45-5:5:46", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": { "map": { "range": ",1:0:0-2:0:0", "nodes": [ { "map_key": { "range": ",0:0:0-0:0:0", "key": { "range": ",0:0:0-0:0:0", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,6:6:56-6:7:57", "value": [ { "string": "b", "raw_string": "b" } ] } } ] }, "primary": {}, "value": { "map": { "range": ",1:0:0-2:0:0", "nodes": [ { "map_key": { "range": ",0:0:0-0:0:0", "key": { "range": ",0:0:0-0:0:0", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:5:6-1:10:11", "value": [ { "string": "shape", "raw_string": "shape" } ] } } ] }, "primary": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:12:13-1:18:19", "value": [ { "string": "circle", "raw_string": "circle" } ] } }, "value": {} } } ] } } } } ] } } } } ] }, "root": { "id": "", "id_val": "", "attributes": { "label": { "value": "" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, "edges": null, "objects": [ { "id": "x", "id_val": "x", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,5:4:45-5:5:46", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,5:4:45-5:5:46", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "x" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "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/second-scenario.d2,6:6:56-6:7:57", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,6:6:56-6:7:57", "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": "circle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 } ] }, { "name": "z", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,0:0:0-1:0:0", "nodes": [ { "map_key": { "range": ",0:0:0-0:0:0", "key": { "range": ",0:0:0-0:0:0", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,10:4:79-10:5:80", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": { "map": { "range": ",1:0:0-2:0:0", "nodes": [ { "map_key": { "range": ",0:0:0-0:0:0", "key": { "range": ",0:0:0-0:0:0", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,11:6:90-11:7:91", "value": [ { "string": "b", "raw_string": "b" } ] } } ] }, "primary": {}, "value": { "map": { "range": ",1:0:0-2:0:0", "nodes": [ { "map_key": { "range": ",0:0:0-0:0:0", "key": { "range": ",0:0:0-0:0:0", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:5:6-1:10:11", "value": [ { "string": "shape", "raw_string": "shape" } ] } } ] }, "primary": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,1:12:13-1:18:19", "value": [ { "string": "circle", "raw_string": "circle" } ] } }, "value": {} } } ] } } } } ] } } } } ] }, "root": { "id": "", "id_val": "", "attributes": { "label": { "value": "" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, "edges": null, "objects": [ { "id": "x", "id_val": "x", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,10:4:79-10:5:80", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,10:4:79-10:5:80", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "x" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "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/second-scenario.d2,11:6:90-11:7:91", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile2/globs/second-scenario.d2,11:6:90-11:7:91", "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": "circle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 } ] } ] }, "err": null }