Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":63}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":63}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":63}},
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":63,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":5,"column":1,"index":63}},
26 "body": [
27 {
28 "type": "ClassMethod",
29 "start":24,"end":61,"loc":{"start":{"line":2,"column":4,"index":24},"end":{"line":4,"column":5,"index":61}},
30 "static": false,
31 "key": {
32 "type": "Identifier",
33 "start":24,"end":27,"loc":{"start":{"line":2,"column":4,"index":24},"end":{"line":2,"column":7,"index":27},"identifierName":"foo"},
34 "name": "foo"
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":30,"end":61,"loc":{"start":{"line":2,"column":10,"index":30},"end":{"line":4,"column":5,"index":61}},
45 "body": [
46 {
47 "type": "ExpressionStatement",
48 "start":40,"end":55,"loc":{"start":{"line":3,"column":8,"index":40},"end":{"line":3,"column":23,"index":55}},
49 "expression": {
50 "type": "NewExpression",
51 "start":40,"end":55,"loc":{"start":{"line":3,"column":8,"index":40},"end":{"line":3,"column":23,"index":55}},
52 "callee": {
53 "type": "MemberExpression",
54 "start":44,"end":53,"loc":{"start":{"line":3,"column":12,"index":44},"end":{"line":3,"column":21,"index":53}},
55 "object": {
56 "type": "Super",
57 "start":44,"end":49,"loc":{"start":{"line":3,"column":12,"index":44},"end":{"line":3,"column":17,"index":49}}
58 },
59 "computed": false,
60 "property": {
61 "type": "Identifier",
62 "start":50,"end":53,"loc":{"start":{"line":3,"column":18,"index":50},"end":{"line":3,"column":21,"index":53},"identifierName":"bar"},
63 "name": "bar"
64 }
65 },
66 "arguments": []
67 }
68 }
69 ],
70 "directives": []
71 }
72 }
73 ]
74 }
75 }
76 ],
77 "directives": []
78 }
79 }