pub fn text_token<T: Into<Rc<str>>>(text: T) -> OwnedSymbolToken
Expand description

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