@SuppressWarnings("rawtypes") private Token accept(Class clazz) { if (this.peek().getClass().equals(clazz)) { return lexer.advance(); } return null; }
private Token nextToken() { return lexer.advance(); }
private void skip(int n) { while (n > 0) { lexer.advance(); n = n - 1; } }