case class ReaderParserInput(data: Reader, bufferSize: Int) extends ParserInput with BufferedParserInput with Product with Serializable
A ParserInput that pulls data from a given java.io.Reader. Typically
not used alone, and instead is used as part of a ParserInputSource.FromReadable
- Alphabetic
- By Inheritance
- ReaderParserInput
- Serializable
- Serializable
- Product
- Equals
- BufferedParserInput
- ParserInput
- IsReachable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ReaderParserInput(data: Reader, bufferSize: Int)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(index: Int): Char
Requests batches until given
indexand in case of success returns needed element.Requests batches until given
indexand in case of success returns needed element.- Definition Classes
- BufferedParserInput → ParserInput → IsReachable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
buffer: UberBuffer
- Attributes
- protected
- Definition Classes
- BufferedParserInput
- val bufferSize: Int
-
def
checkTraceable(): Nothing
- Definition Classes
- BufferedParserInput → ParserInput
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- val data: Reader
-
def
dropBuffer(index: Int): Unit
Drops all elements before index not inclusive.
Drops all elements before index not inclusive.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
firstIdx: Int
- Attributes
- protected
- Definition Classes
- BufferedParserInput
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
innerLength: Int
- returns
Length of the internal buffer.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isReachable(index: Int): Boolean
Requests batches until index of last retrieved element is less than
indexand, when it's possible, returns true, otherwise false.Requests batches until index of last retrieved element is less than
indexand, when it's possible, returns true, otherwise false.- Definition Classes
- BufferedParserInput → ParserInput → IsReachable
-
def
length: Int
- returns
Index of the last element which buffer contains.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
prettyIndex(index: Int): String
- Definition Classes
- BufferedParserInput → ParserInput
-
def
requestUntil(until: Int): Boolean
- Attributes
- protected
- Definition Classes
- ReaderParserInput → BufferedParserInput
-
def
slice(from: Int, until: Int): String
Also requests batches to the
until.Also requests batches to the
until. If the current buffer is too small to provide some part of data afterfrombound, lower bound of slice is cut to the minimum offromand first index of accessible element in the buffer.- returns
Slice of internal data. For
IndexedSeqmode it works as regular slice, ifuntilovershoots the end of input, it just ignores it and behaves likeuntilequals to the length of input. Same forIteratormode, but it requests batches while the index of last retrieved element is less thanuntiland ifuntilis farther away than any element, it ignores this too.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )