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

Function is_ident_byte

crates/css_lexer/src/syntax/identifier.rs:48–50  ·  view source on GitHub ↗
(byte: u8)

Source from the content-addressed store, hash-verified

46
47#[inline(always)]
48pub const fn is_ident_byte(byte: u8) -> bool {
49 BYTE_IS_IDENT.0[byte as usize]
50}
51
52#[inline(always)]
53pub fn is_ident_start_sequence(c: char, c2: char, c3: char) -> bool {

Callers 2

is_identFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected