Function pdl_compiler::backends::rust_legacy::generate

source ยท
pub fn generate(sources: &SourceDatabase, file: &File) -> String
Expand description

Generate formatted Rust code from an AST.

The code is not formatted, pipe it through rustfmt to get readable source code.