Struct jrsonnet_evaluator::Context [−][src]
pub struct Context(_);
Implementations
impl Context
[src]
impl Context
[src]pub fn new_future() -> FutureWrapper<Self>
[src]
pub fn dollar(&self) -> &Option<ObjValue>
[src]
pub fn this(&self) -> &Option<ObjValue>
[src]
pub fn super_obj(&self) -> &Option<ObjValue>
[src]
pub fn new() -> Self
[src]
pub fn binding(&self, name: IStr) -> Result<LazyVal>
[src]
pub fn into_future(self, ctx: FutureWrapper<Self>) -> Self
[src]
pub fn with_var(self, name: IStr, value: Val) -> Self
[src]
pub fn extend(
self,
new_bindings: FxHashMap<IStr, LazyVal>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Self
[src]
self,
new_bindings: FxHashMap<IStr, LazyVal>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Self
pub fn extend_bound(self, new_bindings: FxHashMap<IStr, LazyVal>) -> Self
[src]
pub fn extend_unbound(
self,
new_bindings: FxHashMap<IStr, LazyBinding>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Result<Self>
[src]
self,
new_bindings: FxHashMap<IStr, LazyBinding>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Context
impl !RefUnwindSafe for Context
impl !UnwindSafe for Context
impl !UnwindSafe for Context