parsers: getMethodNameAndOutput fix for typedef