aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/var_op_asgn_cmd.txt
blob: 9f9750cedd5b1fbc9f6809a17ce15d3c13601d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@ ProgramNode (location: (1,0)-(1,12))
├── locals: [:foo]
└── statements:
    @ StatementsNode (location: (1,0)-(1,12))
    └── body: (length: 1)
        └── @ LocalVariableOperatorWriteNode (location: (1,0)-(1,12))
            ├── name_loc: (1,0)-(1,3) = "foo"
            ├── operator_loc: (1,4)-(1,6) = "+="
            ├── value:
            │   @ CallNode (location: (1,7)-(1,12))
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── message_loc: (1,7)-(1,8) = "m"
            │   ├── opening_loc: ∅
            │   ├── arguments:
            │   │   @ ArgumentsNode (location: (1,9)-(1,12))
            │   │   └── arguments: (length: 1)
            │   │       └── @ LocalVariableReadNode (location: (1,9)-(1,12))
            │   │           ├── name: :foo
            │   │           └── depth: 0
            │   ├── closing_loc: ∅
            │   ├── block: ∅
            │   ├── flags: ∅
            │   └── name: "m"
            ├── name: :foo
            ├── operator: :+
            └── depth: 0