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
^^^^^^^^^
endType: ::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_nodeThe embedded base node.
keyword_loc: pm_location_tWhenNode#keyword_loc
conditions: pm_node_listWhenNode#conditions
then_keyword_loc: pm_location_tWhenNode#then_keyword_loc
statements: *mut pm_statements_nodeWhenNode#statements