Class: KipperCompileTarget
compiler.KipperCompileTarget
Represents a Kipper compilation translation defining how a Kipper parse tree shall be translated into a specific language.
Since
0.10.0
Table of contents
Constructors
Properties
Constructors
constructor
• Protected
new KipperCompileTarget(targetName
, semanticAnalyser
, codeGenerator
, builtInGenerator
, fileExtension
)
Parameters
Name | Type |
---|---|
targetName |
string |
semanticAnalyser |
KipperTargetSemanticAnalyser |
codeGenerator |
KipperTargetCodeGenerator |
builtInGenerator |
KipperTargetBuiltInGenerator |
fileExtension |
string |
Defined in
kipper/core/src/compiler/target-presets/compile-target.ts:21
Properties
builtInGenerator
• Readonly
builtInGenerator: KipperTargetBuiltInGenerator
Defined in
kipper/core/src/compiler/target-presets/compile-target.ts:18
codeGenerator
• Readonly
codeGenerator: KipperTargetCodeGenerator
Defined in
kipper/core/src/compiler/target-presets/compile-target.ts:17
fileExtension
• Readonly
fileExtension: string
Defined in
kipper/core/src/compiler/target-presets/compile-target.ts:19
semanticAnalyser
• Readonly
semanticAnalyser: KipperTargetSemanticAnalyser
Defined in
kipper/core/src/compiler/target-presets/compile-target.ts:16
targetName
• Readonly
targetName: string
Defined in
kipper/core/src/compiler/target-presets/compile-target.ts:15