|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttip.cfg.CFGAnswerAdapter<A>
A
- the type of the answerspublic class CFGAnswerAdapter<A>
CFGAnswerAdapter
implements the default behaviour of the
CFGAnswer
interface. All calls return null
by default.
Constructor Summary | |
---|---|
CFGAnswerAdapter()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFGAnswerAdapter()
Method Detail |
---|
public A defaultNode(Node node, IProgramPoint point)
case
-methods. Returns null
.
node
- the Node
associated with point
point
- the IProgramPoint
calling the method
Node
and IProgramPoint
public A caseEntryPoint(Node node, EntryPoint point)
defaultNode(Node,IProgramPoint)
.
caseEntryPoint
in interface CFGAnswer<A>
node
- the Node
associated with point
point
- the EntryPoint
calling the method
Node
and EntryPoint
public A caseExitPoint(Node node, ExitPoint point)
defaultNode(Node,IProgramPoint)
.
caseExitPoint
in interface CFGAnswer<A>
node
- the Node
associated with point
point
- the ExitPoint
calling the method
Node
and ExitPoint
public A caseCReturnStmPoint(AReturnStm node, CReturnStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCReturnStmPoint
in interface CFGAnswer<A>
node
- the AReturnStm
associated with point
point
- the CReturnStmPoint
calling the method
AReturnStm
and CReturnStmPoint
public A caseCAssignPtrStmPoint(AAssignPtrStm node, CAssignPtrStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCAssignPtrStmPoint
in interface CFGAnswer<A>
node
- the AAssignPtrStm
associated with point
point
- the CAssignPtrStmPoint
calling the method
AAssignPtrStm
and CAssignPtrStmPoint
public A caseCBlockPoint(ABlock node, CBlockPoint point)
defaultNode(Node,IProgramPoint)
.
caseCBlockPoint
in interface CFGAnswer<A>
node
- the ABlock
associated with point
point
- the CBlockPoint
calling the method
ABlock
and CBlockPoint
public A caseCVarExpPoint(AVarExp node, CVarExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCVarExpPoint
in interface CFGAnswer<A>
node
- the AVarExp
associated with point
point
- the CVarExpPoint
calling the method
AVarExp
and CVarExpPoint
public A caseCFunctionCallExpPoint(AFunctionCallExp node, CFunctionCallExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCFunctionCallExpPoint
in interface CFGAnswer<A>
node
- the AFunctionCallExp
associated with point
point
- the CFunctionCallExpPoint
calling the method
AFunctionCallExp
and CFunctionCallExpPoint
public A caseCDerefExpPoint(ADerefExp node, CDerefExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCDerefExpPoint
in interface CFGAnswer<A>
node
- the ADerefExp
associated with point
point
- the CDerefExpPoint
calling the method
ADerefExp
and CDerefExpPoint
public A caseCDeclStmPoint(ADeclStm node, CDeclStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCDeclStmPoint
in interface CFGAnswer<A>
node
- the ADeclStm
associated with point
point
- the CDeclStmPoint
calling the method
ADeclStm
and CDeclStmPoint
public A caseCInputExpPoint(AInputExp node, CInputExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCInputExpPoint
in interface CFGAnswer<A>
node
- the AInputExp
associated with point
point
- the CInputExpPoint
calling the method
AInputExp
and CInputExpPoint
public A caseCMallocExpPoint(AMallocExp node, CMallocExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCMallocExpPoint
in interface CFGAnswer<A>
node
- the AMallocExp
associated with point
point
- the CMallocExpPoint
calling the method
AMallocExp
and CMallocExpPoint
public A caseCIfThenStmPoint(AIfThenStm node, CIfThenStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCIfThenStmPoint
in interface CFGAnswer<A>
node
- the AIfThenStm
associated with point
point
- the CIfThenStmPoint
calling the method
AIfThenStm
and CIfThenStmPoint
public A caseCIntConstExpPoint(AIntConstExp node, CIntConstExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCIntConstExpPoint
in interface CFGAnswer<A>
node
- the AIntConstExp
associated with point
point
- the CIntConstExpPoint
calling the method
AIntConstExp
and CIntConstExpPoint
public A caseCFunctionPtrCallExpPoint(AFunctionPtrCallExp node, CFunctionPtrCallExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCFunctionPtrCallExpPoint
in interface CFGAnswer<A>
node
- the AFunctionPtrCallExp
associated with point
point
- the CFunctionPtrCallExpPoint
calling the method
AFunctionPtrCallExp
and CFunctionPtrCallExpPoint
public A caseCWhileStmPoint(AWhileStm node, CWhileStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCWhileStmPoint
in interface CFGAnswer<A>
node
- the AWhileStm
associated with point
point
- the CWhileStmPoint
calling the method
AWhileStm
and CWhileStmPoint
public A caseCBinopExpPoint(ABinopExp node, CBinopExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCBinopExpPoint
in interface CFGAnswer<A>
node
- the ABinopExp
associated with point
point
- the CBinopExpPoint
calling the method
ABinopExp
and CBinopExpPoint
public A caseCAssignVarStmPoint(AAssignVarStm node, CAssignVarStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCAssignVarStmPoint
in interface CFGAnswer<A>
node
- the AAssignVarStm
associated with point
point
- the CAssignVarStmPoint
calling the method
AAssignVarStm
and CAssignVarStmPoint
public A caseCIfThenElseStmPoint(AIfThenElseStm node, CIfThenElseStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCIfThenElseStmPoint
in interface CFGAnswer<A>
node
- the AIfThenElseStm
associated with point
point
- the CIfThenElseStmPoint
calling the method
AIfThenElseStm
and CIfThenElseStmPoint
public A caseCOutputStmPoint(AOutputStm node, COutputStmPoint point)
defaultNode(Node,IProgramPoint)
.
caseCOutputStmPoint
in interface CFGAnswer<A>
node
- the AOutputStm
associated with point
point
- the COutputStmPoint
calling the method
AOutputStm
and COutputStmPoint
public A caseCPointerExpPoint(APointerExp node, CPointerExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCPointerExpPoint
in interface CFGAnswer<A>
node
- the APointerExp
associated with point
point
- the CPointerExpPoint
calling the method
APointerExp
and CPointerExpPoint
public A caseCNullExpPoint(ANullExp node, CNullExpPoint point)
defaultNode(Node,IProgramPoint)
.
caseCNullExpPoint
in interface CFGAnswer<A>
node
- the ANullExp
associated with point
point
- the CNullExpPoint
calling the method
ANullExp
and CNullExpPoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |