class CharArrayReader extends CharSequenceReader
A character array reader reads a stream of characters (keeping track of their positions) from an array.
- Source
- CharArrayReader.scala
- Alphabetic
- By Inheritance
- CharArrayReader
- CharSequenceReader
- Reader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
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
- CharSequenceReader → Reader
-
def
drop(n: Int): CharSequenceReader
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
- CharSequenceReader → Reader
-
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
- CharSequenceReader → Reader
-
val
offset: Int
- Definition Classes
- CharSequenceReader → Reader
-
def
pos: Position
The position of the first element in the reader.
The position of the first element in the reader.
- Definition Classes
- CharSequenceReader → Reader
-
def
rest: CharSequenceReader
Returns a CharSequenceReader consisting of all elements except the first.
Returns a CharSequenceReader consisting of all elements except the first.
- returns
If
atEnd
istrue
, the result will bethis
; otherwise, it's aCharSequenceReader
containing the rest of input.
- Definition Classes
- CharSequenceReader → Reader
-
val
source: CharSequence
- Definition Classes
- CharSequenceReader → Reader