diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/rescue_mod.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/rescue_mod.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/rescue_mod.txt b/test/prism/snapshots/whitequark/rescue_mod.txt new file mode 100644 index 0000000000..cd4f0fff45 --- /dev/null +++ b/test/prism/snapshots/whitequark/rescue_mod.txt @@ -0,0 +1,29 @@ +@ ProgramNode (location: (1,0)-(1,15)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,15)) + └── body: (length: 1) + └── @ RescueModifierNode (location: (1,0)-(1,15)) + ├── expression: + │ @ CallNode (location: (1,0)-(1,4)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :meth + │ ├── message_loc: (1,0)-(1,4) = "meth" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── keyword_loc: (1,5)-(1,11) = "rescue" + └── rescue_expression: + @ CallNode (location: (1,12)-(1,15)) + ├── flags: variable_call, ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :bar + ├── message_loc: (1,12)-(1,15) = "bar" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + └── block: ∅ |