Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
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":37,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":37,"index":37}},
22 "body": [
23 {
24 "type": "ClassMethod",
25 "start":10,"end":22,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":22,"index":22}},
26 "static": false,
27 "key": {
28 "type": "Identifier",
29 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"foo"},
30 "name": "foo"
31 },
32 "computed": false,
33 "kind": "get",
34 "id": null,
35 "generator": false,
36 "async": false,
37 "params": [],
38 "body": {
39 "type": "BlockStatement",
40 "start":20,"end":22,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":22,"index":22}},
41 "body": [],
42 "directives": []
43 }
44 },
45 {
46 "type": "ClassMethod",
47 "start":23,"end":36,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":36,"index":36}},
48 "static": false,
49 "key": {
50 "type": "Identifier",
51 "start":27,"end":30,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":30,"index":30},"identifierName":"foo"},
52 "name": "foo"
53 },
54 "computed": false,
55 "kind": "set",
56 "id": null,
57 "generator": false,
58 "async": false,
59 "params": [
60 {
61 "type": "Identifier",
62 "start":31,"end":32,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":32,"index":32},"identifierName":"v"},
63 "name": "v"
64 }
65 ],
66 "body": {
67 "type": "BlockStatement",
68 "start":34,"end":36,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":36,"index":36}},
69 "body": [],
70 "directives": []
71 }
72 }
73 ]
74 }
75 }
76 ],
77 "directives": []
78 }
79 }