use crate::parse::parsetree::Token::*; use crate::parse::parsetree::Token; pub fn sym(s: &str) -> Token { Sym(s.to_string()) } pub fn whitespace(s: &str) -> Token { Whitespace(s.to_string()) }