Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
39
pub const fn is_escape_sequence(c: char, c2: char) -> bool {
40
c ==
'\\'
&& !is_newline(c2)
41
}
42
43
#[inline(always)]
44
pub const fn is_url_ident(str: &str) -> bool {
Callers
6
consume_ident_sequence
Method · 0.85
consume_url_sequence
Method · 0.85
consume_remnants_of_bad_url
Method · 0.85
consume_string_token
Method · 0.85
read_next_token
Method · 0.85
is_ident_start_sequence
Function · 0.85
Calls
1
is_newline
Function · 0.85
Tested by
no test coverage detected