@ ProgramNode (location: (0...38))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...38))
    └── body: (length: 1)
        └── @ IfNode (location: (0...38))
            ├── if_keyword_loc: (0...2) = "if"
            ├── predicate:
            │   @ CallNode (location: (3...6))
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── message_loc: (3...6) = "foo"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   ├── block: ∅
            │   ├── flags: variable_call
            │   └── name: "foo"
            ├── statements:
            │   @ StatementsNode (location: (8...11))
            │   └── body: (length: 1)
            │       └── @ CallNode (location: (8...11))
            │           ├── receiver: ∅
            │           ├── call_operator_loc: ∅
            │           ├── message_loc: (8...11) = "bar"
            │           ├── opening_loc: ∅
            │           ├── arguments: ∅
            │           ├── closing_loc: ∅
            │           ├── block: ∅
            │           ├── flags: variable_call
            │           └── name: "bar"
            ├── consequent:
            │   @ IfNode (location: (13...38))
            │   ├── if_keyword_loc: (13...18) = "elsif"
            │   ├── predicate:
            │   │   @ CallNode (location: (19...22))
            │   │   ├── receiver: ∅
            │   │   ├── call_operator_loc: ∅
            │   │   ├── message_loc: (19...22) = "baz"
            │   │   ├── opening_loc: ∅
            │   │   ├── arguments: ∅
            │   │   ├── closing_loc: ∅
            │   │   ├── block: ∅
            │   │   ├── flags: variable_call
            │   │   └── name: "baz"
            │   ├── statements:
            │   │   @ StatementsNode (location: (24...25))
            │   │   └── body: (length: 1)
            │   │       └── @ IntegerNode (location: (24...25))
            │   │           └── flags: decimal
            │   ├── consequent:
            │   │   @ ElseNode (location: (27...38))
            │   │   ├── else_keyword_loc: (27...31) = "else"
            │   │   ├── statements:
            │   │   │   @ StatementsNode (location: (32...33))
            │   │   │   └── body: (length: 1)
            │   │   │       └── @ IntegerNode (location: (32...33))
            │   │   │           └── flags: decimal
            │   │   └── end_keyword_loc: (35...38) = "end"
            │   └── end_keyword_loc: (35...38) = "end"
            └── end_keyword_loc: (35...38) = "end"
