@ ProgramNode (location: (1,0)-(1,42)) ├── locals: [] └── statements: @ StatementsNode (location: (1,0)-(1,42)) └── body: (length: 1) └── @ CallNode (location: (1,0)-(1,42)) ├── flags: ignore_visibility ├── receiver: ∅ ├── call_operator_loc: ∅ ├── name: :f ├── message_loc: (1,0)-(1,1) = "f" ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ └── block: @ BlockNode (location: (1,2)-(1,42)) ├── locals: [:a, :b, :c, :d] ├── parameters: │ @ BlockParametersNode (location: (1,4)-(1,27)) │ ├── parameters: │ │ @ ParametersNode (location: (1,5)-(1,26)) │ │ ├── requireds: (length: 1) │ │ │ └── @ RequiredParameterNode (location: (1,5)-(1,6)) │ │ │ ├── flags: ∅ │ │ │ └── name: :a │ │ ├── optionals: (length: 2) │ │ │ ├── @ OptionalParameterNode (location: (1,8)-(1,14)) │ │ │ │ ├── flags: ∅ │ │ │ │ ├── name: :b │ │ │ │ ├── name_loc: (1,8)-(1,9) = "b" │ │ │ │ ├── operator_loc: (1,10)-(1,11) = "=" │ │ │ │ └── value: │ │ │ │ @ IntegerNode (location: (1,12)-(1,14)) │ │ │ │ ├── flags: decimal │ │ │ │ └── value: 42 │ │ │ └── @ OptionalParameterNode (location: (1,16)-(1,22)) │ │ │ ├── flags: ∅ │ │ │ ├── name: :c │ │ │ ├── name_loc: (1,16)-(1,17) = "c" │ │ │ ├── operator_loc: (1,18)-(1,19) = "=" │ │ │ └── value: │ │ │ @ IntegerNode (location: (1,20)-(1,22)) │ │ │ ├── flags: decimal │ │ │ └── value: 24 │ │ ├── rest: ∅ │ │ ├── posts: (length: 0) │ │ ├── keywords: (length: 0) │ │ ├── keyword_rest: ∅ │ │ └── block: │ │ @ BlockParameterNode (location: (1,24)-(1,26)) │ │ ├── flags: ∅ │ │ ├── name: :d │ │ ├── name_loc: (1,25)-(1,26) = "d" │ │ └── operator_loc: (1,24)-(1,25) = "&" │ ├── locals: (length: 0) │ ├── opening_loc: (1,4)-(1,5) = "|" │ └── closing_loc: (1,26)-(1,27) = "|" ├── body: │ @ StatementsNode (location: (1,28)-(1,40)) │ └── body: (length: 1) │ └── @ ArrayNode (location: (1,28)-(1,40)) │ ├── flags: ∅ │ ├── elements: (length: 4) │ │ ├── @ LocalVariableReadNode (location: (1,29)-(1,30)) │ │ │ ├── name: :a │ │ │ └── depth: 0 │ │ ├── @ LocalVariableReadNode (location: (1,32)-(1,33)) │ │ │ ├── name: :b │ │ │ └── depth: 0 │ │ ├── @ LocalVariableReadNode (location: (1,35)-(1,36)) │ │ │ ├── name: :c │ │ │ └── depth: 0 │ │ └── @ LocalVariableReadNode (location: (1,38)-(1,39)) │ │ ├── name: :d │ │ └── depth: 0 │ ├── opening_loc: (1,28)-(1,29) = "[" │ └── closing_loc: (1,39)-(1,40) = "]" ├── opening_loc: (1,2)-(1,3) = "{" └── closing_loc: (1,41)-(1,42) = "}"