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

source ·
Expand description

compile script to code object

Functions§

  • stripe the decorator(@xxxx) and type annotation(for type checker is done in rust function), add one line in the ast for call function with given parameter, and compiler into CodeObject
  • gen_call 🔒
    generate a call to the coprocessor function with arguments given in decorator’s args list also set in location in source code to loc