aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/xstring_interp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/whitequark/xstring_interp.txt')
-rw-r--r--test/yarp/snapshots/whitequark/xstring_interp.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/yarp/snapshots/whitequark/xstring_interp.txt b/test/yarp/snapshots/whitequark/xstring_interp.txt
index 58f18d8e59..53844dfbe2 100644
--- a/test/yarp/snapshots/whitequark/xstring_interp.txt
+++ b/test/yarp/snapshots/whitequark/xstring_interp.txt
@@ -1,37 +1,37 @@
-@ ProgramNode (location: (0...14))
+@ ProgramNode (location: (1,0)-(1,14))
├── locals: []
└── statements:
- @ StatementsNode (location: (0...14))
+ @ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
- └── @ InterpolatedXStringNode (location: (0...14))
- ├── opening_loc: (0...1) = "`"
+ └── @ InterpolatedXStringNode (location: (1,0)-(1,14))
+ ├── opening_loc: (1,0)-(1,1) = "`"
├── parts: (length: 3)
- │ ├── @ StringNode (location: (1...4))
+ │ ├── @ StringNode (location: (1,1)-(1,4))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
- │ │ ├── content_loc: (1...4) = "foo"
+ │ │ ├── content_loc: (1,1)-(1,4) = "foo"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "foo"
- │ ├── @ EmbeddedStatementsNode (location: (4...10))
- │ │ ├── opening_loc: (4...6) = "\#{"
+ │ ├── @ EmbeddedStatementsNode (location: (1,4)-(1,10))
+ │ │ ├── opening_loc: (1,4)-(1,6) = "\#{"
│ │ ├── statements:
- │ │ │ @ StatementsNode (location: (6...9))
+ │ │ │ @ StatementsNode (location: (1,6)-(1,9))
│ │ │ └── body: (length: 1)
- │ │ │ └── @ CallNode (location: (6...9))
+ │ │ │ └── @ CallNode (location: (1,6)-(1,9))
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
- │ │ │ ├── message_loc: (6...9) = "bar"
+ │ │ │ ├── message_loc: (1,6)-(1,9) = "bar"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ ├── block: ∅
│ │ │ ├── flags: variable_call
│ │ │ └── name: "bar"
- │ │ └── closing_loc: (9...10) = "}"
- │ └── @ StringNode (location: (10...13))
+ │ │ └── closing_loc: (1,9)-(1,10) = "}"
+ │ └── @ StringNode (location: (1,10)-(1,13))
│ ├── flags: ∅
│ ├── opening_loc: ∅
- │ ├── content_loc: (10...13) = "baz"
+ │ ├── content_loc: (1,10)-(1,13) = "baz"
│ ├── closing_loc: ∅
│ └── unescaped: "baz"
- └── closing_loc: (13...14) = "`"
+ └── closing_loc: (1,13)-(1,14) = "`"