您所做的就是为每个方法定义一个函数。
这也就意味着模型中的所有函数实际上都是该类的一个方法。
This means every function in the model is just a method of that class.
基本的方法是,如果函数修改全局数据,则抛出一个错误消息。
The primitive way is by throwing an error message if the function modifies global data.
事件方法信息是由函数选择器提供的。
Event method information is provided by the Function Selector.
还有另外的一种方法画出二元函数的图像。
So, there is another way to plot the functions of two variables.
在创建类型期间由系统生成的方法和函数不能被转移。
Methods and functions that are generated by the system during create type cannot be transferred.
方法或函数可通过传入参数与闭包通信。
A method or function can communicate with a closure by passing in arguments.
简单地说,方法是在类中声明的函数。
在新方法中,函数名清楚地表明了要做什么。
In the new way, the name of the function explains your intention.
该方法包含定制函数,稍后将进一步对它进行详述。
This method contains your custom function and is also described in further detail later.
当调用方法或者函数时,会有一个新的元素进栈。
Calling a method or function pushes a new stack frame onto the stack.
当函数在尾部调用中调用自己时,方法更为简单。
When a function calls itself in a tail-call, the method is even easier.
只要需要执行定制函数,就调用该方法。
This method is called whenever a custom function needs to be executed.
因此在编写一个全新的扩展函数时,实例方法并非首选。
Thus they're rarely the first choice when writing a new extension function.
这也适用于函数,甚至是类方法,如下所示。
The same concept can be used with functions, or even class methods, as shown below.
可以使用很多种方法调用带有名称空间的函数、类或常量。
There are different options for calling a namespaced function, class, or constant.
新方法则被添加到包含所有函数的局部类。
The new method is added to the partial class that contains all of your functions.
创建(定义)调用每个方法的函数。
例如,它将bug目标锁定为方法、函数、类或包含复杂逻辑的模块。
For example, methods, functions, a class, or a module of complex logic might be identified.
之后,使用特殊函数property将这些方法转换为一种描述符。
After that, you use the special function property to turn those methods into a descriptor.
通过调用help方法,向定制函数添加帮助。
Add help to your custom function by calling the help method.
AccessSpecifier声明了访问一个函数或者方法的级别。
An access Specifier declares a level of access to a function or method.
函数索引可以使用以下任意一种访问方法。
A functional index can use one of the following access methods.
该回调函数然后使用Array对象的forEach方法。
The callback function then uses the forEach method on the Array object.
创建定制函数必须使用两个方法。
There are two methods you must use to create your custom functions.
创建包含定制函数的evaluate方法。
Creating the evaluate method that will contain your custom function.
扩展函数调用rdf模型上的complete方法。
The extension function calls the complete method on the RDF model.
click函数是jQuery对象的一个方法。
示例:使用r - Tree访问方法的函数索引。
表函数的调用方法如下。
应用推荐