GraphMine

graphmine-i18n / io.github.sof3.graphmine.i18n / GroupSpec

GroupSpec

abstract class GroupSpec<Self : GroupSpec<Self>> : LangSpec<Self>

Constructors

<init> GroupSpec()

Properties

locale open var locale: String?
name lateinit var name: String
parent lateinit var parent: LangSpec<*>
path open val path: List<String>
rootSpec open val rootSpec: LangSpec<*>

Inherited Properties

declarations val declarations: HashMap<String, Declaration<*>>
groups val groups: HashMap<String, GroupSpec<*>>

Functions

invoke operator fun invoke(fn: Self.() -> Unit): Unit

Inherited Functions

accept fun <Arg : Any> accept(): DelegateProvider<Self, Declaration<Arg>>
Invoked by declaration subclasses to create a single declaration
group fun <Grp : GroupSpec<Grp>> group(group: Grp): DelegateProvider<Self, Grp>
Invoked by declaration subclasses to create a declaration group
invoke operator fun invoke(locale: String, fn: Self.() -> Unit): LangSpec<Self>