Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
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":19,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":19,"index":19}},
25 "expression": {
26 "type": "BinaryExpression",
27 "start":6,"end":18,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":18,"index":18}},
28 "left": {
29 "type": "PipelinePrimaryTopicReference",
30 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}}
31 },
32 "operator": "|>",
33 "right": {
34 "type": "PipelineTopicExpression",
35 "start":11,"end":18,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":18,"index":18}},
36 "expression": {
37 "type": "CallExpression",
38 "start":11,"end":18,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":18,"index":18}},
39 "callee": {
40 "type": "Identifier",
41 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"f"},
42 "name": "f"
43 },
44 "arguments": [
45 {
46 "type": "PipelinePrimaryTopicReference",
47 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14}}
48 },
49 {
50 "type": "Identifier",
51 "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"x"},
52 "name": "x"
53 }
54 ]
55 }
56 },
57 "extra": {
58 "parenthesized": true,
59 "parenStart": 5
60 }
61 }
62 }
63 }
64 }
65 ],
66 "directives": []
67 }
68 }