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

Method has_close_quote

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

Source from the content-addressed store, hash-verified

885 /// Asserts: The [Kind] is [Kind::String].
886 #[inline]
887 pub const fn has_close_quote(&self) -> bool {
888 debug_assert!(self.kind_bits() == Kind::String as u8);
889 self.second_flag()
890 }
891
892 /// Checks if it is possible for the [Token] to contain escape characters. Numbers, for example, cannot. Idents can.
893 #[inline]

Callers 6

parseMethod · 0.80
fmtMethod · 0.80
fmt_compacted_stringMethod · 0.80
fmt_expanded_stringMethod · 0.80
with_quotesMethod · 0.80
trailing_lenMethod · 0.80

Calls 1

second_flagMethod · 0.80

Tested by

no test coverage detected