Skip to main content

parse_formula_text

Function parse_formula_text 

Source
pub fn parse_formula_text(
    model: &Model,
    text: &str,
) -> Result<Formula, ParseError>
Expand description

Parse formula text as the symbolic DSL (Price * Quantity), else as controlled English (Price times Quantity, what the status line shows). If both fail, the DSL’s error: it carries the position.