token_text

Function token_text 

Source
pub fn token_text<'src>(source: &'src str, token: &Token) -> &'src str
Expand description

Retrieves the text slice for a token. O(1) slice into source.