Enum liva_parser::statement::Statement [−][src]
pub enum Statement<'a> {
Assignment(Assignment<'a>),
LAssignment(LAssignment<'a>),
FuncCall(PrefixExpr<'a>),
While(While<'a>),
For(For<'a>),
If(If<'a>),
Fun(Function<'a>),
Class(Class<'a>),
Return(ReturnStmt<'a>),
Import(Import<'a>),
}
Variants
Assignment(Assignment<'a>)
Tuple Fields of Assignment
0: Assignment<'a>
LAssignment(LAssignment<'a>)
Tuple Fields of LAssignment
0: LAssignment<'a>
FuncCall(PrefixExpr<'a>)
Tuple Fields of FuncCall
0: PrefixExpr<'a>
While(While<'a>)
Tuple Fields of While
0: While<'a>
For(For<'a>)
Tuple Fields of For
0: For<'a>
If(If<'a>)
Tuple Fields of If
0: If<'a>
Fun(Function<'a>)
Tuple Fields of Fun
0: Function<'a>
Class(Class<'a>)
Tuple Fields of Class
0: Class<'a>
Return(ReturnStmt<'a>)
Tuple Fields of Return
0: ReturnStmt<'a>
Import(Import<'a>)
Tuple Fields of Import
0: Import<'a>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Statement<'a>
impl<'a> UnwindSafe for Statement<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more