aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/iter_args_4.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/seattlerb/iter_args_4.txt')
-rw-r--r--test/yarp/snapshots/seattlerb/iter_args_4.txt32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/yarp/snapshots/seattlerb/iter_args_4.txt b/test/yarp/snapshots/seattlerb/iter_args_4.txt
index 7f59353809..a39ce2c671 100644
--- a/test/yarp/snapshots/seattlerb/iter_args_4.txt
+++ b/test/yarp/snapshots/seattlerb/iter_args_4.txt
@@ -1,42 +1,42 @@
-@ ProgramNode (location: (0...16))
+@ ProgramNode (location: (1,0)-(1,16))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...16))
+ @ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
- └── @ CallNode (location: (0...16))
+ └── @ CallNode (location: (1,0)-(1,16))
├── receiver: ∅
├── call_operator_loc: ∅
- ├── message_loc: (0...1) = "f"
+ ├── message_loc: (1,0)-(1,1) = "f"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block:
- │ @ BlockNode (location: (2...16))
+ │ @ BlockNode (location: (1,2)-(1,16))
│ ├── locals: [:a, :b, :c]
│ ├── parameters:
- │ │ @ BlockParametersNode (location: (4...14))
+ │ │ @ BlockParametersNode (location: (1,4)-(1,14))
│ │ ├── parameters:
- │ │ │ @ ParametersNode (location: (5...13))
+ │ │ │ @ ParametersNode (location: (1,5)-(1,13))
│ │ │ ├── requireds: (length: 1)
- │ │ │ │ └── @ RequiredParameterNode (location: (5...6))
+ │ │ │ │ └── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ └── name: :a
│ │ │ ├── optionals: (length: 0)
│ │ │ ├── rest:
- │ │ │ │ @ RestParameterNode (location: (8...10))
+ │ │ │ │ @ RestParameterNode (location: (1,8)-(1,10))
│ │ │ │ ├── name: :b
- │ │ │ │ ├── name_loc: (9...10) = "b"
- │ │ │ │ └── operator_loc: (8...9) = "*"
+ │ │ │ │ ├── name_loc: (1,9)-(1,10) = "b"
+ │ │ │ │ └── operator_loc: (1,8)-(1,9) = "*"
│ │ │ ├── posts: (length: 1)
- │ │ │ │ └── @ RequiredParameterNode (location: (12...13))
+ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13))
│ │ │ │ └── name: :c
│ │ │ ├── keywords: (length: 0)
│ │ │ ├── keyword_rest: ∅
│ │ │ └── block: ∅
│ │ ├── locals: (length: 0)
- │ │ ├── opening_loc: (4...5) = "|"
- │ │ └── closing_loc: (13...14) = "|"
+ │ │ ├── opening_loc: (1,4)-(1,5) = "|"
+ │ │ └── closing_loc: (1,13)-(1,14) = "|"
│ ├── body: ∅
- │ ├── opening_loc: (2...3) = "{"
- │ └── closing_loc: (15...16) = "}"
+ │ ├── opening_loc: (1,2)-(1,3) = "{"
+ │ └── closing_loc: (1,15)-(1,16) = "}"
├── flags: ∅
└── name: "f"