Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "SwitchStatement",
12 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
13 "discriminant": {
14 "type": "Identifier",
15 "start":8,"end":14,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":14,"index":14},"identifierName":"answer"},
16 "name": "answer"
17 },
18 "cases": [
19 {
20 "type": "SwitchCase",
21 "start":18,"end":45,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":45,"index":45}},
22 "consequent": [
23 {
24 "type": "VariableDeclaration",
25 "start":27,"end":38,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":38,"index":38}},
26 "declarations": [
27 {
28 "type": "VariableDeclarator",
29 "start":31,"end":37,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":37,"index":37}},
30 "id": {
31 "type": "Identifier",
32 "start":31,"end":32,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":32,"index":32},"identifierName":"t"},
33 "name": "t"
34 },
35 "init": {
36 "type": "NumericLiteral",
37 "start":35,"end":37,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":37,"index":37}},
38 "extra": {
39 "rawValue": 42,
40 "raw": "42"
41 },
42 "value": 42
43 }
44 }
45 ],
46 "kind": "let"
47 },
48 {
49 "type": "BreakStatement",
50 "start":39,"end":45,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":45,"index":45}},
51 "label": null
52 }
53 ],
54 "test": {
55 "type": "NumericLiteral",
56 "start":23,"end":25,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":25,"index":25}},
57 "extra": {
58 "rawValue": 42,
59 "raw": "42"
60 },
61 "value": 42
62 }
63 }
64 ]
65 }
66 ],
67 "directives": []
68 }
69 }