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/while_mod.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/while_mod.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/while_mod.txt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/prism/snapshots/whitequark/while_mod.txt b/test/prism/snapshots/whitequark/while_mod.txt index c612898fb4..b659a8f9c0 100644 --- a/test/prism/snapshots/whitequark/while_mod.txt +++ b/test/prism/snapshots/whitequark/while_mod.txt @@ -4,10 +4,12 @@ @ StatementsNode (location: (1,0)-(1,14)) └── body: (length: 1) └── @ WhileNode (location: (1,0)-(1,14)) + ├── flags: ∅ ├── keyword_loc: (1,5)-(1,10) = "while" ├── closing_loc: ∅ ├── predicate: │ @ CallNode (location: (1,11)-(1,14)) + │ ├── flags: variable_call │ ├── receiver: ∅ │ ├── call_operator_loc: ∅ │ ├── name: :foo @@ -15,19 +17,17 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── block: ∅ - │ └── flags: variable_call - ├── statements: - │ @ StatementsNode (location: (1,0)-(1,4)) - │ └── body: (length: 1) - │ └── @ CallNode (location: (1,0)-(1,4)) - │ ├── receiver: ∅ - │ ├── call_operator_loc: ∅ - │ ├── name: :meth - │ ├── message_loc: (1,0)-(1,4) = "meth" - │ ├── opening_loc: ∅ - │ ├── arguments: ∅ - │ ├── closing_loc: ∅ - │ ├── block: ∅ - │ └── flags: variable_call - └── flags: ∅ + │ └── block: ∅ + └── statements: + @ StatementsNode (location: (1,0)-(1,4)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,4)) + ├── flags: variable_call + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :meth + ├── message_loc: (1,0)-(1,4) = "meth" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + └── block: ∅ |