这点在源代码模型中也永远是真理。
一个用于操作源文件的源代码模型。
返回当前代码模型元素的文档注释。
Returns the document comment for the current code model element.
负责软件源代码模型和单元测试的开发。
参数正确与否由代码模型后面的语言决定。
The correctness of the arguments is determined by the language behind the code model.
在每一种情况下,都要使用您先前创建的空的代码模型。
In either case, use the empty code models that you created earlier.
所有可用内容就是一个具有名称的代码模型对象。
接着您希望执行使用这个对象模型的代码文件。
You then want to execute files of code that consume that object model.
对于应用程序,这导致代码过度膨胀以及数据模型过度复杂。
This results in both code bloat and an overly complex data model for your application.
你如何看待模型驱动开发与代码生成技术的未来?
What do you see as the future of Model Driven Development and Code Generation?
下面显示的就是这个线性模型的代码。
好在每个事件模型的代码都十分紧凑。
Fortunately, the code for each event model is quite compact.
模型较之代码支持一个更加丰富的关系类型的集合。
Models support a richer set of relationship types than those found in code.
迁移模型代码。
最后一步是从模型回到可执行代码的转换。
The final step is the transformation from models back to executable code.
最终,所有模型都会转化成代码。
但是如果业务模型改变,这些代码需要重新生成。
But if the business model changes, the code has to be re-generated.
在一些情况下,特定的组织有他们自己的代码部署客户实践模型。
In some cases, particular organizations have their own custom promotion model for code deployment.
接着,模型会编译转换为代码。
编写测试要比编写模型代码简单得多。
可以重构库代码创建更好的连接点模型。
Base code is refactored to create a better join point model.
清单1中的代码显示了员工数据模型的定义。
The code in Listing 1 shows the definition of the employee data model.
图1显示了正在生成的代码的类模型。
Figure 1 shows the class model for the code being generated.
清单5中的代码是一个示例模型定义。
为模型编写测试代码。
你还可以直接从设计模型中产生测试代码。
You may also be able to generate test code directly from the design models.
该模型支持通过少量代码和配置实现这种访问。
The model supports a method of providing this access with very little code and configuration.
按照与代码相同的方式构造模型可以极大地简化代码模板。
Structuring the model the same way as the code can greatly simplify the code templates.
这里用同样的技术从php模型构建php代码。
Here, I use a similar technique to build PHP from a PHP model.
模型、代码和文档产生。
应用推荐