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

Function is_quote

crates/css_lexer/src/syntax/mod.rs:34–36  ·  view source on GitHub ↗
(c: char)

Source from the content-addressed store, hash-verified

32
33#[inline(always)]
34pub const fn is_quote(c: char) -> bool {
35 c == '\'' || c == '"'
36}
37
38#[inline(always)]
39pub const fn is_escape_sequence(c: char, c2: char) -> bool {

Callers 2

read_next_tokenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected