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