1{
2 "graph": {
3 "name": "",
4 "isFolderOnly": false,
5 "ast": {
6 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,0:0:0-4:0:17",
7 "nodes": [
8 {
9 "map_key": {
10 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,0:0:0-0:1:1",
11 "key": {
12 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,0:0:0-0:1:1",
13 "path": [
14 {
15 "unquoted_string": {
16 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,0:0:0-0:1:1",
17 "value": [
18 {
19 "string": "a",
20 "raw_string": "a"
21 }
22 ]
23 }
24 }
25 ]
26 },
27 "primary": {},
28 "value": {}
29 }
30 },
31 {
32 "map_key": {
33 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,1:0:2-3:1:16",
34 "key": {
35 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,1:0:2-1:1:3",
36 "path": [
37 {
38 "unquoted_string": {
39 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,1:0:2-1:1:3",
40 "value": [
41 {
42 "string": "b",
43 "raw_string": "b"
44 }
45 ]
46 }
47 }
48 ]
49 },
50 "primary": {},
51 "value": {
52 "map": {
53 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,1:3:5-3:1:16",
54 "nodes": [
55 {
56 "map_key": {
57 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:2:9-2:7:14",
58 "key": {
59 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:2:9-2:7:14",
60 "path": [
61 {
62 "unquoted_string": {
63 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:2:9-2:3:10",
64 "value": [
65 {
66 "string": "_",
67 "raw_string": "_"
68 }
69 ]
70 }
71 },
72 {
73 "unquoted_string": {
74 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:4:11-2:5:12",
75 "value": [
76 {
77 "string": "a",
78 "raw_string": "a"
79 }
80 ]
81 }
82 },
83 {
84 "unquoted_string": {
85 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:6:13-2:7:14",
86 "value": [
87 {
88 "string": "c",
89 "raw_string": "c"
90 }
91 ]
92 }
93 }
94 ]
95 },
96 "primary": {},
97 "value": {}
98 }
99 }
100 ]
101 }
102 }
103 }
104 }
105 ]
106 },
107 "root": {
108 "id": "",
109 "id_val": "",
110 "attributes": {
111 "label": {
112 "value": ""
113 },
114 "labelDimensions": {
115 "width": 0,
116 "height": 0
117 },
118 "style": {},
119 "near_key": null,
120 "shape": {
121 "value": ""
122 },
123 "direction": {
124 "value": ""
125 },
126 "constraint": null
127 },
128 "zIndex": 0
129 },
130 "edges": null,
131 "objects": [
132 {
133 "id": "a",
134 "id_val": "a",
135 "references": [
136 {
137 "key": {
138 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,0:0:0-0:1:1",
139 "path": [
140 {
141 "unquoted_string": {
142 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,0:0:0-0:1:1",
143 "value": [
144 {
145 "string": "a",
146 "raw_string": "a"
147 }
148 ]
149 }
150 }
151 ]
152 },
153 "key_path_index": 0,
154 "map_key_edge_index": -1
155 },
156 {
157 "key": {
158 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:2:9-2:7:14",
159 "path": [
160 {
161 "unquoted_string": {
162 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:2:9-2:3:10",
163 "value": [
164 {
165 "string": "_",
166 "raw_string": "_"
167 }
168 ]
169 }
170 },
171 {
172 "unquoted_string": {
173 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:4:11-2:5:12",
174 "value": [
175 {
176 "string": "a",
177 "raw_string": "a"
178 }
179 ]
180 }
181 },
182 {
183 "unquoted_string": {
184 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:6:13-2:7:14",
185 "value": [
186 {
187 "string": "c",
188 "raw_string": "c"
189 }
190 ]
191 }
192 }
193 ]
194 },
195 "key_path_index": 1,
196 "map_key_edge_index": -1
197 }
198 ],
199 "attributes": {
200 "label": {
201 "value": "a"
202 },
203 "labelDimensions": {
204 "width": 0,
205 "height": 0
206 },
207 "style": {},
208 "near_key": null,
209 "shape": {
210 "value": "rectangle"
211 },
212 "direction": {
213 "value": ""
214 },
215 "constraint": null
216 },
217 "zIndex": 0
218 },
219 {
220 "id": "b",
221 "id_val": "b",
222 "references": [
223 {
224 "key": {
225 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,1:0:2-1:1:3",
226 "path": [
227 {
228 "unquoted_string": {
229 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,1:0:2-1:1:3",
230 "value": [
231 {
232 "string": "b",
233 "raw_string": "b"
234 }
235 ]
236 }
237 }
238 ]
239 },
240 "key_path_index": 0,
241 "map_key_edge_index": -1
242 }
243 ],
244 "attributes": {
245 "label": {
246 "value": "b"
247 },
248 "labelDimensions": {
249 "width": 0,
250 "height": 0
251 },
252 "style": {},
253 "near_key": null,
254 "shape": {
255 "value": "rectangle"
256 },
257 "direction": {
258 "value": ""
259 },
260 "constraint": null
261 },
262 "zIndex": 0
263 },
264 {
265 "id": "c",
266 "id_val": "c",
267 "references": [
268 {
269 "key": {
270 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:2:9-2:7:14",
271 "path": [
272 {
273 "unquoted_string": {
274 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:2:9-2:3:10",
275 "value": [
276 {
277 "string": "_",
278 "raw_string": "_"
279 }
280 ]
281 }
282 },
283 {
284 "unquoted_string": {
285 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:4:11-2:5:12",
286 "value": [
287 {
288 "string": "a",
289 "raw_string": "a"
290 }
291 ]
292 }
293 },
294 {
295 "unquoted_string": {
296 "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_2.d2,2:6:13-2:7:14",
297 "value": [
298 {
299 "string": "c",
300 "raw_string": "c"
301 }
302 ]
303 }
304 }
305 ]
306 },
307 "key_path_index": 2,
308 "map_key_edge_index": -1
309 }
310 ],
311 "attributes": {
312 "label": {
313 "value": "c"
314 },
315 "labelDimensions": {
316 "width": 0,
317 "height": 0
318 },
319 "style": {},
320 "near_key": null,
321 "shape": {
322 "value": "rectangle"
323 },
324 "direction": {
325 "value": ""
326 },
327 "constraint": null
328 },
329 "zIndex": 0
330 }
331 ]
332 },
333 "err": "<nil>"
334}
View as plain text