aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/mlhs_back_anonsplat.txt
blob: d01cb219ecff9d057dbc9118ee978d588fe2589d (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
28
29
30
31
32
33
@ ProgramNode (location: (0...14))
├── locals: [:a, :b, :c]
└── statements:
    @ StatementsNode (location: (0...14))
    └── body: (length: 1)
        └── @ MultiWriteNode (location: (0...14))
            ├── targets: (length: 4)
            │   ├── @ LocalVariableTargetNode (location: (0...1))
            │   │   ├── name: :a
            │   │   └── depth: 0
            │   ├── @ LocalVariableTargetNode (location: (3...4))
            │   │   ├── name: :b
            │   │   └── depth: 0
            │   ├── @ LocalVariableTargetNode (location: (6...7))
            │   │   ├── name: :c
            │   │   └── depth: 0
            │   └── @ SplatNode (location: (9...10))
            │       ├── operator_loc: (9...10) = "*"
            │       └── expression: ∅
            ├── lparen_loc: ∅
            ├── rparen_loc: ∅
            ├── operator_loc: (11...12) = "="
            └── value:
                @ CallNode (location: (13...14))
                ├── receiver: ∅
                ├── call_operator_loc: ∅
                ├── message_loc: (13...14) = "f"
                ├── opening_loc: ∅
                ├── arguments: ∅
                ├── closing_loc: ∅
                ├── block: ∅
                ├── flags: variable_call
                └── name: "f"