Skip to main content

create_function_object

Function create_function_object 

Source
pub fn create_function_object(
    func_data: &FunctionData,
    ctx: &EvalContext,
) -> ValueResult
Expand description

Create a function object from FunctionData. Note: This creates a closure that references the AST. The AST must remain valid for the lifetime of the function object.