pub fn remove_tokens_from_stream<T: TokenStream>(
    tokens: &[Token],
    stream: &mut T
) -> Result<(), Box<Error>>
Expand description

Removes the provided vector of tokens from the front of the stream.

Returns an error if the stream does not start with the tokens.