MCPcopy Create free account
hub / github.com/arialang/aria / eval

Method eval

vm-lib/src/runtime_value/bound_function.rs:37–48  ·  view source on GitHub ↗
(
        &self,
        argc: u8,
        cur_frame: &mut Frame,
        vm: &mut VirtualMachine,
        discard_result: bool,
    )

Source from the content-addressed store, hash-verified

35 }
36
37 pub fn eval(
38 &self,
39 argc: u8,
40 cur_frame: &mut Frame,
41 vm: &mut VirtualMachine,
42 discard_result: bool,
43 ) -> ExecutionResult<CallResult> {
44 let partial_application =
45 PartialFunctionApplication::default().with_suffix_arg(self.this().clone());
46 self.func()
47 .eval(argc, cur_frame, vm, &partial_application, discard_result)
48 }
49}
50
51impl PartialEq for BoundFunction {

Callers

nothing calls this directly

Calls 3

with_suffix_argMethod · 0.80
thisMethod · 0.80
funcMethod · 0.80

Tested by

no test coverage detected