graphmine-i18n / io.github.sof3.graphmine.i18n / GroupSpec
abstract class GroupSpec<Self :
GroupSpec
<
Self
>> :
LangSpec
<
Self
>
<init> | GroupSpec() |
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 <*> |
declarations | val declarations: HashMap < String , Declaration <*>> |
groups | val groups: HashMap < String , GroupSpec <*>> |
invoke | operator fun invoke(fn: Self .() -> Unit ): Unit |
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 > |