A VarState serves as a snapshot mechanism that can undo additions of elements or super sets if an operation fails
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
class Closedclass ClosedUnrecordedobject ClosedUnrecordedclass Separatingobject HardSeparateobject Separateclass Unrecordedobject UnrecordedShow all
Members list
Value members
Concrete methods
Add element to hidden set, recording it in elemsMap, return whether this was allowed. By default, recording is allowed but the special state VarState.Separate overrides this.
Add element to hidden set, recording it in elemsMap, return whether this was allowed. By default, recording is allowed but the special state VarState.Separate overrides this.
Attributes
The recorded dependent sets of v
(it's required that a recording was made)
The recorded dependent sets of v
(it's required that a recording was made)
Attributes
The recorded elements of v
(it's required that a recording was made)
The recorded elements of v
(it's required that a recording was made)
Attributes
Optionally the recorded dependent sets of v
, None if nothing was recorded for v
Optionally the recorded dependent sets of v
, None if nothing was recorded for v
Attributes
Optionally the recorded elements of v
, None if nothing was recorded for v
Optionally the recorded elements of v
, None if nothing was recorded for v
Attributes
Run test pred
unless ref
was seen in an enclosing ifNotSeen
operation
Run test pred
unless ref
was seen in an enclosing ifNotSeen
operation
Attributes
Does this state allow additions of elements to capture set variables?
Does this state allow additions of elements to capture set variables?
Attributes
Record dependent sets, return whether this was allowed. By default, recording is allowed in regular but not in frozen states.
Record dependent sets, return whether this was allowed. By default, recording is allowed in regular but not in frozen states.
Attributes
Record elements, return whether this was allowed. By default, recording is allowed in regular but not in frozen states.
Record elements, return whether this was allowed. By default, recording is allowed in regular but not in frozen states.
Attributes
Roll back global state to what was recorded in this VarState
Roll back global state to what was recorded in this VarState
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
If root1 and root2 belong to the same binder but have different originalBinders it means that one of the roots was mapped to the binder of the other by a substBinder when comparing two method types. In that case we can unify the two roots1, provided none of the two roots have already been unified themselves. So unification must be 1-1.
If root1 and root2 belong to the same binder but have different originalBinders it means that one of the roots was mapped to the binder of the other by a substBinder when comparing two method types. In that case we can unify the two roots1, provided none of the two roots have already been unified themselves. So unification must be 1-1.