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