class Choice[T, E] extends Parsec[T, E]

Choice just the operator <|> in Haskell parsec

Version

1.0.0

Linear Supertypes
Parsec[T, E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Choice
  2. Parsec
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Choice(parsecs: Seq[Parsec[T, E]])

Value Members

  1. def !(s: State[E]): T
    Definition Classes
    Parsec
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: scala.Int
    Definition Classes
    AnyRef → Any
  4. def <?>(message: String): Parsec[T, E]
    Definition Classes
    Parsec
  5. def <|>(parsec: Parsec[T, E]): Parsec[T, E]
    Definition Classes
    Parsec
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def >>[O](p: Parsec[O, E]): Parsec[O, E]
    Definition Classes
    Parsec
  8. def >>=[O](binder: (T) => Parsec[O, E]): Parsec[O, E]
    Definition Classes
    Parsec
  9. def ?(content: Seq[E]): Either[Exception, T]
    Definition Classes
    Parsec
  10. def ?(s: State[E]): Either[Exception, T]
    Definition Classes
    Parsec
  11. def apply(s: State[E]): T
    Definition Classes
    Parsec
    Annotations
    @throws(scala.this.throws.<init>$default$1[java.io.EOFException]) @throws(scala.this.throws.<init>$default$1[jaskell.parsec.ParsecException])
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def ask(s: State[E]): Either[Exception, T]
    Definition Classes
    ChoiceParsec
  14. def ask(s: Seq[E]): Either[Exception, T]
    Definition Classes
    Parsec
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): scala.Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def opt(s: State[E]): Option[T]
    Definition Classes
    Parsec
  25. def parse(s: State[E]): T
    Definition Classes
    Parsec
  26. val parsecs: Seq[Parsec[T, E]]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: scala.Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Parsec[T, E]

Inherited from AnyRef

Inherited from Any

Ungrouped