pub enum Statement<'tree> {
Show 20 variants
BreakStatement(Box<BreakStatement<'tree>>),
ContinueStatement(Box<ContinueStatement<'tree>>),
DebuggerStatement(Box<DebuggerStatement<'tree>>),
Declaration(Box<Declaration<'tree>>),
DoStatement(Box<DoStatement<'tree>>),
EmptyStatement(Box<EmptyStatement<'tree>>),
ExportStatement(Box<ExportStatement<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
ForInStatement(Box<ForInStatement<'tree>>),
ForStatement(Box<ForStatement<'tree>>),
IfStatement(Box<IfStatement<'tree>>),
ImportStatement(Box<ImportStatement<'tree>>),
LabeledStatement(Box<LabeledStatement<'tree>>),
ReturnStatement(Box<ReturnStatement<'tree>>),
StatementBlock(Box<StatementBlock<'tree>>),
SwitchStatement(Box<SwitchStatement<'tree>>),
ThrowStatement(Box<ThrowStatement<'tree>>),
TryStatement(Box<TryStatement<'tree>>),
WhileStatement(Box<WhileStatement<'tree>>),
WithStatement(Box<WithStatement<'tree>>),
}Variants§
BreakStatement(Box<BreakStatement<'tree>>)
ContinueStatement(Box<ContinueStatement<'tree>>)
DebuggerStatement(Box<DebuggerStatement<'tree>>)
Declaration(Box<Declaration<'tree>>)
DoStatement(Box<DoStatement<'tree>>)
EmptyStatement(Box<EmptyStatement<'tree>>)
ExportStatement(Box<ExportStatement<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
ForInStatement(Box<ForInStatement<'tree>>)
ForStatement(Box<ForStatement<'tree>>)
IfStatement(Box<IfStatement<'tree>>)
ImportStatement(Box<ImportStatement<'tree>>)
LabeledStatement(Box<LabeledStatement<'tree>>)
ReturnStatement(Box<ReturnStatement<'tree>>)
StatementBlock(Box<StatementBlock<'tree>>)
SwitchStatement(Box<SwitchStatement<'tree>>)
ThrowStatement(Box<ThrowStatement<'tree>>)
TryStatement(Box<TryStatement<'tree>>)
WhileStatement(Box<WhileStatement<'tree>>)
WithStatement(Box<WithStatement<'tree>>)
Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for Statement<'tree>
impl<'tree> RefUnwindSafe for Statement<'tree>
impl<'tree> Send for Statement<'tree>
impl<'tree> Sync for Statement<'tree>
impl<'tree> Unpin for Statement<'tree>
impl<'tree> UnsafeUnpin for Statement<'tree>
impl<'tree> UnwindSafe for Statement<'tree>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more