take_until

Macro take_until 

Source
macro_rules! take_until {
    ($original:expr, $($parser:expr),+ $(,)?) => { ... };
}
Expand description

Accumulates the tokens until a parser matches.

It returns the accumulated TokenStream as well as the result of the match (if any).