package scalap
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait Choice[-In, +Out, +A, +X] extends Rule[In, Out, A, X]
- trait DefaultMemoisable extends Memoisable
- case class Error[+X](error: X) extends NoSuccess[X] with Product with Serializable
-
class
InRule[In, +Out, +A, +X] extends AnyRef
A workaround for the difficulties of dealing with a contravariant 'In' parameter type...
- trait Memoisable extends AnyRef
- trait MemoisableRules extends Rules
- trait Name extends AnyRef
- sealed abstract class NoSuccess[+X] extends Result[Nothing, Nothing, X]
- sealed abstract class Result[+Out, +A, +X] extends AnyRef
-
trait
Rule[-In, +Out, +A, +X] extends (In) ⇒ Result[Out, A, X]
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.
-
trait
Rules extends AnyRef
A factory for rules.
- trait RulesWithState extends Rules with StateRules
- case class ScalaSigParserError(msg: String) extends RuntimeException with Product with Serializable
- class SeqRule[S, +A, +X] extends AnyRef
-
trait
StateRules extends AnyRef
A factory for rules that apply to a particular context.
- case class Success[+Out, +A](out: Out, value: A) extends Result[Out, A, Nothing] with Product with Serializable
-
case class
~[+A, +B](_1: A, _2: B) extends Product with Serializable
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
- object ByteCodecs
- object DefaultMemoisable
- object Failure extends NoSuccess[Nothing] with Product with Serializable
- object Main