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

Class SimpleBlock

crates/css_parse/src/syntax/simple_block.rs:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
7#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
8pub struct SimpleBlock<'a> {
9 pub open: T![PairWiseStart],
10 pub values: ComponentValues<'a>,
11 pub close: Option<T![PairWiseEnd]>,
12}
13
14impl<'a> Peek<'a> for SimpleBlock<'a> {
15 const PEEK_KINDSET: KindSet = KindSet::PAIRWISE_START;

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected