private static bool IsCommand(char character) { return(character == '(' || character == ')' || ExpressionEvaluator.IsOperator(character)); }
private static bool IsCommand(string token) { return(token.Length == 1 && ExpressionEvaluator.IsCommand(token[0])); }