Reader

abstract class Reader[+T]
An interface for streams of values that have positions.
class Object
trait Matchable
class Any

Value members

Methods

def source: CharSequence
If this is a reader over character sequences, the underlying char sequence.
If not, throws a NoSuchMethodError exception.
Throws
[[java.lang.NoSuchMethodError]]
[[java.lang.NoSuchMethodError]]
def offset: Int
def first: T
Returns the first element of the reader
def rest: Reader[T]
Returns an abstract reader consisting of all elements except the first
Returns
If atEnd is true, the result will be this;
otherwise, it's a Reader containing more elements.
def drop(n: Int): Reader[T]
Returns an abstract reader consisting of all elements except the first n elements.
The position of the first element in the reader.
def atEnd: Boolean
true iff there are no more elements in this reader.