Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-class/migrated_0011/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
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":58,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":58,"index":58}},
22 "body": [
23 {
24 "type": "ClassMethod",
25 "start":9,"end":21,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":21,"index":21}},
26 "static": true,
27 "key": {
28 "type": "Identifier",
29 "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"a"},
30 "name": "a"
31 },
32 "computed": false,
33 "kind": "method",
34 "id": null,
35 "generator": false,
36 "async": false,
37 "params": [],
38 "body": {
39 "type": "BlockStatement",
40 "start":19,"end":21,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":21,"index":21}},
41 "body": [],
42 "directives": []
43 }
44 },
45 {
46 "type": "ClassMethod",
47 "start":22,"end":38,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":38,"index":38}},
48 "static": true,
49 "key": {
50 "type": "Identifier",
51 "start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"a"},
52 "name": "a"
53 },
54 "computed": false,
55 "kind": "get",
56 "id": null,
57 "generator": false,
58 "async": false,
59 "params": [],
60 "body": {
61 "type": "BlockStatement",
62 "start":36,"end":38,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":38,"index":38}},
63 "body": [],
64 "directives": []
65 }
66 },
67 {
68 "type": "ClassMethod",
69 "start":39,"end":56,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":56,"index":56}},
70 "static": true,
71 "key": {
72 "type": "Identifier",
73 "start":50,"end":51,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":51,"index":51},"identifierName":"a"},
74 "name": "a"
75 },
76 "computed": false,
77 "kind": "set",
78 "id": null,
79 "generator": false,
80 "async": false,
81 "params": [
82 {
83 "type": "Identifier",
84 "start":52,"end":53,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":53,"index":53},"identifierName":"b"},
85 "name": "b"
86 }
87 ],
88 "body": {
89 "type": "BlockStatement",
90 "start":54,"end":56,"loc":{"start":{"line":1,"column":54,"index":54},"end":{"line":1,"column":56,"index":56}},
91 "body": [],
92 "directives": []
93 }
94 }
95 ]
96 }
97 }
98 ],
99 "directives": []
100 }
101 }