要调用这个脚本函数,你需要为它创建一个函数类型声明。
To call this scripted function, you have to create an event declaration for this function and call that.
在这个模块中,我们声明了一个这种类型的函数来处理到达的数据。
In the module, I declare a function of this type to deal with the incoming data.
准则1可以通过类型检查得到保证,如果在函数中有任何静态存储声明,则抛出错误消息。
Guideline 1 can be ensured by type checking and throwing an error message if there is any static storage declaration in the function.
显式类型语言要求声明每个变量和每个函数参数。
A manifestly typed language forces you to declare each variable and each function argument.
要使用fuse来创建一个文件系统,您需要声明一个fuse_operations类型的结构变量,并将其传递给fuse_main函数。
To create a filesystem with fuse, you need to declare a structure variable of type fuse_operations and pass it on to the fuse_main function.
首先,由于Rhino是采用动态类型的语言,因此在函数和变量的声明中看不到类型。
First, because Rhino is a dynamically typed language, you won't find types in its declarations of functions or variables.
两个函数都要求提供的模式文档声明或定义要测试的实例元素,以及代替组head元素或引用类型。
Both functions require that the provided schema documents declare or define the instance element to be tested and the substitution group head element or the referenced type.
隐式类型系统一个较大的优点是,不需要为函数的参数声明类型,因为编译器会从传入的值推断出参数的类型。
One big advantage of type-inferred systems is that you don't need to declare the types of arguments to a function because the compiler infers them from the parameters you pass in.
注释是可以添加到代码中的修饰符,可以用于包声明、类型声明、构造函数、方法、字段、参数和变量。
Annotations are modifiers you can add to your code and apply to package declarations, type declarations, constructors, methods, fields, parameters, and variables.
这样,通过声明这种类型的变量,可以直接把构造函数调用的结果分配给对应的变量。
Thus, by declaring the variables with this type, you can directly assign the result of a constructor call to the corresponding variable.
你可以用函数名,模块名甚至类型声明来作为检索的条件。
It's a really awesome Haskell search engine, you can search by name, module name or even type signature.
您可以使用function关键字开始函数的声明,使用var关键字来声明局部变量(这与全局变量不同),但是不用包括正在声明的变量的类型。
You use the function keyword to denote the start of a function and the var keyword to declare local (as opposed to global) variables, but you do not include the type of the variable being declared.
XQuery函数是强类型的,支持递归,可声明为内部函数或外部函数。
XQuery functions are strongly typed, support recursion, and can be declared as internal or external.
特别地,要使用Pyrex,需要用类似python的语言编写函数,这种语言将类型声明添加到所选变量中。
In particular, to use Pyrex, you write functions in a Python-like language that adds type-declarations to selected variables.
一旦声明了类型,就可以将该类型显式的作为第一个参数来声明函数。
Once a type has been declared, functions can be declared which take that type as an implicit first parameter.
如果不声明函数原型,使用long long类型作为函数的参数可能会引起一些意想不到的错误。
There may be pitfalls when you use long long types for function arguments, unless you declare function prototypes.
Haskell会做一些类型推断,这意味着它会根据程序中的语义线索来推断元素的类型,所以您会看到我在使用有些函数时没有声明相关的类型。
Haskell does some type inference, meaning it infers the types of elements from syntactic clues in a program, so you'll see me use some functions without declaring associated types.
作为具体示例,请考虑清单3,声明了通用类型Box并调用了Box结构函数。
As a concrete example, consider Listing 3, which declares a generic type Box and invokes the Box constructor.
AspectJ 5中还添加了一种新的声明语句,用来在类型、方法、构造函数和字段上声明注释。
A new kind of declare statement for declaring annotations on types, methods, constructors, and fields has been added.
sharedmem1对象的类型是 shared_memory_object(在Boost头文件中声明并定义),它的构造函数有三个参数
The object sharedmem1 is of type shared_memory_object (declared and defined in Boost headers) and takes three arguments in its constructor
但由于我们只知道T是其已声明界限的子类型,所以我们不知道T的某一实例化将有什么构造函数。
But because all we know about t is that it's a subtype of its declared bound, we have no idea what constructors an instantiation of t will have. This problem could be handled in one of three ways.
你不需要包含在公共头文件的声明或定义内部私有函数或数据类型。
What you don't need to include in the public header files are the declarations or definitions of internal private functions or data types.
如果两个函数声明的返回类型和形参表完全匹配,则将第二个函数声明视为第一个的重复声明。
If the return type and parameter list of two functions declarations match exactly, then the second declaration is treated as a redeclaration of the first.
若要解决此错误,请在函数或类型定义内声明CLR类型的变量。
To resolve this error, declare variables of CLR types inside a function or type definition.
定义了方法类型正文,但没有声明用于创建对象类型的成员函数。
Method type body is defined without member function declared for creating object type.
如果需要修复这个问题,可以声明这个构造函数为保护型,或者,声明这个类型不是一个抽象类型。
To fix a violation of this rule, either make the constructor protected, or do not declare the type as abstract.
以声明方式初始化类型的对象,而无需显式调用该类型的构造函数,您可以使用对象初始值设定项。
You can use object initializers to initialize type objects in a declarative manner without explicitly invoking a constructor for the type.
以声明方式初始化类型的对象,而无需显式调用该类型的构造函数,您可以使用对象初始值设定项。
You can use object initializers to initialize type objects in a declarative manner without explicitly invoking a constructor for the type.
应用推荐