summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/if_elsif.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-12-06 15:32:53 -0500
committergit <svn-admin@ruby-lang.org>2023-12-06 20:50:02 +0000
commitfe6ee5e92148755b75ffd00ab29611b59a416d5a (patch)
tree9283cde10b67c8daec7c56511f58ed9133569377 /test/prism/snapshots/whitequark/if_elsif.txt
parentcbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff)
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'test/prism/snapshots/whitequark/if_elsif.txt')
-rw-r--r--test/prism/snapshots/whitequark/if_elsif.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/prism/snapshots/whitequark/if_elsif.txt b/test/prism/snapshots/whitequark/if_elsif.txt
index 39cf1d6fef..50f79966d2 100644
--- a/test/prism/snapshots/whitequark/if_elsif.txt
+++ b/test/prism/snapshots/whitequark/if_elsif.txt
@@ -7,6 +7,7 @@
├── if_keyword_loc: (1,0)-(1,2) = "if"
├── predicate:
│ @ CallNode (location: (1,3)-(1,6))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -14,13 +15,13 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
+ │ └── block: ∅
├── then_keyword_loc: ∅
├── statements:
│ @ StatementsNode (location: (1,8)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,8)-(1,11))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -28,13 +29,13 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
+ │ └── block: ∅
├── consequent:
│ @ IfNode (location: (1,13)-(1,38))
│ ├── if_keyword_loc: (1,13)-(1,18) = "elsif"
│ ├── predicate:
│ │ @ CallNode (location: (1,19)-(1,22))
+ │ │ ├── flags: variable_call
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -42,8 +43,7 @@
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
- │ │ ├── block: ∅
- │ │ └── flags: variable_call
+ │ │ └── block: ∅
│ ├── then_keyword_loc: ∅
│ ├── statements:
│ │ @ StatementsNode (location: (1,24)-(1,25))