要测试带括号表达式的递归路径,请尝试以下测试。
To test the recursive path for parenthesized expressions, try the following test.
大多数特殊字符在中括号表达式内出现时都会失去它们的意义。
Most special characters lose their meaning when they occur inside a bracket expression.
iPodtouch用户字符串的不同之处在于括号表达式的开头为iPod,而不是iPhone。
The iPod touch user string differs in that the beginning of the parenthesized expression is iPod, rather than iPhone.
你可以在方法主体只有一个表达式的时候省略大括号。
You can omit the braces if the method body has just one expression.
如果表达式包含括号,但不包含操作符,则存在一个函数。
If the expression contains parentheses but no operators, there is a function here.
最后对于递归表达式的情况,当解析器在表达式递归中看到括号时,就应该简单地进行回送,如清单21中所示。
Finally, for the case of recursive expressions, the parser should simply echo parentheses when it sees them within the expression recursion, as illustrated in Listing 21.
不可以用操作符、逗号或闭括号作为表达式的开始符。
Expressions must not begin with an operator, comma, or closing parenthesis.
如果表达式再不包含任何其它的括号,求值(过程)完成。
If the expression doesn't contain any more parentheses, the process of evaluation is finished.
对于递归表达式的情况,随之发出括号。
For the recursive expression case, emit the parentheses as is.
如果表达式包含括号,但不包含操作符,则存在需要求值的函数。
If the expression contains parentheses but no operators, there is a function here that needs to be evaluated.
括号中的表达式可以扩展到多个行。
Expressions enclosed in parentheses can extend over multiple lines.
步骤3:如果表达式中不包含其它括号,求值的过程就完成。
Step 3: If the expression doesn't contain any more parentheses, the process of evaluation is finished.
所有括号内的子表达式都求值完毕后,表达式的其它部分再求值。
When all parenthetical subexpressions have been evaluated, the rest of the expression is evaluated.
坦白地讲,我无法使算术表达式和括号嵌套保持清晰。
I can't, frankly, keep arithmetic expressions and parenthetical nestings clear.
当在另一个标记的属性中调用方法时,大括号表示法(正式名称为表达式语言或el语法)更合适。
The curly-brace notation (formally known as Expression Language or EL syntax) is better suited for times when the method call is embedded in another tag's attributes.
步骤6:在求值的这一步,W3Eval从表达式中除去冗余括号。
Step 6: at this point of the evaluation, W3Eval removes redundant parentheses from the expression.
像之前一样,我们省略了toString方法主体两边的大括号“{…}”,因为我们只有一个表达式。
As before, we omit the curly braces "{...}" around the body of toString, since it has only one expression.
它是一个单一表达式,所以不需要额外的花括号。
It is a single expression, so no extra curly braces are needed.
请注意,文件路径中展开的大括号(不是完整的远程路径表达式)已用双引号括上。
Note that the brace expansion of the file path, not the full remote path expression, has been enclosed in double quotes.
此外,星号可以用于作为通配符来匹配多个节点,括号内的表达式可以用于匹配属性值和规定索引。
In addition, asterisks can be used as wildcards to match multiple nodes, and bracketed expressions can be used to match attribute values and specify indices.
从编译器的角度来说,括号括起来的表达式也是一个项,在计算过程中需要被当做一个整体单元来处理。
From the compiler's point of view, the expression in parentheses becomes a term, which must be handled as a unit before computation can proceed.
我们可以开始写复杂点的表达式了,你可以想象,我们有一个很多括号的表达式,里面有各种各样的东西,什么问题。
We can start having complex expressions, you can imagine we can have things are lots of parens, and all sorts of things in it. Yes, question.
方括号(“[”和“]”)包括的表达式表示一些可选项目,是否需要取决于前面的选择。
The expressions surrounded by brackets (" [" and "] ") represent optional items that may be required depending on the previous choices.
如果一个方法的主体包含多于一个的表达式,你必须用大括号来把它们包起来。你可以在方法主体只有一个表达式的时候省略大括号。
If a method body has more than one expression, you must surround it with curly braces {...}. You can omit the braces if the method body has just one expression.
当然,有时候您不得不在参数周围加上圆括号,或者表达式没有按照您计划的方式求值,但该原则不仅如此。
Sure, there are times when you have to put parentheses around arguments or an expression doesn't evaluate the way you planned, but there's more to this principle than that.
不可以用操作符、函数、逗号或开括号作为表达式结束符。
Expressions must not end with an operator, function, comma, or opening parenthesis.
花括号指示DB 2计算和处理其中的表达式,而不是将其当作文字字符串。
Curly brackets instruct DB2 to evaluate and process the enclosed expression rather than treat it as a literal string.
括号对与可能组成部分替换模式的“子表达式”匹配。
Sets of parentheses match "subexpressions" that can potentially make up part of the replacement pattern.
实际上,策略表达式只是使用一个尖括号格式的逻辑表达式,断言是子句。
Policy expressions really are just logic expressions using a pointy-bracket format, with assertions as clauses.
实际上,策略表达式只是使用一个尖括号格式的逻辑表达式,断言是子句。
Policy expressions really are just logic expressions using a pointy-bracket format, with assertions as clauses.
应用推荐