diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/rescue_in_lambda_block.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/rescue_in_lambda_block.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/rescue_in_lambda_block.txt b/test/prism/snapshots/whitequark/rescue_in_lambda_block.txt new file mode 100644 index 0000000000..2ab854cdd7 --- /dev/null +++ b/test/prism/snapshots/whitequark/rescue_in_lambda_block.txt @@ -0,0 +1,26 @@ +@ ProgramNode (location: (1,0)-(1,17)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,17)) + └── body: (length: 1) + └── @ LambdaNode (location: (1,0)-(1,17)) + ├── locals: [] + ├── operator_loc: (1,0)-(1,2) = "->" + ├── opening_loc: (1,3)-(1,5) = "do" + ├── closing_loc: (1,14)-(1,17) = "end" + ├── parameters: ∅ + └── body: + @ BeginNode (location: (1,3)-(1,17)) + ├── begin_keyword_loc: ∅ + ├── statements: ∅ + ├── rescue_clause: + │ @ RescueNode (location: (1,6)-(1,12)) + │ ├── keyword_loc: (1,6)-(1,12) = "rescue" + │ ├── exceptions: (length: 0) + │ ├── operator_loc: ∅ + │ ├── reference: ∅ + │ ├── statements: ∅ + │ └── consequent: ∅ + ├── else_clause: ∅ + ├── ensure_clause: ∅ + └── end_keyword_loc: (1,14)-(1,17) = "end" |