(p: &Parser<'a, Iter>, c: Cursor)
| 32 | |
| 33 | #[inline(always)] |
| 34 | fn peek<Iter>(p: &Parser<'a, Iter>, c: Cursor) -> bool |
| 35 | where |
| 36 | Iter: Iterator<Item = Cursor> + Clone, |
| 37 | { |
| 38 | if c == Kind::Delim && c == '!' { |
| 39 | let c = p.peek_n(2); |
| 40 | c == Kind::Ident && p.to_source_cursor(c).eq_ignore_ascii_case("important") |
| 41 | } else { |
| 42 | false |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | impl<'a> Parse<'a> for BangImportant { |
nothing calls this directly
no test coverage detected