diff options
author | Kevin Newton <kddnewton@gmail.com> | 2024-07-02 15:52:35 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2024-07-11 14:25:54 -0400 |
commit | aca42a24783e3a7d17eafb43a031e397bfb70323 (patch) | |
tree | b306703c25c49b84543345536e9f252642cc5a4f /test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt | |
parent | 687be43c79a6fb119e52b09ea561cf958a9aabf2 (diff) | |
download | ruby-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.txt | 7 |
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: ∅ |