[−][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>)
DoWhileStatement(Box<DoWhileStatement>)
SwitchStatementWithDefault(Box<SwitchStatementWithDefault>)
VariableDeclaration(Box<VariableDeclaration>)
SwitchStatement(Box<SwitchStatement>)
WithStatement(Box<WithStatement>)
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][+]
R: TokenReader,
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][+]
fn from(value: FunctionDeclaration) -> Self
[src][−]
impl From<IfStatement> for Statement
[src][+]
impl From<IterationStatement> for Statement
[src][+]
fn from(value: IterationStatement) -> Self
[src][−]
impl From<LabelledStatement> for Statement
[src][+]
impl From<LazyFunctionDeclaration> for Statement
[src][+]
impl From<ReturnStatement> for Statement
[src][+]
impl From<Statement> for ExportDeclarationOrImportDeclarationOrStatement
[src][+]
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][+]
W: TokenWriter,
impl Serialize for Statement
[src][+]
impl StructuralPartialEq for Statement
[src]
impl<'a> Walker<'a> for Statement
[src][+]
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Downcast for T where
T: Any,
[src][+]
T: Any,
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src][+]
T: Send + Sync + Any,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,