|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectforge.cfg.ForgeCFG
forge.cfg.ForgeCFG.Impl
public static final class ForgeCFG.Impl
An implementation CFG with several statements.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class forge.cfg.ForgeCFG |
---|
ForgeCFG.Impl, ForgeCFG.Spec |
Method Summary | |
---|---|
CFGStmt |
entry()
Returns the entry stmt of the cfg. |
AssignStmt |
newAssign(ForgeVariable var,
ForgeExpression expr)
Constructs a new assign stmt with the specified variable and expr, whose successor is the exit stmt of this cfg. |
SpecStmt |
newAssume(ForgeExpression condition)
Constructs a new spec stmt with the specified condition and no modified variables, whose successor is the exit stmt of this cfg. |
BranchStmt |
newBranch(ForgeExpression condition)
Constructs a new branch node with the specified condition value, whose successors are both the exit stmt of this cfg. |
CallStmt |
newCall(ForgeCFG called,
java.util.List<ForgeExpression> inArgs,
java.util.List<ForgeVariable> outArgs)
Constructs a new call stmt with the specified values, whose successor is the exit stmt of this cfg. |
CreateStmt |
newCreate(ForgeVariable var,
InstanceDomain type)
Constructs a new create stmt with the specified values, whose successor is the exit stmt of this cfg. |
SpecStmt |
newSpec(java.util.Set<? extends ForgeVariable> modified,
ForgeExpression condition)
Constructs a new assume stmt with the specified condition and the given set of modified variables, whose successor is the exit stmt of this cfg. |
void |
setEntry(CFGStmt stmt)
Set the entry stmt of the implementation. |
Methods inherited from class forge.cfg.ForgeCFG |
---|
checkCFG, exit, generalSpecification, implementation, jmlSpecification, procedure, program, specification, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public CFGStmt entry()
ForgeCFG
entry
in class ForgeCFG
public void setEntry(CFGStmt stmt)
public AssignStmt newAssign(ForgeVariable var, ForgeExpression expr)
public SpecStmt newAssume(ForgeExpression condition)
public SpecStmt newSpec(java.util.Set<? extends ForgeVariable> modified, ForgeExpression condition)
public CallStmt newCall(ForgeCFG called, java.util.List<ForgeExpression> inArgs, java.util.List<ForgeVariable> outArgs)
public CreateStmt newCreate(ForgeVariable var, InstanceDomain type)
public BranchStmt newBranch(ForgeExpression condition)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |