Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/138/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":23,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":23,"index":23}},
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": "set",
34 "id": null,
35 "generator": false,
36 "async": false,
37 "params": [
38 {
39 "type": "Identifier",
40 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"v"},
41 "name": "v"
42 }
43 ],
44 "body": {
45 "type": "BlockStatement",
46 "start":21,"end":23,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":23,"index":23}},
47 "body": [],
48 "directives": []
49 }
50 },
51 {
52 "type": "ClassMethod",
53 "start":24,"end":36,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":36,"index":36}},
54 "static": false,
55 "key": {
56 "type": "Identifier",
57 "start":28,"end":31,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":31,"index":31},"identifierName":"foo"},
58 "name": "foo"
59 },
60 "computed": false,
61 "kind": "get",
62 "id": null,
63 "generator": false,
64 "async": false,
65 "params": [],
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 }