这些表达式的类型必须是32位整数。
C+ +没有提供查询变量或表达式的类型的简便方法。
C + + has never had an easy mechanism for querying the type of a variable or an expression.
函数表达式的类型取决于函数的性质及其参数的类型。
The functional expression's type depends on the nature of the function and type of its arguments.
编译器将通过初始化表达式的类型推断出变量的类型。
The compiler infers the type of the variable from the type of the initialization expression.
编译器将根据变量的初始化表达式的类型来推断变量的数据类型。
The compiler infers the data type of a variable from the type of its initialization expression.
如果L的体是一个表达式,表达式的类型就是推导出的L的返回类型。
If the body of L is an expression, the type of that expression is the inferred return type of L.
Type:得到表达式的静态类型,在本例中,表达式的类型是Func<int, int, int>。
Type: Gets the static type of the expression. In this case, the expression is of type Func<int, int, int>.
所有表达式的结果类型
只要没有混合的类型表达式,就可以在常数说明中使用算术运算符。
You can use arithmetic operators within your constant declarations as long as there are no mixed type expressions.
表3显示所需的列和它们相应的数据类型和路径表达式。
Table 3 shows the needed columns and their corresponding data types and path expressions.
表达式中项的两种简单类型就是常量和变量。
The two simplest types of terms in an expression are constants and variables.
在此将会找到与支持的每个地址类型相匹配的明确的正则表达式。
There you'll find explicit regular expressions that match each address type supported.
如果理解了XPath并能使用不同类型的表达式,事情就更有趣了。
Things get more interesting when you understand XPath and can use different types of expressions.
编绎器确保XPath表达式的结果满足此类型。
The compiler ensures that the result of the XPath expression satisfies this type.
由JeremyManson提交,该建议提出增加对类实例创建表达式的有限类型推断。
Submitted by Jeremy Manson, this proposal addresses the addition of limited type inference for class instance creation expressions. For example instead of writing.
它允许模式作者在元素声明中根据XPath表达式的值指定类型替换。
This allows the schema author to specify type substitutions on an element declaration which are selected based on the evaluation of XPath expressions.
因此清单2中的表达式box . get具有Object类型。
function表达式的计算结果为给定的类型。
与其他表达式一样,它们是强类型的,并且由表达式工厂(即QueryBuilder)构造。
Like any other expression, they are strongly typed and constructed by the expression factory - namely, CriteriaBuilder. The query in Listing 2, then, can be parameterized as shown in Listing 10.
XPath表达式使用动态定类型(在对表达式或变量求值之前,不必知道表达式或变量的类型)。
XPath expressions use dynamic typing (the type of an expression or of a variable is not necessarily known until the expression or variable is evaluated).
解决表达式问题使将先前存在的类型扩展到新方法成为可能,所有这些都不重新编译现有代码。
Solving the Expression Problem makes it possible to extend preexisting types to new methods and extend preexisting methods to new types, all without recompiling existing code.
可以手工转换或者(最好)编写新的使用这些类型的表达式。
Manually cast them or (better yet) write new expressions that use the typed value for real.
如前所述,每个查询表达式都是泛型的,以表示表达式计算的值的类型。
As I mentioned earlier, every query expression is generically typed to denote the type of the value the expression evaluates to.
仍然要验证表达式的语法是否适合字段类型的上下文,但这时的语法可以是运行时支持的所有语法。
Expressions are still validated for syntax appropriate in the context of the field type, but can be in the full range of grammar as supported by the runtime.
本系列的第6部分讨论了表达式中的类型不匹配,并建议使用类型转换函数来保证计算结果得到正确的类型。
Part 6 of this series discussed type mismatches in expressions and suggested that casting functions be used to guarantee that a calculated value will come through with the proper type.
对于安装的正则表达式注释器PEAR版本中的XML规则和类型系统文件,必须应用上一节讨论的规则和类型系统修改。
The rule and type system changes discussed in the previous section must be applied to the XML rule and type system files in the installed version of the regular expression annotator PEAR.
类型参数就是表达式要计算的值的类型。
The type argument is the type of the value the expression evaluates to.
在开始介绍表达式的细节之前,有必要先简单了解表达式能够计算的数据类型。
Before turning to the details of expression formation, it is useful to take a quick survey of the types of data that expressions can manipulate.
如果会绕过索引,应该对比较表达式的RHS执行类型转换。
If the index is being bypassed, then the RHS of the comparison should be type-cast.
XQuery提供了一些不同类型的表达式,这些表达式可以随意组合。
XQuery provides several different kinds of expressions that can be combined in any way you like.
应用推荐