Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-hash-proposal-associativity/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 "program": {
5 "type": "Program",
6 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
16 "left": {
17 "type": "NumericLiteral",
18 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1}},
19 "extra": {
20 "rawValue": 1,
21 "raw": "1"
22 },
23 "value": 1
24 },
25 "operator": "|>",
26 "right": {
27 "type": "BinaryExpression",
28 "start":5,"end":17,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":17,"index":17}},
29 "left": {
30 "type": "CallExpression",
31 "start":5,"end":9,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":9,"index":9}},
32 "callee": {
33 "type": "Identifier",
34 "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"f"},
35 "name": "f"
36 },
37 "arguments": [
38 {
39 "type": "TopicReference",
40 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8}}
41 }
42 ]
43 },
44 "operator": "|>",
45 "right": {
46 "type": "CallExpression",
47 "start":13,"end":17,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":17,"index":17}},
48 "callee": {
49 "type": "Identifier",
50 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"g"},
51 "name": "g"
52 },
53 "arguments": [
54 {
55 "type": "TopicReference",
56 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16}}
57 }
58 ]
59 }
60 }
61 }
62 }
63 ],
64 "directives": []
65 }
66 }