diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt b/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt new file mode 100644 index 0000000000..3946bc1a4a --- /dev/null +++ b/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt @@ -0,0 +1,40 @@ +@ ProgramNode (location: (1,0)-(1,17)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,17)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,17)) + ├── flags: ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :tap + ├── message_loc: (1,0)-(1,3) = "tap" + ├── opening_loc: ∅ + ├── arguments: + │ @ ArgumentsNode (location: (1,4)-(1,17)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ ParenthesesNode (location: (1,4)-(1,17)) + │ ├── body: + │ │ @ StatementsNode (location: (1,5)-(1,16)) + │ │ └── body: (length: 1) + │ │ └── @ CallNode (location: (1,5)-(1,16)) + │ │ ├── flags: ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :proc + │ │ ├── message_loc: (1,5)-(1,9) = "proc" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: + │ │ @ BlockNode (location: (1,10)-(1,16)) + │ │ ├── locals: [] + │ │ ├── parameters: ∅ + │ │ ├── body: ∅ + │ │ ├── opening_loc: (1,10)-(1,12) = "do" + │ │ └── closing_loc: (1,13)-(1,16) = "end" + │ ├── opening_loc: (1,4)-(1,5) = "(" + │ └── closing_loc: (1,16)-(1,17) = ")" + ├── closing_loc: ∅ + └── block: ∅ |