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