does the input start with this operator?
(&self, operator: &str)
| 442 | } |
| 443 | /// does the input start with this operator? |
| 444 | fn peek_operator(&self, operator: &str) -> bool { |
| 445 | self.peek_operator_stream_offset(&self.tokens, operator, 0) |
| 446 | } |
| 447 | /// does the given stream contain this operator? |
| 448 | fn peek_operator_stream_offset(&self, stream: &VecDeque<TokenTree>, operator: &str, offset: usize) -> bool { |
| 449 | for (i, c) in operator.char_indices() { |
no test coverage detected