Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/migrated_0016/output.json

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