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