Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
CaptureSet.type
Members list
Type members
Classlikes
A mapping where the type map is required to be a bijection. Parameters as in Mapped.
A mapping where the type map is required to be a bijection. Parameters as in Mapped.
Attributes
- Supertypes
-
class DerivedVarclass Varclass CaptureSettrait Showableclass Objecttrait Matchableclass AnyShow all
The result of subcapturing comparisons is an opaque type CompareResult.TYPE. This is either OK, indicating success, or another capture set, indicating failure. The failure capture set is the one that did not allow propagaton of elements into it.
The result of subcapturing comparisons is an opaque type CompareResult.TYPE. This is either OK, indicating success, or another capture set, indicating failure. The failure capture set is the one that did not allow propagaton of elements into it.
Attributes
- Supertypes
- Self type
-
CompareResult.type
The subclass of constant capture sets with given elements elems
The subclass of constant capture sets with given elements elems
Attributes
- Supertypes
A variable that is derived from some other variable via a map or filter.
A variable with elements given at any time as { x <- source.elems | !other.accountsFor(x) }
A variable with elements given at any time as { x <- source.elems | !other.accountsFor(x) }
Attributes
- Supertypes
-
class Filteredclass DerivedVarclass Varclass CaptureSettrait Showableclass Objecttrait Matchableclass AnyShow all
A variable with elements given at any time as { x <- source.elems | p(x) }
A variable with elements given at any time as { x <- source.elems | p(x) }
Attributes
- Supertypes
-
class DerivedVarclass Varclass CaptureSettrait Showableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Diff
A special state that does not allow to record elements or dependent sets. In effect this means that no new elements or dependent sets can be added in this state (since the previous state cannot be recorded in a snapshot)
A special state that does not allow to record elements or dependent sets. In effect this means that no new elements or dependent sets can be added in this state (since the previous state cannot be recorded in a snapshot)
Attributes
- Supertypes
- Self type
-
FrozenState.type
A TypeMap with the property that every capture reference in the image of the map is mapped to itself. I.e. for all capture references r1, r2, if M(r1) == r2 then M(r2) == r2.
A TypeMap with the property that every capture reference in the image of the map is mapped to itself. I.e. for all capture references r1, r2, if M(r1) == r2 then M(r2) == r2.
Attributes
- Supertypes
- Known subtypes
-
class SubstParamsMapclass SubstParamMapclass SubstParamsMapclass AsSeenFromMapclass AvoidMapclass LevelAvoidMapShow all
A TypeMap that is the identity on capture references
A TypeMap that is the identity on capture references
Attributes
- Supertypes
- Known subtypes
-
class SimplifyMapclass SimplifyKeepUnchecked
Attributes
- Supertypes
A variable that changes when source
changes, where all additional new elements are mapped using ∪ { tm(x) | x <- source.elems }.
A variable that changes when source
changes, where all additional new elements are mapped using ∪ { tm(x) | x <- source.elems }.
Value parameters
- initial
-
The initial mappings of source's elements at the point the Mapped set is created.
- source
-
the original set that is mapped
- tm
-
the type map, which is assumed to be idempotent on capture refs (except if ccUnsoundMaps is enabled)
- variance
-
the assumed variance with which types with capturesets of size >= 2 are approximated (i.e. co: full capture set, contra: empty set, nonvariant is not allowed.)
Attributes
- Supertypes
-
class DerivedVarclass Varclass CaptureSettrait Showableclass Objecttrait Matchableclass AnyShow all
The subclass of captureset variables with given initial elements
The subclass of captureset variables with given initial elements
Attributes
- Supertypes
- Known subtypes
A VarState serves as a snapshot mechanism that can undo additions of elements or super sets if an operation fails
A VarState serves as a snapshot mechanism that can undo additions of elements or super sets if an operation fails
Attributes
- Supertypes
- Known subtypes
-
object FrozenState
Types
Value members
Concrete methods
Extrapolate tm(r) according to variance
. Let r1 be the result of tm(r).
Extrapolate tm(r) according to variance
. Let r1 be the result of tm(r).
- If r1 is a tracked CaptureRef, return {r1}
- If r1 has an empty capture set, return {}
- Otherwise,
- if the variance is covariant, return r1's capture set
- if the variance is contravariant, return {}
- Otherwise assertion failure
Attributes
Apply f
to each element in xs
, and join result sets with ++
Apply f
to each element in xs
, and join result sets with ++
Attributes
Apply extrapolated tm
to each element in xs
, and join result sets with ++
Apply extrapolated tm
to each element in xs
, and join result sets with ++
Attributes
The capture set of the type underlying a CaptureRef
The capture set of the type underlying a CaptureRef
Attributes
Capture set of a type
Capture set of a type
Attributes
Return true iff
Return true iff
- arg1 is a TypeBounds >: CL T <: CH T of two capturing types with equal parents.
- arg2 is a capturing type CA U
- CH <: CA <: CL In other words, we can unify CL, CH and CA.
Attributes
The universal capture set {cap}
The universal capture set {cap}
Attributes
The current VarState, as passed by the implicit context
The current VarState, as passed by the implicit context
Attributes
Perform op
. Under -Ycc-debug, collect and print info about all variables reachable via (_.deps)*
from the variables that were shown in op
.
Perform op
. Under -Ycc-debug, collect and print info about all variables reachable via (_.deps)*
from the variables that were shown in op
.