Enum ablescript::ast::StmtKind [−][src]
pub enum StmtKind {
Show 14 variants
If {
cond: Expr,
body: Block,
},
Loop {
body: Block,
},
Break,
HopBack,
Var {
ident: Ident,
init: Option<Expr>,
},
Assign {
assignable: Assignable,
value: Expr,
},
Functio {
ident: Ident,
params: Vec<Ident>,
body: Block,
},
BfFunctio {
ident: Ident,
tape_len: Option<Expr>,
code: Vec<u8>,
},
Call {
expr: Expr,
args: Vec<Expr>,
},
Print(Expr),
Read(Assignable),
Melo(Ident),
Rlyeh,
Rickroll,
}
Variants
If
Loop
Fields
body: Block
Break
HopBack
Var
Assign
Functio
BfFunctio
Call
Print(Expr)
Tuple Fields
0: Expr
Read(Assignable)
Tuple Fields
0: Assignable
Melo(Ident)
Tuple Fields
0: Ident
Rlyeh
Rickroll
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StmtKind
impl !UnwindSafe for StmtKind
Blanket Implementations
Mutably borrows from an owned value. Read more