a
, b.
let a = "backquote";
Then,
// Shiki code block
let a = "backquote";
pub trait LoxCallable: Display + Debug {
fn call(self: Rc<Self>, interpreter: &mut Interpreter, args: &[LoxValue]) -> CFResult<LoxValue>;
fn arity(&self) -> usize;
}
where CFResult
is:
pub type CFResult<T> = Result<T, ControlFlow<LoxValue, RuntimeError>>;
and ControlFlow
is an enum.