Function clean_token_except

Source
pub fn clean_token_except<'a, F>(
    token: &Token<'a>,
    next_token: &Option<&Token<'_>>,
    f: &F,
) -> bool
where F: Fn(&Token<'a>) -> bool,
Expand description

Returns true if the token is a “useful” one (so not a comment or a “useless” character).