Skip to main content

stringify_icu

Function stringify_icu 

Source
pub fn stringify_icu(message: &IcuMessage) -> String
Expand description

Renders a parsed ICU message AST back to ICU MessageFormat text.

The output is canonical rather than byte-preserving: insignificant whitespace and quote choices may differ from the source input, but parsing the rendered string yields the same AST for the currently supported node variants.