macro_rules! any {
($first:expr, $($rest:expr),* $(, $(else: $map_rest:expr)?)?) => { ... };
}Expand description
Make a parser/pattern that tries any of the provided paths.
If the last expression is prefixed with else: , it will be applied as a
crate::Parser::or_map_rest instead of crate::Parser::or
Right now it’s merely syntactic sugar, but it might bring performance benefits in the future,
if such possibility is found.