Returns true if and only if this character class range is valid. The only case where a range is invalid is if its start is greater than its end.
(&self)
| 1018 | /// The only case where a range is invalid is if its start is greater than |
| 1019 | /// its end. |
| 1020 | pub fn is_valid(&self) -> bool { |
| 1021 | self.start.c <= self.end.c |
| 1022 | } |
| 1023 | } |
| 1024 | |
| 1025 | /// A union of items inside a character class set. |
no outgoing calls
no test coverage detected