Function easy_plugin::extractor::tok_to_literal
[−]
pub fn tok_to_literal(tok: &Spanned<Token>)
-> Result<(Lit, Option<String>), (Span, String)>
Returns the Token::Literal
values in the supplied Spanned<Token>
.