fast_rustc_ap_rustc_lexer::unescape

Function unescape_str

Source
pub fn unescape_str<F>(literal_text: &str, callback: &mut F)
Expand description

Takes a contents of a string literal (without quotes) and produces a sequence of escaped characters or errors. Values are returned through invoking of the provided callback.