Function liquid_compiler::expect [−][src]
pub fn expect<'a, T>(tokens: &mut T, expected: &Token) -> Result<&'a Token> where
T: Iterator<Item = &'a Token>,
Confirm that the next token in a token stream is what you want it to be. The token iterator is moved to the next token in the stream.