enum
Action
pub enum Action {
Set(String, Expr),
Command(Expr),
If(Expr, Box<Action>, Option<Box<Action>>),
}One step of a handler.
Variants
If
If(Expr, Box<Action>, Option<Box<Action>>)if cond then step or if cond then step else step: the step whose condition holds (read, like every step, from the state before).
Methods
references
pub fn references(&self, bound: &mut Vec<String>, out: &mut BTreeSet<String>)Names the step reads (a command's handler names excluded).