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
- Alphabetic
- By Inheritance
- Api
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Api(ct: ClassTag[Elem], elemSetHelper: ElemSetHelper[Elem], reprOps: ReprOps[Elem, Repr], ordering: Ordering[Elem])
Type Members
- abstract class ElemPred extends AnyRef
- abstract class ElemsWhile extends AnyRef
- type IndexedParserInput = utils.IndexedParserInput[Elem, Repr]
- type IteratorParserInput = utils.IteratorParserInput[Elem, Repr]
- type P[+T] = core.Parser[T, Elem, Repr]
- type P0 = core.Parser[Unit, Elem, Repr]
- type ParseCtx = core.ParseCtx[Elem, Repr]
- type ParseError = core.ParseError[Elem, Repr]
- type Parsed[+T] = core.Parsed[T, Elem, Repr]
- type Parser[+T] = core.Parser[T, Elem, Repr]
- type ParserInput = utils.ParserInput[Elem, Repr]
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def &(p: P[_]): Lookahead[Elem, Repr]
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val End: End[Elem, Repr]
- val Fail: Fail[Elem, Repr]
- val Index: Index[Elem, Repr]
- val NoCut: parsers.Combinators.NoCut.type
- val NoTrace: parsers.Combinators.NoTrace.type
- def P[T](p: ⇒ Parser[T])(implicit name: Name): Parser[T]
- val ParseError: (Failure[Elem, Repr]) ⇒ core.ParseError[Elem, Repr]
- val Pass: Pass[Elem, Repr]
- def PassWith[T](t: T): PassWith[T, Elem, Repr]
- def SeqIn(seqs: Repr*): StringIn[Elem, Repr]
- val Start: Start[Elem, Repr]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
implicit
val
implicitClassTag: ClassTag[Elem]
- Attributes
- protected[this]
- implicit val implicitElemSetHelper: ElemSetHelper[Elem]
-
implicit
val
implicitOrdering: Ordering[Elem]
- Attributes
- protected[this]
- implicit val implicitReprOps: ReprOps[Elem, Repr]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Mutable
- object Parsed