主题表达式包含表达式类型、完全限定主题名称和前缀映射。
A topic expression is defined in terms of expression type, fully qualified topic name, and prefix mapping.
可以合理地假设,一个特定的规则可能在不同的地方以不同的格式表达,并且可以同时使用多个规则表达式类型。
It is reasonable to assume that a given rule may be expressed in multiple formats at different times, and that multiple rule expression types may be in use in parallel.
下面的代码示例阐释如何创建和使用一个简单的计算表达式类型,该计算表达式类型生成用于跟踪代码执行进度的某种控制台输出。
The following code example illustrates the creation and use of a simple computation expression type that generates some console output that tracks the progress of the execution of code.
函数类型确实是表现lambda表达式类型的一种自然方法,但遗憾的是它们无法与现有语言功能“擦除(erasure)”很好地进行交换。
Function types are indeed the natural way to represent the type of a lambda expression, but unfortunately they interact badly with an existing language "feature" : erasure.
所有表达式的结果类型
只要没有混合的类型表达式,就可以在常数说明中使用算术运算符。
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 handler function is called when the request type and the regular expression match.
此外,表达式在分配时必须与变量数据类型兼容。
Also, the expression must be assignment-compatible to the variable data type.
它现在可以使JSF表达式生效,核查数据类型,将JSF标签与JSF配置文件连接起来,等等。
It can now validate JSF expressions, check data types, link JSF tags with JSF configuration files, and much more.
表达式中项的两种简单类型就是常量和变量。
The two simplest types of terms in an expression are constants and variables.
C+ +没有提供查询变量或表达式的类型的简便方法。
C + + has never had an easy mechanism for querying the type of a variable or an expression.
在开始介绍表达式的细节之前,有必要先简单了解表达式能够计算的数据类型。
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.
视图是一个具有额外属性的DerivedTable,比如查询表达式和检查类型。
A view is a DerivedTable with extra properties, such as query expression and check type.
EcmaScript组件只提供核心语言功能 --原始数据类型、表达式赋值和流量控制等等。
The EcmaScript component offers only the core language features -- the primitive data types, expression evaluation, flow control, etc.
新的auto语法:根据初始化器(initializer)表达式推导类型。
Welcome to the new auto syntax: type deduction from initializer expressions.
事实上,这个表达式提供了三种ast类型。
该样本语法非常小,并不能妥善处理XQuery支持的丰富的表达式和数据类型。
This sample grammar is extremely small and does no justice to the richness of expression and data types supported by XQuery.
CriteriaQuery通过类型连接表达式连接两个实体。
CriteriaQuery expresses joining two entities by typed join 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.
因此清单2中的表达式box . get具有Object类型。
比较表达式中的不同数据类型。
详细的表达式检查能够确定错误确切的类型和位置。
A detailed expression check can determine the precise type and location of an error. There are seven categories of error checking
它允许模式作者在元素声明中根据XPath表达式的值指定类型替换。
This allows the schema author to specify type substitutions on an element declaration which are selected based on the evaluation of XPath expressions.
实际返回什么依赖于XPath表达式的结果以及要求的类型。
What it actually does return depends on the result of the XPath expression, as well as the type you ask for. Generally speaking, an XPath!
该参数告诉 XPath引擎期望表达式返回什么类型的值。
This argument indicates to the XPath engine what type to expect as the expression's return value. The XPathConstants class defines several possible values
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).
可以手工转换或者(最好)编写新的使用这些类型的表达式。
Manually cast them or (better yet) write new expressions that use the typed value for real.
应用推荐