fn consume_term(&mut self) -> Result<bool, ParseErr> {
        if !self.peek_no_term()?.is_term() {
            return Ok(false);
        };
        while self.peek_no_term()?.is_term() {
            if self.get_no_skip_line_term()?.is_eof() {
                return Ok(true);
            }
        }
        Ok(true)
    }
Get the next token if it is a line terminator or ';' or EOF, and return true,
Otherwise, return false.
ruruby-parse/src/parser.rs