aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/parser_bug_272.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/whitequark/parser_bug_272.txt')
-rw-r--r--test/yarp/snapshots/whitequark/parser_bug_272.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/yarp/snapshots/whitequark/parser_bug_272.txt b/test/yarp/snapshots/whitequark/parser_bug_272.txt
index 2766990546..e60da94c2a 100644
--- a/test/yarp/snapshots/whitequark/parser_bug_272.txt
+++ b/test/yarp/snapshots/whitequark/parser_bug_272.txt
@@ -1,28 +1,28 @@
-@ ProgramNode (location: (0...15))
+@ ProgramNode (location: (1,0)-(1,15))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...15))
+ @ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
- └── @ CallNode (location: (0...15))
+ └── @ CallNode (location: (1,0)-(1,15))
├── receiver: ∅
├── call_operator_loc: ∅
- ├── message_loc: (0...1) = "a"
+ ├── message_loc: (1,0)-(1,1) = "a"
├── opening_loc: ∅
├── arguments:
- │ @ ArgumentsNode (location: (2...4))
+ │ @ ArgumentsNode (location: (1,2)-(1,4))
│ └── arguments: (length: 1)
- │ └── @ InstanceVariableReadNode (location: (2...4))
+ │ └── @ InstanceVariableReadNode (location: (1,2)-(1,4))
│ └── name: :@b
├── closing_loc: ∅
├── block:
- │ @ BlockNode (location: (5...15))
+ │ @ BlockNode (location: (1,5)-(1,15))
│ ├── locals: [:c]
│ ├── parameters:
- │ │ @ BlockParametersNode (location: (8...11))
+ │ │ @ BlockParametersNode (location: (1,8)-(1,11))
│ │ ├── parameters:
- │ │ │ @ ParametersNode (location: (9...10))
+ │ │ │ @ ParametersNode (location: (1,9)-(1,10))
│ │ │ ├── requireds: (length: 1)
- │ │ │ │ └── @ RequiredParameterNode (location: (9...10))
+ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ └── name: :c
│ │ │ ├── optionals: (length: 0)
│ │ │ ├── rest: ∅
@@ -31,10 +31,10 @@
│ │ │ ├── keyword_rest: ∅
│ │ │ └── block: ∅
│ │ ├── locals: (length: 0)
- │ │ ├── opening_loc: (8...9) = "|"
- │ │ └── closing_loc: (10...11) = "|"
+ │ │ ├── opening_loc: (1,8)-(1,9) = "|"
+ │ │ └── closing_loc: (1,10)-(1,11) = "|"
│ ├── body: ∅
- │ ├── opening_loc: (5...7) = "do"
- │ └── closing_loc: (12...15) = "end"
+ │ ├── opening_loc: (1,5)-(1,7) = "do"
+ │ └── closing_loc: (1,12)-(1,15) = "end"
├── flags: ∅
└── name: "a"