Instead of relying on the processor to operate the walk, this stylesheet has a named template, main, that implements the tree walking.
为了避免依靠处理程序操作树,这个样式表有一个命名模板main实现了树的遍历。
In my code the evaluation is performed by each AST node itself, but we may use also a tree walker to walk each node and execute it based on its type.
在我的代码中,计算由每个AST结点自己执行,但我们可能也将使用一个树遍历器来遍历每个结点,基于它的类型来执行。
At the end of a successful XML tree walk, this function will convert and store all the XML elements (the root element and all the child elements) in a PHP associative array.
成功遍历xml树之后,该函数就用PHP关联数组转换和存储了所有的XML元素(根元素和所有的孩子元素)。
"I'm going to walk to that tree," he said, pointing to one a few feet away from him.
他指着离他几英尺远的一棵树说:“我要走到那棵树前面去。”
Anyone who has patted a dog, stroked a cat, sat under a tree with a pint of beer, given or received a bunch of flowers, or chosen to walk through the park on a nice day, understands that.
任何人都明白这一点,如果他们抚摸过狗、猫,端着一品脱啤酒坐在树下,送过或收到过一束花,或是选择在晴朗的日子里去公园散步。
Anyone who has patted a dog, stroked a cat, sat under a tree with a pint of beer, given or received a bunch of flowers or chosen to walk through the park on a nice day, understands that.
任何一个抚摸过狗、猫,抱过一品脱啤酒坐在树下,送过或收到过一束花,或选择在晴朗的日子里去公园散步的人,都明白这一点。
Walk past the tree, take the first right turn, and then walk for five more minutes.
走过那棵树,在第一个路口右转,然后再走五分钟。
Without dense forests, our ancestors were forced to walk instead of swing on a branch to find the next tree.
没有茂密的森林,我们的祖先被迫行走,而不是从一个树枝荡到下一个树枝。
Both functions walk the tree in depth-first order but they differ in whether a node is visited before or after its children.
这两个函数均按照深度优先的顺序遍历树,但两者的差异在于先访问一个节点还是先访问其子节点。
Being able to walk this traceability tree would be very interesting, because it goes from requirement to code.
能够浏览这些可追溯性树是非常有意思的事,因为它从请求开始一直到代码。
In only about 15 lines, we've created a file visitor that will walk any file tree you give it and inspect the files contained therein.
仅利用15行内容,我们就创建了文件访问程序,来浏览任何您所给出的文件树,并检查包含在其中的文件。
Plant a tree or garden, or memorialize the person in some fitting way, such as running in a charity run or walk (a breast cancer race, for example) in honor of the lost loved one.
栽一棵树或者种些花,或者再找一些其它合适的方式来纪念死者,如参加一些慈善活动(如为乳腺癌筹集善款的慈善赛跑)来纪念生之所爱。
Without a backward glance at the quince tree, she began to walk as quickly as she could down the.
她没有再向那颗榅桲树回头多看一眼,她用她最快的速度走过了这条街。
Performs a depth-first walk of the input tree, this is the same depth-first algorithm you learned in programming 101.
对输入树进行深度优先的遍历,这和您在编程101中所学的深度优先算法没有什么不同。
When the walk is completed, creates a new tree (the output tree) from the input tree and the rules in the templates.
遍历完成时,按照输入树和模板中的规则生成一棵新树(输出树)。
Write client-side code to walk and evaluate the parse tree that's produced at runtime.
编写客户机端代码以遍历在运行时生成的解析树并对其求值。
Spring parses the XML: your code merely has to walk the tree.
Spring解析XML:你的代码仅仅需要遍历XML树。
That night she went and sat alone upon a bench that stood beneath a live oak tree at the edge of the gravel walk.
这晚,她走了出去,独自一人坐在槲树背后的长椅上,槲树站在碎石小路的尽头。
Without a backward glance at the quince tree,she began to walk as quickly as she could downthe street.
想到这里,她开始快步地沿着街往前走去,再也没有回头看一眼那棵柑橘树。
A German soldier holding a small tree arranged with lighted candles began to walk across the land toward the English lines.
一位德国士兵手持一棵小树,树上整齐地排列着点燃的蜡烛,他越过边界走向英国阵地。
Fireworks light up the sky to launch the Christmas tree display along a bay walk in Palawan city, Philippines.
菲律宾巴拉望,在海湾散步区燃放烟火,启动周围圣诞树展览活动。
We first walk the tree and pass a function that merely prints the node being visited and returns the node.
我们首先遍历树,传递一个仅打印所访问的节点并返回该节点的函数。
Further, it is interesting to note that the order in which DB2 has returned the results exposes how the recursion is processed one level at a time, instead of using a tree-walk.
而且,令人感兴趣的是,DB2返回结果时所依照的顺序暴露了递归如何逐层地而不是采用遍历树的方法进行处理。
I'll walk you through all the required steps, showing you how to build a tree chart that presents the hierarchy of an organization.
我将向您介绍所有必需步骤,展示如何构建一个表示组织的结构的树图。
Jenny: Why not walk further to the tree over there?
珍妮:为什么不走到那边的树那里呢?
We can use this to walk through the changes in the resource tree and determine what actions need to be taken based on the type of resource that has changed.
我们可以使用它查看资源树中的更改,并根据已更改的资源类型确定所需的操作。
Next, turn left and walk along Tree Road.
接着,左转到大树路。
At the Kirstenbosch Arboretum visitors can explore and observe some of the world's most endangered plant species while walking along Mark Thomas Architects' serpentine Tree Canopy walk.
漫步在克斯坦布希植物园的蛇形树冠走道上(马克·托马斯设计),游客们可以探索和观察到世界濒危的植物物种。
At the Kirstenbosch Arboretum visitors can explore and observe some of the world's most endangered plant species while walking along Mark Thomas Architects' serpentine Tree Canopy walk.
漫步在克斯坦布希植物园的蛇形树冠走道上(马克·托马斯设计),游客们可以探索和观察到世界濒危的植物物种。
应用推荐