pub type pm_while_node_t = pm_while_node;Expand description
WhileNode
Represents the use of the while keyword, either in the block form or the modifier form.
bar while foo
^^^^^^^^^^^^^ while foo do bar end
^^^^^^^^^^^^^^^^^^^^Type: ::PM_WHILE_NODE
Flags (#pm_loop_flags):
- ::PM_LOOP_FLAGS_BEGIN_MODIFIER
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_while_node_t {
pub base: pm_node,
pub keyword_loc: pm_location_t,
pub do_keyword_loc: pm_location_t,
pub closing_loc: pm_location_t,
pub predicate: *mut pm_node,
pub statements: *mut pm_statements_node,
}Fields§
§base: pm_nodeThe embedded base node.
keyword_loc: pm_location_tWhileNode#keyword_loc
do_keyword_loc: pm_location_tWhileNode#do_keyword_loc
closing_loc: pm_location_tWhileNode#closing_loc
predicate: *mut pm_nodeWhileNode#predicate
statements: *mut pm_statements_nodeWhileNode#statements