aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/rescue_in_block.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/seattlerb/rescue_in_block.txt')
-rw-r--r--test/yarp/snapshots/seattlerb/rescue_in_block.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/yarp/snapshots/seattlerb/rescue_in_block.txt b/test/yarp/snapshots/seattlerb/rescue_in_block.txt
index 262a21ad46..58f6282558 100644
--- a/test/yarp/snapshots/seattlerb/rescue_in_block.txt
+++ b/test/yarp/snapshots/seattlerb/rescue_in_block.txt
@@ -1,36 +1,36 @@
-@ ProgramNode (location: (0...26))
+@ ProgramNode (location: (1,0)-(4,3))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...26))
+ @ StatementsNode (location: (1,0)-(4,3))
└── body: (length: 1)
- └── @ CallNode (location: (0...26))
+ └── @ CallNode (location: (1,0)-(4,3))
├── receiver: ∅
├── call_operator_loc: ∅
- ├── message_loc: (0...4) = "blah"
+ ├── message_loc: (1,0)-(1,4) = "blah"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block:
- │ @ BlockNode (location: (5...26))
+ │ @ BlockNode (location: (1,5)-(4,3))
│ ├── locals: []
│ ├── parameters: ∅
│ ├── body:
- │ │ @ BeginNode (location: (8...26))
+ │ │ @ BeginNode (location: (2,0)-(4,3))
│ │ ├── begin_keyword_loc: ∅
│ │ ├── statements: ∅
│ │ ├── rescue_clause:
- │ │ │ @ RescueNode (location: (8...22))
- │ │ │ ├── keyword_loc: (8...14) = "rescue"
+ │ │ │ @ RescueNode (location: (2,0)-(3,7))
+ │ │ │ ├── keyword_loc: (2,0)-(2,6) = "rescue"
│ │ │ ├── exceptions: (length: 0)
│ │ │ ├── operator_loc: ∅
│ │ │ ├── reference: ∅
│ │ │ ├── statements:
- │ │ │ │ @ StatementsNode (location: (17...22))
+ │ │ │ │ @ StatementsNode (location: (3,2)-(3,7))
│ │ │ │ └── body: (length: 1)
- │ │ │ │ └── @ CallNode (location: (17...22))
+ │ │ │ │ └── @ CallNode (location: (3,2)-(3,7))
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
- │ │ │ │ ├── message_loc: (17...22) = "stuff"
+ │ │ │ │ ├── message_loc: (3,2)-(3,7) = "stuff"
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── arguments: ∅
│ │ │ │ ├── closing_loc: ∅
@@ -40,8 +40,8 @@
│ │ │ └── consequent: ∅
│ │ ├── else_clause: ∅
│ │ ├── ensure_clause: ∅
- │ │ └── end_keyword_loc: (23...26) = "end"
- │ ├── opening_loc: (5...7) = "do"
- │ └── closing_loc: (23...26) = "end"
+ │ │ └── end_keyword_loc: (4,0)-(4,3) = "end"
+ │ ├── opening_loc: (1,5)-(1,7) = "do"
+ │ └── closing_loc: (4,0)-(4,3) = "end"
├── flags: ∅
└── name: "blah"