Shared Rust kernels
syntax/token
All modules · quoted at commit 9e1884369a67 of DnaCalc/DnaCalc. Comments are the source's own.
Token::text · 5 lines · calc-fml/src/syntax/token.rs on GitHub/// The token's source text, exactly as entered (empty for a missing token and for the end
/// of input).
pub fn text(&self) -> &str {
&self.text
}
Used by 2 functions.