aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/seattlerb/lasgn_arg_rescue_arg.txt
blob: b1c234bff2445af589dea557b0940f2a0fccf5dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ 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
            │   ├── keyword_loc: (1,6)-(1,12) = "rescue"
            │   └── rescue_expression:
            │       @ IntegerNode (location: (1,13)-(1,14))
            │       └── flags: decimal
            └── operator_loc: (1,2)-(1,3) = "="