[][src]Enum binjs_es6::ast::Statement

pub enum Statement {
    TryCatchStatement(Box<TryCatchStatement>),
    ClassDeclaration(Box<ClassDeclaration>),
    WhileStatement(Box<WhileStatement>),
    ForOfStatement(Box<ForOfStatement>),
    ThrowStatement(Box<ThrowStatement>),
    ForStatement(Box<ForStatement>),
    ReturnStatement(Box<ReturnStatement>),
    LazyFunctionDeclaration(Box<LazyFunctionDeclaration>),
    EagerFunctionDeclaration(Box<EagerFunctionDeclaration>),
    DebuggerStatement(Box<DebuggerStatement>),
    ContinueStatement(Box<ContinueStatement>),
    BreakStatement(Box<BreakStatement>),
    TryFinallyStatement(Box<TryFinallyStatement>),
    EmptyStatement(Box<EmptyStatement>),
    IfStatement(Box<IfStatement>),
    ExpressionStatement(Box<ExpressionStatement>),
    ForInStatement(Box<ForInStatement>),
    LabelledStatement(Box<LabelledStatement>),
    Block(Box<Block>),
    DoWhileStatement(Box<DoWhileStatement>),
    SwitchStatementWithDefault(Box<SwitchStatementWithDefault>),
    VariableDeclaration(Box<VariableDeclaration>),
    SwitchStatement(Box<SwitchStatement>),
    WithStatement(Box<WithStatement>),
    BinASTStolen,
}

Implementation of interface sum Statement

Variants

TryCatchStatement(Box<TryCatchStatement>)
ClassDeclaration(Box<ClassDeclaration>)
WhileStatement(Box<WhileStatement>)
ForOfStatement(Box<ForOfStatement>)
ThrowStatement(Box<ThrowStatement>)
ForStatement(Box<ForStatement>)
ReturnStatement(Box<ReturnStatement>)
LazyFunctionDeclaration(Box<LazyFunctionDeclaration>)
EagerFunctionDeclaration(Box<EagerFunctionDeclaration>)
DebuggerStatement(Box<DebuggerStatement>)
ContinueStatement(Box<ContinueStatement>)
BreakStatement(Box<BreakStatement>)
TryFinallyStatement(Box<TryFinallyStatement>)
EmptyStatement(Box<EmptyStatement>)
IfStatement(Box<IfStatement>)
ExpressionStatement(Box<ExpressionStatement>)
ForInStatement(Box<ForInStatement>)
LabelledStatement(Box<LabelledStatement>)
Block(Box<Block>)
DoWhileStatement(Box<DoWhileStatement>)
SwitchStatementWithDefault(Box<SwitchStatementWithDefault>)
VariableDeclaration(Box<VariableDeclaration>)
SwitchStatement(Box<SwitchStatement>)
WithStatement(Box<WithStatement>)
BinASTStolen

An additional value used to mark that the node was stolen by a call to steal().

Trait Implementations

impl Clone for Statement[src]

impl Debug for Statement[src]

impl Default for Statement[src]

impl<R> Deserialization<Statement> for Deserializer<R> where
    R: TokenReader
[src]

impl<'de> Deserialize<'de> for Statement[src]

impl<'a> From<&'a mut Statement> for ViewMutStatement<'a>[src]

impl From<Block> for Statement[src]

impl From<BreakStatement> for Statement[src]

impl From<ClassDeclaration> for Statement[src]

impl From<ContinueStatement> for Statement[src]

impl From<DebuggerStatement> for Statement[src]

impl From<DoWhileStatement> for Statement[src]

impl From<EagerFunctionDeclaration> for Statement[src]

impl From<EmptyStatement> for Statement[src]

impl From<ExpressionStatement> for Statement[src]

impl From<ForInStatement> for Statement[src]

impl From<ForOfStatement> for Statement[src]

impl From<ForStatement> for Statement[src]

impl From<FunctionDeclaration> for Statement[src]

Convert an instance of an enum into an instance of a larger enum.

impl From<IfStatement> for Statement[src]

impl From<IterationStatement> for Statement[src]

Convert an instance of an enum into an instance of a larger enum.

impl From<LabelledStatement> for Statement[src]

impl From<LazyFunctionDeclaration> for Statement[src]

impl From<ReturnStatement> for Statement[src]

impl From<Statement> for ExportDeclarationOrImportDeclarationOrStatement[src]

Convert an instance of an enum into an instance of a larger enum.

impl From<SwitchStatement> for Statement[src]

impl From<SwitchStatementWithDefault> for Statement[src]

impl From<ThrowStatement> for Statement[src]

impl From<TryCatchStatement> for Statement[src]

impl From<TryFinallyStatement> for Statement[src]

impl From<VariableDeclaration> for Statement[src]

impl From<WhileStatement> for Statement[src]

impl From<WithStatement> for Statement[src]

impl PartialEq<Statement> for Statement[src]

impl<W> Serialization<Statement> for Serializer<W> where
    W: TokenWriter
[src]

impl Serialize for Statement[src]

impl StructuralPartialEq for Statement[src]

impl<'a> Walker<'a> for Statement[src]

type Output = Statement

Auto Trait Implementations

impl !RefUnwindSafe for Statement

impl !Send for Statement

impl !Sync for Statement

impl Unpin for Statement

impl UnwindSafe for Statement

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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, 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>, 
[src]