package regex
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- regex
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed abstract class Cont[+A] extends Product with Serializable
- sealed abstract class Greediness extends Product with Serializable
- sealed abstract class Match[A] extends Product with Serializable
- final case class ParseState[In, A](queue: StateQueue[Thread[In, A]]) extends AnyVal with Product with Serializable
- sealed abstract class Quantifier extends Product with Serializable
- 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 aChar
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.
- type RegexC[Out] = Regex[Char, Match[Char], Out]
- final class RegexCOps[Out] extends AnyVal
- type RegexM[In, Out] = Regex[In, Match[In], Out]
- final class RegexOps[In, M, Out] extends AnyVal
- final case class StateQueue[A](reversedElements: List[A], ids: Set[Int]) extends Product with Serializable
- sealed abstract class Thread[In, A] extends Product with Serializable
- final case class ThreadId(asInt: Int) extends AnyVal with Product with Serializable
Value Members
- object CharacterClasses
- object Cont extends Serializable
- object Greediness extends Serializable
- object Match extends Serializable
- object ParseState extends Serializable
- object Quantifier extends Serializable
- object Regex extends Serializable
- object RegexPrettyPrinter
- object StateQueue extends Serializable
- object Thread extends Serializable
- object char
- object combinator