pub struct Interpreter {
pub env: Environment,
/* private fields */
}Expand description
The tree-walking interpreter that evaluates an AST.
Maintains an Environment for variable storage and a registry
of struct definitions encountered during execution.
Fields§
§env: EnvironmentImplementations§
Source§impl Interpreter
impl Interpreter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interpreter
impl RefUnwindSafe for Interpreter
impl Send for Interpreter
impl Sync for Interpreter
impl Unpin for Interpreter
impl UnsafeUnpin for Interpreter
impl UnwindSafe for Interpreter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more