|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttip.analysis.QuestionAnswerAdapter<Q,A>
Q
- the type of the questionsA
- the type of the answerspublic class QuestionAnswerAdapter<Q,A>
QuestionAnswerAdapter
implements the default behaviour of the
QuestionAnswer
interface. All calls return null
by default.
Constructor Summary | |
---|---|
QuestionAnswerAdapter()
|
Method Summary | |
---|---|
A |
caseABinopExp(ABinopExp node,
Q question)
Returns the default answer for a ABinopExp node. |
A |
caseABlock(ABlock node,
Q question)
Returns the default answer for a ABlock node. |
A |
caseABlockStm(ABlockStm node,
Q question)
Returns the default answer for a ABlockStm node. |
A |
caseABody(ABody node,
Q question)
Returns the default answer for a ABody node. |
A |
caseADeclStm(ADeclStm node,
Q question)
Returns the default answer for a ADeclStm node. |
A |
caseADerefExp(ADerefExp node,
Q question)
Returns the default answer for a ADerefExp node. |
A |
caseADivideBinop(ADivideBinop node,
Q question)
Returns the default answer for a ADivideBinop node. |
A |
caseAEqBinop(AEqBinop node,
Q question)
Returns the default answer for a AEqBinop node. |
A |
caseAFuncDecl(AFuncDecl node,
Q question)
Returns the default answer for a AFuncDecl node. |
A |
caseAFunctionCallExp(AFunctionCallExp node,
Q question)
Returns the default answer for a AFunctionCallExp node. |
A |
caseAFunctionPtrCallExp(AFunctionPtrCallExp node,
Q question)
Returns the default answer for a AFunctionPtrCallExp node. |
A |
caseAGtBinop(AGtBinop node,
Q question)
Returns the default answer for a AGtBinop node. |
A |
caseAIfThenElseStm(AIfThenElseStm node,
Q question)
Returns the default answer for a AIfThenElseStm node. |
A |
caseAIfThenStm(AIfThenStm node,
Q question)
Returns the default answer for a AIfThenStm node. |
A |
caseAInputExp(AInputExp node,
Q question)
Returns the default answer for a AInputExp node. |
A |
caseAIntConstExp(AIntConstExp node,
Q question)
Returns the default answer for a AIntConstExp node. |
A |
caseALocalDecl(ALocalDecl node,
Q question)
Returns the default answer for a ALocalDecl node. |
A |
caseAMallocExp(AMallocExp node,
Q question)
Returns the default answer for a AMallocExp node. |
A |
caseAMinusBinop(AMinusBinop node,
Q question)
Returns the default answer for a AMinusBinop node. |
A |
caseANullExp(ANullExp node,
Q question)
Returns the default answer for a ANullExp node. |
A |
caseAOutputStm(AOutputStm node,
Q question)
Returns the default answer for a AOutputStm node. |
A |
caseAPlusBinop(APlusBinop node,
Q question)
Returns the default answer for a APlusBinop node. |
A |
caseAPointerExp(APointerExp node,
Q question)
Returns the default answer for a APointerExp node. |
A |
caseAProgram(AProgram node,
Q question)
Returns the default answer for a AProgram node. |
A |
caseAReturnStm(AReturnStm node,
Q question)
Returns the default answer for a AReturnStm node. |
A |
caseATimesBinop(ATimesBinop node,
Q question)
Returns the default answer for a ATimesBinop node. |
A |
caseAVarExp(AVarExp node,
Q question)
Returns the default answer for a AVarExp node. |
A |
caseAWhileStm(AWhileStm node,
Q question)
Returns the default answer for a AWhileStm node. |
A |
caseEOF(EOF node,
Q question)
Returns the default answer for a EOF node. |
A |
caseStart(Start node,
Q question)
Returns the default answer for a Start node. |
A |
caseTAnd(TAnd node,
Q question)
Returns the default answer for a TAnd node. |
A |
caseTAssign(TAssign node,
Q question)
Returns the default answer for a TAssign node. |
A |
caseTComma(TComma node,
Q question)
Returns the default answer for a TComma node. |
A |
caseTCommentBlock(TCommentBlock node,
Q question)
Returns the default answer for a TCommentBlock node. |
A |
caseTCommentSingle(TCommentSingle node,
Q question)
Returns the default answer for a TCommentSingle node. |
A |
caseTDiv(TDiv node,
Q question)
Returns the default answer for a TDiv node. |
A |
caseTElse(TElse node,
Q question)
Returns the default answer for a TElse node. |
A |
caseTEq(TEq node,
Q question)
Returns the default answer for a TEq node. |
A |
caseTGt(TGt node,
Q question)
Returns the default answer for a TGt node. |
A |
caseTIdentifier(TIdentifier node,
Q question)
Returns the default answer for a TIdentifier node. |
A |
caseTIf(TIf node,
Q question)
Returns the default answer for a TIf node. |
A |
caseTInput(TInput node,
Q question)
Returns the default answer for a TInput node. |
A |
caseTIntegerConst(TIntegerConst node,
Q question)
Returns the default answer for a TIntegerConst node. |
A |
caseTLBrace(TLBrace node,
Q question)
Returns the default answer for a TLBrace node. |
A |
caseTLPar(TLPar node,
Q question)
Returns the default answer for a TLPar node. |
A |
caseTMalloc(TMalloc node,
Q question)
Returns the default answer for a TMalloc node. |
A |
caseTMinus(TMinus node,
Q question)
Returns the default answer for a TMinus node. |
A |
caseTNull(TNull node,
Q question)
Returns the default answer for a TNull node. |
A |
caseTOutput(TOutput node,
Q question)
Returns the default answer for a TOutput node. |
A |
caseTPlus(TPlus node,
Q question)
Returns the default answer for a TPlus node. |
A |
caseTRBrace(TRBrace node,
Q question)
Returns the default answer for a TRBrace node. |
A |
caseTReturn(TReturn node,
Q question)
Returns the default answer for a TReturn node. |
A |
caseTRPar(TRPar node,
Q question)
Returns the default answer for a TRPar node. |
A |
caseTSemicolon(TSemicolon node,
Q question)
Returns the default answer for a TSemicolon node. |
A |
caseTStar(TStar node,
Q question)
Returns the default answer for a TStar node. |
A |
caseTVar(TVar node,
Q question)
Returns the default answer for a TVar node. |
A |
caseTWhile(TWhile node,
Q question)
Returns the default answer for a TWhile node. |
A |
caseTWhiteSpace(TWhiteSpace node,
Q question)
Returns the default answer for a TWhiteSpace node. |
A |
caseAAssignPtrStm(AAssignPtrStm node,
Q question)
Returns the default answer for a AAssignPtrStm node. |
A |
caseAAssignVarStm(AAssignVarStm node,
Q question)
Returns the default answer for a AAssignVarStm node. |
A |
defaultNode(Node node,
Q question)
Returns the default answer for a Node . |
A |
defaultPBinop(PBinop node,
Q question)
Returns the default answer for a PBinop node. |
A |
defaultPBlock(PBlock node,
Q question)
Returns the default answer for a PBlock node. |
A |
defaultPBody(PBody node,
Q question)
Returns the default answer for a PBody node. |
A |
defaultPDecl(PDecl node,
Q question)
Returns the default answer for a PDecl node. |
A |
defaultPExp(PExp node,
Q question)
Returns the default answer for a PExp node. |
A |
defaultPProgram(PProgram node,
Q question)
Returns the default answer for a PProgram node. |
A |
defaultPStm(PStm node,
Q question)
Returns the default answer for a PStm node. |
A |
defaultToken(Token token,
Q question)
Returns the default answer for a Token . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuestionAnswerAdapter()
Method Detail |
---|
public A defaultNode(Node node, Q question)
Node
.
node
- the calling Node
question
- the question
Node
public A defaultToken(Token token, Q question)
Token
. The call is deferred to
defaultNode(Node,Object)
.
token
- the calling Token
question
- the question
Token
public A caseStart(Start node, Q question)
Start
node. The call is deferred
to defaultNode(Node,Object)
.
caseStart
in interface QuestionAnswer<Q,A>
node
- the calling Start
nodequestion
- the question
Start
nodepublic A caseAProgram(AProgram node, Q question)
AProgram
node. The call is deferred
to defaultPProgram(PProgram,Object)
.
caseAProgram
in interface QuestionAnswer<Q,A>
node
- the calling AProgram
nodequestion
- the question
AProgram
nodepublic A caseAFuncDecl(AFuncDecl node, Q question)
AFuncDecl
node. The call is deferred
to defaultPDecl(PDecl,Object)
.
caseAFuncDecl
in interface QuestionAnswer<Q,A>
node
- the calling AFuncDecl
nodequestion
- the question
AFuncDecl
nodepublic A caseALocalDecl(ALocalDecl node, Q question)
ALocalDecl
node. The call is deferred
to defaultPDecl(PDecl,Object)
.
caseALocalDecl
in interface QuestionAnswer<Q,A>
node
- the calling ALocalDecl
nodequestion
- the question
ALocalDecl
nodepublic A caseABody(ABody node, Q question)
ABody
node. The call is deferred
to defaultPBody(PBody,Object)
.
caseABody
in interface QuestionAnswer<Q,A>
node
- the calling ABody
nodequestion
- the question
ABody
nodepublic A caseABlock(ABlock node, Q question)
ABlock
node. The call is deferred
to defaultPBlock(PBlock,Object)
.
caseABlock
in interface QuestionAnswer<Q,A>
node
- the calling ABlock
nodequestion
- the question
ABlock
nodepublic A caseAPlusBinop(APlusBinop node, Q question)
APlusBinop
node. The call is deferred
to defaultPBinop(PBinop,Object)
.
caseAPlusBinop
in interface QuestionAnswer<Q,A>
node
- the calling APlusBinop
nodequestion
- the question
APlusBinop
nodepublic A caseAMinusBinop(AMinusBinop node, Q question)
AMinusBinop
node. The call is deferred
to defaultPBinop(PBinop,Object)
.
caseAMinusBinop
in interface QuestionAnswer<Q,A>
node
- the calling AMinusBinop
nodequestion
- the question
AMinusBinop
nodepublic A caseATimesBinop(ATimesBinop node, Q question)
ATimesBinop
node. The call is deferred
to defaultPBinop(PBinop,Object)
.
caseATimesBinop
in interface QuestionAnswer<Q,A>
node
- the calling ATimesBinop
nodequestion
- the question
ATimesBinop
nodepublic A caseADivideBinop(ADivideBinop node, Q question)
ADivideBinop
node. The call is deferred
to defaultPBinop(PBinop,Object)
.
caseADivideBinop
in interface QuestionAnswer<Q,A>
node
- the calling ADivideBinop
nodequestion
- the question
ADivideBinop
nodepublic A caseAEqBinop(AEqBinop node, Q question)
AEqBinop
node. The call is deferred
to defaultPBinop(PBinop,Object)
.
caseAEqBinop
in interface QuestionAnswer<Q,A>
node
- the calling AEqBinop
nodequestion
- the question
AEqBinop
nodepublic A caseAGtBinop(AGtBinop node, Q question)
AGtBinop
node. The call is deferred
to defaultPBinop(PBinop,Object)
.
caseAGtBinop
in interface QuestionAnswer<Q,A>
node
- the calling AGtBinop
nodequestion
- the question
AGtBinop
nodepublic A caseABinopExp(ABinopExp node, Q question)
ABinopExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseABinopExp
in interface QuestionAnswer<Q,A>
node
- the calling ABinopExp
nodequestion
- the question
ABinopExp
nodepublic A caseAPointerExp(APointerExp node, Q question)
APointerExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseAPointerExp
in interface QuestionAnswer<Q,A>
node
- the calling APointerExp
nodequestion
- the question
APointerExp
nodepublic A caseADerefExp(ADerefExp node, Q question)
ADerefExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseADerefExp
in interface QuestionAnswer<Q,A>
node
- the calling ADerefExp
nodequestion
- the question
ADerefExp
nodepublic A caseAIntConstExp(AIntConstExp node, Q question)
AIntConstExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseAIntConstExp
in interface QuestionAnswer<Q,A>
node
- the calling AIntConstExp
nodequestion
- the question
AIntConstExp
nodepublic A caseAFunctionCallExp(AFunctionCallExp node, Q question)
AFunctionCallExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseAFunctionCallExp
in interface QuestionAnswer<Q,A>
node
- the calling AFunctionCallExp
nodequestion
- the question
AFunctionCallExp
nodepublic A caseAFunctionPtrCallExp(AFunctionPtrCallExp node, Q question)
AFunctionPtrCallExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseAFunctionPtrCallExp
in interface QuestionAnswer<Q,A>
node
- the calling AFunctionPtrCallExp
nodequestion
- the question
AFunctionPtrCallExp
nodepublic A caseAVarExp(AVarExp node, Q question)
AVarExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseAVarExp
in interface QuestionAnswer<Q,A>
node
- the calling AVarExp
nodequestion
- the question
AVarExp
nodepublic A caseAInputExp(AInputExp node, Q question)
AInputExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseAInputExp
in interface QuestionAnswer<Q,A>
node
- the calling AInputExp
nodequestion
- the question
AInputExp
nodepublic A caseAMallocExp(AMallocExp node, Q question)
AMallocExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseAMallocExp
in interface QuestionAnswer<Q,A>
node
- the calling AMallocExp
nodequestion
- the question
AMallocExp
nodepublic A caseANullExp(ANullExp node, Q question)
ANullExp
node. The call is deferred
to defaultPExp(PExp,Object)
.
caseANullExp
in interface QuestionAnswer<Q,A>
node
- the calling ANullExp
nodequestion
- the question
ANullExp
nodepublic A caseAIfThenStm(AIfThenStm node, Q question)
AIfThenStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseAIfThenStm
in interface QuestionAnswer<Q,A>
node
- the calling AIfThenStm
nodequestion
- the question
AIfThenStm
nodepublic A caseAIfThenElseStm(AIfThenElseStm node, Q question)
AIfThenElseStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseAIfThenElseStm
in interface QuestionAnswer<Q,A>
node
- the calling AIfThenElseStm
nodequestion
- the question
AIfThenElseStm
nodepublic A caseAWhileStm(AWhileStm node, Q question)
AWhileStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseAWhileStm
in interface QuestionAnswer<Q,A>
node
- the calling AWhileStm
nodequestion
- the question
AWhileStm
nodepublic A caseADeclStm(ADeclStm node, Q question)
ADeclStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseADeclStm
in interface QuestionAnswer<Q,A>
node
- the calling ADeclStm
nodequestion
- the question
ADeclStm
nodepublic A caseAReturnStm(AReturnStm node, Q question)
AReturnStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseAReturnStm
in interface QuestionAnswer<Q,A>
node
- the calling AReturnStm
nodequestion
- the question
AReturnStm
nodepublic A caseAOutputStm(AOutputStm node, Q question)
AOutputStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseAOutputStm
in interface QuestionAnswer<Q,A>
node
- the calling AOutputStm
nodequestion
- the question
AOutputStm
nodepublic A caseAAssignVarStm(AAssignVarStm node, Q question)
AAssignVarStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseAAssignVarStm
in interface QuestionAnswer<Q,A>
node
- the calling AAssignVarStm
nodequestion
- the question
AAssignVarStm
nodepublic A caseAAssignPtrStm(AAssignPtrStm node, Q question)
AAssignPtrStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseAAssignPtrStm
in interface QuestionAnswer<Q,A>
node
- the calling AAssignPtrStm
nodequestion
- the question
AAssignPtrStm
nodepublic A caseABlockStm(ABlockStm node, Q question)
ABlockStm
node. The call is deferred
to defaultPStm(PStm,Object)
.
caseABlockStm
in interface QuestionAnswer<Q,A>
node
- the calling ABlockStm
nodequestion
- the question
ABlockStm
nodepublic A caseTWhiteSpace(TWhiteSpace node, Q question)
TWhiteSpace
node. The call is deferred
to defaultToken(Token,Object)
.
caseTWhiteSpace
in interface QuestionAnswer<Q,A>
node
- the calling TWhiteSpace
nodequestion
- the question
TWhiteSpace
nodepublic A caseTCommentSingle(TCommentSingle node, Q question)
TCommentSingle
node. The call is deferred
to defaultToken(Token,Object)
.
caseTCommentSingle
in interface QuestionAnswer<Q,A>
node
- the calling TCommentSingle
nodequestion
- the question
TCommentSingle
nodepublic A caseTCommentBlock(TCommentBlock node, Q question)
TCommentBlock
node. The call is deferred
to defaultToken(Token,Object)
.
caseTCommentBlock
in interface QuestionAnswer<Q,A>
node
- the calling TCommentBlock
nodequestion
- the question
TCommentBlock
nodepublic A caseTVar(TVar node, Q question)
TVar
node. The call is deferred
to defaultToken(Token,Object)
.
caseTVar
in interface QuestionAnswer<Q,A>
node
- the calling TVar
nodequestion
- the question
TVar
nodepublic A caseTInput(TInput node, Q question)
TInput
node. The call is deferred
to defaultToken(Token,Object)
.
caseTInput
in interface QuestionAnswer<Q,A>
node
- the calling TInput
nodequestion
- the question
TInput
nodepublic A caseTOutput(TOutput node, Q question)
TOutput
node. The call is deferred
to defaultToken(Token,Object)
.
caseTOutput
in interface QuestionAnswer<Q,A>
node
- the calling TOutput
nodequestion
- the question
TOutput
nodepublic A caseTIf(TIf node, Q question)
TIf
node. The call is deferred
to defaultToken(Token,Object)
.
caseTIf
in interface QuestionAnswer<Q,A>
node
- the calling TIf
nodequestion
- the question
TIf
nodepublic A caseTElse(TElse node, Q question)
TElse
node. The call is deferred
to defaultToken(Token,Object)
.
caseTElse
in interface QuestionAnswer<Q,A>
node
- the calling TElse
nodequestion
- the question
TElse
nodepublic A caseTWhile(TWhile node, Q question)
TWhile
node. The call is deferred
to defaultToken(Token,Object)
.
caseTWhile
in interface QuestionAnswer<Q,A>
node
- the calling TWhile
nodequestion
- the question
TWhile
nodepublic A caseTReturn(TReturn node, Q question)
TReturn
node. The call is deferred
to defaultToken(Token,Object)
.
caseTReturn
in interface QuestionAnswer<Q,A>
node
- the calling TReturn
nodequestion
- the question
TReturn
nodepublic A caseTMalloc(TMalloc node, Q question)
TMalloc
node. The call is deferred
to defaultToken(Token,Object)
.
caseTMalloc
in interface QuestionAnswer<Q,A>
node
- the calling TMalloc
nodequestion
- the question
TMalloc
nodepublic A caseTNull(TNull node, Q question)
TNull
node. The call is deferred
to defaultToken(Token,Object)
.
caseTNull
in interface QuestionAnswer<Q,A>
node
- the calling TNull
nodequestion
- the question
TNull
nodepublic A caseTLPar(TLPar node, Q question)
TLPar
node. The call is deferred
to defaultToken(Token,Object)
.
caseTLPar
in interface QuestionAnswer<Q,A>
node
- the calling TLPar
nodequestion
- the question
TLPar
nodepublic A caseTRPar(TRPar node, Q question)
TRPar
node. The call is deferred
to defaultToken(Token,Object)
.
caseTRPar
in interface QuestionAnswer<Q,A>
node
- the calling TRPar
nodequestion
- the question
TRPar
nodepublic A caseTLBrace(TLBrace node, Q question)
TLBrace
node. The call is deferred
to defaultToken(Token,Object)
.
caseTLBrace
in interface QuestionAnswer<Q,A>
node
- the calling TLBrace
nodequestion
- the question
TLBrace
nodepublic A caseTRBrace(TRBrace node, Q question)
TRBrace
node. The call is deferred
to defaultToken(Token,Object)
.
caseTRBrace
in interface QuestionAnswer<Q,A>
node
- the calling TRBrace
nodequestion
- the question
TRBrace
nodepublic A caseTSemicolon(TSemicolon node, Q question)
TSemicolon
node. The call is deferred
to defaultToken(Token,Object)
.
caseTSemicolon
in interface QuestionAnswer<Q,A>
node
- the calling TSemicolon
nodequestion
- the question
TSemicolon
nodepublic A caseTComma(TComma node, Q question)
TComma
node. The call is deferred
to defaultToken(Token,Object)
.
caseTComma
in interface QuestionAnswer<Q,A>
node
- the calling TComma
nodequestion
- the question
TComma
nodepublic A caseTAssign(TAssign node, Q question)
TAssign
node. The call is deferred
to defaultToken(Token,Object)
.
caseTAssign
in interface QuestionAnswer<Q,A>
node
- the calling TAssign
nodequestion
- the question
TAssign
nodepublic A caseTPlus(TPlus node, Q question)
TPlus
node. The call is deferred
to defaultToken(Token,Object)
.
caseTPlus
in interface QuestionAnswer<Q,A>
node
- the calling TPlus
nodequestion
- the question
TPlus
nodepublic A caseTMinus(TMinus node, Q question)
TMinus
node. The call is deferred
to defaultToken(Token,Object)
.
caseTMinus
in interface QuestionAnswer<Q,A>
node
- the calling TMinus
nodequestion
- the question
TMinus
nodepublic A caseTStar(TStar node, Q question)
TStar
node. The call is deferred
to defaultToken(Token,Object)
.
caseTStar
in interface QuestionAnswer<Q,A>
node
- the calling TStar
nodequestion
- the question
TStar
nodepublic A caseTDiv(TDiv node, Q question)
TDiv
node. The call is deferred
to defaultToken(Token,Object)
.
caseTDiv
in interface QuestionAnswer<Q,A>
node
- the calling TDiv
nodequestion
- the question
TDiv
nodepublic A caseTAnd(TAnd node, Q question)
TAnd
node. The call is deferred
to defaultToken(Token,Object)
.
caseTAnd
in interface QuestionAnswer<Q,A>
node
- the calling TAnd
nodequestion
- the question
TAnd
nodepublic A caseTGt(TGt node, Q question)
TGt
node. The call is deferred
to defaultToken(Token,Object)
.
caseTGt
in interface QuestionAnswer<Q,A>
node
- the calling TGt
nodequestion
- the question
TGt
nodepublic A caseTEq(TEq node, Q question)
TEq
node. The call is deferred
to defaultToken(Token,Object)
.
caseTEq
in interface QuestionAnswer<Q,A>
node
- the calling TEq
nodequestion
- the question
TEq
nodepublic A caseTIntegerConst(TIntegerConst node, Q question)
TIntegerConst
node. The call is deferred
to defaultToken(Token,Object)
.
caseTIntegerConst
in interface QuestionAnswer<Q,A>
node
- the calling TIntegerConst
nodequestion
- the question
TIntegerConst
nodepublic A caseTIdentifier(TIdentifier node, Q question)
TIdentifier
node. The call is deferred
to defaultToken(Token,Object)
.
caseTIdentifier
in interface QuestionAnswer<Q,A>
node
- the calling TIdentifier
nodequestion
- the question
TIdentifier
nodepublic A defaultPProgram(PProgram node, Q question)
PProgram
node. The call is deferred
to defaultNode(Node,Object)
.
node
- the calling PProgram
nodequestion
- the question
PProgram
nodepublic A defaultPDecl(PDecl node, Q question)
PDecl
node. The call is deferred
to defaultNode(Node,Object)
.
node
- the calling PDecl
nodequestion
- the question
PDecl
nodepublic A defaultPBody(PBody node, Q question)
PBody
node. The call is deferred
to defaultNode(Node,Object)
.
node
- the calling PBody
nodequestion
- the question
PBody
nodepublic A defaultPBlock(PBlock node, Q question)
PBlock
node. The call is deferred
to defaultNode(Node,Object)
.
node
- the calling PBlock
nodequestion
- the question
PBlock
nodepublic A defaultPBinop(PBinop node, Q question)
PBinop
node. The call is deferred
to defaultNode(Node,Object)
.
node
- the calling PBinop
nodequestion
- the question
PBinop
nodepublic A defaultPExp(PExp node, Q question)
PExp
node. The call is deferred
to defaultNode(Node,Object)
.
node
- the calling PExp
nodequestion
- the question
PExp
nodepublic A defaultPStm(PStm node, Q question)
PStm
node. The call is deferred
to defaultNode(Node,Object)
.
node
- the calling PStm
nodequestion
- the question
PStm
nodepublic A caseEOF(EOF node, Q question)
EOF
node. The call is deferred
to defaultToken(Token,Object)
.
caseEOF
in interface QuestionAnswer<Q,A>
node
- the calling EOF
nodequestion
- the question
EOF
node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |