Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/yield-following-arrow-in-params/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":3,"index":56}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":3,"index":56}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":3,"index":56}},
13 "expression": {
14 "type": "FunctionExpression",
15 "start":1,"end":54,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":4,"column":1,"index":54}},
16 "id": null,
17 "generator": true,
18 "async": false,
19 "params": [],
20 "body": {
21 "type": "BlockStatement",
22 "start":14,"end":54,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":4,"column":1,"index":54}},
23 "body": [
24 {
25 "type": "FunctionDeclaration",
26 "start":18,"end":43,"loc":{"start":{"line":2,"column":2,"index":18},"end":{"line":2,"column":27,"index":43}},
27 "id": {
28 "type": "Identifier",
29 "start":27,"end":28,"loc":{"start":{"line":2,"column":11,"index":27},"end":{"line":2,"column":12,"index":28},"identifierName":"f"},
30 "name": "f"
31 },
32 "generator": false,
33 "async": false,
34 "params": [
35 {
36 "type": "AssignmentPattern",
37 "start":29,"end":39,"loc":{"start":{"line":2,"column":13,"index":29},"end":{"line":2,"column":23,"index":39}},
38 "left": {
39 "type": "Identifier",
40 "start":29,"end":30,"loc":{"start":{"line":2,"column":13,"index":29},"end":{"line":2,"column":14,"index":30},"identifierName":"_"},
41 "name": "_"
42 },
43 "right": {
44 "type": "ArrowFunctionExpression",
45 "start":31,"end":39,"loc":{"start":{"line":2,"column":15,"index":31},"end":{"line":2,"column":23,"index":39}},
46 "id": null,
47 "generator": false,
48 "async": false,
49 "params": [],
50 "body": {
51 "type": "NullLiteral",
52 "start":35,"end":39,"loc":{"start":{"line":2,"column":19,"index":35},"end":{"line":2,"column":23,"index":39}}
53 }
54 }
55 }
56 ],
57 "body": {
58 "type": "BlockStatement",
59 "start":41,"end":43,"loc":{"start":{"line":2,"column":25,"index":41},"end":{"line":2,"column":27,"index":43}},
60 "body": [],
61 "directives": []
62 }
63 },
64 {
65 "type": "ExpressionStatement",
66 "start":46,"end":52,"loc":{"start":{"line":3,"column":2,"index":46},"end":{"line":3,"column":8,"index":52}},
67 "expression": {
68 "type": "YieldExpression",
69 "start":46,"end":51,"loc":{"start":{"line":3,"column":2,"index":46},"end":{"line":3,"column":7,"index":51}},
70 "delegate": false,
71 "argument": null
72 }
73 }
74 ],
75 "directives": []
76 },
77 "extra": {
78 "parenthesized": true,
79 "parenStart": 0
80 }
81 }
82 }
83 ],
84 "directives": []
85 }
86 }