diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt b/test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt new file mode 100644 index 0000000000..e12014afa5 --- /dev/null +++ b/test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt @@ -0,0 +1,67 @@ +@ ProgramNode (location: (1,0)-(1,20)) +├── locals: [:a] +└── statements: + @ StatementsNode (location: (1,0)-(1,20)) + └── body: (length: 1) + └── @ LocalVariableWriteNode (location: (1,0)-(1,20)) + ├── name: :a + ├── depth: 0 + ├── name_loc: (1,0)-(1,1) = "a" + ├── value: + │ @ CallNode (location: (1,4)-(1,20)) + │ ├── flags: ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :foo + │ ├── message_loc: (1,4)-(1,7) = "foo" + │ ├── opening_loc: (1,7)-(1,8) = "(" + │ ├── arguments: + │ │ @ ArgumentsNode (location: (1,8)-(1,19)) + │ │ ├── flags: ∅ + │ │ └── arguments: (length: 1) + │ │ └── @ CallNode (location: (1,8)-(1,19)) + │ │ ├── flags: ∅ + │ │ ├── receiver: + │ │ │ @ InterpolatedStringNode (location: (1,8)-(1,14)) + │ │ │ ├── flags: ∅ + │ │ │ ├── opening_loc: (1,8)-(1,14) = "<<~EOF" + │ │ │ ├── parts: (length: 3) + │ │ │ │ ├── @ StringNode (location: (2,0)-(3,0)) + │ │ │ │ │ ├── flags: frozen + │ │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ │ ├── content_loc: (2,0)-(3,0) = "\n" + │ │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ │ └── unescaped: "\n" + │ │ │ │ ├── @ EmbeddedStatementsNode (location: (3,4)-(3,10)) + │ │ │ │ │ ├── opening_loc: (3,4)-(3,6) = "\#{" + │ │ │ │ │ ├── statements: + │ │ │ │ │ │ @ StatementsNode (location: (3,6)-(3,9)) + │ │ │ │ │ │ └── body: (length: 1) + │ │ │ │ │ │ └── @ CallNode (location: (3,6)-(3,9)) + │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility + │ │ │ │ │ │ ├── receiver: ∅ + │ │ │ │ │ │ ├── call_operator_loc: ∅ + │ │ │ │ │ │ ├── name: :bar + │ │ │ │ │ │ ├── message_loc: (3,6)-(3,9) = "bar" + │ │ │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ │ │ ├── arguments: ∅ + │ │ │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ │ │ └── block: ∅ + │ │ │ │ │ └── closing_loc: (3,9)-(3,10) = "}" + │ │ │ │ └── @ StringNode (location: (3,10)-(4,0)) + │ │ │ │ ├── flags: frozen + │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ ├── content_loc: (3,10)-(4,0) = "baz\n" + │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ └── unescaped: "baz\n" + │ │ │ └── closing_loc: (4,0)-(5,0) = " EOF\n" + │ │ ├── call_operator_loc: (1,14)-(1,15) = "." + │ │ ├── name: :chop + │ │ ├── message_loc: (1,15)-(1,19) = "chop" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── closing_loc: (1,19)-(1,20) = ")" + │ └── block: ∅ + └── operator_loc: (1,2)-(1,3) = "=" |