Pattern

fs2.data.esp.Pattern$
See thePattern companion trait
object Pattern

Attributes

Companion
trait
Source
Pattern.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Pattern.type

Members list

Type members

Classlikes

case class Close[Guard, Tag](tag: Option[Tag]) extends Pattern[Guard, Tag]

Matches some close tag.

Matches some close tag.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all
case class EOS[Guard, Tag]() extends Pattern[Guard, Tag]

Matches the end of stream.

Matches the end of stream.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all
case class Guarded[Guard, Tag](inner: Pattern[Guard, Tag], guard: Guard) extends Pattern[Guard, Tag]

A guarded pattern.

A guarded pattern.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all
case class Input[Guard, Tag](q: Option[Int], d: Option[Int], inner: Pattern[Guard, Tag]) extends Pattern[Guard, Tag]

Matches the input in a state at a depth for some input pattern.

Matches the input in a state at a depth for some input pattern.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all
case class Leaf[Guard, Tag](value: Option[Tag]) extends Pattern[Guard, Tag]

Matches some leaf value.

Matches some leaf value.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all
case class Open[Guard, Tag](tag: Option[Tag]) extends Pattern[Guard, Tag]

Matches some open tag.

Matches some open tag.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all
case class Or[Guard, Tag](patterns: Type[Pattern[Guard, Tag]]) extends Pattern[Guard, Tag]

Alternative, matched from left to right.

Alternative, matched from left to right.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all
case class Wildcard[Guard, Tag]() extends Pattern[Guard, Tag]

Matches anything.

Matches anything.

Attributes

Source
Pattern.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[Guard, Tag]
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Implicits

Implicits

implicit def PatternIsPattern[G, T]: IsPattern[Pattern[G, T], G, Tag[T]]

Attributes

Source
Pattern.scala