Parse 'function' name type

Close #27