Scanner
Scanner
is essentially¹ a parser that produces Token
s from a stream of characters. The tokens it produces are typically passed to parsers in TokenParsers
.
Attributes
- Note
-
¹
Scanner
is really aReader
ofToken
s - Graph
-
- Supertypes
Members list
Value members
Concrete methods
true
iff there are no more elements in this reader.
true
iff there are no more elements in this reader.
Attributes
Returns the first element of the reader
Returns the first element of the reader
Attributes
The position of the first element in the reader.
The position of the first element in the reader.
Attributes
Returns an abstract reader consisting of all elements except the first
Returns an abstract reader consisting of all elements except the first
Attributes
- Returns
-
If
atEnd
istrue
, the result will bethis
; otherwise, it's aReader
containing more elements.
If this is a reader over character sequences, the underlying char sequence. If not, throws a NoSuchMethodError
exception.
If this is a reader over character sequences, the underlying char sequence. If not, throws a NoSuchMethodError
exception.
Attributes
- Throws
-
[[java.lang.NoSuchMethodError]]
if this not a char sequence reader.
- Definition Classes