c

scala.tools.nsc.util

CharArrayReader

abstract class CharArrayReader extends CharArrayReaderData

Self Type
CharArrayReader
Source
CharArrayReader.scala
Linear Supertypes
Type Hierarchy
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. Protected

Instance Constructors

  1. new CharArrayReader()

Type Members

  1. class CharArrayLookaheadReader extends CharArrayReader

Abstract Value Members

  1. abstract val buf: Array[Char]

Concrete Value Members

  1. val bidiChars: ListBuffer[(Int, Int)]
  2. val ch: Char

    the last read character

    the last read character

    Definition Classes
    CharArrayReaderData
  3. val charOffset: Int

    The offset one past the last read character

    The offset one past the last read character

    Definition Classes
    CharArrayReaderData
  4. def copyFrom(cd: CharArrayReaderData): CharArrayReader.this.type
    Definition Classes
    CharArrayReaderData
  5. 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
  6. val lineStartOffset: Int

    The start offset of the current line

    The start offset of the current line

    Definition Classes
    CharArrayReaderData
  7. def lookaheadReader: CharArrayLookaheadReader

    A new reader that takes off at the current character position

  8. final def nextChar(): Unit

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

  9. 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.