Struct bytecode_interpreter::concrete::player::FunctionContext
source · pub struct FunctionContext<'env> { /* private fields */ }
Implementations§
source§impl<'env> FunctionContext<'env>
impl<'env> FunctionContext<'env>
pub fn new( holder: &'env FunctionTargetsHolder, target: FunctionTarget<'env>, ty_args: Vec<BaseType>, skip_specs: bool, level: usize ) -> Self
sourcepub fn get_settings(&self) -> Rc<InterpreterSettings>
pub fn get_settings(&self) -> Rc<InterpreterSettings>
Retrieve the InterpreterSettings
from the global environment
sourcepub fn exec_user_function(
&self,
typed_args: Vec<TypedValue>,
global_state: &mut GlobalState,
eval_state: &mut EvalState
) -> ExecResult<LocalState>
pub fn exec_user_function( &self, typed_args: Vec<TypedValue>, global_state: &mut GlobalState, eval_state: &mut EvalState ) -> ExecResult<LocalState>
Execute a user function with value arguments.