Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/record-and-tuple/bar/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":112,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":16,"column":19,"index":112}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":112,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":16,"column":19,"index":112}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
13 "expression": {
14 "type": "RecordExpression",
15 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
16 "properties": []
17 }
18 },
19 {
20 "type": "ExpressionStatement",
21 "start":7,"end":30,"loc":{"start":{"line":3,"column":0,"index":7},"end":{"line":3,"column":23,"index":30}},
22 "expression": {
23 "type": "RecordExpression",
24 "start":7,"end":29,"loc":{"start":{"line":3,"column":0,"index":7},"end":{"line":3,"column":22,"index":29}},
25 "properties": [
26 {
27 "type": "ObjectProperty",
28 "start":10,"end":14,"loc":{"start":{"line":3,"column":3,"index":10},"end":{"line":3,"column":7,"index":14}},
29 "method": false,
30 "key": {
31 "type": "Identifier",
32 "start":10,"end":11,"loc":{"start":{"line":3,"column":3,"index":10},"end":{"line":3,"column":4,"index":11},"identifierName":"a"},
33 "name": "a"
34 },
35 "computed": false,
36 "shorthand": false,
37 "value": {
38 "type": "NumericLiteral",
39 "start":13,"end":14,"loc":{"start":{"line":3,"column":6,"index":13},"end":{"line":3,"column":7,"index":14}},
40 "extra": {
41 "rawValue": 1,
42 "raw": "1"
43 },
44 "value": 1
45 }
46 },
47 {
48 "type": "ObjectProperty",
49 "start":16,"end":20,"loc":{"start":{"line":3,"column":9,"index":16},"end":{"line":3,"column":13,"index":20}},
50 "method": false,
51 "key": {
52 "type": "Identifier",
53 "start":16,"end":17,"loc":{"start":{"line":3,"column":9,"index":16},"end":{"line":3,"column":10,"index":17},"identifierName":"b"},
54 "name": "b"
55 },
56 "computed": false,
57 "shorthand": false,
58 "value": {
59 "type": "NumericLiteral",
60 "start":19,"end":20,"loc":{"start":{"line":3,"column":12,"index":19},"end":{"line":3,"column":13,"index":20}},
61 "extra": {
62 "rawValue": 2,
63 "raw": "2"
64 },
65 "value": 2
66 }
67 },
68 {
69 "type": "ObjectProperty",
70 "start":22,"end":26,"loc":{"start":{"line":3,"column":15,"index":22},"end":{"line":3,"column":19,"index":26}},
71 "method": false,
72 "key": {
73 "type": "Identifier",
74 "start":22,"end":23,"loc":{"start":{"line":3,"column":15,"index":22},"end":{"line":3,"column":16,"index":23},"identifierName":"c"},
75 "name": "c"
76 },
77 "computed": false,
78 "shorthand": false,
79 "value": {
80 "type": "NumericLiteral",
81 "start":25,"end":26,"loc":{"start":{"line":3,"column":18,"index":25},"end":{"line":3,"column":19,"index":26}},
82 "extra": {
83 "rawValue": 3,
84 "raw": "3"
85 },
86 "value": 3
87 }
88 }
89 ]
90 }
91 },
92 {
93 "type": "ExpressionStatement",
94 "start":32,"end":70,"loc":{"start":{"line":5,"column":0,"index":32},"end":{"line":10,"column":3,"index":70}},
95 "expression": {
96 "type": "RecordExpression",
97 "start":32,"end":69,"loc":{"start":{"line":5,"column":0,"index":32},"end":{"line":10,"column":2,"index":69}},
98 "properties": [
99 {
100 "type": "ObjectProperty",
101 "start":37,"end":41,"loc":{"start":{"line":6,"column":2,"index":37},"end":{"line":6,"column":6,"index":41}},
102 "method": false,
103 "key": {
104 "type": "Identifier",
105 "start":37,"end":38,"loc":{"start":{"line":6,"column":2,"index":37},"end":{"line":6,"column":3,"index":38},"identifierName":"a"},
106 "name": "a"
107 },
108 "computed": false,
109 "shorthand": false,
110 "value": {
111 "type": "NumericLiteral",
112 "start":40,"end":41,"loc":{"start":{"line":6,"column":5,"index":40},"end":{"line":6,"column":6,"index":41}},
113 "extra": {
114 "rawValue": 1,
115 "raw": "1"
116 },
117 "value": 1
118 }
119 },
120 {
121 "type": "ObjectProperty",
122 "start":45,"end":65,"loc":{"start":{"line":7,"column":2,"index":45},"end":{"line":9,"column":4,"index":65}},
123 "method": false,
124 "key": {
125 "type": "Identifier",
126 "start":45,"end":46,"loc":{"start":{"line":7,"column":2,"index":45},"end":{"line":7,"column":3,"index":46},"identifierName":"b"},
127 "name": "b"
128 },
129 "computed": false,
130 "shorthand": false,
131 "value": {
132 "type": "RecordExpression",
133 "start":48,"end":65,"loc":{"start":{"line":7,"column":5,"index":48},"end":{"line":9,"column":4,"index":65}},
134 "properties": [
135 {
136 "type": "ObjectProperty",
137 "start":55,"end":59,"loc":{"start":{"line":8,"column":4,"index":55},"end":{"line":8,"column":8,"index":59}},
138 "method": false,
139 "key": {
140 "type": "Identifier",
141 "start":55,"end":56,"loc":{"start":{"line":8,"column":4,"index":55},"end":{"line":8,"column":5,"index":56},"identifierName":"c"},
142 "name": "c"
143 },
144 "computed": false,
145 "shorthand": false,
146 "value": {
147 "type": "NumericLiteral",
148 "start":58,"end":59,"loc":{"start":{"line":8,"column":7,"index":58},"end":{"line":8,"column":8,"index":59}},
149 "extra": {
150 "rawValue": 3,
151 "raw": "3"
152 },
153 "value": 3
154 }
155 }
156 ],
157 "extra": {
158 "trailingComma": 59
159 }
160 }
161 }
162 ],
163 "extra": {
164 "trailingComma": 65
165 }
166 }
167 },
168 {
169 "type": "ExpressionStatement",
170 "start":72,"end":77,"loc":{"start":{"line":12,"column":0,"index":72},"end":{"line":12,"column":5,"index":77}},
171 "expression": {
172 "type": "TupleExpression",
173 "start":72,"end":76,"loc":{"start":{"line":12,"column":0,"index":72},"end":{"line":12,"column":4,"index":76}},
174 "elements": []
175 }
176 },
177 {
178 "type": "ExpressionStatement",
179 "start":79,"end":91,"loc":{"start":{"line":14,"column":0,"index":79},"end":{"line":14,"column":12,"index":91}},
180 "expression": {
181 "type": "TupleExpression",
182 "start":79,"end":90,"loc":{"start":{"line":14,"column":0,"index":79},"end":{"line":14,"column":11,"index":90}},
183 "elements": [
184 {
185 "type": "NumericLiteral",
186 "start":81,"end":82,"loc":{"start":{"line":14,"column":2,"index":81},"end":{"line":14,"column":3,"index":82}},
187 "extra": {
188 "rawValue": 1,
189 "raw": "1"
190 },
191 "value": 1
192 },
193 {
194 "type": "NumericLiteral",
195 "start":84,"end":85,"loc":{"start":{"line":14,"column":5,"index":84},"end":{"line":14,"column":6,"index":85}},
196 "extra": {
197 "rawValue": 2,
198 "raw": "2"
199 },
200 "value": 2
201 },
202 {
203 "type": "NumericLiteral",
204 "start":87,"end":88,"loc":{"start":{"line":14,"column":8,"index":87},"end":{"line":14,"column":9,"index":88}},
205 "extra": {
206 "rawValue": 3,
207 "raw": "3"
208 },
209 "value": 3
210 }
211 ]
212 }
213 },
214 {
215 "type": "ExpressionStatement",
216 "start":93,"end":112,"loc":{"start":{"line":16,"column":0,"index":93},"end":{"line":16,"column":19,"index":112}},
217 "expression": {
218 "type": "TupleExpression",
219 "start":93,"end":111,"loc":{"start":{"line":16,"column":0,"index":93},"end":{"line":16,"column":18,"index":111}},
220 "elements": [
221 {
222 "type": "NumericLiteral",
223 "start":95,"end":96,"loc":{"start":{"line":16,"column":2,"index":95},"end":{"line":16,"column":3,"index":96}},
224 "extra": {
225 "rawValue": 1,
226 "raw": "1"
227 },
228 "value": 1
229 },
230 {
231 "type": "TupleExpression",
232 "start":98,"end":106,"loc":{"start":{"line":16,"column":5,"index":98},"end":{"line":16,"column":13,"index":106}},
233 "elements": [
234 {
235 "type": "NumericLiteral",
236 "start":100,"end":101,"loc":{"start":{"line":16,"column":7,"index":100},"end":{"line":16,"column":8,"index":101}},
237 "extra": {
238 "rawValue": 2,
239 "raw": "2"
240 },
241 "value": 2
242 },
243 {
244 "type": "NumericLiteral",
245 "start":103,"end":104,"loc":{"start":{"line":16,"column":10,"index":103},"end":{"line":16,"column":11,"index":104}},
246 "extra": {
247 "rawValue": 3,
248 "raw": "3"
249 },
250 "value": 3
251 }
252 ]
253 },
254 {
255 "type": "NumericLiteral",
256 "start":108,"end":109,"loc":{"start":{"line":16,"column":15,"index":108},"end":{"line":16,"column":16,"index":109}},
257 "extra": {
258 "rawValue": 4,
259 "raw": "4"
260 },
261 "value": 4
262 }
263 ]
264 }
265 }
266 ],
267 "directives": []
268 }
269 }