aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/dos_endings.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/dos_endings.txt')
-rw-r--r--test/prism/snapshots/dos_endings.txt104
1 files changed, 52 insertions, 52 deletions
diff --git a/test/prism/snapshots/dos_endings.txt b/test/prism/snapshots/dos_endings.txt
index f0622a2434..4500bf7881 100644
--- a/test/prism/snapshots/dos_endings.txt
+++ b/test/prism/snapshots/dos_endings.txt
@@ -4,6 +4,7 @@
@ StatementsNode (location: (1,0)-(17,20))
└── body: (length: 5)
├── @ CallNode (location: (1,0)-(2,12))
+ │ ├── flags: ∅
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :puts
@@ -11,28 +12,28 @@
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (1,5)-(2,12))
- │ │ ├── arguments: (length: 1)
- │ │ │ └── @ InterpolatedStringNode (location: (1,5)-(2,12))
- │ │ │ ├── opening_loc: ∅
- │ │ │ ├── parts: (length: 2)
- │ │ │ │ ├── @ StringNode (location: (1,5)-(1,9))
- │ │ │ │ │ ├── flags: ∅
- │ │ │ │ │ ├── opening_loc: (1,5)-(1,6) = "\""
- │ │ │ │ │ ├── content_loc: (1,6)-(1,8) = "hi"
- │ │ │ │ │ ├── closing_loc: (1,8)-(1,9) = "\""
- │ │ │ │ │ └── unescaped: "hi"
- │ │ │ │ └── @ StringNode (location: (2,5)-(2,12))
- │ │ │ │ ├── flags: ∅
- │ │ │ │ ├── opening_loc: (2,5)-(2,6) = "\""
- │ │ │ │ ├── content_loc: (2,6)-(2,11) = "there"
- │ │ │ │ ├── closing_loc: (2,11)-(2,12) = "\""
- │ │ │ │ └── unescaped: "there"
- │ │ │ └── closing_loc: ∅
- │ │ └── flags: ∅
+ │ │ ├── flags: ∅
+ │ │ └── arguments: (length: 1)
+ │ │ └── @ InterpolatedStringNode (location: (1,5)-(2,12))
+ │ │ ├── opening_loc: ∅
+ │ │ ├── parts: (length: 2)
+ │ │ │ ├── @ StringNode (location: (1,5)-(1,9))
+ │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── opening_loc: (1,5)-(1,6) = "\""
+ │ │ │ │ ├── content_loc: (1,6)-(1,8) = "hi"
+ │ │ │ │ ├── closing_loc: (1,8)-(1,9) = "\""
+ │ │ │ │ └── unescaped: "hi"
+ │ │ │ └── @ StringNode (location: (2,5)-(2,12))
+ │ │ │ ├── flags: ∅
+ │ │ │ ├── opening_loc: (2,5)-(2,6) = "\""
+ │ │ │ ├── content_loc: (2,6)-(2,11) = "there"
+ │ │ │ ├── closing_loc: (2,11)-(2,12) = "\""
+ │ │ │ └── unescaped: "there"
+ │ │ └── closing_loc: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: ∅
+ │ └── block: ∅
├── @ ArrayNode (location: (4,0)-(5,2))
+ │ ├── flags: ∅
│ ├── elements: (length: 1)
│ │ └── @ SymbolNode (location: (4,3)-(5,1))
│ │ ├── opening_loc: ∅
@@ -40,8 +41,7 @@
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "a\nb"
│ ├── opening_loc: (4,0)-(4,3) = "%I{"
- │ ├── closing_loc: (5,1)-(5,2) = "}"
- │ └── flags: ∅
+ │ └── closing_loc: (5,1)-(5,2) = "}"
├── @ StringNode (location: (7,0)-(7,4))
│ ├── flags: ∅
│ ├── opening_loc: (7,0)-(7,4) = "<<-E"
@@ -66,6 +66,7 @@
├── name_loc: (17,0)-(17,1) = "a"
├── value:
│ @ CallNode (location: (17,4)-(17,20))
+ │ ├── flags: ∅
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -73,35 +74,34 @@
│ ├── opening_loc: (17,7)-(17,8) = "("
│ ├── arguments:
│ │ @ ArgumentsNode (location: (17,8)-(17,19))
- │ │ ├── arguments: (length: 1)
- │ │ │ └── @ CallNode (location: (17,8)-(17,19))
- │ │ │ ├── receiver:
- │ │ │ │ @ InterpolatedStringNode (location: (17,8)-(17,14))
- │ │ │ │ ├── opening_loc: (17,8)-(17,14) = "<<~EOF"
- │ │ │ │ ├── parts: (length: 2)
- │ │ │ │ │ ├── @ StringNode (location: (18,0)-(19,0))
- │ │ │ │ │ │ ├── flags: ∅
- │ │ │ │ │ │ ├── opening_loc: ∅
- │ │ │ │ │ │ ├── content_loc: (18,0)-(19,0) = "\r\n"
- │ │ │ │ │ │ ├── closing_loc: ∅
- │ │ │ │ │ │ └── unescaped: "\n"
- │ │ │ │ │ └── @ StringNode (location: (19,0)-(20,0))
- │ │ │ │ │ ├── flags: ∅
- │ │ │ │ │ ├── opening_loc: ∅
- │ │ │ │ │ ├── content_loc: (19,0)-(20,0) = " baz\r\n"
- │ │ │ │ │ ├── closing_loc: ∅
- │ │ │ │ │ └── unescaped: "baz\r\n"
- │ │ │ │ └── closing_loc: (20,0)-(21,0) = " EOF\r\n"
- │ │ │ ├── call_operator_loc: (17,14)-(17,15) = "."
- │ │ │ ├── name: :chop
- │ │ │ ├── message_loc: (17,15)-(17,19) = "chop"
- │ │ │ ├── opening_loc: ∅
- │ │ │ ├── arguments: ∅
- │ │ │ ├── closing_loc: ∅
- │ │ │ ├── block: ∅
- │ │ │ └── flags: ∅
- │ │ └── flags: ∅
+ │ │ ├── flags: ∅
+ │ │ └── arguments: (length: 1)
+ │ │ └── @ CallNode (location: (17,8)-(17,19))
+ │ │ ├── flags: ∅
+ │ │ ├── receiver:
+ │ │ │ @ InterpolatedStringNode (location: (17,8)-(17,14))
+ │ │ │ ├── opening_loc: (17,8)-(17,14) = "<<~EOF"
+ │ │ │ ├── parts: (length: 2)
+ │ │ │ │ ├── @ StringNode (location: (18,0)-(19,0))
+ │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── opening_loc: ∅
+ │ │ │ │ │ ├── content_loc: (18,0)-(19,0) = "\r\n"
+ │ │ │ │ │ ├── closing_loc: ∅
+ │ │ │ │ │ └── unescaped: "\n"
+ │ │ │ │ └── @ StringNode (location: (19,0)-(20,0))
+ │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── opening_loc: ∅
+ │ │ │ │ ├── content_loc: (19,0)-(20,0) = " baz\r\n"
+ │ │ │ │ ├── closing_loc: ∅
+ │ │ │ │ └── unescaped: "baz\r\n"
+ │ │ │ └── closing_loc: (20,0)-(21,0) = " EOF\r\n"
+ │ │ ├── call_operator_loc: (17,14)-(17,15) = "."
+ │ │ ├── name: :chop
+ │ │ ├── message_loc: (17,15)-(17,19) = "chop"
+ │ │ ├── opening_loc: ∅
+ │ │ ├── arguments: ∅
+ │ │ ├── closing_loc: ∅
+ │ │ └── block: ∅
│ ├── closing_loc: (17,19)-(17,20) = ")"
- │ ├── block: ∅
- │ └── flags: ∅
+ │ └── block: ∅
└── operator_loc: (17,2)-(17,3) = "="