Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-generator/static-generator-method-with-computed-name/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"},
16 "name": "Foo"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":10,"end":32,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":32,"index":32}},
22 "body": [
23 {
24 "type": "ClassMethod",
25 "start":12,"end":30,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":30,"index":30}},
26 "static": true,
27 "kind": "method",
28 "computed": true,
29 "key": {
30 "type": "Identifier",
31 "start":21,"end":24,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":24,"index":24},"identifierName":"foo"},
32 "name": "foo"
33 },
34 "id": null,
35 "generator": true,
36 "async": false,
37 "params": [],
38 "body": {
39 "type": "BlockStatement",
40 "start":28,"end":30,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":30,"index":30}},
41 "body": [],
42 "directives": []
43 }
44 }
45 ]
46 }
47 }
48 ],
49 "directives": []
50 }
51 }