Class

fastparse

ReaderParserInput

Related Doc: package fastparse

Permalink

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

Linear Supertypes
Serializable, Serializable, Product, Equals, BufferedParserInput, ParserInput, IsReachable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReaderParserInput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BufferedParserInput
  7. ParserInput
  8. IsReachable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReaderParserInput(data: Reader, bufferSize: Int)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(index: Int): Char

    Permalink

    Requests batches until given index and in case of success returns needed element.

    Requests batches until given index and in case of success returns needed element.

    Definition Classes
    BufferedParserInputParserInputIsReachable
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val buffer: UberBuffer

    Permalink
    Attributes
    protected
    Definition Classes
    BufferedParserInput
  7. val bufferSize: Int

    Permalink
  8. def checkTraceable(): Nothing

    Permalink
    Definition Classes
    BufferedParserInputParserInput
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val data: Reader

    Permalink
  11. def dropBuffer(index: Int): Unit

    Permalink

    Drops all elements before index not inclusive.

    Drops all elements before index not inclusive.

    Definition Classes
    BufferedParserInputParserInput
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. var firstIdx: Int

    Permalink
    Attributes
    protected
    Definition Classes
    BufferedParserInput
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def innerLength: Int

    Permalink

    returns

    Length of the internal buffer.

    Definition Classes
    BufferedParserInputParserInput
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isReachable(index: Int): Boolean

    Permalink

    Requests batches until index of last retrieved element is less than index and, when it's possible, returns true, otherwise false.

    Requests batches until index of last retrieved element is less than index and, when it's possible, returns true, otherwise false.

    Definition Classes
    BufferedParserInputParserInputIsReachable
  19. def length: Int

    Permalink

    returns

    Index of the last element which buffer contains.

    Definition Classes
    BufferedParserInputParserInput
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def prettyIndex(index: Int): String

    Permalink
    Definition Classes
    BufferedParserInputParserInput
  24. def requestUntil(until: Int): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ReaderParserInputBufferedParserInput
  25. def slice(from: Int, until: Int): String

    Permalink

    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 after from bound, lower bound of slice is cut to the minimum of from and first index of accessible element in the buffer.

    returns

    Slice of internal data. For IndexedSeq mode it works as regular slice, if until overshoots the end of input, it just ignores it and behaves like until equals to the length of input. Same for Iterator mode, but it requests batches while the index of last retrieved element is less than until and if until is farther away than any element, it ignores this too.

    Definition Classes
    BufferedParserInputParserInput
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BufferedParserInput

Inherited from ParserInput

Inherited from IsReachable

Inherited from AnyRef

Inherited from Any

Ungrouped