The pureQuery code generator and runtime handled the rest.
pureQuery代码生成器和运行时会处理其余的工作。
EMF includes a code generator that derives an XML schema from a UML model.
EMF包括一个代码生成器从UML模型派生XML模式。
XDoclet is one such code generator that's used heavily for J2EE development.
XDoclet就是其中的一种代码生成器,在J2EE开发中得到了大量的使用。
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.
搭建,像许多元编程技术一样,就是个运行时代码生成器。
The transaction Demo application sets up the transaction type using the XDoclet code generator.
TransactionDemo应用程序使用XDoclet代码生成器设置事务类型。
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代码生成器只为全局元素生成映射条目,而不为局部元素生成。
In addition, GDS also comes with an ActionScript3 code generator (Gas3), which greatly accelerates Flex application development.
此外,GDS还提供了一个ActionScript 3代码生成器(Gas3),它大大加速了Flex应用的开发。
All these syntactical advantages of using XML and JSP become obvious, especially when the code generator needs lots of attributes.
使用xml和jsp的这些句法方面的优点是很明显的,尤其是当代码生成器需要大量属性的时候。
We need to tell the code generator which component type will expose this abstract behaviour, so we will create a componentType file.
我们需要告知代码生成器,哪个组件将公开此抽象行为,因此我们创建了一个组件类型文件。
The Axis2 code generator emits XML files that are applied with the correct XML style sheets to generate code in the needed language.
Axis2代码生成器发出采用正确xml样式表的XML文件,以用所需语言生成代码。
In fact, you must dust off UML's obscure Object Constraint Language (OCL) and an OCL code generator to achieve the same functionality.
事实上,您必须通过uml晦涩的对象约束语言(Object Constraint Language,OCL),并使用OCL代码生成器,才能实现相同的功能。
Now that you've seen several types of code generators and the types of things that they can do, it is now time to write a small code generator.
现在您已经见过了几种代码生成器,了解了这些代码生成器可以实现怎样的功能,接下来我们应该开始编写一个小型的代码生成器了。
Figure 1 illustrates the relationship between the user-defined data access interface, the code generator, and the generated implementation class.
图1说明了用户定义的带注释的方法接口、代码生成器和生成的实现类之间的关系。
During the development process, software architects should carefully decide if a technical choice belongs to the framework or to the code generator.
在开发过程中,软件架构师应该仔细地判断技术决策是归属于框架的还是代码生成器的。
If you use a code generator, really look at the code it generates; if you use database tools, take a look at the underlying SQL it generates; and so on.
如果你使用代码生成器,好好看看它生成的代码;如果你使用数据库工具,看看它生成的底层SQL语句,不一而足。
应用推荐