summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/masgn_paren.txt
blob: 5d79774d5e4c5a5b64e3bc368eef5bea5c1455bd (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
36
37
38
39
@ ProgramNode (location: (1,0)-(1,12))
├── locals: [:a, :b]
└── statements:
    @ StatementsNode (location: (1,0)-(1,12))
    └── body: (length: 1)
        └── @ MultiWriteNode (location: (1,0)-(1,12))
            ├── lefts: (length: 2)
            │   ├── @ LocalVariableTargetNode (location: (1,1)-(1,2))
            │   │   ├── name: :a
            │   │   └── depth: 0
            │   └── @ LocalVariableTargetNode (location: (1,4)-(1,5))
            │       ├── name: :b
            │       └── depth: 0
            ├── rest: ∅
            ├── rights: (length: 0)
            ├── lparen_loc: (1,0)-(1,1) = "("
            ├── rparen_loc: (1,5)-(1,6) = ")"
            ├── operator_loc: (1,7)-(1,8) = "="
            └── value:
                @ CallNode (location: (1,9)-(1,12))
                ├── flags: ∅
                ├── receiver:
                │   @ CallNode (location: (1,9)-(1,10))
                │   ├── flags: variable_call, ignore_visibility
                │   ├── receiver: ∅
                │   ├── call_operator_loc: ∅
                │   ├── name: :c
                │   ├── message_loc: (1,9)-(1,10) = "c"
                │   ├── opening_loc: ∅
                │   ├── arguments: ∅
                │   ├── closing_loc: ∅
                │   └── block: ∅
                ├── call_operator_loc: (1,10)-(1,11) = "."
                ├── name: :d
                ├── message_loc: (1,11)-(1,12) = "d"
                ├── opening_loc: ∅
                ├── arguments: ∅
                ├── closing_loc: ∅
                └── block: ∅