Debian Codegraph @

packages/babel-parser/test/fixtures/placeholders/arrow/async/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
16 "id": null,
17 "generator": false,
18 "async": true,
19 "params": [
20 {
21 "type": "Placeholder",
22 "start":7,"end":16,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":16,"index":16}},
23 "name": {
24 "type": "Identifier",
25 "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"PARAM"},
26 "name": "PARAM"
27 },
28 "expectedNode": "Pattern"
29 }
30 ],
31 "body": {
32 "type": "Placeholder",
33 "start":21,"end":29,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":29,"index":29}},
34 "name": {
35 "type": "Identifier",
36 "start":23,"end":27,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":27,"index":27},"identifierName":"BODY"},
37 "name": "BODY"
38 },
39 "expectedNode": "Expression"
40 }
41 }
42 }
43 ],
44 "directives": []
45 }
46 }