@Override public Boolean caseAMapletExpIR(AMapletExpIR node) throws AnalysisException { return node.getLeft().apply(this) && node.getRight().apply(this); }
/** * Called by the {@link AMapletExpIR} node from {@link AMapletExpIR#apply(IIsaAnalysis)}. * @param node the calling {@link AMapletExpIR} node */ public void caseAMapletExpIR(AMapletExpIR node) throws AnalysisException { _visitedNodes.add(node); inAMapletExpIR(node); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } if(node.getLeft() != null && !_visitedNodes.contains(node.getLeft())) { node.getLeft().apply(this); } if(node.getRight() != null && !_visitedNodes.contains(node.getRight())) { node.getRight().apply(this); } outAMapletExpIR(node); }
/** * Called by the {@link AMapletExpIR} node from {@link AMapletExpIR#apply(IAnalysis)}. * @param node the calling {@link AMapletExpIR} node */ public void caseAMapletExpIR(AMapletExpIR node) throws AnalysisException { _visitedNodes.add(node); inAMapletExpIR(node); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } if(node.getLeft() != null && !_visitedNodes.contains(node.getLeft())) { node.getLeft().apply(this); } if(node.getRight() != null && !_visitedNodes.contains(node.getRight())) { node.getRight().apply(this); } outAMapletExpIR(node); }
/** * Called by the {@link AMapletExpIR} node from {@link AMapletExpIR#apply(IAnalysis)}. * @param node the calling {@link AMapletExpIR} node */ public void caseAMapletExpIR(AMapletExpIR node, Q question) throws AnalysisException { _visitedNodes.add(node); inAMapletExpIR(node, question); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this, question); } if(node.getLeft() != null && !_visitedNodes.contains(node.getLeft())) { node.getLeft().apply(this, question); } if(node.getRight() != null && !_visitedNodes.contains(node.getRight())) { node.getRight().apply(this, question); } outAMapletExpIR(node, question); }
/** * Called by the {@link AMapletExpIR} node from {@link AMapletExpIR#apply(IAnalysis)}. * @param node the calling {@link AMapletExpIR} node */ public A caseAMapletExpIR(AMapletExpIR node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inAMapletExpIR(node)); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this)); } if(node.getLeft() != null && !_visitedNodes.contains(node.getLeft())) { mergeReturns(retVal,node.getLeft().apply(this)); } if(node.getRight() != null && !_visitedNodes.contains(node.getRight())) { mergeReturns(retVal,node.getRight().apply(this)); } mergeReturns(retVal,outAMapletExpIR(node)); return retVal; }
/** * Called by the {@link AMapletExpIR} node from {@link AMapletExpIR#apply(IAnalysis)}. * @param node the calling {@link AMapletExpIR} node */ public A caseAMapletExpIR(AMapletExpIR node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inAMapletExpIR(node, question)); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this, question)); } if(node.getLeft() != null && !_visitedNodes.contains(node.getLeft())) { mergeReturns(retVal,node.getLeft().apply(this, question)); } if(node.getRight() != null && !_visitedNodes.contains(node.getRight())) { mergeReturns(retVal,node.getRight().apply(this, question)); } mergeReturns(retVal,outAMapletExpIR(node, question)); return retVal; }