parse_with_volatility_classifier

Function parse_with_volatility_classifier 

Source
pub fn parse_with_volatility_classifier<T, F>(
    formula: T,
    classifier: F,
) -> Result<ASTNode, ParserError>
where T: AsRef<str>, F: Fn(&str) -> bool + Send + Sync + 'static,
Expand description

Parse a single formula and annotate volatility using the provided classifier. This is a convenience wrapper around Parser::new_with_classifier.