Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"},
16 "name": "A"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":8,"end":38,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":38,"index":38}},
22 "body": [
23 {
24 "type": "ClassMethod",
25 "start":10,"end":37,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":37,"index":37}},
26 "static": true,
27 "kind": "method",
28 "key": {
29 "type": "Identifier",
30 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"gen"},
31 "name": "gen"
32 },
33 "computed": false,
34 "id": null,
35 "generator": true,
36 "async": false,
37 "params": [
38 {
39 "type": "Identifier",
40 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"v"},
41 "name": "v"
42 }
43 ],
44 "body": {
45 "type": "BlockStatement",
46 "start":25,"end":37,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":37,"index":37}},
47 "body": [
48 {
49 "type": "ExpressionStatement",
50 "start":27,"end":35,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":35,"index":35}},
51 "expression": {
52 "type": "YieldExpression",
53 "start":27,"end":34,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":34,"index":34}},
54 "delegate": false,
55 "argument": {
56 "type": "Identifier",
57 "start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"v"},
58 "name": "v"
59 }
60 }
61 }
62 ],
63 "directives": []
64 }
65 }
66 ]
67 }
68 }
69 ],
70 "directives": []
71 }
72 }