Returns a matcher that never matches and never advances the input.
()
| 58 | impl LiteralSearcher { |
| 59 | /// Returns a matcher that never matches and never advances the input. |
| 60 | pub fn empty() -> Self { |
| 61 | Self::new(Literals::empty(), Matcher::Empty) |
| 62 | } |
| 63 | |
| 64 | /// Returns a matcher for literal prefixes from the given set. |
| 65 | pub fn prefixes(lits: Literals) -> Self { |