Clear the astlist after traversing each function argument