ExtCodeGenerator

Ktorm KSP code generator interface for third-party extensions.

Functions

Link copied to clipboard
open fun generateFunctions(table: TableMetadata, environment: SymbolProcessorEnvironment): List<FunSpec>

Generate top-level functions for the table in the corresponding resulting file.

Link copied to clipboard
open fun generateProperties(table: TableMetadata, environment: SymbolProcessorEnvironment): List<PropertySpec>

Generate top-level properties for the table in the corresponding resulting file.

Link copied to clipboard
open fun generateTypes(table: TableMetadata, environment: SymbolProcessorEnvironment): List<TypeSpec>

Generate types for the table in the corresponding resulting file.