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

Method is_protocol_suffix

src/constructor_parser.rs:55–57  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

53 // Ref: https://wicg.github.io/urlpattern/#is-a-protocol-suffix
54 #[inline]
55 fn is_protocol_suffix(&self) -> bool {
56 self.is_non_special_pattern_char(self.token_index, ":")
57 }
58
59 // Ref: https://wicg.github.io/urlpattern/#is-a-search-prefix
60 fn is_search_prefix(&self) -> bool {

Callers 1

parse_constructor_stringFunction · 0.80

Calls 1

Tested by

no test coverage detected