Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-tacit-function-calls-chained-in-multiple-lines/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":68,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":15,"index":68}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":68,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":15,"index":68}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":68,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":15,"index":68}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":67,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":4,"column":14,"index":67}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":10,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":10,"index":10},"identifierName":"result"},
20 "name": "result"
21 },
22 "init": {
23 "type": "BinaryExpression",
24 "start":13,"end":67,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":4,"column":14,"index":67}},
25 "left": {
26 "type": "BinaryExpression",
27 "start":13,"end":52,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":3,"column":18,"index":52}},
28 "left": {
29 "type": "BinaryExpression",
30 "start":13,"end":33,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":2,"column":12,"index":33}},
31 "left": {
32 "type": "StringLiteral",
33 "start":13,"end":20,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":20,"index":20}},
34 "extra": {
35 "rawValue": "hello",
36 "raw": "\"hello\""
37 },
38 "value": "hello"
39 },
40 "operator": "|>",
41 "right": {
42 "type": "PipelineBareFunction",
43 "start":24,"end":33,"loc":{"start":{"line":2,"column":3,"index":24},"end":{"line":2,"column":12,"index":33}},
44 "callee": {
45 "type": "Identifier",
46 "start":24,"end":33,"loc":{"start":{"line":2,"column":3,"index":24},"end":{"line":2,"column":12,"index":33},"identifierName":"doubleSay"},
47 "name": "doubleSay"
48 }
49 }
50 },
51 "operator": "|>",
52 "right": {
53 "type": "PipelineBareFunction",
54 "start":37,"end":52,"loc":{"start":{"line":3,"column":3,"index":37},"end":{"line":3,"column":18,"index":52}},
55 "callee": {
56 "type": "MemberExpression",
57 "start":37,"end":52,"loc":{"start":{"line":3,"column":3,"index":37},"end":{"line":3,"column":18,"index":52}},
58 "object": {
59 "type": "Identifier",
60 "start":37,"end":41,"loc":{"start":{"line":3,"column":3,"index":37},"end":{"line":3,"column":7,"index":41},"identifierName":"text"},
61 "name": "text"
62 },
63 "computed": false,
64 "property": {
65 "type": "Identifier",
66 "start":42,"end":52,"loc":{"start":{"line":3,"column":8,"index":42},"end":{"line":3,"column":18,"index":52},"identifierName":"capitalize"},
67 "name": "capitalize"
68 }
69 }
70 }
71 },
72 "operator": "|>",
73 "right": {
74 "type": "PipelineBareFunction",
75 "start":56,"end":67,"loc":{"start":{"line":4,"column":3,"index":56},"end":{"line":4,"column":14,"index":67}},
76 "callee": {
77 "type": "MemberExpression",
78 "start":56,"end":67,"loc":{"start":{"line":4,"column":3,"index":56},"end":{"line":4,"column":14,"index":67}},
79 "object": {
80 "type": "MemberExpression",
81 "start":56,"end":59,"loc":{"start":{"line":4,"column":3,"index":56},"end":{"line":4,"column":6,"index":59}},
82 "object": {
83 "type": "Identifier",
84 "start":56,"end":57,"loc":{"start":{"line":4,"column":3,"index":56},"end":{"line":4,"column":4,"index":57},"identifierName":"a"},
85 "name": "a"
86 },
87 "computed": false,
88 "property": {
89 "type": "Identifier",
90 "start":58,"end":59,"loc":{"start":{"line":4,"column":5,"index":58},"end":{"line":4,"column":6,"index":59},"identifierName":"b"},
91 "name": "b"
92 }
93 },
94 "computed": false,
95 "property": {
96 "type": "Identifier",
97 "start":60,"end":67,"loc":{"start":{"line":4,"column":7,"index":60},"end":{"line":4,"column":14,"index":67},"identifierName":"exclaim"},
98 "name": "exclaim"
99 }
100 }
101 }
102 }
103 }
104 ],
105 "kind": "let"
106 }
107 ],
108 "directives": []
109 }
110 }