diff options
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 | 39 |
1 files changed, 39 insertions, 0 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 new file mode 100644 index 0000000000..7b25a64419 --- /dev/null +++ b/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt @@ -0,0 +1,39 @@ +@ ProgramNode (location: (1,0)-(2,3)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(2,3)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(2,3)) + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── message_loc: (1,0)-(1,1) = "a" + ├── opening_loc: ∅ + ├── arguments: + │ @ ArgumentsNode (location: (1,2)-(1,11)) + │ └── arguments: (length: 1) + │ └── @ ArrayNode (location: (1,2)-(1,11)) + │ ├── elements: (length: 1) + │ │ └── @ LambdaNode (location: (1,3)-(1,10)) + │ │ ├── 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)) + │ │ │ ├── parameters: ∅ + │ │ │ ├── locals: (length: 0) + │ │ │ ├── opening_loc: (1,5)-(1,6) = "(" + │ │ │ └── closing_loc: (1,6)-(1,7) = ")" + │ │ └── body: ∅ + │ ├── opening_loc: (1,2)-(1,3) = "[" + │ └── closing_loc: (1,10)-(1,11) = "]" + ├── closing_loc: ∅ + ├── block: + │ @ BlockNode (location: (1,12)-(2,3)) + │ ├── locals: [] + │ ├── parameters: ∅ + │ ├── body: ∅ + │ ├── opening_loc: (1,12)-(1,14) = "do" + │ └── closing_loc: (2,0)-(2,3) = "end" + ├── flags: ∅ + └── name: "a" |