abstract class ParserInput[Elem, Repr] extends IsReachable[Elem]
ParserInput class represents data that is needed to parse.
It can be regular IndexedSeq that behaves as simple array or
Iterator of IndexedSeq batches which is optimized by dropBuffer method.
- Alphabetic
- By Inheritance
- ParserInput
- IsReachable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ParserInput()
Abstract Value Members
- abstract def apply(index: Int): Elem
- Definition Classes
- ParserInput → IsReachable
- abstract def checkTraceable(): Unit
- abstract def dropBuffer(index: Int): Unit
Special method for
Iteratormode.Special method for
Iteratormode. It drops the prefix of the internal buffer so that all the data strictly before becomes unavailable andindexis the first valid element to access. - abstract def innerLength: Int
- abstract def isReachable(index: Int): Boolean
Shows if we can access to the element at given
index.Shows if we can access to the element at given
index.- Definition Classes
- ParserInput → IsReachable
- abstract def length: Int
- abstract val repr: ReprOps[Elem, Repr]
- abstract def slice(from: Int, until: Int): Repr
- 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.
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()