[][src]Macro lip::one_of

macro_rules! one_of {
    ($single_parser:expr) => { ... };
    ($first_parser:expr, $($parsers:expr),+) => { ... };
}

Parse one of many things.

Parser goes through each one option in order until one succeeds. If none succeeds, return error.