|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectforge.solve.Step
public abstract class Step
A step in a trace. There are exactly two types of steps: Update and Branch.
If a step is a update step, then isBranch returns false and the
return type of stmt is UpdateStmt. If a step is a
branch step, then isBranch returns true and the return type of
stmt is BranchStmt.
| Nested Class Summary | |
|---|---|
static class |
Step.Branch
A branch step: a BranchStmt and a truth value. |
static class |
Step.Call
A call step: an CallStmt with its own trace. |
static class |
Step.Update
An update step: an UpdateStmt and an effect. |
| Method Summary | |
|---|---|
ForgeCFG |
cfg()
Returns the cfg to which this element belongs. |
abstract boolean |
isBranch()
|
ForgeProgram |
program()
Returns the program to which this element belongs. |
abstract CFGStmt |
stmt()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final ForgeProgram program()
ProgramElement
program in interface ProgramElementpublic final ForgeCFG cfg()
CFGElement
cfg in interface CFGElementpublic abstract boolean isBranch()
public abstract CFGStmt stmt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||