Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/10/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
16 "operator": "=",
17 "left": {
18 "type": "Identifier",
19 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
20 "name": "x"
21 },
22 "right": {
23 "type": "ArrayExpression",
24 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11}},
25 "extra": {
26 "trailingComma": 8
27 },
28 "elements": [
29 {
30 "type": "NumericLiteral",
31 "start":6,"end":8,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":8,"index":8}},
32 "extra": {
33 "rawValue": 42,
34 "raw": "42"
35 },
36 "value": 42
37 }
38 ]
39 }
40 }
41 }
42 ],
43 "directives": []
44 }
45 }