object state
to have better control over state changes, all stateful variables are encapsulated a second time
- Attributes
- protected
- Source
- Solver.scala
- Alphabetic
- By Inheritance
- state
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addConstraint(d: DelayedConstraint)(implicit history: History): Unit
registers a constraint
-
def
addDependency(p: CPath): Unit
registers a dependency
-
def
addError(e: SolverError): Unit
registers an error
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
backtrackable[A](code: ⇒ A): Option[A]
set a backtracking point and run code
set a backtracking point and run code
- returns
result of code or None if error occurred even if this succeeds, new constraints may have been added that will fail in the future
- def bounds(n: LocalName): List[TypeBound]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def delayed: List[DelayedConstraint]
- def dependencies: List[CPath]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def errors: List[SolverError]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCurrentBranch: Branchpoint
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
immutably[A](allowDelay: Boolean, allowSolving: Boolean, commitOnSuccess: (A) ⇒ Boolean)(a: ⇒ A): DryRunResult
evaluates its arguments without generating new constraints
evaluates its arguments without generating new constraints
all state changes are rolled back unless evaluation is successful and commitOnSuccess is true
-
def
isDryRun: Boolean
true if we are currently in a dry run
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def removeConstraint(dc: DelayedConstraint): Unit
- def reorderSolution(newSol: Context): Unit
- def setCurrentBranch(bp: Branchpoint): Unit
- def setNewBounds(n: LocalName, bs: List[TypeBound]): Unit
- def setNewSolution(newSol: Context): Unit
- def solution: Context
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()