alt

Macro alt 

Source
macro_rules! alt {
    () => { ... };
    ($parser:expr $(,)?) => { ... };
    ($parser_a:expr, $parser_b:expr $(,)?) => { ... };
    ($parser_a:expr, $parser_b:expr, $($rest:expr),+ $(,)?) => { ... };
}
Expand description

Chain together multiple alternative parsers using the binary alt combinator.