Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "Identifier",
22 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2},"identifierName":"x"},
23 "name": "x"
24 }
25 ],
26 "body": {
27 "type": "ArrowFunctionExpression",
28 "start":8,"end":27,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":27,"index":27}},
29 "id": null,
30 "generator": false,
31 "async": false,
32 "params": [
33 {
34 "type": "Identifier",
35 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"y"},
36 "name": "y"
37 },
38 {
39 "type": "Identifier",
40 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"z"},
41 "name": "z"
42 }
43 ],
44 "body": {
45 "type": "SequenceExpression",
46 "start":19,"end":26,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":26,"index":26}},
47 "expressions": [
48 {
49 "type": "Identifier",
50 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"x"},
51 "name": "x"
52 },
53 {
54 "type": "Identifier",
55 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"y"},
56 "name": "y"
57 },
58 {
59 "type": "Identifier",
60 "start":25,"end":26,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":26,"index":26},"identifierName":"z"},
61 "name": "z"
62 }
63 ],
64 "extra": {
65 "parenthesized": true,
66 "parenStart": 18
67 }
68 },
69 "extra": {
70 "parenthesized": true,
71 "parenStart": 7
72 }
73 }
74 }
75 }
76 ],
77 "directives": []
78 }
79 }