diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/dedenting_non_interpolating_heredoc_line_continuation.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/dedenting_non_interpolating_heredoc_line_continuation.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/dedenting_non_interpolating_heredoc_line_continuation.txt b/test/prism/snapshots/whitequark/dedenting_non_interpolating_heredoc_line_continuation.txt new file mode 100644 index 0000000000..d43d313e6b --- /dev/null +++ b/test/prism/snapshots/whitequark/dedenting_non_interpolating_heredoc_line_continuation.txt @@ -0,0 +1,22 @@ +@ ProgramNode (location: (1,0)-(1,8)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,8)) + └── body: (length: 1) + └── @ InterpolatedStringNode (location: (1,0)-(1,8)) + ├── flags: ∅ + ├── opening_loc: (1,0)-(1,8) = "<<~'FOO'" + ├── parts: (length: 2) + │ ├── @ StringNode (location: (2,0)-(3,0)) + │ │ ├── flags: frozen + │ │ ├── opening_loc: ∅ + │ │ ├── content_loc: (2,0)-(3,0) = " baz\\\n" + │ │ ├── closing_loc: ∅ + │ │ └── unescaped: "baz\\\n" + │ └── @ StringNode (location: (3,0)-(4,0)) + │ ├── flags: frozen + │ ├── opening_loc: ∅ + │ ├── content_loc: (3,0)-(4,0) = " qux\n" + │ ├── closing_loc: ∅ + │ └── unescaped: "qux\n" + └── closing_loc: (4,0)-(5,0) = "FOO\n" |