/** * Called by the {@link ADurationStmIR} node from {@link ADurationStmIR#apply(IIsaAnalysis)}. * @param node the calling {@link ADurationStmIR} node */ public void caseADurationStmIR(ADurationStmIR node) throws AnalysisException { _visitedNodes.add(node); inADurationStmIR(node); if(node.getDuration() != null && !_visitedNodes.contains(node.getDuration())) { node.getDuration().apply(this); } if(node.getStm() != null && !_visitedNodes.contains(node.getStm())) { node.getStm().apply(this); } outADurationStmIR(node); }
/** * Called by the {@link ADurationStmIR} node from {@link ADurationStmIR#apply(IAnalysis)}. * @param node the calling {@link ADurationStmIR} node */ public void caseADurationStmIR(ADurationStmIR node, Q question) throws AnalysisException { _visitedNodes.add(node); inADurationStmIR(node, question); if(node.getDuration() != null && !_visitedNodes.contains(node.getDuration())) { node.getDuration().apply(this, question); } if(node.getStm() != null && !_visitedNodes.contains(node.getStm())) { node.getStm().apply(this, question); } outADurationStmIR(node, question); }
/** * Called by the {@link ADurationStmIR} node from {@link ADurationStmIR#apply(IAnalysis)}. * @param node the calling {@link ADurationStmIR} node */ public void caseADurationStmIR(ADurationStmIR node) throws AnalysisException { _visitedNodes.add(node); inADurationStmIR(node); if(node.getDuration() != null && !_visitedNodes.contains(node.getDuration())) { node.getDuration().apply(this); } if(node.getStm() != null && !_visitedNodes.contains(node.getStm())) { node.getStm().apply(this); } outADurationStmIR(node); }
/** * Called by the {@link ADurationStmIR} node from {@link ADurationStmIR#apply(IAnalysis)}. * @param node the calling {@link ADurationStmIR} node */ public A caseADurationStmIR(ADurationStmIR node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inADurationStmIR(node, question)); if(node.getDuration() != null && !_visitedNodes.contains(node.getDuration())) { mergeReturns(retVal,node.getDuration().apply(this, question)); } if(node.getStm() != null && !_visitedNodes.contains(node.getStm())) { mergeReturns(retVal,node.getStm().apply(this, question)); } mergeReturns(retVal,outADurationStmIR(node, question)); return retVal; }
/** * Called by the {@link ADurationStmIR} node from {@link ADurationStmIR#apply(IAnalysis)}. * @param node the calling {@link ADurationStmIR} node */ public A caseADurationStmIR(ADurationStmIR node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inADurationStmIR(node)); if(node.getDuration() != null && !_visitedNodes.contains(node.getDuration())) { mergeReturns(retVal,node.getDuration().apply(this)); } if(node.getStm() != null && !_visitedNodes.contains(node.getStm())) { mergeReturns(retVal,node.getStm().apply(this)); } mergeReturns(retVal,outADurationStmIR(node)); return retVal; }