SpaceLogic
Members list
Value members
Abstract methods
Is the type tp
decomposable? i.e. all values of the type can be covered
by its decomposed types.
Is the type tp
decomposable? i.e. all values of the type can be covered
by its decomposed types.
Abstract sealed class, OrType, Boolean and Java enums can be decomposed.
Attributes
Whether the extractor covers the given type
Whether the extractor covers the given type
Attributes
Get components of decomposable types
Get components of decomposable types
Attributes
Return a space containing the values of both types.
Return a space containing the values of both types.
The types should be atomic (non-decomposable) and unrelated (neither should be a subtype of the other).
Attributes
True if we can assume that the two unapply methods are the same. That is, given the same parameter, they return the same result.
True if we can assume that the two unapply methods are the same. That is, given the same parameter, they return the same result.
We assume that unapply methods are pure, but the same method may be called with different prefixes, thus behaving differently.
Attributes
Is tp1
a subtype of tp2
?
Is tp1
a subtype of tp2
?
Attributes
Concrete methods
Remove a space if it's a subspace of remaining spaces
Remove a space if it's a subspace of remaining spaces
Note: dedup
will return the same result if the sequence >= 10
Attributes
Flatten space to get rid of Or
for pretty print
Flatten space to get rid of Or
for pretty print
Attributes
Intersection of two spaces
Intersection of two spaces
Attributes
Is a
a subspace of b
? Equivalent to a - b == Empty
, but faster
Is a
a subspace of b
? Equivalent to a - b == Empty
, but faster
Attributes
The space of a not covered by b
The space of a not covered by b