[][src]Trait fasteval::compiler::Compiler

pub trait Compiler {
    fn compile(&self, pslab: &ParseSlab, cslab: &mut CompileSlab) -> Instruction;
}

You must use the Compiler trait before you can call .compile() on parsed Expressions.

Required methods

fn compile(&self, pslab: &ParseSlab, cslab: &mut CompileSlab) -> Instruction

Turns a parsed Expression into a compiled Instruction.

Cannot fail, unless you run out of memory.

Loading content...

Implementors

impl Compiler for StdFunc[src]

impl Compiler for UnaryOp[src]

impl Compiler for Value[src]

impl Compiler for Expression[src]

Loading content...