Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-nested-pipelines-with-arrow-function-and-function-call/output.json

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