The code generator and generated code.
代码生成器和生成的代码。
Listing 4. Holy code generator, Batman!
清单4.神圣的代码生成器,Batman !
Here the gnome-python code generator is called.
这里调用gnome -python代码生成器。
The pureQuery code generator and runtime handled the rest.
pureQuery代码生成器和运行时会处理其余的工作。
This argument passes the override file we created to the code generator.
该参数将我们创建的覆盖文件传递给代码生成器。
EMF includes a code generator that derives an XML schema from a UML model.
EMF包括一个代码生成器从UML模型派生XML模式。
Here the final option to the code generator is the definitions file itself.
这里,代码生成器的最后一个选项是定义文件本身。
XDoclet is one such code generator that's used heavily for J2EE development.
XDoclet就是其中的一种代码生成器,在J2EE开发中得到了大量的使用。
This is merely a new ORM style code generator for Eclipse that IBM has made.
JLINQ仅是IBM为Eclispe制作的新的OR M风格的代码生成器。
To see how a code generator works, let's look at a short Embedded SQL program.
为了了解代码生成器是如何工作的,让我们先来看一个简短的嵌入式SQL程序。
Or you might write a sample class or two, then build the rest with a code generator.
也可以编写一两个示例类,然后使用代码生成器建立其他的类。
The code generator cannot predict this, so it is left to the add-on developer to specify.
代码生成器无法预测这个,因此需要附加组件开发人员进行指定。
Luckily, we can manually wrap individual methods when using the gnome-python code generator.
幸运的是,在使用gnome - python代码生成器时,可以手工封装各个方法。
Scaffolding — like many metaprogramming techniques — is nothing but a run-time code generator.
搭建,像许多元编程技术一样,就是个运行时代码生成器。
We'll review the various programs available, look at sample usage, and build a code generator.
我们将介绍几个例子,了解一下样例用法,并构建一个代码生成器。
The code generator outputs on standard output, so we redirect this into the target, trayicon.c.
代码生成器在标准输出上进行输出,所以我们将它重定向到目标trayicon . c。
The transaction Demo application sets up the transaction type using the XDoclet code generator.
TransactionDemo应用程序使用XDoclet代码生成器设置事务类型。
Our module USES types from GLib and GTK +, so we must also tell the code generator to load these.
模块使用glib和gtk +中的类型,所以我们还必须告诉代码生成器装入这些类型。
Will new versions of the code generator (or its plug-ins or add-ons) potentially break my project?
新版本的代码生成工具(或是插件)不会搞乱我的项目吧?
Probably the simplest useful code generator you could write would be one to build static lookup tables.
可以编写的最简单的可用代码生成器也许就是构建一个静态查找表。
A code generator pre-processes the interface to generate implementation code for each annotated method.
代码生成器对接口进行预处理,生成每个带注释的方法的实现代码。
The code generator also generates a sample for the visual part of XAML project defining all UI elements.
代码生成器还为XAML项目的可见部分生成一个示例,其中定义了所有用户界面元素。
The second solution is to use a code generator that reads the database schema and writes the code for you.
第二个解决方案是用代码生成器,读取数据库模式,并自动编写代码。
I find it confusing for the programmer and very difficult to get right inside the compiler 's code generator.
这会使程序员感到迷惑,而且在编译器的代码生成器中很难实现。
Override files tell the code generator what headers to include, what the name of the module will be, and so on.
覆盖文件告诉代码生成器要包括哪些头文件、模块名将是什么等等。
A code generator pre-processes the interface to generate implementation code for each declared, annotated method.
代码生成器预处理接口,为每个已声明的、带有注释的方法生成实现代码。
So in just a few lines of code you created a simple code generator that can dramatically ease your programming tasks.
这样只需要刚才创建的这个简单代码生成器中的几行代码,我们就可以极大地简化编程任务。
The RJCB code generator generates Java proxies for each vtable interface and coclass defined in the COM type library.
RJCB代码生成器为COM类型库中定义的每个vtable接口和 辅助类生成代理。
As you can see, the wrapping code can look complicated, so we thank the code generator for every line it writes for us.
正如您所看到的那样,封装代码看上去复杂,所以我们感谢代码生成器为我们编写的每一行。
However, by default, the EMF code generator only generates mapping entries for global elements, not for local elements.
但是,默认的情况是,EMF代码生成器只为全局元素生成映射条目,而不为局部元素生成。
应用推荐