GeneratorContext

class GeneratorContext(val outputDir: Path, val datamodel: Datamodel, val rawParsingResult: PRoot?)

Context for generators

Constructors

Link copied to clipboard
constructor(outputDir: Path, datamodel: Datamodel, rawParsingResult: PRoot?)

Properties

Link copied to clipboard

Prisma's DMMF Datamodel.

Link copied to clipboard

Output directory where classes, etc. should be placed.

Link copied to clipboard

Raw NiwenPrism result, or null if the Niwen Prism parsing failed.