Skip to main content

generate

Function generate 

Source
pub fn generate(
    doc: &Document,
    compiler_config: &CompilerConfiguration,
    destination_path: Option<&Path>,
) -> Result<File>
Available on crate feature python only.
Expand description

Returns the text of the Python code produced by the given root component