summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.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/seattlerb/block_call_paren_call_block_call.txt
parentcbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff)
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt')
-rw-r--r--test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt62
1 files changed, 31 insertions, 31 deletions
diff --git a/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt b/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt
index 8067e7ef96..69e5ddf6fc 100644
--- a/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt
+++ b/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt
@@ -4,6 +4,7 @@
@ StatementsNode (location: (1,0)-(2,10))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,5))
+ │ ├── flags: ∅
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -11,30 +12,31 @@
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (1,2)-(1,5))
- │ │ ├── arguments: (length: 1)
- │ │ │ └── @ ParenthesesNode (location: (1,2)-(1,5))
- │ │ │ ├── body:
- │ │ │ │ @ StatementsNode (location: (1,3)-(1,4))
- │ │ │ │ └── body: (length: 1)
- │ │ │ │ └── @ CallNode (location: (1,3)-(1,4))
- │ │ │ │ ├── receiver: ∅
- │ │ │ │ ├── call_operator_loc: ∅
- │ │ │ │ ├── name: :b
- │ │ │ │ ├── message_loc: (1,3)-(1,4) = "b"
- │ │ │ │ ├── opening_loc: ∅
- │ │ │ │ ├── arguments: ∅
- │ │ │ │ ├── closing_loc: ∅
- │ │ │ │ ├── block: ∅
- │ │ │ │ └── flags: variable_call
- │ │ │ ├── opening_loc: (1,2)-(1,3) = "("
- │ │ │ └── closing_loc: (1,4)-(1,5) = ")"
- │ │ └── flags: ∅
+ │ │ ├── flags: ∅
+ │ │ └── arguments: (length: 1)
+ │ │ └── @ ParenthesesNode (location: (1,2)-(1,5))
+ │ │ ├── body:
+ │ │ │ @ StatementsNode (location: (1,3)-(1,4))
+ │ │ │ └── body: (length: 1)
+ │ │ │ └── @ CallNode (location: (1,3)-(1,4))
+ │ │ │ ├── flags: variable_call
+ │ │ │ ├── receiver: ∅
+ │ │ │ ├── call_operator_loc: ∅
+ │ │ │ ├── name: :b
+ │ │ │ ├── message_loc: (1,3)-(1,4) = "b"
+ │ │ │ ├── opening_loc: ∅
+ │ │ │ ├── arguments: ∅
+ │ │ │ ├── closing_loc: ∅
+ │ │ │ └── block: ∅
+ │ │ ├── opening_loc: (1,2)-(1,3) = "("
+ │ │ └── closing_loc: (1,4)-(1,5) = ")"
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: ∅
+ │ └── block: ∅
└── @ CallNode (location: (2,0)-(2,10))
+ ├── flags: ∅
├── receiver:
│ @ CallNode (location: (2,0)-(2,1))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
@@ -42,20 +44,18 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
+ │ └── block: ∅
├── call_operator_loc: (2,1)-(2,2) = "."
├── name: :d
├── message_loc: (2,2)-(2,3) = "d"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
- ├── block:
- │ @ BlockNode (location: (2,4)-(2,10))
- │ ├── locals: []
- │ ├── locals_body_index: 0
- │ ├── parameters: ∅
- │ ├── body: ∅
- │ ├── opening_loc: (2,4)-(2,6) = "do"
- │ └── closing_loc: (2,7)-(2,10) = "end"
- └── flags: ∅
+ └── block:
+ @ BlockNode (location: (2,4)-(2,10))
+ ├── locals: []
+ ├── locals_body_index: 0
+ ├── parameters: ∅
+ ├── body: ∅
+ ├── opening_loc: (2,4)-(2,6) = "do"
+ └── closing_loc: (2,7)-(2,10) = "end"