/** * Called by the {@link ARangeResToBinaryExpIR} node from {@link ARangeResToBinaryExpIR#apply(IAnalysis)}. * @param node the calling {@link ARangeResToBinaryExpIR} node */ public void caseARangeResToBinaryExpIR(ARangeResToBinaryExpIR node) throws AnalysisException { _visitedNodes.add(node); inARangeResToBinaryExpIR(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); } outARangeResToBinaryExpIR(node); }
/** * Called by the {@link ARangeResToBinaryExpIR} node from {@link ARangeResToBinaryExpIR#apply(IAnalysis)}. * @param node the calling {@link ARangeResToBinaryExpIR} node */ public void caseARangeResToBinaryExpIR(ARangeResToBinaryExpIR node, Q question) throws AnalysisException { _visitedNodes.add(node); inARangeResToBinaryExpIR(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); } outARangeResToBinaryExpIR(node, question); }
/** * Called by the {@link ARangeResToBinaryExpIR} node from {@link ARangeResToBinaryExpIR#apply(IIsaAnalysis)}. * @param node the calling {@link ARangeResToBinaryExpIR} node */ public void caseARangeResToBinaryExpIR(ARangeResToBinaryExpIR node) throws AnalysisException { _visitedNodes.add(node); inARangeResToBinaryExpIR(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); } outARangeResToBinaryExpIR(node); }
/** * Called by the {@link ARangeResToBinaryExpIR} node from {@link ARangeResToBinaryExpIR#apply(IAnalysis)}. * @param node the calling {@link ARangeResToBinaryExpIR} node */ public A caseARangeResToBinaryExpIR(ARangeResToBinaryExpIR node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inARangeResToBinaryExpIR(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,outARangeResToBinaryExpIR(node, question)); return retVal; }
/** * Called by the {@link ARangeResToBinaryExpIR} node from {@link ARangeResToBinaryExpIR#apply(IAnalysis)}. * @param node the calling {@link ARangeResToBinaryExpIR} node */ public A caseARangeResToBinaryExpIR(ARangeResToBinaryExpIR node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inARangeResToBinaryExpIR(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,outARangeResToBinaryExpIR(node)); return retVal; }