Debian Codegraph @

packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-default-var/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:26)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "DeclareExportDeclaration",
15 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
16 "declaration": {
17 "type": "Identifier",
18 "start":23,"end":26,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":26,"index":26},"identifierName":"var"},
19 "name": "var"
20 },
21 "default": true
22 },
23 {
24 "type": "LabeledStatement",
25 "start":27,"end":36,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":36,"index":36}},
26 "body": {
27 "type": "ExpressionStatement",
28 "start":30,"end":36,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":36,"index":36}},
29 "expression": {
30 "type": "Identifier",
31 "start":30,"end":36,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":36,"index":36},"identifierName":"number"},
32 "name": "number"
33 }
34 },
35 "label": {
36 "type": "Identifier",
37 "start":27,"end":28,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":28,"index":28},"identifierName":"a"},
38 "name": "a"
39 }
40 }
41 ],
42 "directives": []
43 }
44 }