c

scala.tools.nsc.util

CharArrayReader

abstract class CharArrayReader extends CharArrayReaderData

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CharArrayReader
  2. CharArrayReaderData
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CharArrayReader()

Abstract Value Members

  1. abstract val buf: Array[Char]

Concrete Value Members

  1. val ch: Char

    the last read character

    the last read character

    Definition Classes
    CharArrayReaderData
  2. val charOffset: Int

    The offset one past the last read character

    The offset one past the last read character

    Definition Classes
    CharArrayReaderData
  3. def copyFrom(cd: CharArrayReaderData): CharArrayReader.this.type
    Definition Classes
    CharArrayReaderData
  4. def decodeUni: Boolean
  5. def isUnicodeEscape: Boolean

    Is last character a unicode escape \\uxxxx?

  6. val lastLineStartOffset: Int

    The start offset of the line before the current one

    The start offset of the line before the current one

    Definition Classes
    CharArrayReaderData
  7. val lineStartOffset: Int

    The start offset of the current line

    The start offset of the current line

    Definition Classes
    CharArrayReaderData
  8. def lookaheadReader: CharArrayLookaheadReader

    A new reader that takes off at the current character position

  9. final def nextChar(): Unit

    Advance one character; reducing CR;LF pairs to just LF

  10. final def nextRawChar(): Unit

    Advance one character, leaving CR;LF pairs intact.

    Advance one character, leaving CR;LF pairs intact. This is for use in multi-line strings, so there are no "potential line ends" here.