rustc_expand::mbe::quoted

Function kleene_op

Source
fn kleene_op(token: &Token) -> Option<KleeneOp>
Expand description

Takes a token and returns Some(KleeneOp) if the token is + * or ?. Otherwise, return None.