Value

org.finos.morphir.universe.ir.Value$
See theValue companion trait
object Value

Attributes

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

Members list

Type members

Classlikes

final case class Apply[+TA, +VA](attributes: VA, function: Value[TA, VA], argument: Value[TA, VA]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Constructor[+VA](attributes: VA, fullyQualifiedName: FQName) extends Value[Nothing, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[Nothing, VA]
class Object
trait Matchable
class Any
Show all
final case class Destructure[+TA, +VA](attributes: VA, pattern: Pattern[VA], valueToDestruct: Value[TA, VA], inValue: Value[TA, VA]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Field[+TA, +VA](attributes: VA, subjectValue: Value[TA, VA], fieldName: Name) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class FieldFunction[+VA](attributes: VA, name: Name) extends Value[Nothing, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[Nothing, VA]
class Object
trait Matchable
class Any
Show all
final case class IfThenElse[+TA, +VA](attributes: VA, condition: Value[TA, VA], thenBranch: Value[TA, VA], elseBranch: Value[TA, VA]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Lambda[+TA, +VA](attributes: VA, argumentPattern: Pattern[VA], body: Value[TA, VA]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
sealed case class LetDefinition[+TA, +VA](attributes: VA, valueName: Name, valueDefinition: ValueDefinition[TA, VA], inValue: Value[TA, VA]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
sealed case class LetRecursion[+TA, +VA](attributes: VA, valueDefinitions: Map[Name, ValueDefinition[TA, VA]], inValue: Value[TA, VA]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class List[+TA, +VA](attributes: VA, items: Chunk[Value[TA, VA]]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Literal[+VA](attributes: VA, value: Literal) extends Value[Nothing, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[Nothing, VA]
class Object
trait Matchable
class Any
Show all
sealed case class PatternMatch[+TA, +VA](attributes: VA, branchOutOn: Value[TA, VA], cases: Chunk[(Pattern[VA], Value[TA, VA])]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Record[+TA, +VA](attributes: VA, fields: Chunk[(Name, Value[TA, VA])]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Reference[+VA](attributes: VA, fullyQualifiedName: FQName) extends Value[Nothing, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[Nothing, VA]
class Object
trait Matchable
class Any
Show all
final case class Tuple[+TA, +VA](attributes: VA, elements: Chunk[Value[TA, VA]]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Unit[+VA](attributes: VA) extends Value[Nothing, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[Nothing, VA]
class Object
trait Matchable
class Any
Show all
sealed case class UpdateRecord[+TA, +VA](attributes: VA, valueToUpdate: Value[TA, VA], fieldsToUpdate: Map[Name, Value[TA, VA]]) extends Value[TA, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[TA, VA]
class Object
trait Matchable
class Any
Show all
final case class Variable[+VA](attributes: VA, name: Name) extends Value[Nothing, VA]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value[Nothing, VA]
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

Value members

Concrete methods

def asPattern[A](attributes: A, pattern: Pattern[A], name: Name): Pattern[A]
def tuplePattern[A](attributes: A, elementPatterns: Pattern[A]*): Pattern[A]
def wildcardPattern[A](attributes: A): Pattern[A]