[][src]Module zamm_yang::codegen

Code generation utilities.

Modules

filesystem

Actual changes to the filesystem.

string_format

Format codegen.

track_autogen

Track autogenerated files.

Structs

CodeConfig

Configuration settings for generating a single concept's contents.

CodegenConfig

Runtime options for code generation.

StructConfig

Config representing an imported struct.

Functions

add_fmt_skips

Add any relevant rustfmt skip markers for autogenerated code.

add_indent

Indent a line by a certain number of spaces.

code

Generate the final version of code, to be output to a file as-is.

count_indent

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