pub fn parse_path_pattern_atom(atom: RawAtom) -> Result<PathPattern, AtomError>Expand description
Parse a raw atom as a PathPattern per QRY-003.
Designed for use with
haz_query_lang::expr::Expr::try_map to lift an entire
parsed expression to Expr<PathPattern> in one step.
ยงErrors
Returns AtomError::InvalidPathPattern when the atom text
violates PATH-001..PATH-016.