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