Struct lib_ruby_parser::nodes::WhilePost [−][src]
#[repr(C)]pub struct WhilePost {
pub cond: Box<Node>,
pub body: Box<Node>,
pub keyword_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents a post-while loop
begin
foo
end while bar
Fields
cond: Box<Node>
Condition of the loop
body: Box<Node>
Body of the loop
keyword_l: Loc
Location of the while
keyword
begin; foo; end while bar
~~~~~
expression_l: Loc
Location of the while
keyword
begin; foo; end while bar
~~~~~~~~~~~~~~~~~~~~~~~~~
Implementations
Returns keyword_l
field
Returns expression_l
field
Sets keyword_l
field
Sets expression_l
field
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WhilePost
impl UnwindSafe for WhilePost
Blanket Implementations
Mutably borrows from an owned value. Read more