public IAST parse(TokenList tokens) throws CompileException { this.tokens = tokens; currentToken = tokens.nextToken(); return parseProgram(); }
private void acceptIt() { if (currentToken.getTokenKind() != TokenKind.EOT) currentToken = tokens.nextToken(); }