pub(crate) fn trailing_space(&self) -> bool {
        match self.peek() {
            Some(ch) => ch.is_ascii_whitespace(),
            _ => false,
        }
    }
Examine if the next char is a whitespace or not.
ruruby-parse/src/parser/lexer.rs