|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a rescue block.
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | body |
Body of the block that is wrapped into rescue (i.e. the part that may throw an error) More... | |
| NodeList | rescue_bodies |
A list of rescue handlers (see RescueBody node) More... | |
| Node * | else_ |
| MaybeLoc | else_l |
| Loc | expression_l |
Represents a rescue block.
| Node* lib_ruby_parser::Rescue::body |
Body of the block that is wrapped into rescue (i.e. the part that may throw an error)
| Node* lib_ruby_parser::Rescue::else_ |
Else branch.
None if there's no else branch
| MaybeLoc lib_ruby_parser::Rescue::else_l |
Location of the else keyword
None if there's no else branch
| Loc lib_ruby_parser::Rescue::expression_l |
Location of the full expression
Note: begin/end keywords belong to KwBegin node
| NodeList lib_ruby_parser::Rescue::rescue_bodies |
A list of rescue handlers (see RescueBody node)