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

        Self::expect_non_empty(i)?;

        let result = context(
            "StyleRuleString",
            Self::trimmed(map(is_not("{}"), |p: &str| {
                RuleContent::String(p.trim().to_string().into())
            })),
        )(i);

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

        result
    }
/// Parse everything that is not curly braces
Parse everything that is not curly braces
Parse everything that is not curly braces
fn rule_string(i: &str) -> IResult<&str, RuleContent, VerboseError<&str>> {
        #[cfg(test)]
        trace!("Rule String: {}", i);
        Self::expect_non_empty(i)?;
        let result = context(
            "StyleRuleString",
            Self::trimmed(map(is_not("{}"), |p: &str| {
                RuleContent::String(p.trim().to_string().into())
            })),
        )(i);
        #[cfg(test)]
        trace!("Rule String: {:#?}", result);
        result
    }
fn rule_string ( i : & str ) -> IResult < & str , RuleContent , VerboseError < & str > > { # [ cfg ( test ) ] trace ! ( " " i ) ; Self :: expect_non_empty ( i ) ? ; let result = context ( " " , Self :: trimmed ( map ( is_not ( " " ) , | p : & str | { RuleContent :: String ( p . trim ( ) . to_string ( ) . into ( ) ) } ) ) , ) ( i ) ; # [ cfg ( test ) ] trace ! ( " " result ) ; result }
Parse everything that is not curly braces
Parse everything that is not curly braces
i
&str
i
&str