Class Repl.Context
java.lang.Object
org.clafer.ig.Repl.Context
- Enclosing class:
Repl
The solutions shown so far, the most recent first: those not saved yet
and those saved; the Alloy XML of the most recent; and whether they are
shown as the changes from the previous snapshot.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplay(Backend.Shown shown) Shows a solution that a backend's command found, e.g., clafersg'sxandz, which becomes the most recent one.booleanint
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
display
Shows a solution that a backend's command found, e.g., clafersg'sxandz, which becomes the most recent one. -
unsavedCount
- Returns:
- how many solutions are shown and not saved
-
hasSolution
- Returns:
- whether a solution is shown
-
currentXml
- Returns:
- the Alloy XML of the most recent solution, or null
-