Struct sqparse::ast::DoWhileStatement
source · pub struct DoWhileStatement<'s> {
pub do_: &'s Token<'s>,
pub body: Box<Statement<'s>>,
pub while_: &'s Token<'s>,
pub open: &'s Token<'s>,
pub condition: Box<Expression<'s>>,
pub close: &'s Token<'s>,
}Expand description
A do-while statement.
Grammar: do Statement while ( Expression )
Fields§
§do_: &'s Token<'s>§body: Box<Statement<'s>>§while_: &'s Token<'s>§open: &'s Token<'s>§condition: Box<Expression<'s>>§close: &'s Token<'s>Trait Implementations§
source§impl<'s> Clone for DoWhileStatement<'s>
impl<'s> Clone for DoWhileStatement<'s>
source§fn clone(&self) -> DoWhileStatement<'s>
fn clone(&self) -> DoWhileStatement<'s>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more