diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/begin_rescue_else_ensure_no_bodies.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/begin_rescue_else_ensure_no_bodies.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/begin_rescue_else_ensure_no_bodies.txt b/test/prism/snapshots/seattlerb/begin_rescue_else_ensure_no_bodies.txt new file mode 100644 index 0000000000..02e1f097ac --- /dev/null +++ b/test/prism/snapshots/seattlerb/begin_rescue_else_ensure_no_bodies.txt @@ -0,0 +1,27 @@ +@ ProgramNode (location: (1,0)-(9,3)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(9,3)) + └── body: (length: 1) + └── @ BeginNode (location: (1,0)-(9,3)) + ├── begin_keyword_loc: (1,0)-(1,5) = "begin" + ├── statements: ∅ + ├── rescue_clause: + │ @ RescueNode (location: (3,0)-(3,6)) + │ ├── keyword_loc: (3,0)-(3,6) = "rescue" + │ ├── exceptions: (length: 0) + │ ├── operator_loc: ∅ + │ ├── reference: ∅ + │ ├── statements: ∅ + │ └── consequent: ∅ + ├── else_clause: + │ @ ElseNode (location: (5,0)-(7,6)) + │ ├── else_keyword_loc: (5,0)-(5,4) = "else" + │ ├── statements: ∅ + │ └── end_keyword_loc: (7,0)-(7,6) = "ensure" + ├── ensure_clause: + │ @ EnsureNode (location: (7,0)-(9,3)) + │ ├── ensure_keyword_loc: (7,0)-(7,6) = "ensure" + │ ├── statements: ∅ + │ └── end_keyword_loc: (9,0)-(9,3) = "end" + └── end_keyword_loc: (9,0)-(9,3) = "end" |