Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens/output.json

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