(src: &'a str)
| 21 | lenient_separators: bool, |
| 22 | } |
| 23 | |
| 24 | impl<'a> Parser<'a> { |
| 25 | pub fn new(src: &'a str) -> Self { |
| 26 | let mut lexer = Lexer::new(src); |
| 27 | let current = lexer.next_token(); |
| 28 | Self { |
| 29 | src, |
| 30 | lexer, |
| 31 | current, |
| 32 | vars: HashMap::new(), |
| 33 | lenient_separators: false, |
| 34 | } |
| 35 | } |
| 36 |
nothing calls this directly
no test coverage detected