pub fn parse_and_check(date: &str) -> ParseResult<Wag>
Expand description

Parse an input string and check if the resulting WAG is valid.

Given the input string, will either return a full, rewritten, WAG or an error.

§Errors

Returns a WagParseError if any error occurs during the parsing or checking stage.