pub trait Interpret {
// Required method
fn interpret(&self, env: &mut Environment) -> IResult<ConValue>;
}Expand description
A work-in-progress tree walk interpreter for Conlang
Required Methods§
Sourcefn interpret(&self, env: &mut Environment) -> IResult<ConValue>
fn interpret(&self, env: &mut Environment) -> IResult<ConValue>
Interprets this thing in the given Environment.
Everything returns a value!™
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".