Package

scala.meta.internal.fastparse

utils

Permalink

package utils

Visibility
  1. Public
  2. All

Type Members

  1. trait ElemSetHelper[Elem] extends AnyRef

    Permalink
  2. abstract class Generator[Elem] extends AnyRef

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

    Permalink
  4. case class IteratorParserInput[Elem, Repr](data: Iterator[Repr])(implicit repr: ReprOps[Elem, Repr], converter: ReprOps[Elem, Repr], ct: ClassTag[Elem]) extends ParserInput[Elem, Repr] with Product with Serializable

    Permalink

    Contains buffer - queue of elements that extends from given iterator when particular elements are requested; and shrinks by calling dropBuffer method.

    Contains buffer - queue of elements that extends from given iterator when particular elements are requested; and shrinks by calling dropBuffer method.

    Generally, at any specific time this buffer contains "suffix" of given iterator, e.g. some piece of data from past calls of next, which extends by requesting new batches from iterator. Therefore we can denote the same notation of indices as for regular Array or more abstract IndexedSeq. The only difference is when index doesn't fit into the bounds of current buffer either the new batches are requested to extend the buffer, either it's inaccessible at all, so calling of dropBuffer should guarantee that there won't be any attempts to access to the elements in dropped part of input.

  5. abstract class ParserInput[Elem, Repr] extends IsReachable[Elem]

    Permalink

    ParserInput class represents data that is needed to parse.

    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.

  6. abstract class ReprOps[Elem, Repr] extends AnyRef

    Permalink

    Encapsulates all the common operations on each Elem and Repr that FastParse needs to perform it's core functionality.

    Encapsulates all the common operations on each Elem and Repr that FastParse needs to perform it's core functionality. This is provided separately, in order to avoid converting every possible input into a lowest-common-denominator type (e.g. IndexedSeq[Elem]) to avoid unnecessarily paying conversion-costs and copying the input.

  7. class UberBuffer[T] extends AnyRef

    Permalink

    A very fast circular, growable read-write byte buffer.

Value Members

  1. object Base64

    Permalink

    Base64 encoder

  2. object Compat

    Permalink
  3. object ElemSetHelper

    Permalink
  4. object Generator

    Permalink
  5. object MacroUtils

    Permalink
  6. object Utils

    Permalink

Ungrouped