Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":24}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":24}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "BlockStatement",
12 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":24}},
13 "body": [
14 {
15 "type": "VariableDeclaration",
16 "start":2,"end":19,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":19,"index":19}},
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": 14,
31 "raw": "14"
32 },
33 "value": 14
34 }
35 },
36 {
37 "type": "VariableDeclarator",
38 "start":14,"end":19,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":19,"index":19}},
39 "id": {
40 "type": "Identifier",
41 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"y"},
42 "name": "y"
43 },
44 "init": {
45 "type": "NumericLiteral",
46 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}},
47 "extra": {
48 "rawValue": 3,
49 "raw": "3"
50 },
51 "value": 3
52 }
53 }
54 ],
55 "kind": "var"
56 },
57 {
58 "type": "ExpressionStatement",
59 "start":20,"end":22,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":2,"index":22}},
60 "expression": {
61 "type": "Identifier",
62 "start":20,"end":21,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":1,"index":21},"identifierName":"z"},
63 "name": "z"
64 }
65 }
66 ],
67 "directives": []
68 }
69 ],
70 "directives": []
71 }
72 }