Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-comma-head-with-tacit-function-call/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
4 "errors": [
5 "SyntaxError: Pipeline head should not be a comma-separated sequence expression. (1:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
16 "expression": {
17 "type": "BinaryExpression",
18 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
19 "left": {
20 "type": "SequenceExpression",
21 "start":1,"end":5,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":5,"index":5}},
22 "expressions": [
23 {
24 "type": "NumericLiteral",
25 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2}},
26 "extra": {
27 "rawValue": 1,
28 "raw": "1"
29 },
30 "value": 1
31 },
32 {
33 "type": "NumericLiteral",
34 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}},
35 "extra": {
36 "rawValue": 2,
37 "raw": "2"
38 },
39 "value": 2
40 }
41 ],
42 "extra": {
43 "parenthesized": true,
44 "parenStart": 0
45 }
46 },
47 "operator": "|>",
48 "right": {
49 "type": "PipelineBareFunction",
50 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11}},
51 "callee": {
52 "type": "Identifier",
53 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"f"},
54 "name": "f"
55 }
56 }
57 }
58 }
59 ],
60 "directives": []
61 }
62 }