You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
448 B
Kotlin
16 lines
448 B
Kotlin
package me.eater.hefbrug.definition
|
|
|
|
import me.eater.hefbrug.dsl.context.DefinitionContextSkeleton
|
|
import me.eater.hefbrug.state.AbstractState
|
|
|
|
interface DefinitionSkeleton<S : AbstractState, out C : DefinitionContextSkeleton<S>> {
|
|
val key: DefinitionKey
|
|
val state: S
|
|
|
|
val id: String
|
|
val require: MutableSet<DefinitionKey>
|
|
val before: MutableSet<DefinitionKey>
|
|
val after: MutableSet<DefinitionKey>
|
|
|
|
fun getContext(): C
|
|
} |