fastparse

Api

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Type Members

  1. type IndexedParserInput = utils.IndexedParserInput[Elem, Repr]

  2. type IteratorParserInput = utils.IteratorParserInput[Elem, Repr]

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

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

  5. type ParseCtx = core.ParseCtx[Elem, Repr]

  6. type ParseError = core.ParseError[Elem, Repr]

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

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

  9. type ParserInput = utils.ParserInput[Elem, Repr]

Abstract Value Members

  1. abstract val AnyElem: P0

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

  3. abstract def ElemPred(pred: (Elem) ⇒ Boolean): P0

  4. abstract def ElemsWhile(pred: (Elem) ⇒ Boolean, min: Int = 1): P0

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. val End: End[Elem, Repr]

  8. val Fail: Fail[Elem, Repr]

  9. val Index: Index[Elem, Repr]

  10. object Mutable

  11. val NoCut: parsers.Combinators.NoCut.type

  12. val NoTrace: parsers.Combinators.NoTrace.type

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

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

  15. object Parsed

  16. val Pass: Pass[Elem, Repr]

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

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

  19. val Start: Start[Elem, Repr]

  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def clone(): AnyRef

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

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

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

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

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

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

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

  29. implicit val implicitOrdering: Ordering[Elem]

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

  31. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped