pm_while_node_t

Type Alias pm_while_node_t 

Source
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_node

The embedded base node.

§keyword_loc: pm_location_t

WhileNode#keyword_loc

§do_keyword_loc: pm_location_t

WhileNode#do_keyword_loc

§closing_loc: pm_location_t

WhileNode#closing_loc

§predicate: *mut pm_node

WhileNode#predicate

§statements: *mut pm_statements_node

WhileNode#statements