aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/dos_endings.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/yarp/snapshots/dos_endings.txt')
-rw-r--r--test/yarp/snapshots/dos_endings.txt90
1 files changed, 45 insertions, 45 deletions
diff --git a/test/yarp/snapshots/dos_endings.txt b/test/yarp/snapshots/dos_endings.txt
index e6192b59d0..fd9bc95609 100644
--- a/test/yarp/snapshots/dos_endings.txt
+++ b/test/yarp/snapshots/dos_endings.txt
@@ -1,93 +1,93 @@
-@ ProgramNode (location: (0...108))
+@ ProgramNode (location: (1,0)-(17,20))
├── locals: [:x, :a]
└── statements:
- @ StatementsNode (location: (0...108))
+ @ StatementsNode (location: (1,0)-(17,20))
└── body: (length: 5)
- ├── @ CallNode (location: (0...24))
+ ├── @ CallNode (location: (1,0)-(2,12))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
- │ ├── message_loc: (0...4) = "puts"
+ │ ├── message_loc: (1,0)-(1,4) = "puts"
│ ├── opening_loc: ∅
│ ├── arguments:
- │ │ @ ArgumentsNode (location: (5...24))
+ │ │ @ ArgumentsNode (location: (1,5)-(2,12))
│ │ └── arguments: (length: 1)
- │ │ └── @ StringConcatNode (location: (5...24))
+ │ │ └── @ StringConcatNode (location: (1,5)-(2,12))
│ │ ├── left:
- │ │ │ @ StringNode (location: (5...9))
+ │ │ │ @ StringNode (location: (1,5)-(1,9))
│ │ │ ├── flags: ∅
- │ │ │ ├── opening_loc: (5...6) = "\""
- │ │ │ ├── content_loc: (6...8) = "hi"
- │ │ │ ├── closing_loc: (8...9) = "\""
+ │ │ │ ├── opening_loc: (1,5)-(1,6) = "\""
+ │ │ │ ├── content_loc: (1,6)-(1,8) = "hi"
+ │ │ │ ├── closing_loc: (1,8)-(1,9) = "\""
│ │ │ └── unescaped: "hi"
│ │ └── right:
- │ │ @ StringNode (location: (17...24))
+ │ │ @ StringNode (location: (2,5)-(2,12))
│ │ ├── flags: ∅
- │ │ ├── opening_loc: (17...18) = "\""
- │ │ ├── content_loc: (18...23) = "there"
- │ │ ├── closing_loc: (23...24) = "\""
+ │ │ ├── opening_loc: (2,5)-(2,6) = "\""
+ │ │ ├── content_loc: (2,6)-(2,11) = "there"
+ │ │ ├── closing_loc: (2,11)-(2,12) = "\""
│ │ └── unescaped: "there"
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: ∅
│ └── name: "puts"
- ├── @ ArrayNode (location: (28...37))
+ ├── @ ArrayNode (location: (4,0)-(5,2))
│ ├── elements: (length: 1)
- │ │ └── @ SymbolNode (location: (31...36))
+ │ │ └── @ SymbolNode (location: (4,3)-(5,1))
│ │ ├── opening_loc: ∅
- │ │ ├── value_loc: (31...36) = "a\\\r\nb"
+ │ │ ├── value_loc: (4,3)-(5,1) = "a\\\r\nb"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "ab"
- │ ├── opening_loc: (28...31) = "%I{"
- │ └── closing_loc: (36...37) = "}"
- ├── @ StringNode (location: (41...45))
+ │ ├── opening_loc: (4,0)-(4,3) = "%I{"
+ │ └── closing_loc: (5,1)-(5,2) = "}"
+ ├── @ StringNode (location: (7,0)-(7,4))
│ ├── flags: ∅
- │ ├── opening_loc: (41...45) = "<<-E"
- │ ├── content_loc: (47...70) = " 1 \\\r\n 2\r\n 3\r\n"
- │ ├── closing_loc: (70...73) = "E\r\n"
+ │ ├── opening_loc: (7,0)-(7,4) = "<<-E"
+ │ ├── content_loc: (8,0)-(10,0) = " 1 \\\r\n 2\r\n 3\r\n"
+ │ ├── closing_loc: (11,0)-(11,0) = "E\r\n"
│ └── unescaped: " 1 2\r\n 3\r\n"
- ├── @ LocalVariableWriteNode (location: (75...84))
+ ├── @ LocalVariableWriteNode (location: (13,0)-(14,0))
│ ├── name: :x
│ ├── depth: 0
- │ ├── name_loc: (75...76) = "x"
+ │ ├── name_loc: (13,0)-(13,1) = "x"
│ ├── value:
- │ │ @ StringNode (location: (79...84))
+ │ │ @ StringNode (location: (13,4)-(14,0))
│ │ ├── flags: ∅
- │ │ ├── opening_loc: (79...82) = "%\r\n"
- │ │ ├── content_loc: (82...82) = ""
- │ │ ├── closing_loc: (82...84) = "\r\n"
+ │ │ ├── opening_loc: (13,4)-(13,0) = "%\r\n"
+ │ │ ├── content_loc: (14,0)-(13,0) = ""
+ │ │ ├── closing_loc: (14,0)-(14,0) = "\r\n"
│ │ └── unescaped: ""
- │ └── operator_loc: (77...78) = "="
- └── @ LocalVariableWriteNode (location: (88...108))
+ │ └── operator_loc: (13,2)-(13,3) = "="
+ └── @ LocalVariableWriteNode (location: (17,0)-(17,20))
├── name: :a
├── depth: 0
- ├── name_loc: (88...89) = "a"
+ ├── name_loc: (17,0)-(17,1) = "a"
├── value:
- │ @ CallNode (location: (92...108))
+ │ @ CallNode (location: (17,4)-(17,20))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
- │ ├── message_loc: (92...95) = "foo"
- │ ├── opening_loc: (95...96) = "("
+ │ ├── message_loc: (17,4)-(17,7) = "foo"
+ │ ├── opening_loc: (17,7)-(17,8) = "("
│ ├── arguments:
- │ │ @ ArgumentsNode (location: (96...107))
+ │ │ @ ArgumentsNode (location: (17,8)-(17,19))
│ │ └── arguments: (length: 1)
- │ │ └── @ CallNode (location: (96...107))
+ │ │ └── @ CallNode (location: (17,8)-(17,19))
│ │ ├── receiver:
- │ │ │ @ StringNode (location: (96...102))
+ │ │ │ @ StringNode (location: (17,8)-(17,14))
│ │ │ ├── flags: ∅
- │ │ │ ├── opening_loc: (96...102) = "<<~EOF"
- │ │ │ ├── content_loc: (110...121) = "\r\n baz\r\n"
- │ │ │ ├── closing_loc: (121...128) = " EOF\r\n"
+ │ │ │ ├── opening_loc: (17,8)-(17,14) = "<<~EOF"
+ │ │ │ ├── content_loc: (18,0)-(19,0) = "\r\n baz\r\n"
+ │ │ │ ├── closing_loc: (20,0)-(20,0) = " EOF\r\n"
│ │ │ └── unescaped: "\nbaz\r\n"
- │ │ ├── call_operator_loc: (102...103) = "."
- │ │ ├── message_loc: (103...107) = "chop"
+ │ │ ├── call_operator_loc: (17,14)-(17,15) = "."
+ │ │ ├── message_loc: (17,15)-(17,19) = "chop"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: ∅
│ │ └── name: "chop"
- │ ├── closing_loc: (107...108) = ")"
+ │ ├── closing_loc: (17,19)-(17,20) = ")"
│ ├── block: ∅
│ ├── flags: ∅
│ └── name: "foo"
- └── operator_loc: (90...91) = "="
+ └── operator_loc: (17,2)-(17,3) = "="