|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttip.cfg.AProgramPoint
tip.cfg.CWhileStmPoint
public class CWhileStmPoint
CWhileStmPoint
is a program point in a control flow graph associated with a
AWhileStm
.
Constructor Summary | |
---|---|
CWhileStmPoint(AWhileStm _node_)
Creates a new CWhileStmPoint associated with the AWhileStm _node_
with the label "" . |
|
CWhileStmPoint(AWhileStm _node_,
String _label_)
Creates a new CWhileStmPoint associated with the AWhileStm _node_
with the label _label_ . |
Method Summary | ||
---|---|---|
|
apply(CFGAnswer<A> caller)
Returns an answer by calling CFGAnswer.caseCWhileStmPoint(AWhileStm,CWhileStmPoint)
the visitor caller with this program point. |
|
|
apply(CFGQuestionAnswer<Q,A> caller,
Q question)
Returns an answer by calling CFGQuestionAnswer.caseCWhileStmPoint(AWhileStm,CWhileStmPoint,Object)
the visitor caller with this program point. |
|
boolean |
apply(ICFGAnalysis analysis)
Calls ICFGAnalysis.caseCWhileStmPoint(AWhileStm,CWhileStmPoint) on
analysis and returns the result. |
|
CWhileStmPoint |
clone()
Returns a clone of the program point with no predecessors or successors. |
|
AWhileStm |
getNode()
Returns the AWhileStm associated with this program point. |
|
String |
getNodeText(Answer<String> nodeText)
Returns a textual representation of this program point by calling the Answer.caseAWhileStm(AWhileStm) on nodeText . |
|
String |
toString()
Returns a textual representation of this CWhileStmPoint . |
Methods inherited from class tip.cfg.AProgramPoint |
---|
addPredecessor, addSuccessor, getPredecessors, getSuccessors, getVicinity, removePredecessor, removeSuccessor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CWhileStmPoint(AWhileStm _node_)
CWhileStmPoint
associated with the AWhileStm
_node_
with the label ""
.
_node_
- the AWhileStm
associated the the program pointpublic CWhileStmPoint(AWhileStm _node_, String _label_)
CWhileStmPoint
associated with the AWhileStm
_node_
with the label _label_
.
_node_
- the AWhileStm
associated the the program point_label_
- the label of the program pointMethod Detail |
---|
public AWhileStm getNode()
AWhileStm
associated with this program point.
getNode
in interface IProgramPoint
getNode
in class AProgramPoint
AWhileStm
associated with this program pointpublic boolean apply(ICFGAnalysis analysis)
ICFGAnalysis.caseCWhileStmPoint(AWhileStm,CWhileStmPoint)
on
analysis
and returns the result.
ICFGAnalysis.caseCWhileStmPoint(AWhileStm,CWhileStmPoint)
on analysis
public String getNodeText(Answer<String> nodeText)
Answer.caseAWhileStm(AWhileStm)
on nodeText
.
nodeText
- the Answer
used
public <A> A apply(CFGAnswer<A> caller)
CFGAnswer.caseCWhileStmPoint(AWhileStm,CWhileStmPoint)
the visitor caller
with this program point.
caller
- the Answer
used
caller
public <Q,A> A apply(CFGQuestionAnswer<Q,A> caller, Q question)
CFGQuestionAnswer.caseCWhileStmPoint(AWhileStm,CWhileStmPoint,Object)
the visitor caller
with this program point.
caller
- the QuestionAnswer
usedquestion
- the question used
caller
on question
public CWhileStmPoint clone()
clone
in interface IProgramPoint
clone
in class AProgramPoint
public String toString()
CWhileStmPoint
.
toString
in class Object
CWhileStmPoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |