Skip to main content

Module naming

Module naming 

Source
Expand description

Identifier naming helpers shared across code generators.

The Rust codegen (codegen.rs) has its own copies that additionally handle Rust keyword escaping and differ slightly in capitalisation heuristics — those are intentionally kept separate.

Functions§

module_file_stem
Return a filesystem-safe stem for the given module name.