Function

data class Function(val name: String, val parameters: List<CodeGenTree.Function.Parameter>, val returnType: CodeGenTree.Type, val nullable: Boolean = false, val suspending: Boolean = false, val packageName: String? = null, val documentation: String? = null, val annotations: List<CodeGenTree.Annotation> = emptyList(), val fileName: String? = null)(source)

Constructors

Link copied to clipboard
constructor(name: String, parameters: List<CodeGenTree.Function.Parameter>, returnType: CodeGenTree.Type, nullable: Boolean = false, suspending: Boolean = false, packageName: String? = null, documentation: String? = null, annotations: List<CodeGenTree.Annotation> = emptyList(), fileName: String? = null)

Types

Link copied to clipboard
data class Parameter(val name: String, val type: CodeGenTree.Type, val nullable: Boolean = false, val documentation: String? = null, val defaultValue: CodeGenTree.Expression? = null, val annotations: List<CodeGenTree.Annotation> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard