blob: 864005a8c45efb84dcaf3ef806ff90397372bfb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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())
}
|