diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-12-06 15:32:53 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-12-06 20:50:02 +0000 |
commit | fe6ee5e92148755b75ffd00ab29611b59a416d5a (patch) | |
tree | 9283cde10b67c8daec7c56511f58ed9133569377 /test/prism/snapshots/seattlerb/difficult0_.txt | |
parent | cbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff) |
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'test/prism/snapshots/seattlerb/difficult0_.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/difficult0_.txt | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/test/prism/snapshots/seattlerb/difficult0_.txt b/test/prism/snapshots/seattlerb/difficult0_.txt index 1810fa0dae..d5b6a87c1e 100644 --- a/test/prism/snapshots/seattlerb/difficult0_.txt +++ b/test/prism/snapshots/seattlerb/difficult0_.txt @@ -4,6 +4,7 @@ @ StatementsNode (location: (1,0)-(4,8)) └── body: (length: 1) └── @ CallNode (location: (1,0)-(4,8)) + ├── flags: ∅ ├── receiver: ∅ ├── call_operator_loc: ∅ ├── name: :p @@ -11,62 +12,61 @@ ├── opening_loc: ∅ ├── arguments: │ @ ArgumentsNode (location: (1,2)-(4,8)) - │ ├── arguments: (length: 1) - │ │ └── @ CallNode (location: (1,2)-(4,8)) - │ │ ├── receiver: - │ │ │ @ CallNode (location: (1,2)-(4,4)) - │ │ │ ├── receiver: - │ │ │ │ @ StringNode (location: (1,2)-(1,8)) - │ │ │ │ ├── flags: ∅ - │ │ │ │ ├── opening_loc: (1,2)-(1,8) = "<<-END" - │ │ │ │ ├── content_loc: (2,0)-(3,0) = " a\n" - │ │ │ │ ├── closing_loc: (3,0)-(4,0) = " END\n" - │ │ │ │ └── unescaped: " a\n" - │ │ │ ├── call_operator_loc: ∅ - │ │ │ ├── name: :+ - │ │ │ ├── message_loc: (1,8)-(1,9) = "+" - │ │ │ ├── opening_loc: ∅ - │ │ │ ├── arguments: - │ │ │ │ @ ArgumentsNode (location: (1,9)-(4,4)) - │ │ │ │ ├── arguments: (length: 1) - │ │ │ │ │ └── @ InterpolatedStringNode (location: (1,9)-(4,4)) - │ │ │ │ │ ├── opening_loc: (1,9)-(1,10) = "'" - │ │ │ │ │ ├── parts: (length: 2) - │ │ │ │ │ │ ├── @ StringNode (location: (1,10)-(2,0)) - │ │ │ │ │ │ │ ├── flags: ∅ - │ │ │ │ │ │ │ ├── opening_loc: ∅ - │ │ │ │ │ │ │ ├── content_loc: (1,10)-(2,0) = "b\n" - │ │ │ │ │ │ │ ├── closing_loc: ∅ - │ │ │ │ │ │ │ └── unescaped: "b\n" - │ │ │ │ │ │ └── @ StringNode (location: (4,0)-(4,3)) - │ │ │ │ │ │ ├── flags: ∅ - │ │ │ │ │ │ ├── opening_loc: ∅ - │ │ │ │ │ │ ├── content_loc: (4,0)-(4,3) = " c" - │ │ │ │ │ │ ├── closing_loc: ∅ - │ │ │ │ │ │ └── unescaped: " c" - │ │ │ │ │ └── closing_loc: (4,3)-(4,4) = "'" - │ │ │ │ └── flags: ∅ - │ │ │ ├── closing_loc: ∅ - │ │ │ ├── block: ∅ - │ │ │ └── flags: ∅ - │ │ ├── call_operator_loc: ∅ - │ │ ├── name: :+ - │ │ ├── message_loc: (4,4)-(4,5) = "+" - │ │ ├── opening_loc: ∅ - │ │ ├── arguments: - │ │ │ @ ArgumentsNode (location: (4,5)-(4,8)) - │ │ │ ├── arguments: (length: 1) - │ │ │ │ └── @ StringNode (location: (4,5)-(4,8)) - │ │ │ │ ├── flags: ∅ - │ │ │ │ ├── opening_loc: (4,5)-(4,6) = "'" - │ │ │ │ ├── content_loc: (4,6)-(4,7) = "d" - │ │ │ │ ├── closing_loc: (4,7)-(4,8) = "'" - │ │ │ │ └── unescaped: "d" - │ │ │ └── flags: ∅ - │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: ∅ - │ └── flags: ∅ + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ CallNode (location: (1,2)-(4,8)) + │ ├── flags: ∅ + │ ├── receiver: + │ │ @ CallNode (location: (1,2)-(4,4)) + │ │ ├── flags: ∅ + │ │ ├── receiver: + │ │ │ @ StringNode (location: (1,2)-(1,8)) + │ │ │ ├── flags: ∅ + │ │ │ ├── opening_loc: (1,2)-(1,8) = "<<-END" + │ │ │ ├── content_loc: (2,0)-(3,0) = " a\n" + │ │ │ ├── closing_loc: (3,0)-(4,0) = " END\n" + │ │ │ └── unescaped: " a\n" + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :+ + │ │ ├── message_loc: (1,8)-(1,9) = "+" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: + │ │ │ @ ArgumentsNode (location: (1,9)-(4,4)) + │ │ │ ├── flags: ∅ + │ │ │ └── arguments: (length: 1) + │ │ │ └── @ InterpolatedStringNode (location: (1,9)-(4,4)) + │ │ │ ├── opening_loc: (1,9)-(1,10) = "'" + │ │ │ ├── parts: (length: 2) + │ │ │ │ ├── @ StringNode (location: (1,10)-(2,0)) + │ │ │ │ │ ├── flags: ∅ + │ │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ │ ├── content_loc: (1,10)-(2,0) = "b\n" + │ │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ │ └── unescaped: "b\n" + │ │ │ │ └── @ StringNode (location: (4,0)-(4,3)) + │ │ │ │ ├── flags: ∅ + │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ ├── content_loc: (4,0)-(4,3) = " c" + │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ └── unescaped: " c" + │ │ │ └── closing_loc: (4,3)-(4,4) = "'" + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :+ + │ ├── message_loc: (4,4)-(4,5) = "+" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (4,5)-(4,8)) + │ │ ├── flags: ∅ + │ │ └── arguments: (length: 1) + │ │ └── @ StringNode (location: (4,5)-(4,8)) + │ │ ├── flags: ∅ + │ │ ├── opening_loc: (4,5)-(4,6) = "'" + │ │ ├── content_loc: (4,6)-(4,7) = "d" + │ │ ├── closing_loc: (4,7)-(4,8) = "'" + │ │ └── unescaped: "d" + │ ├── closing_loc: ∅ + │ └── block: ∅ ├── closing_loc: ∅ - ├── block: ∅ - └── flags: ∅ + └── block: ∅ |