1{
2 "graph": {
3 "name": "",
4 "isFolderOnly": false,
5 "ast": {
6 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,0:0:0-4:0:15",
7 "nodes": [
8 {
9 "map_key": {
10 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,0:0:0-2:1:12",
11 "key": {
12 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,0:0:0-0:1:1",
13 "path": [
14 {
15 "unquoted_string": {
16 "range": "d2/testdata/d2oracle/TestMove/underscore_children.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 "map": {
30 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,0:3:3-2:1:12",
31 "nodes": [
32 {
33 "map_key": {
34 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,1:2:7-1:5:10",
35 "key": {
36 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,1:2:7-1:5:10",
37 "path": [
38 {
39 "unquoted_string": {
40 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,1:2:7-1:3:8",
41 "value": [
42 {
43 "string": "_",
44 "raw_string": "_"
45 }
46 ]
47 }
48 },
49 {
50 "unquoted_string": {
51 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,1:4:9-1:5:10",
52 "value": [
53 {
54 "string": "c",
55 "raw_string": "c"
56 }
57 ]
58 }
59 }
60 ]
61 },
62 "primary": {},
63 "value": {}
64 }
65 }
66 ]
67 }
68 }
69 }
70 },
71 {
72 "map_key": {
73 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,3:0:13-3:1:14",
74 "key": {
75 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,3:0:13-3:1:14",
76 "path": [
77 {
78 "unquoted_string": {
79 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,3:0:13-3:1:14",
80 "value": [
81 {
82 "string": "c",
83 "raw_string": "c"
84 }
85 ]
86 }
87 }
88 ]
89 },
90 "primary": {},
91 "value": {}
92 }
93 }
94 ]
95 },
96 "root": {
97 "id": "",
98 "id_val": "",
99 "attributes": {
100 "label": {
101 "value": ""
102 },
103 "labelDimensions": {
104 "width": 0,
105 "height": 0
106 },
107 "style": {},
108 "near_key": null,
109 "shape": {
110 "value": ""
111 },
112 "direction": {
113 "value": ""
114 },
115 "constraint": null
116 },
117 "zIndex": 0
118 },
119 "edges": null,
120 "objects": [
121 {
122 "id": "a",
123 "id_val": "a",
124 "references": [
125 {
126 "key": {
127 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,0:0:0-0:1:1",
128 "path": [
129 {
130 "unquoted_string": {
131 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,0:0:0-0:1:1",
132 "value": [
133 {
134 "string": "a",
135 "raw_string": "a"
136 }
137 ]
138 }
139 }
140 ]
141 },
142 "key_path_index": 0,
143 "map_key_edge_index": -1
144 }
145 ],
146 "attributes": {
147 "label": {
148 "value": "a"
149 },
150 "labelDimensions": {
151 "width": 0,
152 "height": 0
153 },
154 "style": {},
155 "near_key": null,
156 "shape": {
157 "value": "rectangle"
158 },
159 "direction": {
160 "value": ""
161 },
162 "constraint": null
163 },
164 "zIndex": 0
165 },
166 {
167 "id": "c",
168 "id_val": "c",
169 "references": [
170 {
171 "key": {
172 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,1:2:7-1:5:10",
173 "path": [
174 {
175 "unquoted_string": {
176 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,1:2:7-1:3:8",
177 "value": [
178 {
179 "string": "_",
180 "raw_string": "_"
181 }
182 ]
183 }
184 },
185 {
186 "unquoted_string": {
187 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,1:4:9-1:5:10",
188 "value": [
189 {
190 "string": "c",
191 "raw_string": "c"
192 }
193 ]
194 }
195 }
196 ]
197 },
198 "key_path_index": 1,
199 "map_key_edge_index": -1
200 },
201 {
202 "key": {
203 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,3:0:13-3:1:14",
204 "path": [
205 {
206 "unquoted_string": {
207 "range": "d2/testdata/d2oracle/TestMove/underscore_children.d2,3:0:13-3:1:14",
208 "value": [
209 {
210 "string": "c",
211 "raw_string": "c"
212 }
213 ]
214 }
215 }
216 ]
217 },
218 "key_path_index": 0,
219 "map_key_edge_index": -1
220 }
221 ],
222 "attributes": {
223 "label": {
224 "value": "c"
225 },
226 "labelDimensions": {
227 "width": 0,
228 "height": 0
229 },
230 "style": {},
231 "near_key": null,
232 "shape": {
233 "value": "rectangle"
234 },
235 "direction": {
236 "value": ""
237 },
238 "constraint": null
239 },
240 "zIndex": 0
241 }
242 ]
243 },
244 "err": "<nil>"
245}
View as plain text