Debian Codegraph @

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

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