Packages

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])

Type Members

  1. abstract class ElemPred extends AnyRef
  2. abstract class ElemsWhile extends AnyRef
  3. type IndexedParserInput = utils.IndexedParserInput[Elem, Repr]
  4. type IteratorParserInput = utils.IteratorParserInput[Elem, Repr]
  5. type P[+T] = core.Parser[T, Elem, Repr]
  6. type P0 = core.Parser[Unit, Elem, Repr]
  7. type ParseCtx = core.ParseCtx[Elem, Repr]
  8. type ParseError = core.ParseError[Elem, Repr]
  9. type Parsed[+T] = core.Parsed[T, Elem, Repr]
  10. type Parser[+T] = core.Parser[T, Elem, Repr]
  11. type ParserInput = utils.ParserInput[Elem, Repr]

Abstract Value Members

  1. abstract val AnyElem: P0
  2. abstract def ElemIn(seqs: Seq[Elem]*): P0
  3. abstract val ElemPred: ElemPred
  4. abstract val ElemsWhile: ElemsWhile
  5. abstract def ElemsWhileIn(seqs: Seq[Elem], min: Int = 1): P0

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(p: P[_]): Lookahead[Elem, Repr]
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val End: End[Elem, Repr]
  6. val Fail: Fail[Elem, Repr]
  7. val Index: Index[Elem, Repr]
  8. val NoCut: parsers.Combinators.NoCut.type
  9. val NoTrace: parsers.Combinators.NoTrace.type
  10. def P[T](p: ⇒ Parser[T])(implicit name: Name): Parser[T]
  11. val ParseError: (Failure[Elem, Repr]) ⇒ core.ParseError[Elem, Repr]
  12. val Pass: Pass[Elem, Repr]
  13. def PassWith[T](t: T): PassWith[T, Elem, Repr]
  14. def SeqIn(seqs: Repr*): StringIn[Elem, Repr]
  15. val Start: Start[Elem, Repr]
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  23. implicit val implicitClassTag: ClassTag[Elem]
    Attributes
    protected[this]
  24. implicit val implicitElemSetHelper: ElemSetHelper[Elem]
  25. implicit val implicitOrdering: Ordering[Elem]
    Attributes
    protected[this]
  26. implicit val implicitReprOps: ReprOps[Elem, Repr]
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. object Mutable
  37. object Parsed

Inherited from AnyRef

Inherited from Any

Ungrouped