wright::parser::whitespace

Function require_whitespace

Source
pub fn require_whitespace(parser: &mut Parser) -> Result<(), ParserError>
Available on crate feature parser only.
Expand description

Require a whitespace from the Parser. Do not advance if the next Token is not a whitespace.