pub fn text_token(text: &str) -> BorrowedSymbolToken<'_>
Expand description

Constructs an BorrowedSymbolToken with just text. A common case for text and synthesizing tokens.