Class

scala.meta.internal.fastparse

Api

Related Doc: package fastparse

Permalink

abstract class Api[Elem, Repr] extends AnyRef

This is basically a trait which contains the "public" API to fastparse packages.

It aliases all the different parsers available in fastparse.parsers.*, as well as many of the other useful types such as Mutable and Parsed and ParserInput, and fixes their type-parameters to [Elem, Repr], so that anyone who uses the aliases defined here will not need to worry about filling in these type parameters every time they want to use it.

If someone wants to write a parser that works on both bytes and strings, they still have the option of using the "raw" types and doing that, but most people shouldn't need to bother.

Also provides the implicits necessary for people who want to construct their own parsers, in the cases where we couldn't provide the implicit directly, e.g. for people defining their own subclass of Parser

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Api
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Api(ct: ClassTag[Elem], elemSetHelper: ElemSetHelper[Elem], reprOps: ReprOps[Elem, Repr], ordering: Ordering[Elem])

    Permalink

Type Members

  1. abstract class ElemPred extends AnyRef

    Permalink
  2. abstract class ElemsWhile extends AnyRef

    Permalink
  3. type IndexedParserInput = utils.IndexedParserInput[Elem, Repr]

    Permalink
  4. type IteratorParserInput = utils.IteratorParserInput[Elem, Repr]

    Permalink
  5. type P[+T] = core.Parser[T, Elem, Repr]

    Permalink
  6. type P0 = core.Parser[Unit, Elem, Repr]

    Permalink
  7. type ParseCtx = core.ParseCtx[Elem, Repr]

    Permalink
  8. type ParseError = core.ParseError[Elem, Repr]

    Permalink
  9. type Parsed[+T] = core.Parsed[T, Elem, Repr]

    Permalink
  10. type Parser[+T] = core.Parser[T, Elem, Repr]

    Permalink
  11. type ParserInput = utils.ParserInput[Elem, Repr]

    Permalink

Abstract Value Members

  1. abstract val AnyElem: P0

    Permalink
  2. abstract def ElemIn(seqs: Seq[Elem]*): P0

    Permalink
  3. abstract val ElemPred: ElemPred

    Permalink
  4. abstract val ElemsWhile: ElemsWhile

    Permalink
  5. abstract def ElemsWhileIn(seqs: Seq[Elem], min: Int = 1): P0

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(p: P[_]): Lookahead[Elem, Repr]

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val End: End[Elem, Repr]

    Permalink
  6. val Fail: Fail[Elem, Repr]

    Permalink
  7. val Index: Index[Elem, Repr]

    Permalink
  8. object Mutable

    Permalink
  9. val NoCut: parsers.Combinators.NoCut.type

    Permalink
  10. val NoTrace: parsers.Combinators.NoTrace.type

    Permalink
  11. def P[T](p: ⇒ Parser[T])(implicit name: Name): Parser[T]

    Permalink
  12. val ParseError: (Failure[Elem, Repr]) ⇒ core.ParseError[Elem, Repr]

    Permalink
  13. object Parsed

    Permalink
  14. val Pass: Pass[Elem, Repr]

    Permalink
  15. def PassWith[T](t: T): PassWith[T, Elem, Repr]

    Permalink
  16. def SeqIn(seqs: Repr*): StringIn[Elem, Repr]

    Permalink
  17. val Start: Start[Elem, Repr]

    Permalink
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. implicit val implicitClassTag: ClassTag[Elem]

    Permalink
    Attributes
    protected[this]
  26. implicit val implicitElemSetHelper: ElemSetHelper[Elem]

    Permalink
  27. implicit val implicitOrdering: Ordering[Elem]

    Permalink
    Attributes
    protected[this]
  28. implicit val implicitReprOps: ReprOps[Elem, Repr]

    Permalink
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped