Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/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":4,"index":29}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":4,"index":29}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":4,"index":29}},
13 "expression": {
14 "type": "ObjectExpression",
15 "start":1,"end":28,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":4,"column":3,"index":28}},
16 "properties": [
17 {
18 "type": "ObjectMethod",
19 "start":3,"end":26,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":4,"column":1,"index":26}},
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 "body": {
33 "type": "BlockStatement",
34 "start":10,"end":26,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":4,"column":1,"index":26}},
35 "body": [
36 {
37 "type": "ExpressionStatement",
38 "start":15,"end":20,"loc":{"start":{"line":2,"column":2,"index":15},"end":{"line":2,"column":7,"index":20}},
39 "expression": {
40 "type": "YieldExpression",
41 "start":15,"end":20,"loc":{"start":{"line":2,"column":2,"index":15},"end":{"line":2,"column":7,"index":20}},
42 "delegate": false,
43 "argument": null
44 }
45 },
46 {
47 "type": "ExpressionStatement",
48 "start":23,"end":24,"loc":{"start":{"line":3,"column":2,"index":23},"end":{"line":3,"column":3,"index":24}},
49 "expression": {
50 "type": "NumericLiteral",
51 "start":23,"end":24,"loc":{"start":{"line":3,"column":2,"index":23},"end":{"line":3,"column":3,"index":24}},
52 "extra": {
53 "rawValue": 3,
54 "raw": "3"
55 },
56 "value": 3
57 }
58 }
59 ],
60 "directives": []
61 }
62 }
63 ],
64 "extra": {
65 "parenthesized": true,
66 "parenStart": 0
67 }
68 }
69 }
70 ],
71 "directives": []
72 }
73 }