Convenience constructor (makes a character reader out of the given string)
true
iff there are no more elements in this reader.
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.
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.
Scanner
is essentially¹ a parser that producesToken
s from a stream of characters. The tokens it produces are typically passed to parsers inTokenParsers
.¹
Scanner
is really aReader
ofToken
s