public void Process(char character) { if (NumberToken.IsNumber(character)) { Number(character); } else if (OperatorToken.IsOperator(character)) { Operator(character); } else if (Lexer.END_OF_EQUATION == character) { EndOfEquation(); } else { throw new UnsupportedCharacterException(character); } }