Package

ceedubs.irrec

regex

Permalink

package regex

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. regex
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Cont[+A] extends Product with Serializable

    Permalink
  2. sealed abstract class Greediness extends Product with Serializable

    Permalink
  3. sealed abstract class Match[A] extends Product with Serializable

    Permalink
  4. final case class ParseState[In, A](queue: StateQueue[Thread[In, A]]) extends AnyVal with Product with Serializable

    Permalink
  5. sealed abstract class Quantifier extends Product with Serializable

    Permalink
  6. sealed abstract class Regex[-In, +M, Out] extends Serializable

    Permalink

    A generalized representation of a regular expression.

    A generalized representation of a regular expression.

    This code was ported (with minor modifications) from https://hackage.haskell.org/package/regex-applicative

    In

    the type of each element in the input. For a traditional regular expression, this would be Char.

    M

    metadata associated with each ceedubs.irrec.regex.Regex.Elem instance. This could be String to attach a name to elems. More commonly, it is something like ceedubs.irrec.regex.Match with a Char type parameter.

    Out

    the output produced by a regular expression if the input matches. Additional useful methods are added via syntax enrichment with ceedubs.irrec.regex.RegexOps and ceedubs.irrec.regex.RegexCOps.

  7. type RegexC[Out] = Regex[Char, Match[Char], Out]

    Permalink
  8. final class RegexCOps[Out] extends AnyVal

    Permalink
  9. type RegexM[In, Out] = Regex[In, Match[In], Out]

    Permalink
  10. final class RegexOps[In, M, Out] extends AnyVal

    Permalink
  11. final case class StateQueue[A](reversedElements: List[A], ids: Set[Int]) extends Product with Serializable

    Permalink
  12. sealed abstract class Thread[In, A] extends Product with Serializable

    Permalink
  13. final case class ThreadId(asInt: Int) extends AnyVal with Product with Serializable

    Permalink

Value Members

  1. object CharacterClasses

    Permalink
  2. object Cont extends Serializable

    Permalink
  3. object Greediness extends Serializable

    Permalink
  4. object Match extends Serializable

    Permalink
  5. object ParseState extends Serializable

    Permalink
  6. object Quantifier extends Serializable

    Permalink
  7. object Regex extends Serializable

    Permalink
  8. object RegexPrettyPrinter

    Permalink
  9. object StateQueue extends Serializable

    Permalink
  10. object Thread extends Serializable

    Permalink
  11. object char

    Permalink
  12. object combinator

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped