Format Other_Uppercase/Other_Lowercase property as an identifier in docs

This commit is contained in:
Abduqodiri Qurbonzoda
2021-08-24 14:47:53 +03:00
parent b5e37cb201
commit f1befc0108
8 changed files with 16 additions and 16 deletions
@@ -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 { internal fun Char.isLowerCaseImpl(): Boolean {
return getLetterType() == 1 || code.isOtherLowercase() 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 { internal fun Char.isUpperCaseImpl(): Boolean {
return getLetterType() == 2 || code.isOtherUppercase() return getLetterType() == 2 || code.isOtherUppercase()
@@ -104,7 +104,7 @@ public actual fun Char.isWhitespace(): Boolean = isWhitespaceImpl()
* Returns `true` if this character is upper case. * 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], * 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 * @sample samples.text.Chars.isUpperCase
*/ */
@@ -122,7 +122,7 @@ public actual fun Char.isUpperCase(): Boolean {
* Returns `true` if this character is lower case. * 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], * 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 * @sample samples.text.Chars.isLowerCase
*/ */
@@ -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 { internal fun Char.isLowerCaseImpl(): Boolean {
return getLetterType() == 1 || code.isOtherLowercase() 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 { internal fun Char.isUpperCaseImpl(): Boolean {
return getLetterType() == 2 || code.isOtherUppercase() return getLetterType() == 2 || code.isOtherUppercase()
@@ -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 { internal fun Char.isLowerCaseImpl(): Boolean {
return getLetterType() == 1 || code.isOtherLowercase() 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 { internal fun Char.isUpperCaseImpl(): Boolean {
return getLetterType() == 2 || code.isOtherUppercase() return getLetterType() == 2 || code.isOtherUppercase()
+2 -2
View File
@@ -184,7 +184,7 @@ public actual fun Char.isDigit(): Boolean {
* Returns `true` if this character is upper case. * 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], * 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 * @sample samples.text.Chars.isUpperCase
*/ */
@@ -203,7 +203,7 @@ public actual fun Char.isUpperCase(): Boolean {
* Returns `true` if this character is lower case. * 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], * 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 * @sample samples.text.Chars.isLowerCase
*/ */
@@ -101,7 +101,7 @@ public actual fun Char.isWhitespace(): Boolean = Character.isWhitespace(this) ||
* Returns `true` if this character is upper case. * 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], * 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 * @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. * 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], * 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 * @sample samples.text.Chars.isLowerCase
*/ */
+2 -2
View File
@@ -299,7 +299,7 @@ public expect fun Char.isDigit(): Boolean
* Returns `true` if this character is upper case. * 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], * 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 * @sample samples.text.Chars.isUpperCase
*/ */
@@ -310,7 +310,7 @@ public expect fun Char.isUpperCase(): Boolean
* Returns `true` if this character is lower case. * 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], * 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 * @sample samples.text.Chars.isLowerCase
*/ */
@@ -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 { internal fun Char.isLowerCaseImpl(): Boolean {
return getLetterType() == 1 || code.isOtherLowercase() 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 { internal fun Char.isUpperCaseImpl(): Boolean {
return getLetterType() == 2 || code.isOtherUppercase() return getLetterType() == 2 || code.isOtherUppercase()