class CharArrayReader

[source: scala/util/parsing/input/CharArrayReader.scala]

class CharArrayReader(chars : Array[Char], index : Int)
extends CharSequenceReader
A character array reader reads a stream of characters (keeping track of their positions) from an array.
source - an array of characters
index - starting offset into the array; the first element returned will be `source(index)'
line - the line number of the first element (counting from index `0' of `source')
column - the column number of the first element (counting from index `0' of `source')
Martin Odersky, Adriaan Moors
Additional Constructor Summary
def this (chars : Array[Char]) : CharArrayReader
Values and Variables inherited from CharSequenceReader
source, offset
Methods inherited from CharSequenceReader
first, rest, pos, atEnd, drop
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Additional Constructor Details
def this(chars : Array[Char]) : CharArrayReader