Package-level declarations

Types

Link copied to clipboard
interface Function<T : OutputValue<*>>

A function that can be called from a Quarkdown source via a FunctionCall.

Link copied to clipboard
data class FunctionParameter<T : Any>(val name: String, val type: KClass<T>, val index: Int, val isOptional: Boolean = false, val isInjected: Boolean = false)

A declared Function parameter.

Link copied to clipboard
data class SimpleFunction<T : OutputValue<*>>(val name: String, val parameters: List<FunctionParameter<*>>, val validators: List<FunctionCallValidator<T>> = emptyList(), val invoke: (ArgumentBindings) -> T) : Function<T>

A basic Function implementation.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun Function<*>.signatureAsString(includeName: Boolean = true): String