wright::parser::whitespace

Function optional_whitespace

Source
pub fn optional_whitespace(parser: &mut Parser)
Available on crate feature parser only.
Expand description

Consume and ignore a TokenTy::Whitespace from the front of the Parser. If there is not one, do nothing.