aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/masgn_nested.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/whitequark/masgn_nested.txt')
-rw-r--r--test/yarp/snapshots/whitequark/masgn_nested.txt48
1 files changed, 24 insertions, 24 deletions
diff --git a/test/yarp/snapshots/whitequark/masgn_nested.txt b/test/yarp/snapshots/whitequark/masgn_nested.txt
index 3a3f07d09b..9fac89a301 100644
--- a/test/yarp/snapshots/whitequark/masgn_nested.txt
+++ b/test/yarp/snapshots/whitequark/masgn_nested.txt
@@ -1,57 +1,57 @@
-@ ProgramNode (location: (0...30))
+@ ProgramNode (location: (1,0)-(3,15))
├── locals: [:b, :a, :c]
└── statements:
- @ StatementsNode (location: (0...30))
+ @ StatementsNode (location: (1,0)-(3,15))
└── body: (length: 2)
- ├── @ MultiWriteNode (location: (0...13))
+ ├── @ MultiWriteNode (location: (1,0)-(1,13))
│ ├── targets: (length: 1)
- │ │ └── @ MultiTargetNode (location: (1...6))
+ │ │ └── @ MultiTargetNode (location: (1,1)-(1,6))
│ │ ├── targets: (length: 2)
- │ │ │ ├── @ LocalVariableTargetNode (location: (2...3))
+ │ │ │ ├── @ LocalVariableTargetNode (location: (1,2)-(1,3))
│ │ │ │ ├── name: :b
│ │ │ │ └── depth: 0
- │ │ │ └── @ SplatNode (location: (3...4))
- │ │ │ ├── operator_loc: (3...4) = ","
+ │ │ │ └── @ SplatNode (location: (1,3)-(1,4))
+ │ │ │ ├── operator_loc: (1,3)-(1,4) = ","
│ │ │ └── expression: ∅
- │ │ ├── lparen_loc: (1...2) = "("
- │ │ └── rparen_loc: (5...6) = ")"
- │ ├── lparen_loc: (0...1) = "("
- │ ├── rparen_loc: (6...7) = ")"
- │ ├── operator_loc: (8...9) = "="
+ │ │ ├── lparen_loc: (1,1)-(1,2) = "("
+ │ │ └── rparen_loc: (1,5)-(1,6) = ")"
+ │ ├── lparen_loc: (1,0)-(1,1) = "("
+ │ ├── rparen_loc: (1,6)-(1,7) = ")"
+ │ ├── operator_loc: (1,8)-(1,9) = "="
│ └── value:
- │ @ CallNode (location: (10...13))
+ │ @ CallNode (location: (1,10)-(1,13))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
- │ ├── message_loc: (10...13) = "foo"
+ │ ├── message_loc: (1,10)-(1,13) = "foo"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "foo"
- └── @ MultiWriteNode (location: (15...30))
+ └── @ MultiWriteNode (location: (3,0)-(3,15))
├── targets: (length: 2)
- │ ├── @ LocalVariableTargetNode (location: (15...16))
+ │ ├── @ LocalVariableTargetNode (location: (3,0)-(3,1))
│ │ ├── name: :a
│ │ └── depth: 0
- │ └── @ MultiTargetNode (location: (18...24))
+ │ └── @ MultiTargetNode (location: (3,3)-(3,9))
│ ├── targets: (length: 2)
- │ │ ├── @ LocalVariableTargetNode (location: (19...20))
+ │ │ ├── @ LocalVariableTargetNode (location: (3,4)-(3,5))
│ │ │ ├── name: :b
│ │ │ └── depth: 0
- │ │ └── @ LocalVariableTargetNode (location: (22...23))
+ │ │ └── @ LocalVariableTargetNode (location: (3,7)-(3,8))
│ │ ├── name: :c
│ │ └── depth: 0
- │ ├── lparen_loc: (18...19) = "("
- │ └── rparen_loc: (23...24) = ")"
+ │ ├── lparen_loc: (3,3)-(3,4) = "("
+ │ └── rparen_loc: (3,8)-(3,9) = ")"
├── lparen_loc: ∅
├── rparen_loc: ∅
- ├── operator_loc: (25...26) = "="
+ ├── operator_loc: (3,10)-(3,11) = "="
└── value:
- @ CallNode (location: (27...30))
+ @ CallNode (location: (3,12)-(3,15))
├── receiver: ∅
├── call_operator_loc: ∅
- ├── message_loc: (27...30) = "foo"
+ ├── message_loc: (3,12)-(3,15) = "foo"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅