Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/hole/output.json

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