使用框架和代码生成器
序列化接口在代码生成器中进行标记。
Rails所提供的工具主要是一组代码生成器。
The tools that Rails provides are basically a set of code generators.
信息被发到代码生成器,写出上千行软件必须的代码。
The information is sent to a code generator, which spits out the thousands of lines necessary to build the application.
这里调用gnome -python代码生成器。
Obeo:第一代代码生成器大多都是基于黑盒方法的。
Obeo: The first generations of code generators were mostly based on the black box approach.
搭建,像许多元编程技术一样,就是个运行时代码生成器。
Scaffolding — like many metaprogramming techniques — is nothing but a run-time code generator.
EMF包括一个代码生成器从UML模型派生XML模式。
EMF includes a code generator that derives an XML schema from a UML model.
代码生成器能显著提高开发和维护Web应用程序的效率。
You will develop and maintain Web applications more efficiency, using code generators.
它不是代码生成器,而是一些面向常用编码模式的快捷方式。
They are not code generators per se, but rather just short cuts for common coding patterns.
也可以编写一两个示例类,然后使用代码生成器建立其他的类。
Or you might write a sample class or two, then build the rest with a code generator.
在此版本中,脚本将是代码生成器,然后您将做出一系列猜测。
In this version, the script will be the codemaker, and you will make a series of guesses.
pureQuery代码生成器和运行时会处理其余的工作。
代码生成器无法预测这个,因此需要附加组件开发人员进行指定。
The code generator cannot predict this, so it is left to the add-on developer to specify.
这会使程序员感到迷惑,而且在编译器的代码生成器中很难实现。
I find it confusing for the programmer and very difficult to get right inside the compiler 's code generator.
可以编写的最简单的可用代码生成器也许就是构建一个静态查找表。
Probably the simplest useful code generator you could write would be one to build static lookup tables.
我已经删除了代码生成器所生成的所有注释,以减少代码的冗余。
I have removed all the comments generated by the code generator to reduce the verbosity of the code. Let's take a look at important members of this class.
覆盖文件告诉代码生成器要包括哪些头文件、模块名将是什么等等。
Override files tell the code generator what headers to include, what the name of the module will be, and so on.
我们将介绍几个例子,了解一下样例用法,并构建一个代码生成器。
We'll review the various programs available, look at sample usage, and build a code generator.
代码生成器对接口进行预处理,生成每个带注释的方法的实现代码。
A code generator pre-processes the interface to generate implementation code for each annotated method.
第二个解决方案是用代码生成器,读取数据库模式,并自动编写代码。
The second solution is to use a code generator that reads the database schema and writes the code for you.
代码生成器:新增了代码生成器,将您轻松使用EJS创建自定义项目。
Code generators: Added code generators and made building custom ones easy too by using EJS.
现在让我们把注意力从通用的文本替换程序转移到专用的代码生成器上来。
Now let's turn our attention from generic textual-substitution programs to highly specialized code generators.
代码生成器预处理接口,为每个已声明的、带有注释的方法生成实现代码。
A code generator pre-processes the interface to generate implementation code for each declared, annotated method.
果不其然,这并不是很困难,因为我过去从事过编译器和代码生成器的工作。
As it turned out, this wasn't too hard to do, as I had worked on compilers and code generators in the past.
展示Monkeybars代码生成器的使用,它可以自动创建普通的文件
Show the use of Monkeybars code generators, which automate the creation of common files
好的一面是您可以通过使用库、框架和代码生成器,很容易地避免这个维护问题。
The good news is that you can easily avoid this maintenance nightmare by using libraries, frameworks, and code generators.
为了了解代码生成器是如何工作的,让我们先来看一个简短的嵌入式SQL程序。
To see how a code generator works, let's look at a short Embedded SQL program.
图1说明了用户定义的带注释的方法接口、代码生成器和生成的实现类之间的关系。
Figure 1 illustrates the relationship between the user-defined data access interface, the code generator, and the generated implementation class.
这和提供某些复杂的编辑器或代码生成器工具有所不同,没有了他们你就无法工作。
It's different that offering something complex and then an editor or code generation tool, which otherwise you wouldn't be able to work with.
应用推荐