aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-07-02 15:52:35 -0400
committerKevin Newton <kddnewton@gmail.com>2024-07-11 14:25:54 -0400
commitaca42a24783e3a7d17eafb43a031e397bfb70323 (patch)
treeb306703c25c49b84543345536e9f252642cc5a4f /test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
parent687be43c79a6fb119e52b09ea561cf958a9aabf2 (diff)
downloadruby-aca42a24783e3a7d17eafb43a031e397bfb70323.tar.gz
[ruby/prism] Expose common flags in inspect output
https://github.com/ruby/prism/commit/d0143865c2
Diffstat (limited to 'test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt')
-rw-r--r--test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt b/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
index c6aa722812..dca64e5f7b 100644
--- a/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
+++ b/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
@@ -1,10 +1,12 @@
@ ProgramNode (location: (1,0)-(2,3))
+├── flags: ∅
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(2,3))
+ ├── flags: ∅
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(2,3))
- ├── flags: ignore_visibility
+ ├── flags: newline, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -18,12 +20,14 @@
│ ├── flags: ∅
│ ├── elements: (length: 1)
│ │ └── @ LambdaNode (location: (1,3)-(1,10))
+ │ │ ├── flags: ∅
│ │ ├── locals: []
│ │ ├── operator_loc: (1,3)-(1,5) = "->"
│ │ ├── opening_loc: (1,8)-(1,9) = "{"
│ │ ├── closing_loc: (1,9)-(1,10) = "}"
│ │ ├── parameters:
│ │ │ @ BlockParametersNode (location: (1,5)-(1,7))
+ │ │ │ ├── flags: ∅
│ │ │ ├── parameters: ∅
│ │ │ ├── locals: (length: 0)
│ │ │ ├── opening_loc: (1,5)-(1,6) = "("
@@ -34,6 +38,7 @@
├── closing_loc: ∅
└── block:
@ BlockNode (location: (1,12)-(2,3))
+ ├── flags: ∅
├── locals: []
├── parameters: ∅
├── body: ∅