summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/masgn_cmd.txt
blob: 1c62658ab2b302acc91ecd3bc7aed8e3747312ed (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
34
35
@ ProgramNode (location: (1,0)-(1,16))
├── locals: [:foo, :bar]
└── statements:
    @ StatementsNode (location: (1,0)-(1,16))
    └── body: (length: 1)
        └── @ MultiWriteNode (location: (1,0)-(1,16))
            ├── lefts: (length: 2)
            │   ├── @ LocalVariableTargetNode (location: (1,0)-(1,3))
            │   │   ├── name: :foo
            │   │   └── depth: 0
            │   └── @ LocalVariableTargetNode (location: (1,5)-(1,8))
            │       ├── name: :bar
            │       └── depth: 0
            ├── rest: ∅
            ├── rights: (length: 0)
            ├── lparen_loc: ∅
            ├── rparen_loc: ∅
            ├── operator_loc: (1,9)-(1,10) = "="
            └── value:
                @ CallNode (location: (1,11)-(1,16))
                ├── flags: ignore_visibility
                ├── receiver: ∅
                ├── call_operator_loc: ∅
                ├── name: :m
                ├── message_loc: (1,11)-(1,12) = "m"
                ├── opening_loc: ∅
                ├── arguments:
                │   @ ArgumentsNode (location: (1,13)-(1,16))
                │   ├── flags: ∅
                │   └── arguments: (length: 1)
                │       └── @ LocalVariableReadNode (location: (1,13)-(1,16))
                │           ├── name: :foo
                │           └── depth: 0
                ├── closing_loc: ∅
                └── block: ∅