[−][src]Function html_minifier::js::replace_token_with
pub fn replace_token_with<'a, 'b, F>(
token: Token<'a>,
callback: &F
) -> Token<'a> where
'b: 'a,
F: Fn(&Token<'a>) -> Option<Token<'b>>,
Replace a given token with another.