script::python::ffi_types::copr::compile

Function gen_call

source
fn gen_call(
    name: &str,
    deco_args: &DecoratorArgs,
    kwarg: &Option<String>,
    loc: &Location,
) -> Stmt<()>
Expand description

generate a call to the coprocessor function with arguments given in decorator’s args list also set in location in source code to loc