Macro python_ast::tk_is_none_of [] [src]

macro_rules! tk_is_none_of {
    ($i:expr, $inp: expr) => { ... };
}

Matches one of the provided tokens.

Generalized form of nom's none_of! macro. which just takes the .as_char() off of the Some(true) case in order to return back the whatever is produced by the slice.