diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/args_block_pass.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/args_block_pass.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/args_block_pass.txt b/test/prism/snapshots/whitequark/args_block_pass.txt new file mode 100644 index 0000000000..99ffa81934 --- /dev/null +++ b/test/prism/snapshots/whitequark/args_block_pass.txt @@ -0,0 +1,28 @@ +@ ProgramNode (location: (1,0)-(1,8)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,8)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,8)) + ├── flags: ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :fun + ├── message_loc: (1,0)-(1,3) = "fun" + ├── opening_loc: (1,3)-(1,4) = "(" + ├── arguments: ∅ + ├── closing_loc: (1,8)-(1,9) = ")" + └── block: + @ BlockArgumentNode (location: (1,4)-(1,8)) + ├── expression: + │ @ CallNode (location: (1,5)-(1,8)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :bar + │ ├── message_loc: (1,5)-(1,8) = "bar" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + └── operator_loc: (1,4)-(1,5) = "&" |