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/whitequark/lvar_injecting_match.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/whitequark/lvar_injecting_match.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/lvar_injecting_match.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/prism/snapshots/whitequark/lvar_injecting_match.txt b/test/prism/snapshots/whitequark/lvar_injecting_match.txt index f58882b9bd..a1d70e9ccf 100644 --- a/test/prism/snapshots/whitequark/lvar_injecting_match.txt +++ b/test/prism/snapshots/whitequark/lvar_injecting_match.txt @@ -6,30 +6,30 @@ ├── @ MatchWriteNode (location: (1,0)-(1,24)) │ ├── call: │ │ @ CallNode (location: (1,0)-(1,24)) + │ │ ├── flags: ∅ │ │ ├── receiver: │ │ │ @ RegularExpressionNode (location: (1,0)-(1,15)) + │ │ │ ├── flags: ∅ │ │ │ ├── opening_loc: (1,0)-(1,1) = "/" │ │ │ ├── content_loc: (1,1)-(1,14) = "(?<match>bar)" │ │ │ ├── closing_loc: (1,14)-(1,15) = "/" - │ │ │ ├── unescaped: "(?<match>bar)" - │ │ │ └── flags: ∅ + │ │ │ └── unescaped: "(?<match>bar)" │ │ ├── call_operator_loc: ∅ │ │ ├── name: :=~ │ │ ├── message_loc: (1,16)-(1,18) = "=~" │ │ ├── opening_loc: ∅ │ │ ├── arguments: │ │ │ @ ArgumentsNode (location: (1,19)-(1,24)) - │ │ │ ├── arguments: (length: 1) - │ │ │ │ └── @ StringNode (location: (1,19)-(1,24)) - │ │ │ │ ├── flags: ∅ - │ │ │ │ ├── opening_loc: (1,19)-(1,20) = "'" - │ │ │ │ ├── content_loc: (1,20)-(1,23) = "bar" - │ │ │ │ ├── closing_loc: (1,23)-(1,24) = "'" - │ │ │ │ └── unescaped: "bar" - │ │ │ └── flags: ∅ + │ │ │ ├── flags: ∅ + │ │ │ └── arguments: (length: 1) + │ │ │ └── @ StringNode (location: (1,19)-(1,24)) + │ │ │ ├── flags: ∅ + │ │ │ ├── opening_loc: (1,19)-(1,20) = "'" + │ │ │ ├── content_loc: (1,20)-(1,23) = "bar" + │ │ │ ├── closing_loc: (1,23)-(1,24) = "'" + │ │ │ └── unescaped: "bar" │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: ∅ + │ │ └── block: ∅ │ └── targets: (length: 1) │ └── @ LocalVariableTargetNode (location: (1,4)-(1,9)) │ ├── name: :match |