Experimental
Parses a when-expression into an AST. Results (including errors) are memoized by expression string.
The when-expression to parse
The parsed AST
Error with a descriptive message if the expression is not valid This function is unstable and may change or disappear without notice
Parses a when-expression into an AST. Results (including errors) are memoized by expression string.