can also parse full file of function declarations