(
&'a self,
text: &'a str,
abs_start: usize,
)
| 374 | } |
| 375 | |
| 376 | fn credential_token_at<'a>( |
| 377 | &'a self, |
| 378 | text: &'a str, |
| 379 | abs_start: usize, |
| 380 | ) -> Option<(usize, &'a str)> { |
| 381 | self.longest_known_token_match(text, abs_start) |
| 382 | .or_else(|| canonical_token_at(text, abs_start)) |
| 383 | .or_else(|| alias_token_at(text, abs_start)) |
| 384 | } |
| 385 | |
| 386 | fn longest_known_token_match<'a>( |
| 387 | &'a self, |
no test coverage detected