第一个例子是用静态查询表达式。
一定要记住,在使用静态断言时,检查的表达式在编译时必须是可计算的。
While using static assertions, always remember that the expression being checked must be evaluable at compile time.
在常量表达式,比如枚举型常量、位域的宽度或是静态变量的初始值,是不允许使用在这种声明中的。
Embedded statements are not allowed in constant expressions, such as the value of an enumeration constant, the width of a bit-field, or the initial value of a static variable.
然后表达式中对变量的引用可以静态绑定到本地堆栈框架或一列全局变量的特定槽上。
References to variables within an expression can then be statically bound to a particular slot in either the local stack frame or the list of global variables.
此例中显示了两种类型的用户属性:静态字符串,以及从入站消息中取得其值的XPath表达式。
In this example, two types of user property are shown: a static string, and an XPath expression that takes its value from the inbound message.
Sitebricks模板中的表达式就像JSP那样简洁,但却通过一个类型推断算法进行静态的类型检查。
Expressions in Sitebricks templates are just as concise as JSP, but are statically type-checked using a type-inference algorithm.
不仅验证对象以保证DI依赖(通过Guice及内建的GuiceServlet)的正确性,而且还对页面中的表达式进行静态的类型检查使之符合相应的页面类。
Not only are your objects validated for di dependencies (with Guice and Guice Servlet built-in), but expressions inside pages are statically type-checked against their corresponding page classes.
begin和end属性要么是静态整数值,要么是可以得出整数值的表达式。
The begin and end attributes should be either static integer values or expressions evaluating to integer values.
要在期望静态字符串的参数中使用XPath表达式,可以通过将表达式封装在括号({和})中来调用动态xpath表达式。
To use an XPath expression within parameters that expect a static string, dynamic XPath expression invocation can be done by wrapping the expression within braces ({and}).
ExtractConstant与Extract LocalVariable相似,但是您必须选择静态常量表达式,重构工具将会把它转换成静态的final常量。
Extract constant is similar to Extract Local Variable, but you must select a static, constant expression, which the refactoring will convert to a static final constant.
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>.
当抛出一个表达式的时候,被抛出对象的静态编译时类型将决定异常对象的类型。
When an exception is thrown, the static, compile-time type of the thrown object determines the type of the exception object.
一个右值表达式的动态类型,就是它的静态类型。
The dynamic type of an rvalue expression is its static type.
本文阐述了有源负载恒温槽的工作原理,推导了描述其静态特性的缩减因数表达式,并对这种恒温槽的性能和应用作出了评价。
The expression of the reducing factor for calculating its static characteristics is derived, and the performances and applications of this oven are evaluated.
标准C允许使用需要引用自身的表达式初始化对象或变量,但只适用于非静态作用域的对象。
Standard C allows for the initialization of an object or variable with an expression involving a reference to itself, but only for objects of nonstatic extent.
但对某些有特殊取值限制要求的表达式,用静态分析方法,难以实现其输入变量的取值分析。
However, for the expressions with the special value restrictions, it is difficult to calculate its domain by using static analysis.
用灰色静态模型建立起计算裂缝密度的表达式,计算结果精度较高。
Based on the gray static model, fracture density expression are worked out, and the calculated conclusion have higher precision.
本文建立了准静态情况下I型裂纹的断裂准则,提出了新的表面能概念及其表达式。
This article establishes a fracture criterion of crack type I under quasi-state conditions and brings forward a new concept and an expression of surface energy.
表达式计算器可以计算作为动态而静态键入的变量。
The expression evaluator can evaluate variables that are statically typed as dynamic.
静态类型仅依赖于包含表达式的程序文本的形式,而在程序运行时不会改变,。
The static type of an expression depends only on the form of the program in which the expression appears, and does not change while the program is executing.
静态类型仅依赖于包含表达式的程序文本的形式,而在程序运行时不会改变,。
The static type of an expression depends only on the form of the program in which the expression appears, and does not change while the program is executing.
应用推荐