Guideline 1 can be ensured by type checking and throwing an error message if there is any static storage declaration in the function.
准则1可以通过类型检查得到保证,如果在函数中有任何静态存储声明,则抛出错误消息。
It doesn't matter what types are in the array — you just choose the right type for your declaration.
实际上,数据中有什么类型并不是问题,您只需为声明选择好正确的类型就可以了。
The idea is that when two services interact with each other, the service link type is a declaration of how they interact — essentially what each party offers.
其思想是,当两个服务彼此交互时,服务链接类型就是对这两个服务如何交互—各方本质上提供了什么—的声明。
With PHP V5, however, you can build object type checking right into the class or method declaration.
但是,如果使用PHPV5 的话,可以将对象类型检查构建到类或方法声明中。
Note: Please notice the script's type declaration.
注意:请注意这个脚本的类型声明。
The final issue is that the purchase order itself is defined in the primer as a global element declaration, with a global complex type.
最后一个问题是,购买订单本身在入门中是作为一个全局元素声明的,属于全局复合类型。
Listing 6 shows a snippet for a new SQL database system capability, including both the element declaration and type definition.
代码清单6为新的SQL数据库系统功能提供了一个代码片段,包括元素声明与类型定义。
If repeated validation isn't required, you can remove the document type declaration when the document is stored.
如果需要重复进行有效性验证,那么可以在存储文档时删除文档类型声明。
If an element declaration has type alternatives, they are evaluated in the order that they were specified in the schema.
如果元素声明具有类型替换,那么将按照在模式中指定的顺序进行计算。
They then traverse a substitution chain of element declarations or a type hierarchy to determine whether the element declaration satisfies the substitution or type derivation requirements.
然后遍历元素声明的代替链或类型层次结构,以决定元素声明是否满足代替或类型衍生要求。
The document type declaration contents are worth looking at in detail.
值得仔细查看一下文档类型声明的内容。
Specifically, the example in Listing 14 shows the element declaration to contain a complex type that contains a sequence.
具体而言,清单14中的示例展示了包含一个复杂类型的元素声明,该复杂类型包含一个序列。
All comments, the XML declaration, and the document type declaration MUST be removed.
所有的注释、XML声明、以及文档类型声明,都必须删除。
The return type of the method declaration indicates in what object format the results of the SQL statement will be returned.
方法声明的返回类型表明sql语句的结果返回什么样的对象格式。
The display of Listing 2 is precisely the same as that of Listing 1, so the XML declaration, document type declaration and namespace declarations are all omitted from the display.
清单2的显示与 清单1的显示完全一样,所以显示中忽略了XML声明、文档类型声明和名称空间声明。
Notice the document type declaration, which is used to load a DTD, which contains any strings that should be localized (basically any natural language strings presented to the user).
请注意文档类型声明,它用于加载一个DTD,其中包含所有应进行本地化的字符串(基本上包括呈现给用户的所有自然语言字符串)。
Listing 7. Declaration of the tr: TheftReport element and related type.
清单7.tr:TheftReport元素和相关类型的声明。
Listing 5. Declaration of the trext: Vehicle element and related type.
清单5.trext:Vehicle元素和相关类型的声明。
Listing 3. Declaration of the trext: Bicycle element and related type.
清单3.trext:Bicycle元素和相关类型的声明。
For yet another declarative example, consider a document type declaration that describes a dialect of valid XML documents.
还有另一个声明性示例,请研究描述有效XML文档方言的文档类型声明。
For a global declaration, you need to specify its type (that is, class name) and the identifier you want to use to refer to it (that is, variable name).
对于global声明,需要指定它的类型(即类名)和想要用于引用它的标识符(即变量名)。
See the ResourceAdapterInfo type declaration in code Listing 1.
参见代码清单1中的类型声明ResourceAdapterInfo。
Now in the JSR-14 compilers 1.0 and 1.2, if you refer to a type parameter in a static field declaration, the compiler doesn't complain but it should.
现在,在JSR-14编译器 1.0和 1.2 中,如果您在静态字段声明中引用类型参数,编译器不会报错,但它本应该这么做。
This element declaration and complex type definition have been extracted from the single XForms-Schema.xsd file.
该元素声明和复杂类型定义已经从单独的XForms - Schema . xsd文件中提取出来了。
As I have worked on both Surinx and Duby, it has become apparent to me that they're essentially the same language with different dispatch mechanisms and type declaration requirements.
因为是我写的Surinx和Duby,我明确地知道它们实际上是同一种语言,只是用了不同的派发机制和类型声明要求。
Variables within bash can be declared before they are used, and the declaration can include a type.
bash中的变量可以在使用前声明,并且声明可以包括类型。
Here's the same declaration rewritten in Scala, with inferred type information.
这里是Scala的声明,使用了类型信息的推断。
Finally the declaration for the element is located in the type definition TypeY of its parent element.
最后元素的声明位于它的父元素的类型定义TypeY中。
The element declaration for title has a base type of xs: anyType and specifies five type alternatives.
title的元素声明有一个xs:anytype基类型并且指定了5个类型替换。
The element declaration for title has a base type of xs: anyType and specifies five type alternatives.
title的元素声明有一个xs:anytype基类型并且指定了5个类型替换。
应用推荐