summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/lasgn_arg_rescue_arg.txt
blob: 7bbef7055a1a761495eaa43624c7526f7b658066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@ ProgramNode (location: (1,0)-(1,14))
├── locals: [:a]
└── statements:
    @ StatementsNode (location: (1,0)-(1,14))
    └── body: (length: 1)
        └── @ LocalVariableWriteNode (location: (1,0)-(1,14))
            ├── name: :a
            ├── depth: 0
            ├── name_loc: (1,0)-(1,1) = "a"
            ├── value:
            │   @ RescueModifierNode (location: (1,4)-(1,14))
            │   ├── expression:
            │   │   @ IntegerNode (location: (1,4)-(1,5))
            │   │   ├── flags: decimal
            │   │   └── value: 1
            │   ├── keyword_loc: (1,6)-(1,12) = "rescue"
            │   └── rescue_expression:
            │       @ IntegerNode (location: (1,13)-(1,14))
            │       ├── flags: decimal
            │       └── value: 2
            └── operator_loc: (1,2)-(1,3) = "="