MCPcopy Create free account
hub / github.com/csskit/csskit / url_has_leading_space

Method url_has_leading_space

crates/css_lexer/src/token.rs:949–952  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

947 /// Asserts: The token is [Kind::Url].
948 #[inline]
949 pub const fn url_has_leading_space(&self) -> bool {
950 debug_assert!(self.kind_bits() == Kind::Url as u8);
951 self.second_flag()
952 }
953
954 /// If the [Token] is [Kind::Url], checks if the closing parenthesis is present.
955 ///

Callers

nothing calls this directly

Calls 1

second_flagMethod · 0.80

Tested by

no test coverage detected