Enum sbrain::FlowAction [] [src]

pub enum FlowAction {
    NoAction,
    SkipLoop,
    Done,
}

FlowAction allows the VM's execution engine to implement flow control. Because evaluation can only see a single instruction, it must use this struct to instruct the flow controller to perform flow control actions.

Variants

NoAction

No flow control action is required.

SkipLoop

The flow controller should skip to the next 5 (]), or loop end instructon.

Done

The program is done.