pm_rescue_node_t

Type Alias pm_rescue_node_t 

Source
pub type pm_rescue_node_t = pm_rescue_node;
Expand description

RescueNode

Represents a rescue statement.

 begin
 rescue Foo, *splat, Bar => ex
   foo
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 end

Foo, *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_node

The embedded base node.

§keyword_loc: pm_location_t

RescueNode#keyword_loc

§exceptions: pm_node_list

RescueNode#exceptions

§operator_loc: pm_location_t

RescueNode#operator_loc

§reference: *mut pm_node

RescueNode#reference

§then_keyword_loc: pm_location_t

RescueNode#then_keyword_loc

§statements: *mut pm_statements_node

RescueNode#statements

§subsequent: *mut pm_rescue_node

RescueNode#subsequent