aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/whitequark/if_elsif.txt
diff options
context:
space:
mode:
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))