pub type pm_rescue_node_t = pm_rescue_node;Expand description
RescueNode
Represents a rescue statement.
begin
rescue Foo, *splat, Bar => ex
foo
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
endFoo, *splat, Bar are in the exceptions field. ex is in the reference field.
Type: ::PM_RESCUE_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_rescue_node_t {
pub base: pm_node,
pub keyword_loc: pm_location_t,
pub exceptions: pm_node_list,
pub operator_loc: pm_location_t,
pub reference: *mut pm_node,
pub then_keyword_loc: pm_location_t,
pub statements: *mut pm_statements_node,
pub subsequent: *mut pm_rescue_node,
}Fields§
§base: pm_nodeThe embedded base node.
keyword_loc: pm_location_tRescueNode#keyword_loc
exceptions: pm_node_listRescueNode#exceptions
operator_loc: pm_location_tRescueNode#operator_loc
reference: *mut pm_nodeRescueNode#reference
then_keyword_loc: pm_location_tRescueNode#then_keyword_loc
statements: *mut pm_statements_nodeRescueNode#statements
subsequent: *mut pm_rescue_nodeRescueNode#subsequent