pub fn parse_when(raw: &str) -> Result<WhenPredicate, String>Expand description
Parse a cross_field.when expression. v1 accepts only field=value.
Rejects == and any form where the value starts with =, so a typo
can never silently turn into a predicate that matches nothing. Also
rejects empty LHS / RHS and expressions with multiple top-level =.