Furthermore, there are a number of additional capabilities — ones you should consider when developing a language feature — that go beyond transformation from the model to code.
此外,还有很多附加的能力——您应该考虑什么时候需要开发一个语言特性——不仅限于从模型到代码的转换。
In a typical scenario, a developer would use a transformation to update or create a set of models or code with new information in the abstract model.
在特有的情境下,开发人员可能会利用转换来更新或创建一组带有抽象模型中所包含的新的信息的模型或代码。
XSL took this task and built a specification upon it, enabling applications to ditch all of their proprietary transformation code.
XSL完成此任务,并在其上构建规范,从而允许应用程序抛弃其所有的专用转换代码。
Usually, a set of rules is built into the code generation tool to perform the transformation.
通常,一系列的规则被建立在代码生成工具中以执行转换。
Such a powerful user-defined transformation can simplify the process of asset-based development and can assist in code reuse.
这样一个功能强大的用户定义转换可以简化基于资源开发的过程,并帮助实现代码的重用性。
An SOA design and development platform should allow for the semi-automatic transformation of models from higher to lower levels of abstraction, and eventually to code.
SOA设计与开发平台应该允许进行模型的半自动化转换,从而从高抽象级别转换到低抽象级别,最终转换为代码。
Automation: the framework's underlying meta-model and mappings allow for the semi-automatic transformation of models, from higher to lower levels of abstractions, and eventually to executable code.
自动操作:框架结构的潜在模型,以及映射允许模型的半自动转换,从高层级到低层级的抽象,并最终转换为可执行代码。
You can perform this transformation without writing a single line of code.
您不需要编写任何代码即可执行此转换。
This type of approach to transformation leverages both a declarative and visual style of pattern definition with the underlying control of code.
该类型的转换方法利用了说明和图形式样的模式定义进行代码的优先控制。
Reuse of both knowledge and technical assets - such as requirements and business rules documents, design artifacts, and technical code created during transformation activities.
重用知识与技术资产——比如在转型活动中产生的需求及业务规则文档、设计制品及技术代码等。
The UML To C++ transformation provides an option to generate the code in the order of public elements, followed by protected and private, respectively.
UML到 C++的转换提供了一个以公共元素、被保护元素、私有元素这一顺序生成代码的选项。
These areas of the XSL file represent transformation code that is related to attribute elements.
XSL文件的这些区域代表与属性元件相关的转换代码。
The code shown in Listing 2 demonstrates how to modify the transformation logic depending on the value of the format field in the MQMD.
清单2中所示的代码说明了如何根据MQMD中格式字段的值修改转换逻辑。
The other developers then only need to apply the transformation to generate code for fulfilling the pattern; they don’t need to know the details of the implementation.
其他的开发人员只需要应用转换来生成满足模式的代码,而无需知道实现的细节。
Add a few of the more conveniently forgotten details to the model to see that repeated application of UML-to-C + + transformation preserves your modifications to the code and the model.
另外提供一些小技巧,以便在重复进行转换时保存代码和模型的修改。
This implementation involves three separate pieces of code: intercepting the classloading, accessing the annotation information, and the actual transformation.
该实现涉及三个单独的代码段:截获classloading、访问注释信息和实际转换。
An annotation handler is a class that implements a couple of Lombok interfaces and the AST transformation logic - aka code generation.
注释处理程序是实现一对Lombok接口以及转换逻辑的类—aka代码生成。
Ruby_parser also provides source locations of AST nodes, which is obviously necessary for code analysis or code transformation tools in Ruby.
Ruby_parser还能提供抽象语法树节点的源码位置,这是Ruby代码分析或者 代码转换工具的必需信息。
To validate, place the transformation code inside the block of a clause and check the condition as a test statement inside the block.
为了进行验证,将转换代码放入到子句的块中,并检查块中的test语句。
Code to create a ButterflyCache instead of just a ButterflyFile clearly creates a file serving to cache the contents of a transformation.
创建ButterflyCache(而不只是ButterflyFile)的代码明确地创建了用于缓存转换内容的文件。
After completing this tutorial, you should have a better understanding of how you can leverage the transformation and code generation capabilities of Rational Software Architect.
在完成本教程之后,您应该会更好地了解如何利用Rational Software Architect的转换及代码生成功能。
The tedious task of accomplishing transformation from XML to/from data objects is left to the developer, either by using third party specialized frameworks or by writing code.
在XML与数据对象转换实现的过程中最乏味的工作留给了开发者,通过使用第三方指定的框架或编写代码来实现。
The TPM file allows you to customize the transformation of a UML model to source code.
TPM文件使您能够定制从一个UML模型到源代码的转换。
Also note that the amount of PHP application code is minimal, since most of the business logic and transformation is in the query.
还请注意,PHP应用程序代码量达到最少,因为大部分业务逻辑和转换位于查询中。
But it is not a bold reform; more a tweak than a transformation of America's absurdly complex tax code.
不过这一方案说不上激进,只是对美国极其复杂的免税代码进行小修小补而非大的改动。
Visual Studio 2008 includes a text template Transformation Toolkit, also known as T4, as part of Domain-Specific Language Tools, and can be used to generate code based on a text template.
VisualStudio 2008包含了一个文本模板转换工具箱,又称为T4,是领域特定语言工具的一部分,并可用于基于文本模板的方式来生成代码。
In the innermost part of the transformation, expression is converted to a list representation and is evaluated as normal scheme code.
在转换最内部的地方,expression被转换成一个列表,并作为普通的模式代码进行分析。
Fortunately, the toolkit wizard provides most of the code that Eclipse requires and lets the transformation developer focus on implementing the transformation logic.
幸运的是,工具包向导提供了Eclipse所需的大部分代码,并让转换开发人员专注于转换逻辑的实现。
This mapping model can be specified in a UML-to-C# transformation configuration so that the transformation retains the existing organization of code elements among files.
这个映射模型能够在UML-to-C#转换构型中被指定,这个转换保留着现有的文件中的代码元素的构成。
The function of keycode transformation module is converting keyboard code to host the identification code.
键码转换模块的目的是把键盘键码转换成主机能识别的代码。
应用推荐