UnionUtils
org.encalmo.utils.UnionUtils
object UnionUtils
Attributes
- Graph
-
- Supertypes
- Self type
-
UnionUtils.type
Members list
Type members
Classlikes
object TypeReprIsUnion
Attributes
- Supertypes
- Self type
-
TypeReprIsUnion.type
Value members
Concrete methods
Check if a type is a union.
Check if a type is a union.
Attributes
def transformToMatchTerm(using cache: StatementsCache)(tpe: cache.quotes.reflect.TypeRepr, valueTerm: cache.quotes.reflect.Term, functionOnCase: (cache.quotes.reflect.TypeRepr, cache.quotes.reflect.Term) => cache.quotes.reflect.Term): cache.quotes.reflect.Term
Visit an union and create a pattern match term of each union type.
Visit an union and create a pattern match term of each union type.
Attributes
- Returns
-
Unit
def visitTermless(using cache: StatementsCache)(tpe: cache.quotes.reflect.TypeRepr, functionOnCase: cache.quotes.reflect.TypeRepr => Unit): Unit
In this article