caffeine_lang/frontend/formatter

Values

pub fn format(source: String) -> Result(String, String)

Format a Caffeine source file. Auto-detects whether it’s a measurements or expectations file. Expectations files are detected by the presence of the Expectations keyword; all other files are treated as measurements files.

Search Document