Function exmex::parse [−][src]
pub fn parse<'a, T>(
text: &str,
ops: &[Operator<'a, T>]
) -> Result<FlatEx<T>, ExParseError> where
<T as FromStr>::Err: Debug,
T: Copy + FromStr + Debug,
Expand description
Parses a string and a vector of operators into an expression that can be evaluated.
Errors
An error is returned in case parse_with_number_pattern
returns one.