abstract class GeneratorTarget (source)
A GeneratorTarget defines a file template for the generator to process. Usually end user's shouldn't need to call this class directly but use functionality of their respective language module instead.
The Generator is built to assume that the project is using a directory layout that is similar to Kraton's. However, this behaviour is fully customizable and may be altered.
The path of the file is constructed as follows:
srcFolder/srcSet/language/packageName/fileName.appendix
GeneratorTarget(fileName: String, language: String, packageName: String, srcFolder: String, srcSet: String, appendix: String = language)
Creates a new GeneratorTarget. |
abstract fun PrintWriter.printTarget(): Unit
Prints this GeneratorTarget. |