pub fn token_src<'src>(token: &SyntaxToken, source: &'src str) -> &'src strExpand description
Extracts token text with source lifetime.
Use this instead of token.text() when you need &'src str.
pub fn token_src<'src>(token: &SyntaxToken, source: &'src str) -> &'src strExtracts token text with source lifetime.
Use this instead of token.text() when you need &'src str.