Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-method-with-params/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
13 "expression": {
14 "type": "ObjectExpression",
15 "start":1,"end":21,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":21,"index":21}},
16 "properties": [
17 {
18 "type": "ObjectMethod",
19 "start":3,"end":19,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":19,"index":19}},
20 "method": true,
21 "key": {
22 "type": "Identifier",
23 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7},"identifierName":"foo"},
24 "name": "foo"
25 },
26 "computed": false,
27 "kind": "method",
28 "id": null,
29 "generator": true,
30 "async": false,
31 "params": [
32 {
33 "type": "Identifier",
34 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9},"identifierName":"x"},
35 "name": "x"
36 },
37 {
38 "type": "Identifier",
39 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"y"},
40 "name": "y"
41 },
42 {
43 "type": "Identifier",
44 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"z"},
45 "name": "z"
46 }
47 ],
48 "body": {
49 "type": "BlockStatement",
50 "start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}},
51 "body": [],
52 "directives": []
53 }
54 }
55 ],
56 "extra": {
57 "parenthesized": true,
58 "parenStart": 0
59 }
60 }
61 }
62 ],
63 "directives": []
64 }
65 }