fn sheet(i: &str) -> IResult<&str, Sheet, VerboseError<&str>> {
        #[cfg(test)]
        trace!("Sheet: {}", i);

        let result = context(
            "StyleSheet",
            // Drop trailing whitespaces.
            Self::trimmed(map(many0(Self::scope), |p: Vec<Vec<ScopeContent>>| {
                Sheet::from(p.into_iter().flatten().collect::<Vec<ScopeContent>>())
            })),
        )(i);

        #[cfg(test)]
        trace!("Sheet: {:#?}", result);

        result
    }
/// Parse sheet
/// A Scope can be either an at rule or a css scope.
Parse sheet
A Scope can be either an at rule or a css scope.
Parse sheet A Scope can be either an at rule or a css scope .
fn sheet(i: &str) -> IResult<&str, Sheet, VerboseError<&str>> {
        #[cfg(test)]
        trace!("Sheet: {}", i);
        let result = context(
            "StyleSheet",
            // Drop trailing whitespaces.
            Self::trimmed(map(many0(Self::scope), |p: Vec<Vec<ScopeContent>>| {
                Sheet::from(p.into_iter().flatten().collect::<Vec<ScopeContent>>())
            })),
        )(i);
        #[cfg(test)]
        trace!("Sheet: {:#?}", result);
        result
    }
fn sheet ( i : & str ) -> IResult < & str , Sheet , VerboseError < & str > > { # [ cfg ( test ) ] trace ! ( " " i ) ; let result = context ( " " , // Drop trailing whitespaces. Self :: trimmed ( map ( many0 ( Self :: scope ) , | p : Vec < Vec < ScopeContent > > | { Sheet :: from ( p . into_iter ( ) . flatten ( ) . collect :: < Vec < ScopeContent > > ( ) ) } ) ) , ) ( i ) ; # [ cfg ( test ) ] trace ! ( " " result ) ; result }
Parse sheet
A Scope can be either an at rule or a css scope.
Parse sheet A Scope can be either an at rule or a css scope .
i
&str
i
&str