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/cond_eflipflop.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/cond_eflipflop.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/cond_eflipflop.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/prism/snapshots/whitequark/cond_eflipflop.txt b/test/prism/snapshots/whitequark/cond_eflipflop.txt index 4761b22164..ab617f583f 100644 --- a/test/prism/snapshots/whitequark/cond_eflipflop.txt +++ b/test/prism/snapshots/whitequark/cond_eflipflop.txt @@ -4,14 +4,17 @@ @ StatementsNode (location: (1,0)-(3,17)) └── body: (length: 2) ├── @ CallNode (location: (1,0)-(1,12)) + │ ├── flags: ∅ │ ├── receiver: │ │ @ ParenthesesNode (location: (1,1)-(1,12)) │ │ ├── body: │ │ │ @ StatementsNode (location: (1,2)-(1,11)) │ │ │ └── body: (length: 1) │ │ │ └── @ FlipFlopNode (location: (1,2)-(1,11)) + │ │ │ ├── flags: exclude_end │ │ │ ├── left: │ │ │ │ @ CallNode (location: (1,2)-(1,5)) + │ │ │ │ ├── flags: variable_call │ │ │ │ ├── receiver: ∅ │ │ │ │ ├── call_operator_loc: ∅ │ │ │ │ ├── name: :foo @@ -19,10 +22,10 @@ │ │ │ │ ├── opening_loc: ∅ │ │ │ │ ├── arguments: ∅ │ │ │ │ ├── closing_loc: ∅ - │ │ │ │ ├── block: ∅ - │ │ │ │ └── flags: variable_call + │ │ │ │ └── block: ∅ │ │ │ ├── right: │ │ │ │ @ CallNode (location: (1,8)-(1,11)) + │ │ │ │ ├── flags: variable_call │ │ │ │ ├── receiver: ∅ │ │ │ │ ├── call_operator_loc: ∅ │ │ │ │ ├── name: :bar @@ -30,10 +33,8 @@ │ │ │ │ ├── opening_loc: ∅ │ │ │ │ ├── arguments: ∅ │ │ │ │ ├── closing_loc: ∅ - │ │ │ │ ├── block: ∅ - │ │ │ │ └── flags: variable_call - │ │ │ ├── operator_loc: (1,5)-(1,8) = "..." - │ │ │ └── flags: exclude_end + │ │ │ │ └── block: ∅ + │ │ │ └── operator_loc: (1,5)-(1,8) = "..." │ │ ├── opening_loc: (1,1)-(1,2) = "(" │ │ └── closing_loc: (1,11)-(1,12) = ")" │ ├── call_operator_loc: ∅ @@ -42,14 +43,15 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── block: ∅ - │ └── flags: ∅ + │ └── block: ∅ └── @ IfNode (location: (3,0)-(3,17)) ├── if_keyword_loc: (3,0)-(3,2) = "if" ├── predicate: │ @ FlipFlopNode (location: (3,3)-(3,12)) + │ ├── flags: exclude_end │ ├── left: │ │ @ CallNode (location: (3,3)-(3,6)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :foo @@ -57,10 +59,10 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call + │ │ └── block: ∅ │ ├── right: │ │ @ CallNode (location: (3,9)-(3,12)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :bar @@ -68,10 +70,8 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call - │ ├── operator_loc: (3,6)-(3,9) = "..." - │ └── flags: exclude_end + │ │ └── block: ∅ + │ └── operator_loc: (3,6)-(3,9) = "..." ├── then_keyword_loc: ∅ ├── statements: ∅ ├── consequent: ∅ |