Type Alias ruby_prism_sys::pm_if_node_t
source · pub type pm_if_node_t = pm_if_node;Expand description
IfNode
Type: PM_IF_NODE
@extends pm_node_t
Aliased Type§
struct pm_if_node_t {
pub base: pm_node,
pub if_keyword_loc: pm_location_t,
pub predicate: *mut pm_node,
pub then_keyword_loc: pm_location_t,
pub statements: *mut pm_statements_node,
pub consequent: *mut pm_node,
pub end_keyword_loc: pm_location_t,
}Fields§
§base: pm_nodeThe embedded base node.
if_keyword_loc: pm_location_tIfNode#if_keyword_loc
predicate: *mut pm_nodeIfNode#predicate
then_keyword_loc: pm_location_tIfNode#then_keyword_loc
statements: *mut pm_statements_nodeIfNode#statements
consequent: *mut pm_nodeIfNode#consequent
end_keyword_loc: pm_location_tIfNode#end_keyword_loc