Enum hoodlum_parser::ast::Seq
[−]
[src]
pub enum Seq { If(Expr, SeqBlock, Option<SeqBlock>), Set(BlockType, Ident, Expr), SetIndex(BlockType, Ident, Expr, Expr), SetRange(BlockType, Ident, Expr, Expr, Expr), Match(Expr, Vec<(Vec<Expr>, SeqBlock)>), While(Expr, SeqBlock), Loop(SeqBlock), Async(SeqBlock), FsmCaseTransition(Ident), Fsm(Vec<(Ident, SeqBlock)>), Yield, Await(Expr), FsmCase(Vec<(Vec<i32>, SeqBlock)>), FsmTransition(u32), }
Variants
If(Expr, SeqBlock, Option<SeqBlock>)
Set(BlockType, Ident, Expr)
SetIndex(BlockType, Ident, Expr, Expr)
SetRange(BlockType, Ident, Expr, Expr, Expr)
Match(Expr, Vec<(Vec<Expr>, SeqBlock)>)
While(Expr, SeqBlock)
Loop(SeqBlock)
Async(SeqBlock)
FsmCaseTransition(Ident)
Fsm(Vec<(Ident, SeqBlock)>)
Yield
Await(Expr)
FsmCase(Vec<(Vec<i32>, SeqBlock)>)
FsmTransition(u32)
Trait Implementations
impl Clone for Seq
[src]
fn clone(&self) -> Seq
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Seq
[src]
impl Eq for Seq
[src]
impl Hash for Seq
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more