Debian Codegraph @

packages/babel-parser/test/fixtures/es2018/async-generators/class-method-no-asi/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":29}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":29}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":29}},
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":29,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":4,"column":1,"index":29}},
22 "body": [
23 {
24 "type": "ClassProperty",
25 "start":12,"end":17,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":7,"index":17}},
26 "static": false,
27 "key": {
28 "type": "Identifier",
29 "start":12,"end":17,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":7,"index":17},"identifierName":"async"},
30 "name": "async"
31 },
32 "computed": false,
33 "value": null
34 },
35 {
36 "type": "ClassMethod",
37 "start":20,"end":27,"loc":{"start":{"line":3,"column":2,"index":20},"end":{"line":3,"column":9,"index":27}},
38 "static": false,
39 "kind": "method",
40 "key": {
41 "type": "Identifier",
42 "start":22,"end":23,"loc":{"start":{"line":3,"column":4,"index":22},"end":{"line":3,"column":5,"index":23},"identifierName":"a"},
43 "name": "a"
44 },
45 "computed": false,
46 "id": null,
47 "generator": true,
48 "async": false,
49 "params": [],
50 "body": {
51 "type": "BlockStatement",
52 "start":25,"end":27,"loc":{"start":{"line":3,"column":7,"index":25},"end":{"line":3,"column":9,"index":27}},
53 "body": [],
54 "directives": []
55 }
56 }
57 ]
58 }
59 }
60 ],
61 "directives": []
62 }
63 }