Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/tailing-hold/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": "VariableDeclaration",
12 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11}},
17 "id": {
18 "type": "ArrayPattern",
19 "start":4,"end":9,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":9,"index":9}},
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 },
29 "init": {
30 "type": "NumericLiteral",
31 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11}},
32 "extra": {
33 "rawValue": 0,
34 "raw": "0"
35 },
36 "value": 0
37 }
38 }
39 ],
40 "kind": "let"
41 }
42 ],
43 "directives": []
44 }
45 }