Package-level declarations
Types
The K3String class represents marker-aware character strings for use in Keyboard3 models and runtimes.
A mutable sequence of characters and markers. Allows to efficiently build K3String objects.
Base interface describing a variable resolver.
This annotation marks all API affected by a required future migration to Kotlin rich errors.
Functions
Returns this String as a K3String.
Builds new K3String by populating a newly created K3StringBuilder using provided builderAction and then converting it to K3String.
Checks if this string is normalized.
Checks if this K3String is normalized in a marker-aware-manner.
Normalizes this string according to UAX#15.
Normalizes this K3String in a marker-aware manner, using the marker algorithm from Unicode TR35.
fun String.toK3String(allowEscapedCodePoints: Boolean = true, allowEscapedMarkers: Boolean = true, allowStringVarRefs: Boolean = true): K3StringOrError
Parses this string to a K3String, and interprets or disallows escaped codepoints, markers, and string variable references.
fun String.toSetOfK3String(): K3ListOfK3StringOrError
Parses this string to a set of K3String objects.