diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/heredoc__backslash_dos_format.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/heredoc__backslash_dos_format.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/heredoc__backslash_dos_format.txt b/test/prism/snapshots/seattlerb/heredoc__backslash_dos_format.txt new file mode 100644 index 0000000000..353e4c6964 --- /dev/null +++ b/test/prism/snapshots/seattlerb/heredoc__backslash_dos_format.txt @@ -0,0 +1,17 @@ +@ ProgramNode (location: (1,0)-(1,12)) +├── locals: [:str] +└── statements: + @ StatementsNode (location: (1,0)-(1,12)) + └── body: (length: 1) + └── @ LocalVariableWriteNode (location: (1,0)-(1,12)) + ├── name: :str + ├── depth: 0 + ├── name_loc: (1,0)-(1,3) = "str" + ├── value: + │ @ StringNode (location: (1,6)-(1,12)) + │ ├── flags: ∅ + │ ├── opening_loc: (1,6)-(1,12) = "<<-XXX" + │ ├── content_loc: (2,0)-(4,0) = "before\\\r\nafter\r\n" + │ ├── closing_loc: (4,0)-(5,0) = "XXX\r\n" + │ └── unescaped: "beforeafter\n" + └── operator_loc: (1,4)-(1,5) = "=" |