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

Method parse

crates/csskit_ast/src/sheet.rs:21–27  ·  view source on GitHub ↗
(p: &mut Parser<'a, I>)

Source from the content-addressed store, hash-verified

19
20impl<'a> Parse<'a> for Sheet<'a> {
21 fn parse<I>(p: &mut Parser<'a, I>) -> ParserResult<Self>
22 where
23 I: Iterator<Item = Cursor> + Clone,
24 {
25 let (rules, _) = Self::parse_stylesheet(p)?;
26 Ok(Self { rules })
27 }
28}
29
30impl<'a> StyleSheet<'a, ()> for Sheet<'a> {

Callers 3

to_atomMethod · 0.45
browser_version_tokensFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected