Debian Codegraph @

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

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