yog-codegen 0.1.0

Yog's toolkit for code generators: name cases, string literals of each language, headers, an indenting writer, writes that keep unchanged files.
Documentation
1
2
3
4
5
6
//! The characters names are cut at and joined with.

/// What separates words in a name: `snake_case`, `kebab-case`, paths, dots, spaces.
pub(crate) const WORD_SEPARATORS: [char; 5] = ['_', '-', '/', '.', ' '];
/// Joins the words of `snake_case` and `SCREAMING_CASE`.
pub(crate) const SNAKE_JOIN: &str = "_";