(&mut self)
| 54 | // Ref: https://wicg.github.io/urlpattern/#get-the-next-code-point |
| 55 | #[inline] |
| 56 | fn get_next_codepoint(&mut self) { |
| 57 | let next_char = self.input[self.next_index..].chars().next().unwrap(); |
| 58 | self.code_point = Some(next_char); |
| 59 | self.next_index += next_char.len_utf8(); |
| 60 | } |
| 61 | |
| 62 | // Ref: https://wicg.github.io/urlpattern/#add-a-token-with-default-position-and-length |
| 63 | #[inline] |
no outgoing calls
no test coverage detected