pub fn resolve_reduce<'a>(
        &'a self,
        property_set: &'a PropertySet,
    ) -> Result<Expression, String> {
        match self.resolve(property_set) {
            ResolveResult::True => Ok(Expression::Empty(true)),
            ResolveResult::False(_, expr) => Ok(expr),
            ResolveResult::Undefined(_, expr) => Ok(expr),
            ResolveResult::Err(err) => Err(err.msg),
        }
    }
// Resolve the expression with a give PropertySet and return the reduced result or error message.
Resolve the expression with a give PropertySet and return the reduced result or error message.
Resolve the expression with a give PropertySet and return the reduced result or error message .
pub fn resolve_reduce<'a>(
        &'a self,
        property_set: &'a PropertySet,
    ) -> Result<Expression, String> {
        match self.resolve(property_set) {
            ResolveResult::True => Ok(Expression::Empty(true)),
            ResolveResult::False(_, expr) => Ok(expr),
            ResolveResult::Undefined(_, expr) => Ok(expr),
            ResolveResult::Err(err) => Err(err.msg),
        }
    }
pub fn resolve_reduce < ' a > ( & ' a self , property_set : & ' a PropertySet , ) -> Result < Expression , String > { match self . resolve ( property_set ) { ResolveResult :: True => Ok ( Expression :: Empty ( true ) ) , ResolveResult :: False ( _ , expr ) => Ok ( expr ) , ResolveResult :: Undefined ( _ , expr ) => Ok ( expr ) , ResolveResult :: Err ( err ) => Err ( err . msg ) , } }
Resolve the expression with a give PropertySet and return the reduced result or error message.
Resolve the expression with a give PropertySet and return the reduced result or error message .
&'a self
property_set
&'a PropertySet
&'a self
property_set
&'a PropertySet