summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/while.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/while.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/while.txt')
-rw-r--r--test/prism/snapshots/whitequark/while.txt64
1 files changed, 32 insertions, 32 deletions
diff --git a/test/prism/snapshots/whitequark/while.txt b/test/prism/snapshots/whitequark/while.txt
index 1af1bf3088..e437a19297 100644
--- a/test/prism/snapshots/whitequark/while.txt
+++ b/test/prism/snapshots/whitequark/while.txt
@@ -4,10 +4,12 @@
@ StatementsNode (location: (1,0)-(3,19))
└── body: (length: 2)
├── @ WhileNode (location: (1,0)-(1,21))
+ │ ├── flags: ∅
│ ├── keyword_loc: (1,0)-(1,5) = "while"
│ ├── closing_loc: (1,18)-(1,21) = "end"
│ ├── predicate:
│ │ @ CallNode (location: (1,6)-(1,9))
+ │ │ ├── flags: variable_call
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -15,27 +17,27 @@
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
- │ │ ├── block: ∅
- │ │ └── flags: variable_call
- │ ├── statements:
- │ │ @ StatementsNode (location: (1,13)-(1,17))
- │ │ └── body: (length: 1)
- │ │ └── @ CallNode (location: (1,13)-(1,17))
- │ │ ├── receiver: ∅
- │ │ ├── call_operator_loc: ∅
- │ │ ├── name: :meth
- │ │ ├── message_loc: (1,13)-(1,17) = "meth"
- │ │ ├── opening_loc: ∅
- │ │ ├── arguments: ∅
- │ │ ├── closing_loc: ∅
- │ │ ├── block: ∅
- │ │ └── flags: variable_call
- │ └── flags: ∅
+ │ │ └── block: ∅
+ │ └── statements:
+ │ @ StatementsNode (location: (1,13)-(1,17))
+ │ └── body: (length: 1)
+ │ └── @ CallNode (location: (1,13)-(1,17))
+ │ ├── flags: variable_call
+ │ ├── receiver: ∅
+ │ ├── call_operator_loc: ∅
+ │ ├── name: :meth
+ │ ├── message_loc: (1,13)-(1,17) = "meth"
+ │ ├── opening_loc: ∅
+ │ ├── arguments: ∅
+ │ ├── closing_loc: ∅
+ │ └── block: ∅
└── @ WhileNode (location: (3,0)-(3,19))
+ ├── flags: ∅
├── keyword_loc: (3,0)-(3,5) = "while"
├── closing_loc: (3,16)-(3,19) = "end"
├── predicate:
│ @ CallNode (location: (3,6)-(3,9))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -43,19 +45,17 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
- ├── statements:
- │ @ StatementsNode (location: (3,11)-(3,15))
- │ └── body: (length: 1)
- │ └── @ CallNode (location: (3,11)-(3,15))
- │ ├── receiver: ∅
- │ ├── call_operator_loc: ∅
- │ ├── name: :meth
- │ ├── message_loc: (3,11)-(3,15) = "meth"
- │ ├── opening_loc: ∅
- │ ├── arguments: ∅
- │ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
- └── flags: ∅
+ │ └── block: ∅
+ └── statements:
+ @ StatementsNode (location: (3,11)-(3,15))
+ └── body: (length: 1)
+ └── @ CallNode (location: (3,11)-(3,15))
+ ├── flags: variable_call
+ ├── receiver: ∅
+ ├── call_operator_loc: ∅
+ ├── name: :meth
+ ├── message_loc: (3,11)-(3,15) = "meth"
+ ├── opening_loc: ∅
+ ├── arguments: ∅
+ ├── closing_loc: ∅
+ └── block: ∅