@ ProgramNode (location: (0...78))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...78))
    └── body: (length: 4)
        ├── @ DefNode (location: (0...14))
        │   ├── name: :foo
        │   ├── name_loc: (4...7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (12...14))
        │   │   └── body: (length: 1)
        │   │       └── @ IntegerNode (location: (12...14))
        │   │           └── flags: decimal
        │   ├── locals: []
        │   ├── def_keyword_loc: (0...3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (7...8) = "("
        │   ├── rparen_loc: (8...9) = ")"
        │   ├── equal_loc: (10...11) = "="
        │   └── end_keyword_loc: ∅
        ├── @ DefNode (location: (16...34))
        │   ├── name: :inc
        │   ├── name_loc: (20...23) = "inc"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (24...25))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (24...25))
        │   │   │       └── name: :x
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (29...34))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (29...34))
        │   │           ├── receiver:
        │   │           │   @ LocalVariableReadNode (location: (29...30))
        │   │           │   ├── name: :x
        │   │           │   └── depth: 0
        │   │           ├── call_operator_loc: ∅
        │   │           ├── message_loc: (31...32) = "+"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments:
        │   │           │   @ ArgumentsNode (location: (33...34))
        │   │           │   └── arguments: (length: 1)
        │   │           │       └── @ IntegerNode (location: (33...34))
        │   │           │           └── flags: decimal
        │   │           ├── closing_loc: ∅
        │   │           ├── block: ∅
        │   │           ├── flags: ∅
        │   │           └── name: "+"
        │   ├── locals: [:x]
        │   ├── def_keyword_loc: (16...19) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (23...24) = "("
        │   ├── rparen_loc: (25...26) = ")"
        │   ├── equal_loc: (27...28) = "="
        │   └── end_keyword_loc: ∅
        ├── @ DefNode (location: (36...54))
        │   ├── name: :foo
        │   ├── name_loc: (44...47) = "foo"
        │   ├── receiver:
        │   │   @ CallNode (location: (40...43))
        │   │   ├── receiver: ∅
        │   │   ├── call_operator_loc: ∅
        │   │   ├── message_loc: (40...43) = "obj"
        │   │   ├── opening_loc: ∅
        │   │   ├── arguments: ∅
        │   │   ├── closing_loc: ∅
        │   │   ├── block: ∅
        │   │   ├── flags: variable_call
        │   │   └── name: "obj"
        │   ├── parameters: ∅
        │   ├── body:
        │   │   @ StatementsNode (location: (52...54))
        │   │   └── body: (length: 1)
        │   │       └── @ IntegerNode (location: (52...54))
        │   │           └── flags: decimal
        │   ├── locals: []
        │   ├── def_keyword_loc: (36...39) = "def"
        │   ├── operator_loc: (43...44) = "."
        │   ├── lparen_loc: (47...48) = "("
        │   ├── rparen_loc: (48...49) = ")"
        │   ├── equal_loc: (50...51) = "="
        │   └── end_keyword_loc: ∅
        └── @ DefNode (location: (56...78))
            ├── name: :inc
            ├── name_loc: (64...67) = "inc"
            ├── receiver:
            │   @ CallNode (location: (60...63))
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── message_loc: (60...63) = "obj"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   ├── block: ∅
            │   ├── flags: variable_call
            │   └── name: "obj"
            ├── parameters:
            │   @ ParametersNode (location: (68...69))
            │   ├── requireds: (length: 1)
            │   │   └── @ RequiredParameterNode (location: (68...69))
            │   │       └── name: :x
            │   ├── optionals: (length: 0)
            │   ├── rest: ∅
            │   ├── posts: (length: 0)
            │   ├── keywords: (length: 0)
            │   ├── keyword_rest: ∅
            │   └── block: ∅
            ├── body:
            │   @ StatementsNode (location: (73...78))
            │   └── body: (length: 1)
            │       └── @ CallNode (location: (73...78))
            │           ├── receiver:
            │           │   @ LocalVariableReadNode (location: (73...74))
            │           │   ├── name: :x
            │           │   └── depth: 0
            │           ├── call_operator_loc: ∅
            │           ├── message_loc: (75...76) = "+"
            │           ├── opening_loc: ∅
            │           ├── arguments:
            │           │   @ ArgumentsNode (location: (77...78))
            │           │   └── arguments: (length: 1)
            │           │       └── @ IntegerNode (location: (77...78))
            │           │           └── flags: decimal
            │           ├── closing_loc: ∅
            │           ├── block: ∅
            │           ├── flags: ∅
            │           └── name: "+"
            ├── locals: [:x]
            ├── def_keyword_loc: (56...59) = "def"
            ├── operator_loc: (63...64) = "."
            ├── lparen_loc: (67...68) = "("
            ├── rparen_loc: (69...70) = ")"
            ├── equal_loc: (71...72) = "="
            └── end_keyword_loc: ∅
