Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/class-properties/super/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":56}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":56}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":56}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"Fails"},
16 "name": "Fails"
17 },
18 "superClass": {
19 "type": "ClassExpression",
20 "start":20,"end":35,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":35,"index":35}},
21 "id": null,
22 "superClass": null,
23 "body": {
24 "type": "ClassBody",
25 "start":26,"end":35,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":35,"index":35}},
26 "body": [
27 {
28 "type": "ClassMethod",
29 "start":28,"end":33,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":33,"index":33}},
30 "static": false,
31 "key": {
32 "type": "Identifier",
33 "start":28,"end":29,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":29,"index":29},"identifierName":"c"},
34 "name": "c"
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":31,"end":33,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":33,"index":33}},
45 "body": [],
46 "directives": []
47 }
48 }
49 ]
50 }
51 },
52 "body": {
53 "type": "ClassBody",
54 "start":36,"end":56,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":3,"column":1,"index":56}},
55 "body": [
56 {
57 "type": "ClassProperty",
58 "start":40,"end":54,"loc":{"start":{"line":2,"column":2,"index":40},"end":{"line":2,"column":16,"index":54}},
59 "static": false,
60 "key": {
61 "type": "Identifier",
62 "start":40,"end":41,"loc":{"start":{"line":2,"column":2,"index":40},"end":{"line":2,"column":3,"index":41},"identifierName":"c"},
63 "name": "c"
64 },
65 "computed": false,
66 "value": {
67 "type": "CallExpression",
68 "start":44,"end":53,"loc":{"start":{"line":2,"column":6,"index":44},"end":{"line":2,"column":15,"index":53}},
69 "callee": {
70 "type": "MemberExpression",
71 "start":44,"end":51,"loc":{"start":{"line":2,"column":6,"index":44},"end":{"line":2,"column":13,"index":51}},
72 "object": {
73 "type": "Super",
74 "start":44,"end":49,"loc":{"start":{"line":2,"column":6,"index":44},"end":{"line":2,"column":11,"index":49}}
75 },
76 "computed": false,
77 "property": {
78 "type": "Identifier",
79 "start":50,"end":51,"loc":{"start":{"line":2,"column":12,"index":50},"end":{"line":2,"column":13,"index":51},"identifierName":"c"},
80 "name": "c"
81 }
82 },
83 "arguments": []
84 }
85 }
86 ]
87 }
88 }
89 ],
90 "directives": []
91 }
92 }