Package-level declarations

Types

Link copied to clipboard
abstract class AbstractDslMutableList<I, O>(initial: MutableList<I> = mutableListOf()) : AbstractMutableList<O> , DslReplaceableList<O>

An abstract class that provides a mutable list DSL implementation.

Link copied to clipboard
interface DslMutableList<T> : MutableList<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface DslValue<T, P> : Value<T> , KProperty<P>
Link copied to clipboard
class ListProperty<I, O>(initial: MutableList<I> = mutableListOf(), getTransform: DslMutableList<O>.(I) -> O, setTransform: DslMutableList<O>.(O) -> I, beforeGet: DslMutableList<O>.(Int) -> Unit = {}, beforeSet: DslMutableList<O>.(Int, O) -> Unit = { _, _ -> }, beforeRemove: DslMutableList<O>.(Int) -> Unit = {}, beforeAccess: DslMutableList<O>.() -> Unit = {}, beforeReplace: DslMutableList<O>.(MutableList<O>) -> Unit = {}, accessTransform: DslMutableList<O>.() -> MutableList<O> = { this }, getDslMutableList: (DslMutableList<O>) -> Unit = {}) : AbstractDslMutableList<I, O> , DslReadWriteListProperty<O>
Link copied to clipboard
abstract class LockableValueDsl : ValueDsl

Extension of ValueDsl that adds locking functionality to prevent further modifications.

Link copied to clipboard
interface Value<T>
Link copied to clipboard
abstract class ValueDsl

Base class providing DSL property delegates for value handling, including transformation, validation, and list management.

Link copied to clipboard
class ValueProperty<I, O>(initial: I, beforeGet: DslValue<O, *>.(I) -> Unit = {}, beforeSet: DslValue<O, *>.(O) -> Unit = {}, getTransform: (I) -> O, setTransform: (O) -> I, afterGet: DslValue<O, *>.(O) -> Unit = {}, afterSet: DslValue<O, *>.(I) -> Unit = {}, getBypassedHooksValue: (DslValue.BypassedHooks<O>) -> Unit = {})