summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/safe_op_asgn2.txt
blob: bdb0e0615603329a222d9166598b3fee3c935256 (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
@ ProgramNode (location: (1,0)-(2,1))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(2,1))
    └── body: (length: 1)
        └── @ CallOrWriteNode (location: (1,0)-(2,1))
            ├── flags: safe_navigation
            ├── receiver:
            │   @ CallNode (location: (1,0)-(1,1))
            │   ├── flags: variable_call, ignore_visibility
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── name: :a
            │   ├── message_loc: (1,0)-(1,1) = "a"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   └── block: ∅
            ├── call_operator_loc: (1,1)-(1,3) = "&."
            ├── message_loc: (1,3)-(1,4) = "b"
            ├── read_name: :b
            ├── write_name: :b=
            ├── operator_loc: (1,5)-(1,8) = "||="
            └── value:
                @ CallNode (location: (2,0)-(2,1))
                ├── flags: variable_call, ignore_visibility
                ├── receiver: ∅
                ├── call_operator_loc: ∅
                ├── name: :x
                ├── message_loc: (2,0)-(2,1) = "x"
                ├── opening_loc: ∅
                ├── arguments: ∅
                ├── closing_loc: ∅
                └── block: ∅