pm_when_node_t

Type Alias pm_when_node_t 

Source
pub type pm_when_node_t = pm_when_node;
Expand description

WhenNode

Represents the use of the when keyword within a case statement.

 case true
 when true
 ^^^^^^^^^
 end

Type: ::PM_WHEN_NODE

@extends pm_node_t

Aliased Type§

#[repr(C)]
pub struct pm_when_node_t { pub base: pm_node, pub keyword_loc: pm_location_t, pub conditions: pm_node_list, pub then_keyword_loc: pm_location_t, pub statements: *mut pm_statements_node, }

Fields§

§base: pm_node

The embedded base node.

§keyword_loc: pm_location_t

WhenNode#keyword_loc

§conditions: pm_node_list

WhenNode#conditions

§then_keyword_loc: pm_location_t

WhenNode#then_keyword_loc

§statements: *mut pm_statements_node

WhenNode#statements