pub enum Statement<'tree> {
Show 29 variants
BreakStatement(Box<BreakStatement<'tree>>),
ClassDeclaration(Box<ClassDeclaration<'tree>>),
CompoundStatement(Box<CompoundStatement<'tree>>),
ConstDeclaration(Box<ConstDeclaration<'tree>>),
ContinueStatement(Box<ContinueStatement<'tree>>),
DeclareStatement(Box<DeclareStatement<'tree>>),
DoStatement(Box<DoStatement<'tree>>),
EchoStatement(Box<EchoStatement<'tree>>),
EmptyStatement(Box<EmptyStatement<'tree>>),
EnumDeclaration(Box<EnumDeclaration<'tree>>),
ExitStatement(Box<ExitStatement<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
ForStatement(Box<ForStatement<'tree>>),
ForeachStatement(Box<ForeachStatement<'tree>>),
FunctionDefinition(Box<FunctionDefinition<'tree>>),
FunctionStaticDeclaration(Box<FunctionStaticDeclaration<'tree>>),
GlobalDeclaration(Box<GlobalDeclaration<'tree>>),
GotoStatement(Box<GotoStatement<'tree>>),
IfStatement(Box<IfStatement<'tree>>),
InterfaceDeclaration(Box<InterfaceDeclaration<'tree>>),
NamedLabelStatement(Box<NamedLabelStatement<'tree>>),
NamespaceDefinition(Box<NamespaceDefinition<'tree>>),
NamespaceUseDeclaration(Box<NamespaceUseDeclaration<'tree>>),
ReturnStatement(Box<ReturnStatement<'tree>>),
SwitchStatement(Box<SwitchStatement<'tree>>),
TraitDeclaration(Box<TraitDeclaration<'tree>>),
TryStatement(Box<TryStatement<'tree>>),
UnsetStatement(Box<UnsetStatement<'tree>>),
WhileStatement(Box<WhileStatement<'tree>>),
}Variants§
BreakStatement(Box<BreakStatement<'tree>>)
ClassDeclaration(Box<ClassDeclaration<'tree>>)
CompoundStatement(Box<CompoundStatement<'tree>>)
ConstDeclaration(Box<ConstDeclaration<'tree>>)
ContinueStatement(Box<ContinueStatement<'tree>>)
DeclareStatement(Box<DeclareStatement<'tree>>)
DoStatement(Box<DoStatement<'tree>>)
EchoStatement(Box<EchoStatement<'tree>>)
EmptyStatement(Box<EmptyStatement<'tree>>)
EnumDeclaration(Box<EnumDeclaration<'tree>>)
ExitStatement(Box<ExitStatement<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
ForStatement(Box<ForStatement<'tree>>)
ForeachStatement(Box<ForeachStatement<'tree>>)
FunctionDefinition(Box<FunctionDefinition<'tree>>)
FunctionStaticDeclaration(Box<FunctionStaticDeclaration<'tree>>)
GlobalDeclaration(Box<GlobalDeclaration<'tree>>)
GotoStatement(Box<GotoStatement<'tree>>)
IfStatement(Box<IfStatement<'tree>>)
InterfaceDeclaration(Box<InterfaceDeclaration<'tree>>)
NamedLabelStatement(Box<NamedLabelStatement<'tree>>)
NamespaceDefinition(Box<NamespaceDefinition<'tree>>)
NamespaceUseDeclaration(Box<NamespaceUseDeclaration<'tree>>)
ReturnStatement(Box<ReturnStatement<'tree>>)
SwitchStatement(Box<SwitchStatement<'tree>>)
TraitDeclaration(Box<TraitDeclaration<'tree>>)
TryStatement(Box<TryStatement<'tree>>)
UnsetStatement(Box<UnsetStatement<'tree>>)
WhileStatement(Box<WhileStatement<'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