|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectforge.cfg.CFGStmt
forge.cfg.ReferenceStmt
forge.cfg.UpdateStmt
forge.cfg.SpecStmt
public final class SpecStmt
A specification statement. Nondeterministically chooses new values for a set of modified variables such that a given formula is true. Searches for values to quantified variables.
SpecStmt ::= m1,...,mn := spec(expr)
Method Summary | |
---|---|
void |
accept(CFGVisitor visitor)
Applies a CFG visitor to this stmt. |
void |
appendUpdate(java.lang.StringBuilder sb)
|
ForgeExpression |
condition()
|
ForgeExpression |
explicitExpr(ForgeVariable var)
Returns a functional expression for the given modified variable, or null if the variable is not constrained in a functional way. |
java.util.Set<ForgeVariable> |
modified()
Returns the set of variables and instance domains that may be modified by the statement. |
java.util.Set<ForgeExpression.Modifiable> |
referenced()
Returns the set of variables and instance domains referenced by the statement. |
Methods inherited from class forge.cfg.UpdateStmt |
---|
getNext, setNext, succs |
Methods inherited from class forge.cfg.CFGStmt |
---|
cfg, id, preds, program, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public ForgeExpression condition()
public java.util.Set<ForgeVariable> modified()
UpdateStmt
modified
in class UpdateStmt
public java.util.Set<ForgeExpression.Modifiable> referenced()
ReferenceStmt
referenced
in class ReferenceStmt
public ForgeExpression explicitExpr(ForgeVariable var)
public void accept(CFGVisitor visitor)
CFGStmt
accept
in class CFGStmt
public void appendUpdate(java.lang.StringBuilder sb)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |