|
Scala Library
|
|
scala/util/parsing/input/Reader.scala]
abstract
class
Reader[+T]
extends AnyRef| Method Summary | |
abstract def
|
atEnd
: Boolean
true iff there are no more elements in this reader
|
def
|
drop
(n : Int) : Reader[T]
Returns an abstract reader consisting of all elements except the first
n elements. |
abstract def
|
first
: T
Returns the first element of the reader
|
def
|
offset : Int |
abstract def
|
pos
: Position
The position of the first element in the reader
|
abstract def
|
rest
: Reader[T]
Returns an abstract reader consisting of all elements except the first
|
def
|
source
: java.lang.CharSequence
If this is a reader over character sequences, the underlying char sequence
If not, throws a
NoSuchMethodError exception. |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
def
source : java.lang.CharSequence
NoSuchMethodError exception.
def
offset : Int
abstract
def
first : T
atEnd is true, the result will be this'; otherwise, it's a Reader containing
more elements.n elements.abstract
def
pos : Position
abstract
def
atEnd : Boolean
|
Scala Library
|
|