Crate interoptopus_backend_utils
Source - render
- Renders a template.
- template_engine
- Create a templated codegen engine for backends.
- IndentWriter
- Emits code, line by line, with indentation.
- Error
- Can be observed if something goes wrong.
- WriteFor
- Whether backends should emit signatures for code or documentation.
- FOUR_SPACES
- You wouldn’t believe how hard typing exactly 4 spaces is.
- assert_file_unchanged
- Used by backends to verify a
file.ext matches an existing file.ext.expected. - indent_all_with
- Indents each line in the given text with the specified prefix.