[−][src]Module zamm_yang::codegen
Code generation utilities.
Modules
filesystem | Actual changes to the filesystem. |
planning | High-level planning for what the final generation configs will look like. All logic that touch Yin concepts in the codegen module should live inside of this sub-module. |
template | Codegen templates. |
track_autogen | Track autogenerated files. |
Structs
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. |
count_indent | Returns the indent, as well as the first non-whitespace character. |
output_code | Perform post-processing on generated code given the options specified in |