|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectforge.cfg.CFGStmt
public abstract class CFGStmt
A stmt in a Forge control flow graph.
| Method Summary | |
|---|---|
abstract void |
accept(CFGVisitor visitor)
Applies a CFG visitor to this stmt. |
ForgeCFG |
cfg()
Returns the cfg to which this element belongs. |
java.lang.String |
id()
Returns a unique id for this stmt. |
StmtSet |
preds()
Returns an unmodifiable view of the predecessor stmts. |
ForgeProgram |
program()
Returns the program to which this element belongs. |
abstract StmtSet |
succs()
Returns an unmodifiable view of the successor stmts. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final ForgeCFG cfg()
CFGElement
cfg in interface CFGElementpublic final ForgeProgram program()
ProgramElement
program in interface ProgramElementpublic final java.lang.String id()
public final StmtSet preds()
public abstract StmtSet succs()
public abstract void accept(CFGVisitor visitor)
public final java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||