rustc_ap_rustc_lexer::unescape

Function unescape_byte_literal

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

Takes a contents of a byte, byte string or raw byte string (without quotes) and produces a sequence of bytes or errors. Values are returned through invoking of the provided callback.