pub fn parse(input: &str) -> Result<ExpressionConstraint, ParseError>Expand description
Parses an expression constraint.
§Errors
Returns ParseError with the byte offset of the first character or
token the grammar does not admit. An identifier that names no concept
still parses; the evaluator refuses it.
§Examples
let tree = sct_ecl::parse("<< 73211009 |Diabetes mellitus|")?;
assert_eq!(tree.to_string(), "<< 73211009 |Diabetes mellitus|");