diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-12-01 10:18:13 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-12-01 15:18:19 +0000 |
commit | 64f33aea2b9afa85bb840e38b8130f738d56f1c3 (patch) | |
tree | 136208ded1a388937574c31d8f9ee437397e9be3 /test/prism | |
parent | cbe57caa246f57440667a53b4526ddabcea82df9 (diff) | |
download | ruby-64f33aea2b9afa85bb840e38b8130f738d56f1c3.tar.gz |
[ruby/prism] Update snapshots
https://github.com/ruby/prism/commit/f4c80c67dc
Diffstat (limited to 'test/prism')
-rw-r--r-- | test/prism/snapshots/heredoc_with_comment.txt | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/test/prism/snapshots/heredoc_with_comment.txt b/test/prism/snapshots/heredoc_with_comment.txt index 98d9af9095..f0dfa47d6c 100644 --- a/test/prism/snapshots/heredoc_with_comment.txt +++ b/test/prism/snapshots/heredoc_with_comment.txt @@ -1,11 +1,21 @@ -@ ProgramNode (location: (1,0)-(1,9)) +@ ProgramNode (location: (1,0)-(1,15)) ├── locals: [] └── statements: - @ StatementsNode (location: (1,0)-(1,9)) + @ StatementsNode (location: (1,0)-(1,15)) └── body: (length: 1) - └── @ StringNode (location: (1,0)-(1,9)) - ├── flags: ∅ - ├── opening_loc: (1,0)-(1,9) = "<<-TARGET" - ├── content_loc: (2,0)-(2,0) = "" - ├── closing_loc: (2,0)-(2,6) = "TARGET" - └── unescaped: "" + └── @ CallNode (location: (1,0)-(1,15)) + ├── receiver: + │ @ StringNode (location: (1,0)-(1,9)) + │ ├── flags: ∅ + │ ├── opening_loc: (1,0)-(1,9) = "<<-TARGET" + │ ├── content_loc: (2,0)-(3,0) = " content makes for an obvious error\r\n" + │ ├── closing_loc: (3,0)-(3,6) = "TARGET" + │ └── unescaped: " content makes for an obvious error\r\n" + ├── call_operator_loc: (1,9)-(1,10) = "." + ├── name: :chomp + ├── message_loc: (1,10)-(1,15) = "chomp" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + ├── block: ∅ + └── flags: ∅ |