MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / parse_value

Method parse_value

css-inline/src/parser.rs:55–62  ·  view source on GitHub ↗
(
        &mut self,
        name: Name<'i>,
        input: &mut cssparser::Parser<'i, 't>,
        _declaration_start: &ParserState,
    )

Source from the content-addressed store, hash-verified

53 type Error = ();
54
55 fn parse_value<'t>(
56 &mut self,
57 name: Name<'i>,
58 input: &mut cssparser::Parser<'i, 't>,
59 _declaration_start: &ParserState,
60 ) -> Result<Self::Declaration, cssparser::ParseError<'i, Self::Error>> {
61 Ok((name, exhaust(input)))
62 }
63}
64
65impl<'i> cssparser::AtRuleParser<'i> for CSSRuleListParser<'_, 'i> {

Callers

nothing calls this directly

Calls 1

exhaustFunction · 0.85

Tested by

no test coverage detected