Debian Codegraph @

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

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