Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/320/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":14,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":14,"index":14}},
17 "id": {
18 "type": "ArrayPattern",
19 "start":4,"end":8,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":8,"index":8}},
20 "elements": [
21 {
22 "type": "Identifier",
23 "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"x"},
24 "name": "x"
25 }
26 ]
27 },
28 "init": {
29 "type": "ArrayExpression",
30 "start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14}},
31 "elements": [
32 {
33 "type": "NumericLiteral",
34 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
35 "extra": {
36 "rawValue": 1,
37 "raw": "1"
38 },
39 "value": 1
40 }
41 ]
42 }
43 }
44 ],
45 "kind": "let"
46 }
47 ],
48 "directives": []
49 }
50 }