[−][src]Function syntax::ext::tt::quoted::kleene_op
fn kleene_op(token: &Token) -> Option<KleeneOp>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Takes a token and returns Some(KleeneOp)
if the token is +
*
or ?
. Otherwise, return
None
.