• Or to use the appropriate terminology, how a parser can produce a custom element... in this case our AST objects.

    用适当的术语来说就是解析器如何才能产生一个定制的元素(在这里,就是AST对象)。

    youdao

  • The analysis API eliminates most of the challenges associated with visiting AST nodes by providing a common visitor class and abstracting the query mechanism.

    分析API通过提供一个公用的访问者类和抽象查询机制,消除了和访问AST节点相关联的大部分挑战。

    youdao

  • Tools, based on ParseTree, already exist, such as Ruby2Ruby which can turn an AST back into Ruby source code; useful if a tool wants to modify an AST and then output it as Ruby source.

    已有的基于分析树的工具,比如Ruby2Ruby可以把AST转换成Ruby源代码;如果某工具想修改AST并输出为Ruby源代码,这很有用。

    youdao

  • So when you want to rename a method or class, it's easy for the environment to find every use of it by pinpointing the location in the AST.

    因此,当需要重新命名一个方法或者类的时候,开发环境很容易通过在 AST 中精确定位找到方法或类被引用的每个地方。

    youdao

  • Running the tests reveals that the results of the parser aren't yet in the AST types I created earlier (expr and its kin), but instead in a form consisting of Lists and Strings and such.

    运行测试表明,解析器的结果仍不是我前面创建的AST类型(expr和它的亲属),而是由List和String等组成的一种形式。

    youdao

  • 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结点自己执行,但我们可能也将使用一个树遍历器来遍历每个结点,基于它的类型来执行。

    youdao

  • I could imagine that over a longer period of time aquarium shops will open in different locations in a city, rather than all concentrated in one aquarium market ast is now in most cases.

    我可以想象在经过一个较长的时间后,水族零售店将会更多的分布在城市的各个小区,而不是像现在那样集中在某几个大的批发市场里面。

    youdao

  • This function displays an AST with a couple of conventions.

    该函数将显示一个带有几个约定的AST。

    youdao

  • The AST contains a single IASTDeclarationUnit that represents the main function.

    AST包含了代表main函数的单个的IASTDeclarationUnit。

    youdao

  • Let's take a look at the AST generated in the above examples.

    让我们来看看上面示例中生成的ast。

    youdao

  • The AST is a tree representation of the source code that contains everything from variable declarations to function definitions and method invocations.

    AST是源代码的树形表示,它包含了从变量声明到功能定义和方法调用的全部内容。

    youdao

  • Before getting too deep into the AST definition, let me provide a quick overview of what case classes are.

    在深入到AST定义之前,让我先简要概述一下什么是case类。

    youdao

  • Now comes the other half of building a DSL: We need to build a segment of code that can take some kind of textual input and turn it into an AST.

    现在是构建DSL的另一半工作:我们需要构建一段代码,它可以接收某种文本输入并将其转换成一个AST。

    youdao

  • The JRuby AST is the output of the parser and is just a tree representation of the source code, containing different kinds of nodes, for example for classes, methods, variables.

    JRubyAST是解析器的输出结果,仅仅是源代码的树形表示,包含不同种类的节点,例如有类、方法和变量。

    youdao

  • A lack of a pure Ruby parser has been negligible for some time in Ruby's history, since getting the Abstract Syntax Tree (AST) of some Ruby code was possible with utilities such as ParseTree.

    因为可以使用类似语法分析树(ParseTree)的通用方法来对Ruby代码进行分析并获得抽象语法树(Abstract Syntax Tree),所以在Ruby历史上的一定时期内,纯ruby语法分析器的缺失被忽视了。

    youdao

  • Patients have been randomly assigned to receive AST-120 or a placebo.

    病人随机分配接受AST - 120或安慰剂治疗。

    youdao

  • You will experience a process of self-surpassing and creating a successful future in AST Training school, and we will make every effort to help you to realize your dream!

    在澳思特英语培训学校您将经历一段跨越自我,创造成功未来的人生宝贵经历,海归派将帮助你实现您的人生梦想!

    youdao

  • We found that t-tubule remodeling starts at the compensated hypertrophy stage featuring ast-tubule loss in discrete local regions of a small percentage of myocytes in the left ventricle.

    结果显示,横管重构在代偿性肥厚阶段即已发生,表现为左室部分细胞中离散性的局部区域横管缺失;

    youdao

  • Taking a simplified foundation plane ast he example, this paper derives a recommended formula with less calculation errors, improving the method for calculating the width of strip foundation.

    以一个简化的基础平面为例,导出计算误差较小的建议公式,以改进墙下条形基础宽度的计算方法。

    youdao

  • An annotation handler is a class that implements a couple of Lombok interfaces and the AST transformation logic - aka code generation.

    注释处理程序是实现一对Lombok接口以及转换逻辑的类—aka代码生成。

    youdao

  • The pure Ruby parser now offers a chance to change that - a Ruby IDE or other tool, can now get at a Ruby AST without getting locked in.

    纯ruby语法分析器提供了改变这种情况的机会——Ruby IDE(或者其他工具)可以获得Ruby的抽象语法树,同时避免被绑定到特定的语法分析器实现上。

    youdao

  • Results: The D-Gal-treated rats significantly experienced a dynamic escalation of ALT, AST and IL-18 levels(P<0.05).

    结果:D-氨基半乳糖造模后,两组大鼠血清ALT,AST和肝匀浆IL-18值呈动态升高(P<0.05)。

    youdao

  • To see more clearly, this distinction of when you would use a scanner vs. an AST, consider the code in Listing 10.

    要更清晰地了解何时使用扫描程序与何时使用AST 之间的差别,请考虑清单 10中的代码。

    youdao

  • The AST is a tree representation of the parsed source code, created by the compiler, similar to the DOM tree model of an XML file.

    AST代表已解析源代码的树,它由编译器创建,与XML 文件的DOM 树模型类似。

    youdao

  • Next, we need an evaluation function that will take the AST and evaluate it to a numerical value. This is pretty straightforward to write, given the power of pattern matching.

    接下来,我们需要一个求值函数,它将会获取AST,并求出它的数字值。

    youdao

  • With the emphasis on the abstraCt syntax tree (AST), the paper also discusses the structure of a disk file as well as the functions designed for saving and recovering the AST.

    主要分析了抽象语法树(ast),讨论了磁盘文件的结构及ast的写入和复原技术。

    youdao

  • With the emphasis on the abstraCt syntax tree (AST), the paper also discusses the structure of a disk file as well as the functions designed for saving and recovering the AST.

    主要分析了抽象语法树(ast),讨论了磁盘文件的结构及ast的写入和复原技术。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定