Function cssparser::rules_and_declarations::parse_one_declaration

source ยท
pub fn parse_one_declaration<'i, 't, P, E>(
    input: &mut Parser<'i, 't>,
    parser: &mut P,
) -> Result<<P as DeclarationParser<'i>>::Declaration, (ParseError<'i, E>, &'i str)>
where P: DeclarationParser<'i, Error = E>,
Expand description

Parse a single declaration, such as an ( /* ... */ ) parenthesis in an @supports prelude.