Packages

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. Protected

Package Members

  1. package gen

Type Members

  1. sealed abstract class Cont[+A] extends Product with Serializable
  2. sealed abstract class Greediness extends Product with Serializable
  3. sealed abstract class Match[A] extends Product with Serializable
  4. final case class ParseState[In, A](queue: StateQueue[Thread[In, A]]) extends AnyVal with Product with Serializable
  5. sealed abstract class Quantifier extends Product with Serializable
  6. sealed abstract class Regex[-In, +M, Out] extends Serializable

    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]
  8. final class RegexCOps[Out] extends AnyVal
  9. type RegexM[In, Out] = Regex[In, Match[In], Out]
  10. final class RegexOps[In, M, Out] extends AnyVal
  11. final case class StateQueue[A](reversedElements: List[A], ids: Set[Int]) extends Product with Serializable
  12. sealed abstract class Thread[In, A] extends Product with Serializable
  13. final case class ThreadId(asInt: Int) extends AnyVal with Product with Serializable

Value Members

  1. object CharacterClasses
  2. object Cont extends Serializable
  3. object Greediness extends Serializable
  4. object Match extends Serializable
  5. object ParseState extends Serializable
  6. object Quantifier extends Serializable
  7. object Regex extends Serializable
  8. object RegexPrettyPrinter
  9. object StateQueue extends Serializable
  10. object Thread extends Serializable
  11. object char
  12. object combinator

Inherited from AnyRef

Inherited from Any

Ungrouped