pub fn decode_ifc_string(s: &str) -> Cow<'_, str>Expand description
Decode IFC STEP string escapes to UTF-8.
Returns the input borrowed and untouched when it contains no backslash, so the common case (plain names, GUIDs, enums) is allocation-free.
This handles only backslash escapes. The '' doubled-quote escape is
collapsed by the STEP tokenizer’s consumers (they strip the surrounding
quotes and un-double), so decoding must not touch quotes or it would
double-collapse those paths.