diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/parse_line_dstr_escaped_newline.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/parse_line_dstr_escaped_newline.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/parse_line_dstr_escaped_newline.txt b/test/prism/snapshots/seattlerb/parse_line_dstr_escaped_newline.txt new file mode 100644 index 0000000000..aada5a9477 --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_line_dstr_escaped_newline.txt @@ -0,0 +1,21 @@ +@ ProgramNode (location: (1,0)-(3,4)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(3,4)) + └── body: (length: 2) + ├── @ InterpolatedStringNode (location: (1,0)-(2,2)) + │ ├── flags: ∅ + │ ├── opening_loc: (1,0)-(1,1) = "\"" + │ ├── parts: (length: 2) + │ │ ├── @ StringNode (location: (1,1)-(1,4)) + │ │ │ ├── flags: frozen + │ │ │ ├── opening_loc: ∅ + │ │ │ ├── content_loc: (1,1)-(1,4) = "a\\n" + │ │ │ ├── closing_loc: ∅ + │ │ │ └── unescaped: "a\n" + │ │ └── @ EmbeddedStatementsNode (location: (1,4)-(2,1)) + │ │ ├── opening_loc: (1,4)-(1,6) = "\#{" + │ │ ├── statements: ∅ + │ │ └── closing_loc: (2,0)-(2,1) = "}" + │ └── closing_loc: (2,1)-(2,2) = "\"" + └── @ TrueNode (location: (3,0)-(3,4)) |