true iff there are no more elements in this reader
Returns an abstract reader consisting of all elements except the first
n
elements
Returns the first element of the reader
The position of the first element in the reader
Returns an abstract reader consisting of all elements except the first
If this is a reader over character sequences, the underlying char sequence
If not, throws a NoSuchMethodError
exception
Convenience constructor (makes a character reader out of the given string)
Scanner
is essentially(*) a parser that producesToken's from a stream of characters. The tokens it produces are typically passed to parsers in
TokenParsers
.Note: (*)
Reader' ofScanner
is really aToken's