Struct little::interpreter::Interpreter [] [src]

pub struct Interpreter;

Executes template without compilation.

Methods

impl Interpreter

fn new() -> Interpreter

Trait Implementations

impl<'a, V: LittleValue + 'a> Build<'a, V> for Interpreter

type Output = Executable<'a, V>

fn build(&'a mut self, id: &str, template: Template<V>, calls: &'a HashMap<&'a str, &'a Function<V> + 'a>) -> LittleResult<Executable<V>>

fn load(&'a mut self, id: &str, env: Fingerprint, calls: &'a Vec<&'a Function<V> + 'a>) -> LittleResult<Self::Output>