compiler: parse @throws and @param docs on functions