private bool Accept(TokenType tokenType) { if (tokens[pos].Type == tokenType) { ++pos; return true; } return false; }