Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/231/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
4 "errors": [
5 "SyntaxError: Unexpected keyword 'default'. (1:4)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "VariableDeclaration",
15 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11}},
20 "id": {
21 "type": "Identifier",
22 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11},"identifierName":"default"},
23 "name": "default"
24 },
25 "init": null
26 }
27 ],
28 "kind": "let"
29 }
30 ],
31 "directives": []
32 }
33 }