aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/block_scope.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/seattlerb/block_scope.txt')
-rw-r--r--test/yarp/snapshots/seattlerb/block_scope.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/yarp/snapshots/seattlerb/block_scope.txt b/test/yarp/snapshots/seattlerb/block_scope.txt
index 03d1b09597..14263c5623 100644
--- a/test/yarp/snapshots/seattlerb/block_scope.txt
+++ b/test/yarp/snapshots/seattlerb/block_scope.txt
@@ -1,28 +1,28 @@
-@ ProgramNode (location: (0...10))
+@ ProgramNode (location: (1,0)-(1,10))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...10))
+ @ StatementsNode (location: (1,0)-(1,10))
└── body: (length: 1)
- └── @ CallNode (location: (0...10))
+ └── @ CallNode (location: (1,0)-(1,10))
├── receiver: ∅
├── call_operator_loc: ∅
- ├── message_loc: (0...1) = "a"
+ ├── message_loc: (1,0)-(1,1) = "a"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block:
- │ @ BlockNode (location: (2...10))
+ │ @ BlockNode (location: (1,2)-(1,10))
│ ├── locals: [:b]
│ ├── parameters:
- │ │ @ BlockParametersNode (location: (4...8))
+ │ │ @ BlockParametersNode (location: (1,4)-(1,8))
│ │ ├── parameters: ∅
│ │ ├── locals: (length: 1)
- │ │ │ └── @ BlockLocalVariableNode (location: (6...7))
+ │ │ │ └── @ BlockLocalVariableNode (location: (1,6)-(1,7))
│ │ │ └── name: :b
- │ │ ├── opening_loc: (4...5) = "|"
- │ │ └── closing_loc: (7...8) = "|"
+ │ │ ├── opening_loc: (1,4)-(1,5) = "|"
+ │ │ └── closing_loc: (1,7)-(1,8) = "|"
│ ├── body: ∅
- │ ├── opening_loc: (2...3) = "{"
- │ └── closing_loc: (9...10) = "}"
+ │ ├── opening_loc: (1,2)-(1,3) = "{"
+ │ └── closing_loc: (1,9)-(1,10) = "}"
├── flags: ∅
└── name: "a"