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

Function is_escape_sequence

crates/css_lexer/src/syntax/mod.rs:39–41  ·  view source on GitHub ↗
(c: char, c2: char)

Source from the content-addressed store, hash-verified

37
38#[inline(always)]
39pub const fn is_escape_sequence(c: char, c2: char) -> bool {
40 c == '\\' && !is_newline(c2)
41}
42
43#[inline(always)]
44pub const fn is_url_ident(str: &str) -> bool {

Callers 6

consume_url_sequenceMethod · 0.85
consume_string_tokenMethod · 0.85
read_next_tokenMethod · 0.85
is_ident_start_sequenceFunction · 0.85

Calls 1

is_newlineFunction · 0.85

Tested by

no test coverage detected