class PagedSeqReader extends Reader[Char]

A character array reader reads a stream of characters (keeping track of their positions) from an array.

Self Type
PagedSeqReader
Source
PagedSeqReader.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PagedSeqReader
  2. Reader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PagedSeqReader(seq: PagedSeq[Char])

    Construct a PagedSeqReader with its first element at source(0) and position (1,1).

  2. new PagedSeqReader(seq: PagedSeq[Char], offset: Int)

    seq

    the source sequence

    offset

    starting offset.

Value Members

  1. def atEnd: Boolean

    true iff there are no more elements in this reader (except for trailing EofCh's).

    true iff there are no more elements in this reader (except for trailing EofCh's).

    Definition Classes
    PagedSeqReaderReader
  2. def drop(n: Int): PagedSeqReader

    Returns an abstract reader consisting of all elements except the first n elements.

    Returns an abstract reader consisting of all elements except the first n elements.

    Definition Classes
    PagedSeqReaderReader
  3. def first: Char

    Returns the first element of the reader, or EofCh if reader is at its end

    Returns the first element of the reader, or EofCh if reader is at its end

    Definition Classes
    PagedSeqReaderReader
  4. val offset: Int
    Definition Classes
    PagedSeqReaderReader
  5. def pos: Position

    The position of the first element in the reader.

    The position of the first element in the reader.

    Definition Classes
    PagedSeqReaderReader
  6. def rest: PagedSeqReader

    Returns a PagedSeqReader consisting of all elements except the first

    Returns a PagedSeqReader consisting of all elements except the first

    returns

    If atEnd is true, the result will be this; otherwise, it's a PagedSeqReader containing the rest of input.

    Definition Classes
    PagedSeqReaderReader
  7. val source: CharSequence
    Definition Classes
    PagedSeqReaderReader