Macro reproto_lexer::take_until [] [src]

macro_rules! take_until {
    ($slf:expr, $start:expr, $first:pat $(| $rest:pat)*) => { ... };
}

Take until the givern pattern matches. This will return content up-until the pattern matches, and consume the pattern itself.