Package

com.codahale.jerkson.util.scalax

rules

Permalink

package rules

Visibility
  1. Public
  2. All

Type Members

  1. trait Choice[-In, +Out, +A, +X] extends Rule[In, Out, A, X]

    Permalink
  2. trait DefaultMemoisable extends Memoisable

    Permalink
  3. case class Error[+X](error: X) extends NoSuccess[X] with Product with Serializable

    Permalink
  4. class InRule[In, +Out, +A, +X] extends AnyRef

    Permalink

    A workaround for the difficulties of dealing with a contravariant 'In' parameter type...

  5. trait Memoisable extends AnyRef

    Permalink
  6. trait MemoisableRules extends Rules

    Permalink
  7. trait Name extends AnyRef

    Permalink
  8. sealed abstract class NoSuccess[+X] extends Result[Nothing, Nothing, X]

    Permalink
  9. sealed abstract class Result[+Out, +A, +X] extends AnyRef

    Permalink
  10. trait Rule[-In, +Out, +A, +X] extends (In) ⇒ Result[Out, A, X]

    Permalink

    A Rule is a function from some input to a Result.

    A Rule is a function from some input to a Result. The result may be:

    • Success, with a value of some type and an output that may serve as the input to subsequent rules.
    • Failure. A failure may result in some alternative rule being applied.
    • Error. No further rules should be attempted.
  11. trait Rules extends AnyRef

    Permalink

    A factory for rules.

  12. trait RulesWithState extends Rules with StateRules

    Permalink
  13. case class ScalaSigParserError(msg: String) extends RuntimeException with Product with Serializable

    Permalink
  14. class SeqRule[S, +A, +X] extends AnyRef

    Permalink
  15. trait StateRules extends AnyRef

    Permalink

    A factory for rules that apply to a particular context.

  16. case class Success[+Out, +A](out: Out, value: A) extends Result[Out, A, Nothing] with Product with Serializable

    Permalink
  17. case class ~[+A, +B](_1: A, _2: B) extends Product with Serializable

    Permalink

    Represents the combined value of two rules applied in sequence.

    Represents the combined value of two rules applied in sequence.

    See also

    the Scala parser combinator

Value Members

  1. object DefaultMemoisable

    Permalink
  2. object Failure extends NoSuccess[Nothing] with Product with Serializable

    Permalink
  3. package scalasig

    Permalink

Ungrouped