Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
4 "errors": [
5 "SyntaxError: Invalid parenthesized assignment pattern. (1:2)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
16 "expression": {
17 "type": "ArrowFunctionExpression",
18 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
19 "id": null,
20 "generator": false,
21 "async": false,
22 "params": [
23 {
24 "type": "Identifier",
25 "start":2,"end":3,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":3,"index":3},"identifierName":"a"},
26 "name": "a",
27 "extra": {
28 "parenthesized": true,
29 "parenStart": 1
30 }
31 },
32 {
33 "type": "RestElement",
34 "start":5,"end":9,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":9,"index":9}},
35 "argument": {
36 "type": "Identifier",
37 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9},"identifierName":"b"},
38 "name": "b"
39 }
40 }
41 ],
42 "body": {
43 "type": "NumericLiteral",
44 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15}},
45 "extra": {
46 "rawValue": 0,
47 "raw": "0"
48 },
49 "value": 0
50 }
51 }
52 }
53 ],
54 "directives": []
55 }
56 }