diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt b/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt new file mode 100644 index 0000000000..4a675d67c4 --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt @@ -0,0 +1,25 @@ +@ ProgramNode (location: (1,0)-(1,13)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,13)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,13)) + ├── flags: ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :a + ├── message_loc: (1,0)-(1,1) = "a" + ├── opening_loc: (1,1)-(1,2) = "(" + ├── arguments: + │ @ ArgumentsNode (location: (1,2)-(1,12)) + │ ├── flags: ∅ + │ └── arguments: (length: 2) + │ ├── @ StringNode (location: (1,2)-(1,6)) + │ │ ├── flags: ∅ + │ │ ├── opening_loc: (1,2)-(1,3) = "\"" + │ │ ├── content_loc: (1,3)-(1,5) = "\\n" + │ │ ├── closing_loc: (1,5)-(1,6) = "\"" + │ │ └── unescaped: "\n" + │ └── @ TrueNode (location: (1,8)-(1,12)) + ├── closing_loc: (1,12)-(1,13) = ")" + └── block: ∅ |