Packages

c

scala.tools.nsc.util.CharArrayReader

CharArrayLookaheadReader

class CharArrayLookaheadReader extends CharArrayReader

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CharArrayLookaheadReader
  2. CharArrayReader
  3. CharArrayReaderData
  4. AnyRef
  5. 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 CharArrayLookaheadReader()

Type Members

  1. class CharArrayLookaheadReader extends CharArrayReader
    Definition Classes
    CharArrayReader

Value Members

  1. val buf: Array[Char]
  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): CharArrayLookaheadReader.this.type
    Definition Classes
    CharArrayReaderData
  5. def decodeUni: Boolean
  6. def error(offset: Int, msg: String): Unit

    An error routine to call on bad unicode escapes \\uxxxx.

    An error routine to call on bad unicode escapes \\uxxxx.

    Definition Classes
    CharArrayLookaheadReaderCharArrayReader
  7. def getc(): Char

    A mystery why CharArrayReader.nextChar() returns Unit

  8. def getu(): Char
  9. def isUnicodeEscape: Boolean

    Is last character a unicode escape \\uxxxx?

    Is last character a unicode escape \\uxxxx?

    Definition Classes
    CharArrayReader
  10. 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
  11. val lineStartOffset: Int

    The start offset of the current line

    The start offset of the current line

    Definition Classes
    CharArrayReaderData
  12. def lookaheadReader: CharArrayLookaheadReader

    A new reader that takes off at the current character position

    A new reader that takes off at the current character position

    Definition Classes
    CharArrayReader
  13. final def nextChar(): Unit

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

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

    Definition Classes
    CharArrayReader
  14. 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.

    Definition Classes
    CharArrayReader