Pattern

org.finos.morphir.universe.ir.Pattern
See thePattern companion trait
object Pattern

Attributes

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

Members list

Type members

Classlikes

final case class AsPattern[+A](attributes: A, pattern: Pattern[A], name: Name) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
class Object
trait Matchable
class Any
Show all
final case class ConstructorPattern[+A](attributes: A, constructorName: FQName, argumentPatterns: Chunk[Pattern[A]]) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
class Object
trait Matchable
class Any
Show all
final case class EmptyListPattern[+A](attributes: A) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
class Object
trait Matchable
class Any
Show all
final case class HeadTailPattern[+A](attributes: A, headPattern: Pattern[A], tailPattern: Pattern[A]) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
class Object
trait Matchable
class Any
Show all
final case class LiteralPattern[+A](attributes: A, literal: Literal) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
class Object
trait Matchable
class Any
Show all
final case class TuplePattern[+A](attributes: A, elementPatterns: Chunk[Pattern[A]]) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
class Object
trait Matchable
class Any
Show all
final case class UnitPattern[+A](attributes: A) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
class Object
trait Matchable
class Any
Show all
final case class WildcardPattern[+A](attributes: A) extends Pattern[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern[A]
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
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror