CodeGenerator
The CodeGenerator class is used to initiate code generation for a CodeGenTaskSet object. An application can cause code to be generated by creating an instance of this class, passing in a CodeGenTaskSet object, and then calling the GenerateCode method.
For an example of generating code with the CodeGen API look here.
Syntax
Definition: public sealed class CodeGenerator
Namespace: CodeGen.Engine
Assembly: CodeGenEngine.dll
Constructors
Name |
Description |
CodeGenerator(CodeGenTaskSet) |
Initializes a new instance of the CodeGenerator class to process a CodeGenTaskSet. |
Methods
Name |
Description |
GenerateCode
|
Initiates code generation for the CodeGenTaskSet provided. |
LoadExtensions |
Loads custom extensions. This method is only exposed so that it may be used by unit tests in the CodeGen development environment, and should not be used by other applications. |
LoadHarmonyCoreExtensions
|
Loads the Harmony Core specific extensions. This method is only exposed so that it may be used by unit tests in the CodeGen development environment, and should not be used by other applications.
|
LoadProformaExtensions |
Loads BusinessCraft Proforma extensions. This method is only exposed so that it may be used by unit tests in the CodeGen development environment, and should not be used by other applications.
|
Copyright © 2021 Synergex International, Inc.