Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-super-property/super_computed/output.json

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