Enum wlambda::vval::StackAction [−][src]
pub enum StackAction { Panic(Box<(VVal, Vec<Option<SynPos>>)>), Return(Box<(VVal, VVal)>), Break(Box<VVal>), Next, }
Expand description
Encodes all kinds of jumps up the call stack, like break
and next
in Loops.
As WLambda is not using a VM, it uses return values of the closure call tree to handle jumping up the stack.
Variants
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for StackAction
impl !Send for StackAction
impl !Sync for StackAction
impl Unpin for StackAction
impl !UnwindSafe for StackAction
Blanket Implementations
Mutably borrows from an owned value. Read more