Why is أَنْ called Harf Masdari here?

An and Masdar Muawwal