Packages

object StringContext extends Serializable

Source
StringContext.scala
Linear Supertypes
Serializable, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringContext
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class InvalidEscapeException extends IllegalArgumentException

    An exception that is thrown if a string contains a backslash (\) character that does not start a valid escape sequence.

Value Members

  1. def processEscapes(str: String): String

    Treats escapes, but disallows octal escape sequences.

  2. def treatEscapes(str: String): String

    Expands standard Scala escape sequences in a string.

    Expands standard Scala escape sequences in a string. Escape sequences are: control: \b, \t, \n, \f, \r escape: \\, \", \' octal: \d \dd \ddd where d is an octal digit between 0 and 7.

    str

    A string that may contain escape sequences

    returns

    The string with all escape sequences expanded.