fn scope_contents(i: &str) -> IResult<&str, Vec<ScopeContent>, VerboseError<&str>> {
        #[cfg(test)]
        trace!("Scope Contents: {}", i);

        Self::expect_non_empty(i)?;

        let result = context(
            "ScopeContents",
            Self::trimmed(many0(alt((
                // Either a dangling block
                Parser::dangling_block,
                // Or a Block
                Parser::block,
                // Or an at rule
                Parser::at_rule,
                // Or a Rule
                Parser::rule,
            )))),
        )(i);

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

        result
    }
/// Parse the Content of a Scope
Parse the Content of a Scope
Parse the Content of a Scope
fn scope_contents(i: &str) -> IResult<&str, Vec<ScopeContent>, VerboseError<&str>> {
        #[cfg(test)]
        trace!("Scope Contents: {}", i);
        Self::expect_non_empty(i)?;
        let result = context(
            "ScopeContents",
            Self::trimmed(many0(alt((
                // Either a dangling block
                Parser::dangling_block,
                // Or a Block
                Parser::block,
                // Or an at rule
                Parser::at_rule,
                // Or a Rule
                Parser::rule,
            )))),
        )(i);
        #[cfg(test)]
        trace!("Scope Contents: {:#?}", result);
        result
    }
fn scope_contents ( i : & str ) -> IResult < & str , Vec < ScopeContent > , VerboseError < & str > > { # [ cfg ( test ) ] trace ! ( " " i ) ; Self :: expect_non_empty ( i ) ? ; let result = context ( " " , Self :: trimmed ( many0 ( alt ( ( // Either a dangling block Parser :: dangling_block , // Or a Block Parser :: block , // Or an at rule Parser :: at_rule , // Or a Rule Parser :: rule , ) ) ) ) , ) ( i ) ; # [ cfg ( test ) ] trace ! ( " " result ) ; result }
Parse the Content of a Scope
Parse the Content of a Scope
i
&str
i
&str