ModuleDescriptor
data class ModuleDescriptor(val name: String, val packageName: String, val file: KSFile, val functions: List<FunctionDescriptor>, val sourceImports: String?)
A native Quarkdown module discovered by the KSP processor.
Each descriptor corresponds to a single source file annotated with com.quarkdown.processor.annotation.QModule.
Parameters
name
simple name of the module
packageName
JVM package of the source file
file
the underlying KSP file declaration
functions
exported functions discovered in this module, in source order
sourceImports
verbatim text of the source file's import list, or null when the file has none; copied into the generated wrapper so default expressions can reference symbols the source imported
Constructors
Link copied to clipboard
constructor(name: String, packageName: String, file: KSFile, functions: List<FunctionDescriptor>, sourceImports: String?)