我们需要告知代码生成器,哪个组件将公开此抽象行为,因此我们创建了一个组件类型文件。
We need to tell the code generator which component type will expose this abstract behaviour, so we will create a componentType file.
清单3告知代码生成器,一个名为“ExampleService”的组件将公开头文件“Example . h”中的行为。
Listing 3 tells the code generator that a component named "SampleService" will expose the behavior found in the header file "Sample.h".
代码生成器无法预测这个,因此需要附加组件开发人员进行指定。
The code generator cannot predict this, so it is left to the add-on developer to specify.
在将泛型代码放入可重用组件或框架时,可以考虑使用代码生成器来更有效地生成特定的代码。
After placing generic code into reusable components or frameworks, consider using code generators to produce specialized code more efficiently.
一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine.
一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine.
应用推荐