|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Q
- the type of the questionspublic interface Question<Q>
Question
defines an interface for the abstraction of questions
based on a Node
. The interface is a visitor pattern.
Method Detail |
---|
void caseStart(Start node, Q question)
Start
from Start.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAProgram(AProgram node, Q question)
AProgram
from AProgram.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAFuncDecl(AFuncDecl node, Q question)
AFuncDecl
from AFuncDecl.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseALocalDecl(ALocalDecl node, Q question)
ALocalDecl
from ALocalDecl.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseABody(ABody node, Q question)
ABody
from ABody.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseABlock(ABlock node, Q question)
ABlock
from ABlock.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAPlusBinop(APlusBinop node, Q question)
APlusBinop
from APlusBinop.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAMinusBinop(AMinusBinop node, Q question)
AMinusBinop
from AMinusBinop.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseATimesBinop(ATimesBinop node, Q question)
ATimesBinop
from ATimesBinop.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseADivideBinop(ADivideBinop node, Q question)
ADivideBinop
from ADivideBinop.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAEqBinop(AEqBinop node, Q question)
AEqBinop
from AEqBinop.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAGtBinop(AGtBinop node, Q question)
AGtBinop
from AGtBinop.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseABinopExp(ABinopExp node, Q question)
ABinopExp
from ABinopExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAPointerExp(APointerExp node, Q question)
APointerExp
from APointerExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseADerefExp(ADerefExp node, Q question)
ADerefExp
from ADerefExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAIntConstExp(AIntConstExp node, Q question)
AIntConstExp
from AIntConstExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAFunctionCallExp(AFunctionCallExp node, Q question)
AFunctionCallExp
from AFunctionCallExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAFunctionPtrCallExp(AFunctionPtrCallExp node, Q question)
AFunctionPtrCallExp
from AFunctionPtrCallExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAVarExp(AVarExp node, Q question)
AVarExp
from AVarExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAInputExp(AInputExp node, Q question)
AInputExp
from AInputExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAMallocExp(AMallocExp node, Q question)
AMallocExp
from AMallocExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseANullExp(ANullExp node, Q question)
ANullExp
from ANullExp.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAIfThenStm(AIfThenStm node, Q question)
AIfThenStm
from AIfThenStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAIfThenElseStm(AIfThenElseStm node, Q question)
AIfThenElseStm
from AIfThenElseStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAWhileStm(AWhileStm node, Q question)
AWhileStm
from AWhileStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseADeclStm(ADeclStm node, Q question)
ADeclStm
from ADeclStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAReturnStm(AReturnStm node, Q question)
AReturnStm
from AReturnStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAOutputStm(AOutputStm node, Q question)
AOutputStm
from AOutputStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAAssignVarStm(AAssignVarStm node, Q question)
AAssignVarStm
from AAssignVarStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseAAssignPtrStm(AAssignPtrStm node, Q question)
AAssignPtrStm
from AAssignPtrStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseABlockStm(ABlockStm node, Q question)
ABlockStm
from ABlockStm.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTWhiteSpace(TWhiteSpace node, Q question)
TWhiteSpace
from TWhiteSpace.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTCommentSingle(TCommentSingle node, Q question)
TCommentSingle
from TCommentSingle.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTCommentBlock(TCommentBlock node, Q question)
TCommentBlock
from TCommentBlock.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTVar(TVar node, Q question)
TVar
from TVar.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTInput(TInput node, Q question)
TInput
from TInput.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTOutput(TOutput node, Q question)
TOutput
from TOutput.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTIf(TIf node, Q question)
TIf
from TIf.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTElse(TElse node, Q question)
TElse
from TElse.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTWhile(TWhile node, Q question)
TWhile
from TWhile.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTReturn(TReturn node, Q question)
TReturn
from TReturn.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTMalloc(TMalloc node, Q question)
TMalloc
from TMalloc.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTNull(TNull node, Q question)
TNull
from TNull.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTLPar(TLPar node, Q question)
TLPar
from TLPar.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTRPar(TRPar node, Q question)
TRPar
from TRPar.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTLBrace(TLBrace node, Q question)
TLBrace
from TLBrace.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTRBrace(TRBrace node, Q question)
TRBrace
from TRBrace.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTSemicolon(TSemicolon node, Q question)
TSemicolon
from TSemicolon.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTComma(TComma node, Q question)
TComma
from TComma.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTAssign(TAssign node, Q question)
TAssign
from TAssign.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTPlus(TPlus node, Q question)
TPlus
from TPlus.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTMinus(TMinus node, Q question)
TMinus
from TMinus.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTStar(TStar node, Q question)
TStar
from TStar.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTDiv(TDiv node, Q question)
TDiv
from TDiv.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTAnd(TAnd node, Q question)
TAnd
from TAnd.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTGt(TGt node, Q question)
TGt
from TGt.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTEq(TEq node, Q question)
TEq
from TEq.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTIntegerConst(TIntegerConst node, Q question)
TIntegerConst
from TIntegerConst.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseTIdentifier(TIdentifier node, Q question)
TIdentifier
from TIdentifier.apply(Question,Object)
.
node
- the calling nodequestion
- the provided questionvoid caseEOF(EOF node, Q question)
EOF
from EOF.apply(Question,Object)
.
node
- the calling nodequestion
- the provided question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |