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_node

The embedded base node.

§if_keyword_loc: pm_location_t

IfNode#if_keyword_loc

§predicate: *mut pm_node

IfNode#predicate

§then_keyword_loc: pm_location_t

IfNode#then_keyword_loc

§statements: *mut pm_statements_node

IfNode#statements

§consequent: *mut pm_node

IfNode#consequent

§end_keyword_loc: pm_location_t

IfNode#end_keyword_loc