graphmine-i18n / io.github.sof3.graphmine.i18n / Declaration
class Declaration<Arg :
Any
> :
ReadOnlyProperty
<
LangSpec
<*>,
Declaration
<
Arg
>>
<init> | Declaration(spec: () -> LangSpec <*>, pathGet: () -> List < String >) |
path | val path: List < String > |
pathJoined | val pathJoined: String |
translations | val translations: LinkedHashMap < String , Translation < Arg >> |
getValue | fun getValue(thisRef: LangSpec <*>, property: KProperty <*>): Declaration < Arg > Dummy function to satisfy the ReadOnlyProperty interface |
invoke | operator fun invoke(fn: Translation < Arg >): Unit To be called by translation scripts to provide a translation. operator fun invoke(arg: Arg ): I18n To be called by translation users to obtain a specific I18n for this declaration. |