函数对象 meaning in Chinese
function object
Examples
- As well as the stream for the log output
的函数对象)以及流作为日志输出。 - In usual cases of method invocation the return result is a function object , which is then executed
方法调用通常返回的结果是一个函数对象,然后执行这个函数对象。 - For future reference , you can add any attribute to a function by setting it on the function object
为了将来引用,您可以通过将属性设置在函数对象上给函数添加任何属性。 - This implementation supports function objects with up to nine arguments . this is an implementation detail , not an inherent limitation of the design
当前的实现支持最多带有9个参数的函数对象。这一限制是由实现细节,而不是设计造成的。 - In this case the returned function object is a closure which encapsulates some logging code and the data needed to call the original function
这种情况下返回的函数对象就是一个闭包,其中封装了一些日志代码和最初的函数调用所需要的数据。