Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-do-transform-for-await-of-loop-and-topic-in-loop-head/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":70,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":70}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":70,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":70}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":70,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":70}},
13 "id": {
14 "type": "Identifier",
15 "start":15,"end":17,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":17,"index":17},"identifierName":"af"},
16 "name": "af"
17 },
18 "generator": false,
19 "async": true,
20 "params": [],
21 "body": {
22 "type": "BlockStatement",
23 "start":21,"end":70,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":3,"column":1,"index":70}},
24 "body": [
25 {
26 "type": "ExpressionStatement",
27 "start":25,"end":68,"loc":{"start":{"line":2,"column":2,"index":25},"end":{"line":2,"column":45,"index":68}},
28 "expression": {
29 "type": "BinaryExpression",
30 "start":25,"end":68,"loc":{"start":{"line":2,"column":2,"index":25},"end":{"line":2,"column":45,"index":68}},
31 "left": {
32 "type": "Identifier",
33 "start":25,"end":30,"loc":{"start":{"line":2,"column":2,"index":25},"end":{"line":2,"column":7,"index":30},"identifierName":"value"},
34 "name": "value"
35 },
36 "operator": "|>",
37 "right": {
38 "type": "PipelineTopicExpression",
39 "start":34,"end":68,"loc":{"start":{"line":2,"column":11,"index":34},"end":{"line":2,"column":45,"index":68}},
40 "expression": {
41 "type": "DoExpression",
42 "start":34,"end":68,"loc":{"start":{"line":2,"column":11,"index":34},"end":{"line":2,"column":45,"index":68}},
43 "async": false,
44 "body": {
45 "type": "BlockStatement",
46 "start":37,"end":68,"loc":{"start":{"line":2,"column":14,"index":37},"end":{"line":2,"column":45,"index":68}},
47 "body": [
48 {
49 "type": "ForOfStatement",
50 "start":39,"end":66,"loc":{"start":{"line":2,"column":16,"index":39},"end":{"line":2,"column":43,"index":66}},
51 "await": true,
52 "left": {
53 "type": "VariableDeclaration",
54 "start":50,"end":57,"loc":{"start":{"line":2,"column":27,"index":50},"end":{"line":2,"column":34,"index":57}},
55 "declarations": [
56 {
57 "type": "VariableDeclarator",
58 "start":56,"end":57,"loc":{"start":{"line":2,"column":33,"index":56},"end":{"line":2,"column":34,"index":57}},
59 "id": {
60 "type": "Identifier",
61 "start":56,"end":57,"loc":{"start":{"line":2,"column":33,"index":56},"end":{"line":2,"column":34,"index":57},"identifierName":"e"},
62 "name": "e"
63 },
64 "init": null
65 }
66 ],
67 "kind": "const"
68 },
69 "right": {
70 "type": "PipelinePrimaryTopicReference",
71 "start":61,"end":62,"loc":{"start":{"line":2,"column":38,"index":61},"end":{"line":2,"column":39,"index":62}}
72 },
73 "body": {
74 "type": "ExpressionStatement",
75 "start":64,"end":66,"loc":{"start":{"line":2,"column":41,"index":64},"end":{"line":2,"column":43,"index":66}},
76 "expression": {
77 "type": "Identifier",
78 "start":64,"end":65,"loc":{"start":{"line":2,"column":41,"index":64},"end":{"line":2,"column":42,"index":65},"identifierName":"e"},
79 "name": "e"
80 }
81 }
82 }
83 ],
84 "directives": []
85 }
86 }
87 }
88 }
89 }
90 ],
91 "directives": []
92 }
93 }
94 ],
95 "directives": []
96 }
97 }