Package-level declarations
Types
Link copied to clipboard
A function that can be called from a Quarkdown source via a FunctionCall.
Link copied to clipboard
data class FunctionParameter(val name: String, val type: ParameterType, val index: Int, val isOptional: Boolean = false, val isExplicitlyBody: Boolean = false, val isInjected: Boolean = false, val isNullable: Boolean = false, val convert: ArgumentConverter? = null)
A declared Function parameter.
Link copied to clipboard
What an ParameterType.Injected parameter receives.
Link copied to clipboard
The kind of value a FunctionParameter accepts.
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, FunctionCall<T>) -> T) : Function<T>
A basic Function implementation.
Functions
Link copied to clipboard
Renders this function's signature as a human-readable string. Injected parameters (FunctionParameter.isInjected) are omitted — they aren't part of the surface that callers see and shouldn't clutter the rendered signature.
Link copied to clipboard