对后缀表达式求值比直接对中缀表达式求值简单。
Evaluating a postfix expression is simpler than directly evaluating an infix expression.
Context对象封装了对表达式求值所需的所有上下文信息。
The context object encapsulates all contextual information needed to evaluate the expression.
本文分析了一个applet,它能一步一步的对算术表达式求值。
This article examined an applet that has the ability to evaluate arithmetic expressions step by step.
表达式求值,用户输入需要计算的计算式,程序计算出来。
Expression for the value of user input required calculation calculation formula, the program calculated.
代码的含义是这样的:,我有一个表达式,我会去对这个表达式求值。
That code says the following: the IF says, I've got an expression, I'm going to evaluate it.
evaluateAsBoolean用于对表达式求值以返回一个布尔结果。
EvaluateAsBoolean is used to evaluate the expression to return a Boolean result.
同时还按顺序回顾了最有意思的代码片段,并论述了两种不同的表达式求值方法。
We reviewed the most interesting code snippets along the way and discussed two different approaches to expression evaluation.
因此,建立这种联系后,还需要获得一个能够处理XPath表达式求值的对象。
So with that link established, you need to get an object that can handle XPath expression evaluation.
用于对XPath表达式求值并返回这些值的 XPath表达式解释器
The XPath expression interpreter to evaluate XPath expressions and return their values
对嵌套表达式求值的结果将被作为下标或键,用来检索集合或数组的适当元素。
The result of evaluating the nested expression will serve as the index or key for retrieving the appropriate element of the collection or array.
第 1部分 中提到,在对任何XPath表达式求值之前,必须知道开始的上下文。
Remember from Part 1 that before you evaluate any XPath expression, you must know what context you're starting from.
本文将让您从头至尾认识W3Eval功能性的要点;您将看到一些用于表达式求值的代码。
This article will walk you through the highlights of W3Eval's functionality; you'll be able to look at some of the code it USES to evaluate expressions.
evaluate的第一个参数是表达式本身,第二个是表达式求值开始的上下文。
The first argument to evaluate is the expression itself, and the second is the context to evaluate the expression from.
编程中,在一项操作之前,或在程序对表达式求值之前赋值予某个变量的一个值。
In programming, a value that is given to a variable, either at the beginning of an operation or before an expression is evaluated by a program.
通过表达式求值的编译执行和代码优化等手段,较好地解决了大数据量的处理问题。
Large data processing was relatively well solved by means of compiling and running of expression evaluation and code optimization.
利用栈完成算术表达式求值:从键盘或文件中输入算术表达式,计算其结果并显示。
Done using an arithmetic expression evaluation stack: file input from the keyboard or an arithmetic expression, calculate and display the results.
为了配置Route节点来模拟floworder节点的行为,路由表达式求值必须始终为真。
In order to configure the Route node to mimic the behaviour of the FlowOrder node the routing expressions being evaluated must always resolve to true.
XSLT语言给了处理器很大的自由,让它可以按其选择的顺序对表达式求值,因为它没有副作用。
The XSLT language gives the processor great freedom to evaluate expressions in any order it chooses, because of the absence of side effects.
Scala的内联表达式求值工具使用xml字面值,这意味着能够轻松地使servlet更有趣。
Because of Scala's inline expression evaluation facilities where XML literals are concerned, this means that making the servlet a bit more interesting becomes much easier.
不过,我们还是先看看表达式求值的经典算法,这样您就会明白W 3eval方法的差异究竟有多少。
First, however, we'll look at the classical algorithms for evaluating expressions, so you can see how W3Eval's approach differs.
如上所述,Route节点对表达式求值,结果将强制转换为布尔值,以生成真或假的测试条件。
As described above, the Route node evaluates an expression, the result of which is then cast as a Boolean to produce a true or false test condition.
编写代码对算术表达式求值的经典方法由DonaldKnuth描述于1962年(请参阅参考资料)。
The classic approach to writing code to evaluate arithmetic expressions was described by Donald Knuth in 1962 (see Resources). Knuth Outlines three steps.
返回的结果本身没有多少用处,但关键是可以使用DOM对XPath表达式求值返回的Node进行操作。
In itself, this isn't very useful, but what's important is that you can use DOM manipulation code on the Node returned from the XPath expression evaluation.
我希望您会发现W3Eval是个对表达式求值有益的在线工具,它在某种程度上比经典的方法更简单自然。
I hope you will find W3Eval to be a useful online tool for evaluating expressions in a way that is more natural than the classical method.
要对表达式求值,该结构中的每个类都有一个evaluate()方法,它负责返回表达式的值。
To evaluate the expression, each class in this structure has an evaluate() method, which is responsible for returning its value.
它独特的能力(一步一步的对表达式求值)非常容易实现,因为用户能看到求值的每一步,包括临时结果。
Its unique ability to evaluate expressions step by step is very handy, because the user can see each step of evaluation, together with temporary results.
就如你可能猜想的那样,整数转换优先级用于定义表达式求值的规则。这些规则叫做整型提升和常用算术转换。
As you probably suspect, the integer conversion rank is used to define the rules for expression evaluation. Those rules are named the integer promotions and the usual arithmetic conversions.
如果支持BC特性,可以设置version 1.0让它在表达式求值的元素中生效,这样就不用担心类型匹配问题了。
If the BC feature is available, you can set version 1.0 to be in effect for an element with expression evaluation, eliminating worry about type mismatches.
替换字符串中的前导 \=要求 substitute()对随后的表达式求值并使用结果作为替换文本。
The leading \= in the replacement string tells substitute() to evaluate the expression that follows and use the result as the replacement text.
替换字符串中的前导 \=要求 substitute()对随后的表达式求值并使用结果作为替换文本。
The leading \= in the replacement string tells substitute() to evaluate the expression that follows and use the result as the replacement text.
应用推荐