[][src]Module zamm_yang::codegen

Code generation utilities.

Modules

string_format

Format codegen.

track_autogen

Track autogenerated files.

Structs

CodegenConfig

Runtime options for code generation.

NameTransform

Struct that stores a name in a unified representation, allowing for conversions between different casing formats

Functions

add_fmt_skips

Add any relevant rustfmt skip markers for autogenerated code.

add_indent

Indent a line by a certain number of spaces.

count_indent

Returns the indent, as well as the first non-whitespace character.

output_code

Output code to filename