DSL

object DSL(source)

The meta functionality that enables us to easily create DSLs.

See also

at.asitplus.signum.supreme.dsl.DSLInheritanceDemonstration
at.asitplus.signum.supreme.dsl.DSLVarianceDemonstration

Types

Link copied to clipboard
open class Data

The superclass of all DSL configuration objects. Exposes helper functions for definition.

Link copied to clipboard
Link copied to clipboard
class Generalized<out T : DSL.Data?> : DSL.Holder<T>

Constructed by: DSL.Data.subclassOf.

Link copied to clipboard
sealed interface Holder<out T>
Link copied to clipboard
class Integrated<T : Any> : DSL.Invokable<T.() -> Unit?, T>
Link copied to clipboard
sealed interface Invokable<out Storage, out Target : Any> : DSL.Holder<Storage>
Link copied to clipboard
annotation class Marker
Link copied to clipboard

Constructed by: DSL.Data.unsupported.

Functions

Link copied to clipboard
fun <S : DSL.Data, T : S> resolve(factory: () -> T, config: DSLConfigureFn<S>): T

Resolve a DSL lambda to a concrete configuration