Token consume(TokenType type, String message) { if (!check(type)) { throw error(peek(), message); } return advance(); }