object Chars
Contains constants and classifier methods for characters
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Chars
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val CR: Char('\r')
- final val FF: Char('\f')
- final val LF: Char('\n')
- final val SU: Char('\u001A')
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def digit2int(ch: Int, base: Int): Int
Convert a character digit to an Int according to given base, -1 if no success
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isIdentifierPart(c: Int): Boolean
Can character form part of an alphanumeric Scala identifier?
- def isIdentifierStart(c: Int): Boolean
Can character start an alphanumeric Scala identifier?
Can character start an alphanumeric Scala identifier?
- Annotations
- @inline()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNameChar(ch: Char): Boolean
NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
See [4] and Appendix B of XML 1.0 specification.
- def isNameStart(ch: Int): Boolean
NameStart ::= ( Letter | '_' )where Letter means in one of the Unicode general categories
Ll, Lu, Lo, Lt, Nl
.
We do not allow a name to start with ':'. See [3] and Appendix B of XML 1.0 specification
- def isOperatorPart(c: Char): Boolean
- Annotations
- @inline()
- def isOperatorPart(c: Int): Boolean
Can character form part of a Scala operator name?
- def isSpecial(c: Int): Boolean
Is character a math or other symbol in Unicode?
- def isUnicodeIdentifierPart(c: Int): Boolean
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()