Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-nested-pipelines-without-outer-topic/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
4 "errors": [
5 "SyntaxError: Pipeline is in topic style but does not use topic reference. (1:5)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
16 "expression": {
17 "type": "BinaryExpression",
18 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
19 "left": {
20 "type": "Identifier",
21 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
22 "name": "x"
23 },
24 "operator": "|>",
25 "right": {
26 "type": "PipelineTopicExpression",
27 "start":5,"end":13,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":13,"index":13}},
28 "expression": {
29 "type": "BinaryExpression",
30 "start":6,"end":12,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":12,"index":12}},
31 "left": {
32 "type": "Identifier",
33 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"$"},
34 "name": "$"
35 },
36 "operator": "|>",
37 "right": {
38 "type": "PipelineBareFunction",
39 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12}},
40 "callee": {
41 "type": "Identifier",
42 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"f"},
43 "name": "f"
44 }
45 },
46 "extra": {
47 "parenthesized": true,
48 "parenStart": 5
49 }
50 }
51 }
52 }
53 }
54 ],
55 "directives": []
56 }
57 }