summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt
blob: 33016f32f86369d14144997a0619d3ee04585b99 (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
@ ProgramNode (location: (1,0)-(1,18))
├── locals: [:a]
└── statements:
    @ StatementsNode (location: (1,0)-(1,18))
    └── body: (length: 1)
        └── @ LocalVariableOrWriteNode (location: (1,0)-(1,18))
            ├── name_loc: (1,0)-(1,1) = "a"
            ├── operator_loc: (1,2)-(1,5) = "||="
            ├── value:
            │   @ RescueModifierNode (location: (1,6)-(1,18))
            │   ├── expression:
            │   │   @ CallNode (location: (1,6)-(1,7))
            │   │   ├── flags: variable_call, ignore_visibility
            │   │   ├── receiver: ∅
            │   │   ├── call_operator_loc: ∅
            │   │   ├── name: :b
            │   │   ├── message_loc: (1,6)-(1,7) = "b"
            │   │   ├── opening_loc: ∅
            │   │   ├── arguments: ∅
            │   │   ├── closing_loc: ∅
            │   │   └── block: ∅
            │   ├── keyword_loc: (1,8)-(1,14) = "rescue"
            │   └── rescue_expression:
            │       @ NilNode (location: (1,15)-(1,18))
            ├── name: :a
            └── depth: 0