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 | 58 |
1 files changed, 29 insertions, 29 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 291cdc87ea..04900f9b39 100644 --- a/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt +++ b/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt @@ -4,6 +4,7 @@ @ StatementsNode (location: (1,0)-(2,3)) └── body: (length: 1) └── @ CallNode (location: (1,0)-(2,3)) + ├── flags: ∅ ├── receiver: ∅ ├── call_operator_loc: ∅ ├── name: :a @@ -11,33 +12,32 @@ ├── 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: [] - │ │ │ ├── locals_body_index: 0 - │ │ │ ├── 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) = "]" - │ │ └── flags: ∅ - │ └── flags: ∅ + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ ArrayNode (location: (1,2)-(1,11)) + │ ├── flags: ∅ + │ ├── elements: (length: 1) + │ │ └── @ LambdaNode (location: (1,3)-(1,10)) + │ │ ├── locals: [] + │ │ ├── locals_body_index: 0 + │ │ ├── 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: [] - │ ├── locals_body_index: 0 - │ ├── parameters: ∅ - │ ├── body: ∅ - │ ├── opening_loc: (1,12)-(1,14) = "do" - │ └── closing_loc: (2,0)-(2,3) = "end" - └── flags: ∅ + └── block: + @ BlockNode (location: (1,12)-(2,3)) + ├── locals: [] + ├── locals_body_index: 0 + ├── parameters: ∅ + ├── body: ∅ + ├── opening_loc: (1,12)-(1,14) = "do" + └── closing_loc: (2,0)-(2,3) = "end" |