Struct fomoscript::Ctx
source · pub struct Ctx {
pub ast: AST,
pub variables: BTreeMap<String, N>,
pub path: String,
}Expand description
Interpreter context, holds all state during execution.
Fields§
§ast: AST§variables: BTreeMap<String, N>§path: StringImplementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Ctx
impl !Send for Ctx
impl !Sync for Ctx
impl Unpin for Ctx
impl !UnwindSafe for Ctx
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