Skip to main content

Module backend

Module backend 

Source
Expand description

Code generation backends.

Each backend implements CodegenBackend to emit source code for a specific target language. Only the Rust backend exists today; the trait is the extensibility point for future languages.

Modules§

rust
Rust code generation backend.

Enums§

CodegenError

Traits§

CodegenBackend
Trait for language-specific code generation backends.

Functions§

get_backend
Get a backend by language name.
run_formatter
Run a formatter command on a file. Warns on failure; does not error.