Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/523/output.json

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