Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/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": "ArrowFunctionExpression",
15 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "ArrayPattern",
22 "start":1,"end":6,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":6,"index":6}},
23 "elements": [
24 {
25 "type": "Identifier",
26 "start":2,"end":3,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":3,"index":3},"identifierName":"a"},
27 "name": "a"
28 },
29 {
30 "type": "Identifier",
31 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"b"},
32 "name": "b"
33 }
34 ]
35 }
36 ],
37 "body": {
38 "type": "NumericLiteral",
39 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
40 "extra": {
41 "rawValue": 0,
42 "raw": "0"
43 },
44 "value": 0
45 }
46 }
47 }
48 ],
49 "directives": []
50 }
51 }