Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/declaration-let/migrated_0002/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 "program": {
5 "type": "Program",
6 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "BlockStatement",
12 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
13 "body": [
14 {
15 "type": "VariableDeclaration",
16 "start":2,"end":12,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":12,"index":12}},
17 "declarations": [
18 {
19 "type": "VariableDeclarator",
20 "start":6,"end":12,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":12,"index":12}},
21 "id": {
22 "type": "Identifier",
23 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
24 "name": "x"
25 },
26 "init": {
27 "type": "NumericLiteral",
28 "start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12}},
29 "extra": {
30 "rawValue": 42,
31 "raw": "42"
32 },
33 "value": 42
34 }
35 }
36 ],
37 "kind": "let"
38 }
39 ],
40 "directives": []
41 }
42 ],
43 "directives": []
44 }
45 }