MCPcopy Create free account
hub / github.com/denoland/rust-urlpattern / try_consume_modifier_token

Method try_consume_modifier_token

src/parser.rs:224–228  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

222 // Ref: https://wicg.github.io/urlpattern/#try-to-consume-a-modifier-token
223 #[inline]
224 fn try_consume_modifier_token(&mut self) -> Option<Token<'a>> {
225 self
226 .try_consume_token(TokenType::OtherModifier)
227 .or_else(|| self.try_consume_token(TokenType::Asterisk))
228 }
229
230 // Ref: https://wicg.github.io/urlpattern/#maybe-add-a-part-from-the-pending-fixed-value
231 #[inline]

Callers 1

parse_pattern_stringFunction · 0.80

Calls 1

try_consume_tokenMethod · 0.80

Tested by

no test coverage detected