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

Method is_dashed_ident

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

Source from the content-addressed store, hash-verified

915 /// Asserts: The token is "ident like", i.e. it is [Kind::Ident], [Kind::AtKeyword], [Kind::Function], [Kind::Hash].
916 #[inline]
917 pub const fn is_dashed_ident(&self) -> bool {
918 debug_assert!(self.is_ident_like());
919 self.second_flag()
920 }
921
922 /// Checks if the [Token] is Ident like and none of the characters are ASCII upper-case.
923 #[inline]

Callers 7

declaration_metadataMethod · 0.80
parseMethod · 0.80
to_atomMethod · 0.80
peekMethod · 0.80
peekMethod · 0.80

Calls 1

second_flagMethod · 0.80

Tested by

no test coverage detected