sbt.complete

RichParser

sealed trait RichParser[A] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RichParser
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def !!!(msg: String): Parser[A]

    Uses the specified message if the original Parser fails.

  2. abstract def &(o: sbt.complete.Parser[_]): Parser[A]

  3. abstract def *: Parser[Seq[A]]

    Produces a Parser that applies the original Parser zero or more times.

  4. abstract def +: Parser[Seq[A]]

    Produces a Parser that applies the original Parser one or more times.

  5. abstract def -(o: sbt.complete.Parser[_]): Parser[A]

  6. abstract def <~[B](b: Parser[B]): Parser[A]

  7. abstract def ?: Parser[Option[A]]

    Produces a Parser that applies the original Parser zero or one times.

  8. abstract def ??[B >: A](alt: B): Parser[B]

  9. abstract def ^^^[B](value: B): Parser[B]

  10. abstract def examples(s: Set[String], check: Boolean = false): Parser[A]

    Explicitly defines the completions for the original Parser.

  11. abstract def examples(s: String*): Parser[A]

    Explicitly defines the completions for the original Parser.

  12. abstract def filter(f: (A) ⇒ Boolean, msg: (String) ⇒ String): Parser[A]

    Produces a Parser that filters the original parser.

    Produces a Parser that filters the original parser. If 'f' is not true when applied to the output of the original parser, the Parser returned by this method fails.

  13. abstract def flatMap[B](f: (A) ⇒ Parser[B]): Parser[B]

  14. abstract def id: Parser[A]

    Returns the original parser.

    Returns the original parser. This is useful for converting literals to Parsers. For example, 'c'.id or "asdf".id

  15. abstract def map[B](f: (A) ⇒ B): Parser[B]

    Produces a Parser that applies the original Parser to the input and then applies f to the result.

  16. abstract def string(implicit ev: <:<[A, Seq[Char]]): Parser[String]

    Converts a Parser returning a Char sequence to a Parser returning a String.

  17. abstract def unary_-: Parser[Unit]

  18. abstract def |[B >: A](b: Parser[B]): Parser[B]

    Produces a Parser that applies either the original Parser or b.

  19. abstract def ||[B](b: Parser[B]): Parser[Either[A, B]]

    Produces a Parser that applies either the original Parser or b.

  20. abstract def ~[B](next: Parser[B]): Parser[(A, B)]

    Produces a Parser that applies the original Parser and then applies next (in order).

  21. abstract def ~>[B](b: Parser[B]): Parser[B]

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any