VarState

dotty.tools.dotc.cc.CaptureSet.VarState
See theVarState companion class
object VarState

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
VarState.type

Members list

Type members

Classlikes

class Closed extends VarState

A class for states that do not allow to record elements or dependent sets. In effect this means that no new elements or dependent sets can be added in these states (since the previous state cannot be recorded in a snapshot) On the other hand, these states do allow by default Fresh instances to subsume arbitary types, which are then recorded in their hidden sets.

A class for states that do not allow to record elements or dependent sets. In effect this means that no new elements or dependent sets can be added in these states (since the previous state cannot be recorded in a snapshot) On the other hand, these states do allow by default Fresh instances to subsume arbitary types, which are then recorded in their hidden sets.

Attributes

Supertypes
class VarState
class Object
trait Matchable
class Any
Known subtypes
class ClosedUnrecorded extends Closed

A closed state that turns off recording of hidden elements (but allows adding them). Used in mightAccountFor. Instantiated in ccState.ClosedUnrecorded.

A closed state that turns off recording of hidden elements (but allows adding them). Used in mightAccountFor. Instantiated in ccState.ClosedUnrecorded.

Attributes

Supertypes
class Closed
class VarState
class Object
trait Matchable
class Any
Known subtypes
class Separating extends Closed

A closed state that allows a Fresh instance to subsume a reference r only if r is already present in the hidden set of the instance. No new references can be added.

A closed state that allows a Fresh instance to subsume a reference r only if r is already present in the hidden set of the instance. No new references can be added.

Attributes

Supertypes
class Closed
class VarState
class Object
trait Matchable
class Any
Known subtypes
object HardSeparate
object Separate
class Unrecorded extends VarState

A special state that turns off recording of elements. Used only in addSub to prevent cycles in recordings. Instantiated in ccState.Unrecorded.

A special state that turns off recording of elements. Used only in addSub to prevent cycles in recordings. Instantiated in ccState.Unrecorded.

Attributes

Supertypes
class VarState
class Object
trait Matchable
class Any
Known subtypes
object Unrecorded

Value members

Concrete methods

Like Separate but in addition we assume that cap never subsumes anything else. Used in ++ to not lose track of dependencies between function parameters.

Like Separate but in addition we assume that cap never subsumes anything else. Used in ++ to not lose track of dependencies between function parameters.

Attributes

A closed state that allows a Fresh instance to subsume a reference r only if r is already present in the hidden set of the instance. No new references can be added.

A closed state that allows a Fresh instance to subsume a reference r only if r is already present in the hidden set of the instance. No new references can be added.

Attributes