Class

scala.meta.internal.fastparse.utils

IndexedParserInput

Related Doc: package utils

Permalink

case class IndexedParserInput[Elem, Repr](data: Repr)(implicit repr: ReprOps[Elem, Repr]) extends ParserInput[Elem, Repr] with Product with Serializable

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, ParserInput[Elem, Repr], IsReachable[Elem], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexedParserInput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ParserInput
  7. IsReachable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexedParserInput(data: Repr)(implicit repr: ReprOps[Elem, Repr])

    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): Elem

    Permalink
    Definition Classes
    IndexedParserInputParserInputIsReachable
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def checkTraceable(): Unit

    Permalink
    Definition Classes
    IndexedParserInputParserInput
  7. def clone(): AnyRef

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

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

    Permalink

    As for IndexedSeq mode dropBuffer does nothing.

    As for IndexedSeq mode dropBuffer does nothing.

    Definition Classes
    IndexedParserInputParserInput
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Permalink

    returns

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

    Definition Classes
    IndexedParserInputParserInput
  14. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Simple condition of index < length

    Simple condition of index < length

    Definition Classes
    IndexedParserInputParserInputIsReachable
  16. def length: Int

    Permalink

    returns

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

    Definition Classes
    IndexedParserInputParserInput
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. implicit val repr: ReprOps[Elem, Repr]

    Permalink
    Definition Classes
    IndexedParserInputParserInput
  21. def slice(from: Int, until: Int): Repr

    Permalink

    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
    IndexedParserInputParserInput
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from ParserInput[Elem, Repr]

Inherited from IsReachable[Elem]

Inherited from AnyRef

Inherited from Any

Ungrouped