From f1befc0108376d8d9c7f4277178d4053cf61eec9 Mon Sep 17 00:00:00 2001 From: Abduqodiri Qurbonzoda Date: Tue, 24 Aug 2021 14:47:53 +0300 Subject: [PATCH] Format Other_Uppercase/Other_Lowercase property as an identifier in docs --- .../runtime/src/main/kotlin/generated/_LetterChars.kt | 4 ++-- kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt | 4 ++-- libraries/stdlib/js-ir/src/generated/_LetterChars.kt | 4 ++-- libraries/stdlib/js/src/generated/_LetterChars.kt | 4 ++-- libraries/stdlib/js/src/kotlin/text/char.kt | 4 ++-- libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt | 4 ++-- libraries/stdlib/src/kotlin/text/Char.kt | 4 ++-- .../generators/unicode/ranges/writers/LetterRangesWriter.kt | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/kotlin-native/runtime/src/main/kotlin/generated/_LetterChars.kt b/kotlin-native/runtime/src/main/kotlin/generated/_LetterChars.kt index 751f80ba42e..3e528077a3f 100644 --- a/kotlin-native/runtime/src/main/kotlin/generated/_LetterChars.kt +++ b/kotlin-native/runtime/src/main/kotlin/generated/_LetterChars.kt @@ -68,14 +68,14 @@ internal fun Char.isLetterImpl(): Boolean { } /** - * Returns `true` if this character is a lower case letter, or it has contributory property Other_Lowercase. + * Returns `true` if this character is a lower case letter, or it has contributory property `Other_Lowercase`. */ internal fun Char.isLowerCaseImpl(): Boolean { return getLetterType() == 1 || code.isOtherLowercase() } /** - * Returns `true` if this character is an upper case letter, or it has contributory property Other_Uppercase. + * Returns `true` if this character is an upper case letter, or it has contributory property `Other_Uppercase`. */ internal fun Char.isUpperCaseImpl(): Boolean { return getLetterType() == 2 || code.isOtherUppercase() diff --git a/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt b/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt index e1ccb919336..103078a8b04 100644 --- a/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt +++ b/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt @@ -104,7 +104,7 @@ public actual fun Char.isWhitespace(): Boolean = isWhitespaceImpl() * Returns `true` if this character is upper case. * * A character is considered to be an upper case character if its [category] is [CharCategory.UPPERCASE_LETTER], - * or it has contributory property Other_Uppercase as defined by the Unicode Standard. + * or it has contributory property `Other_Uppercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isUpperCase */ @@ -122,7 +122,7 @@ public actual fun Char.isUpperCase(): Boolean { * Returns `true` if this character is lower case. * * A character is considered to be a lower case character if its [category] is [CharCategory.LOWERCASE_LETTER], - * or it has contributory property Other_Lowercase as defined by the Unicode Standard. + * or it has contributory property `Other_Lowercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isLowerCase */ diff --git a/libraries/stdlib/js-ir/src/generated/_LetterChars.kt b/libraries/stdlib/js-ir/src/generated/_LetterChars.kt index 1fc593c5ec8..a40e5a95338 100644 --- a/libraries/stdlib/js-ir/src/generated/_LetterChars.kt +++ b/libraries/stdlib/js-ir/src/generated/_LetterChars.kt @@ -51,14 +51,14 @@ internal fun Char.isLetterImpl(): Boolean { } /** - * Returns `true` if this character is a lower case letter, or it has contributory property Other_Lowercase. + * Returns `true` if this character is a lower case letter, or it has contributory property `Other_Lowercase`. */ internal fun Char.isLowerCaseImpl(): Boolean { return getLetterType() == 1 || code.isOtherLowercase() } /** - * Returns `true` if this character is an upper case letter, or it has contributory property Other_Uppercase. + * Returns `true` if this character is an upper case letter, or it has contributory property `Other_Uppercase`. */ internal fun Char.isUpperCaseImpl(): Boolean { return getLetterType() == 2 || code.isOtherUppercase() diff --git a/libraries/stdlib/js/src/generated/_LetterChars.kt b/libraries/stdlib/js/src/generated/_LetterChars.kt index 1fc593c5ec8..a40e5a95338 100644 --- a/libraries/stdlib/js/src/generated/_LetterChars.kt +++ b/libraries/stdlib/js/src/generated/_LetterChars.kt @@ -51,14 +51,14 @@ internal fun Char.isLetterImpl(): Boolean { } /** - * Returns `true` if this character is a lower case letter, or it has contributory property Other_Lowercase. + * Returns `true` if this character is a lower case letter, or it has contributory property `Other_Lowercase`. */ internal fun Char.isLowerCaseImpl(): Boolean { return getLetterType() == 1 || code.isOtherLowercase() } /** - * Returns `true` if this character is an upper case letter, or it has contributory property Other_Uppercase. + * Returns `true` if this character is an upper case letter, or it has contributory property `Other_Uppercase`. */ internal fun Char.isUpperCaseImpl(): Boolean { return getLetterType() == 2 || code.isOtherUppercase() diff --git a/libraries/stdlib/js/src/kotlin/text/char.kt b/libraries/stdlib/js/src/kotlin/text/char.kt index a9a3fd5b7c9..deec03b7d2d 100644 --- a/libraries/stdlib/js/src/kotlin/text/char.kt +++ b/libraries/stdlib/js/src/kotlin/text/char.kt @@ -184,7 +184,7 @@ public actual fun Char.isDigit(): Boolean { * Returns `true` if this character is upper case. * * A character is considered to be an upper case character if its [category] is [CharCategory.UPPERCASE_LETTER], - * or it has contributory property Other_Uppercase as defined by the Unicode Standard. + * or it has contributory property `Other_Uppercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isUpperCase */ @@ -203,7 +203,7 @@ public actual fun Char.isUpperCase(): Boolean { * Returns `true` if this character is lower case. * * A character is considered to be a lower case character if its [category] is [CharCategory.LOWERCASE_LETTER], - * or it has contributory property Other_Lowercase as defined by the Unicode Standard. + * or it has contributory property `Other_Lowercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isLowerCase */ diff --git a/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt b/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt index bb54173f3f7..d54c7a741c7 100644 --- a/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt +++ b/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt @@ -101,7 +101,7 @@ public actual fun Char.isWhitespace(): Boolean = Character.isWhitespace(this) || * Returns `true` if this character is upper case. * * A character is considered to be an upper case character if its [category] is [CharCategory.UPPERCASE_LETTER], - * or it has contributory property Other_Uppercase as defined by the Unicode Standard. + * or it has contributory property `Other_Uppercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isUpperCase */ @@ -112,7 +112,7 @@ public actual inline fun Char.isUpperCase(): Boolean = Character.isUpperCase(thi * Returns `true` if this character is lower case. * * A character is considered to be a lower case character if its [category] is [CharCategory.LOWERCASE_LETTER], - * or it has contributory property Other_Lowercase as defined by the Unicode Standard. + * or it has contributory property `Other_Lowercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isLowerCase */ diff --git a/libraries/stdlib/src/kotlin/text/Char.kt b/libraries/stdlib/src/kotlin/text/Char.kt index 433a66e4080..d2553a17b0f 100644 --- a/libraries/stdlib/src/kotlin/text/Char.kt +++ b/libraries/stdlib/src/kotlin/text/Char.kt @@ -299,7 +299,7 @@ public expect fun Char.isDigit(): Boolean * Returns `true` if this character is upper case. * * A character is considered to be an upper case character if its [category] is [CharCategory.UPPERCASE_LETTER], - * or it has contributory property Other_Uppercase as defined by the Unicode Standard. + * or it has contributory property `Other_Uppercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isUpperCase */ @@ -310,7 +310,7 @@ public expect fun Char.isUpperCase(): Boolean * Returns `true` if this character is lower case. * * A character is considered to be a lower case character if its [category] is [CharCategory.LOWERCASE_LETTER], - * or it has contributory property Other_Lowercase as defined by the Unicode Standard. + * or it has contributory property `Other_Lowercase` as defined by the Unicode Standard. * * @sample samples.text.Chars.isLowerCase */ diff --git a/libraries/tools/kotlin-stdlib-gen/src/generators/unicode/ranges/writers/LetterRangesWriter.kt b/libraries/tools/kotlin-stdlib-gen/src/generators/unicode/ranges/writers/LetterRangesWriter.kt index 872ab111f1c..13502c399a3 100644 --- a/libraries/tools/kotlin-stdlib-gen/src/generators/unicode/ranges/writers/LetterRangesWriter.kt +++ b/libraries/tools/kotlin-stdlib-gen/src/generators/unicode/ranges/writers/LetterRangesWriter.kt @@ -60,14 +60,14 @@ internal open class LetterRangesWriter(protected val strategy: RangesWritingStra } /** - * Returns `true` if this character is a lower case letter, or it has contributory property Other_Lowercase. + * Returns `true` if this character is a lower case letter, or it has contributory property `Other_Lowercase`. */ internal fun Char.isLowerCaseImpl(): Boolean { return getLetterType() == 1 || code.isOtherLowercase() } /** - * Returns `true` if this character is an upper case letter, or it has contributory property Other_Uppercase. + * Returns `true` if this character is an upper case letter, or it has contributory property `Other_Uppercase`. */ internal fun Char.isUpperCaseImpl(): Boolean { return getLetterType() == 2 || code.isOtherUppercase()