summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/while_post.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_post.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_post.txt')
-rw-r--r--test/prism/snapshots/whitequark/while_post.txt50
1 files changed, 25 insertions, 25 deletions
diff --git a/test/prism/snapshots/whitequark/while_post.txt b/test/prism/snapshots/whitequark/while_post.txt
index 1ddaf4ea31..10f46e67e1 100644
--- a/test/prism/snapshots/whitequark/while_post.txt
+++ b/test/prism/snapshots/whitequark/while_post.txt
@@ -4,10 +4,12 @@
@ StatementsNode (location: (1,0)-(1,24))
└── body: (length: 1)
└── @ WhileNode (location: (1,0)-(1,24))
+ ├── flags: begin_modifier
├── keyword_loc: (1,15)-(1,20) = "while"
├── closing_loc: ∅
├── predicate:
│ @ CallNode (location: (1,21)-(1,24))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -15,28 +17,26 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
- ├── statements:
- │ @ StatementsNode (location: (1,0)-(1,14))
- │ └── body: (length: 1)
- │ └── @ BeginNode (location: (1,0)-(1,14))
- │ ├── begin_keyword_loc: (1,0)-(1,5) = "begin"
- │ ├── statements:
- │ │ @ StatementsNode (location: (1,6)-(1,10))
- │ │ └── body: (length: 1)
- │ │ └── @ CallNode (location: (1,6)-(1,10))
- │ │ ├── receiver: ∅
- │ │ ├── call_operator_loc: ∅
- │ │ ├── name: :meth
- │ │ ├── message_loc: (1,6)-(1,10) = "meth"
- │ │ ├── opening_loc: ∅
- │ │ ├── arguments: ∅
- │ │ ├── closing_loc: ∅
- │ │ ├── block: ∅
- │ │ └── flags: variable_call
- │ ├── rescue_clause: ∅
- │ ├── else_clause: ∅
- │ ├── ensure_clause: ∅
- │ └── end_keyword_loc: (1,11)-(1,14) = "end"
- └── flags: begin_modifier
+ │ └── block: ∅
+ └── statements:
+ @ StatementsNode (location: (1,0)-(1,14))
+ └── body: (length: 1)
+ └── @ BeginNode (location: (1,0)-(1,14))
+ ├── begin_keyword_loc: (1,0)-(1,5) = "begin"
+ ├── statements:
+ │ @ StatementsNode (location: (1,6)-(1,10))
+ │ └── body: (length: 1)
+ │ └── @ CallNode (location: (1,6)-(1,10))
+ │ ├── flags: variable_call
+ │ ├── receiver: ∅
+ │ ├── call_operator_loc: ∅
+ │ ├── name: :meth
+ │ ├── message_loc: (1,6)-(1,10) = "meth"
+ │ ├── opening_loc: ∅
+ │ ├── arguments: ∅
+ │ ├── closing_loc: ∅
+ │ └── block: ∅
+ ├── rescue_clause: ∅
+ ├── else_clause: ∅
+ ├── ensure_clause: ∅
+ └── end_keyword_loc: (1,11)-(1,14) = "end"