IndexedParserInput

fastparse.IndexedParserInput
case class IndexedParserInput(data: String) extends ParserInput

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def apply(index: Int): Char

Attributes

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

As for IndexedSeq mode dropBuffer does nothing.

As for IndexedSeq mode dropBuffer does nothing.

Attributes

Definition Classes
override def innerLength: Int

Attributes

Returns:

Length of internal immutable data. It works equally as length.

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

Simple condition of index < length

Simple condition of index < length

Attributes

Definition Classes
override def length: Int

Attributes

Returns:

Length of internal immutable data. It works equally as innerLength.

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

Attributes

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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product