[][src]Struct boa::syntax::ast::node::iteration::WhileLoop

pub struct WhileLoop { /* fields omitted */ }

The while statement creates a loop that executes a specified statement as long as the test condition evaluates to true.

The condition is evaluated before executing the statement.

More information:

Implementations

impl WhileLoop[src]

pub fn cond(&self) -> &Node[src]

pub fn expr(&self) -> &Node[src]

pub fn new<C, B>(condition: C, body: B) -> Self where
    C: Into<Node>,
    B: Into<Node>, 
[src]

Creates a WhileLoop AST node.

Trait Implementations

impl Clone for WhileLoop[src]

impl Debug for WhileLoop[src]

impl Display for WhileLoop[src]

impl Drop for WhileLoop[src]

impl Executable for WhileLoop[src]

impl Finalize for WhileLoop[src]

impl From<WhileLoop> for Node[src]

impl PartialEq<WhileLoop> for WhileLoop[src]

impl StructuralPartialEq for WhileLoop[src]

impl Trace for WhileLoop[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,