Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/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": "ExpressionStatement",
12 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "ArrayPattern",
22 "start":1,"end":9,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":9,"index":9}},
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": "RestElement",
31 "start":4,"end":8,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":8,"index":8}},
32 "argument": {
33 "type": "Identifier",
34 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"b"},
35 "name": "b"
36 }
37 }
38 ]
39 }
40 ],
41 "body": {
42 "type": "NumericLiteral",
43 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
44 "extra": {
45 "rawValue": 0,
46 "raw": "0"
47 },
48 "value": 0
49 }
50 }
51 }
52 ],
53 "directives": []
54 }
55 }