BufferedParserInput

fastparse.BufferedParserInput

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

protected def requestUntil(until: Int): Boolean

Concrete methods

override def apply(index: Int): Char

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.

Attributes

Definition Classes
def checkTraceable(): Unit
override def dropBuffer(index: Int): Unit

Drops all elements before index not inclusive.

Drops all elements before index not inclusive.

Attributes

Definition Classes
override def innerLength: Int

Attributes

Returns:

Length of the internal buffer.

Definition Classes
override def isReachable(index: Int): Boolean

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.

Attributes

Definition Classes
override def length: Int

Attributes

Returns:

Index of the last element which buffer contains.

Definition Classes
def prettyIndex(index: Int): String
override def slice(from: Int, until: Int): String

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.

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.

Attributes

Definition Classes

Concrete fields

protected val buffer: UberBuffer
protected var firstIdx: Int