O object

Chars

extends Object with Serializable

Contains constants and classifier methods for characters

Supertypes

Object, Serializable

Members

final val 

CR

: '\r'

final val 

FF

: '\f'

final val 

LF

: '\n'

final val 

SU

: '\032'

private val 

char2uescapeArray

: Array[Char]

Buffer for creating '\ u XXXX' strings.

Buffer for creating '\ u XXXX' strings.

private final val 

letterGroups

: Set[Byte]

private final val 

otherLetters

: Set[Char]

def 

char2uescape

( c: Char ) : String

Convert a character to a backslash-u escape

Convert a character to a backslash-u escape

def 

digit2int

( ch: Char base: Int ) : Int

Convert a character digit to an Int according to given base, -1 if no success

Convert a character digit to an Int according to given base, -1 if no success

def 

isIdentifierPart

( c: Char ) : Boolean

Can character form part of an alphanumeric Scala identifier?

Can character form part of an alphanumeric Scala identifier?

def 

isIdentifierStart

( c: Char ) : Boolean

Can character start an alphanumeric Scala identifier?

Can character start an alphanumeric Scala identifier?

def 

isLineBreakChar

( c: Char ) : Boolean

Is character a line break?

Is character a line break?

def 

isOperatorPart

( c: Char ) : Boolean

Can character form part of a Scala operator name?

Can character form part of a Scala operator name?

def 

isScalaLetter

( ch: Char ) : Boolean

def 

isSpecial

( c: Char ) : Boolean

Is character a math or other symbol in Unicode?

Is character a math or other symbol in Unicode?

def 

isValidJVMChar

( c: Char ) : Boolean

def 

isValidJVMMethodChar

( c: Char ) : Boolean

def 

isVarPart

( c: Char ) : Boolean

Can character form part of a doc comment variable $xxx?

Can character form part of a doc comment variable $xxx?

def 

isWhitespace

( c: Char ) : Boolean

Is character a whitespace character (but not a new line)?

Is character a whitespace character (but not a new line)?