Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/export-invalid/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
4 "errors": [
5 "SyntaxError: Missing semicolon. (1:20)",
6 "SyntaxError: Missing semicolon. (1:33)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
11 "sourceType": "module",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExportDefaultDeclaration",
16 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
17 "declaration": {
18 "type": "Identifier",
19 "start":15,"end":20,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":20,"index":20},"identifierName":"async"},
20 "name": "async"
21 }
22 },
23 {
24 "type": "ExpressionStatement",
25 "start":21,"end":33,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":33,"index":33}},
26 "expression": {
27 "type": "CallExpression",
28 "start":21,"end":33,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":33,"index":33}},
29 "callee": {
30 "type": "Identifier",
31 "start":21,"end":30,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":30,"index":30},"identifierName":"functionX"},
32 "name": "functionX"
33 },
34 "arguments": []
35 }
36 },
37 {
38 "type": "BlockStatement",
39 "start":34,"end":36,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":36,"index":36}},
40 "body": [],
41 "directives": []
42 }
43 ],
44 "directives": []
45 }
46 }