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

Method parse

crates/css_parse/src/syntax/unknown_rule_block.rs:18–23  ·  view source on GitHub ↗
(p: &mut Parser<'a, Iter>)

Source from the content-addressed store, hash-verified

16
17impl<'a, D, M> Parse<'a> for UnknownRuleBlock<'a, D, M> {
18 fn parse<Iter>(p: &mut Parser<'a, Iter>) -> Result<Self>
19 where
20 Iter: Iterator<Item = Cursor> + Clone,
21 {
22 ComponentValues::parse(p).map(|values| Self { values, _phantom: std::marker::PhantomData })
23 }
24}
25
26impl<'a, D, M> Peek<'a> for UnknownRuleBlock<'a, D, M> {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.50

Tested by

no test coverage detected