diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/parse_line_heredoc_hardnewline.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/parse_line_heredoc_hardnewline.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/parse_line_heredoc_hardnewline.txt b/test/prism/snapshots/seattlerb/parse_line_heredoc_hardnewline.txt new file mode 100644 index 0000000000..ad0f0dfd99 --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_line_heredoc_hardnewline.txt @@ -0,0 +1,22 @@ +@ ProgramNode (location: (1,0)-(6,3)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(6,3)) + └── body: (length: 2) + ├── @ StringNode (location: (1,0)-(1,8)) + │ ├── flags: ∅ + │ ├── opening_loc: (1,0)-(1,8) = "<<-EOFOO" + │ ├── content_loc: (2,0)-(3,0) = "\\n\\n\\n\\n\\n\\n\\n\\n\\n\n" + │ ├── closing_loc: (3,0)-(4,0) = "EOFOO\n" + │ └── unescaped: "\n\n\n\n\n\n\n\n\n\n" + └── @ ClassNode (location: (5,0)-(6,3)) + ├── locals: [] + ├── class_keyword_loc: (5,0)-(5,5) = "class" + ├── constant_path: + │ @ ConstantReadNode (location: (5,6)-(5,9)) + │ └── name: :Foo + ├── inheritance_operator_loc: ∅ + ├── superclass: ∅ + ├── body: ∅ + ├── end_keyword_loc: (6,0)-(6,3) = "end" + └── name: :Foo |