/** * Called by the {@link ALambdaExpIR} node from {@link ALambdaExpIR#apply(IAnalysis)}. * @param node the calling {@link ALambdaExpIR} node */ public void caseALambdaExpIR(ALambdaExpIR node) throws AnalysisException { _visitedNodes.add(node); inALambdaExpIR(node); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } { List<AFormalParamLocalParamIR> copy = new ArrayList<AFormalParamLocalParamIR>(node.getParams()); for( AFormalParamLocalParamIR e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } if(node.getExp() != null && !_visitedNodes.contains(node.getExp())) { node.getExp().apply(this); } outALambdaExpIR(node); }
/** * Called by the {@link ALambdaExpIR} node from {@link ALambdaExpIR#apply(IAnalysis)}. * @param node the calling {@link ALambdaExpIR} node */ public void caseALambdaExpIR(ALambdaExpIR node, Q question) throws AnalysisException { _visitedNodes.add(node); inALambdaExpIR(node, question); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this, question); } { List<AFormalParamLocalParamIR> copy = new ArrayList<AFormalParamLocalParamIR>(node.getParams()); for( AFormalParamLocalParamIR e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this, question); } } } if(node.getExp() != null && !_visitedNodes.contains(node.getExp())) { node.getExp().apply(this, question); } outALambdaExpIR(node, question); }
/** * Called by the {@link ALambdaExpIR} node from {@link ALambdaExpIR#apply(IIsaAnalysis)}. * @param node the calling {@link ALambdaExpIR} node */ public void caseALambdaExpIR(ALambdaExpIR node) throws AnalysisException { _visitedNodes.add(node); inALambdaExpIR(node); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { node.getType().apply(this); } { List<AFormalParamLocalParamIR> copy = new ArrayList<AFormalParamLocalParamIR>(node.getParams()); for( AFormalParamLocalParamIR e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } if(node.getExp() != null && !_visitedNodes.contains(node.getExp())) { node.getExp().apply(this); } outALambdaExpIR(node); }
e.apply(this);
e.apply(this);
e.apply(this, question);
/** * Called by the {@link ALambdaExpIR} node from {@link ALambdaExpIR#apply(IAnalysis)}. * @param node the calling {@link ALambdaExpIR} node */ public A caseALambdaExpIR(ALambdaExpIR node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inALambdaExpIR(node, question)); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this, question)); } { List<AFormalParamLocalParamIR> copy = new ArrayList<AFormalParamLocalParamIR>(node.getParams()); for( AFormalParamLocalParamIR e : copy) { if(!_visitedNodes.contains(e)) { mergeReturns(retVal,e.apply(this, question)); } } } if(node.getExp() != null && !_visitedNodes.contains(node.getExp())) { mergeReturns(retVal,node.getExp().apply(this, question)); } mergeReturns(retVal,outALambdaExpIR(node, question)); return retVal; }
e.apply(this);
/** * Called by the {@link ALambdaExpIR} node from {@link ALambdaExpIR#apply(IAnalysis)}. * @param node the calling {@link ALambdaExpIR} node */ public A caseALambdaExpIR(ALambdaExpIR node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inALambdaExpIR(node)); if(node.getType() != null && !_visitedNodes.contains(node.getType())) { mergeReturns(retVal,node.getType().apply(this)); } { List<AFormalParamLocalParamIR> copy = new ArrayList<AFormalParamLocalParamIR>(node.getParams()); for( AFormalParamLocalParamIR e : copy) { if(!_visitedNodes.contains(e)) { mergeReturns(retVal,e.apply(this)); } } } if(node.getExp() != null && !_visitedNodes.contains(node.getExp())) { mergeReturns(retVal,node.getExp().apply(this)); } mergeReturns(retVal,outALambdaExpIR(node)); return retVal; }
e.apply(this);
e.apply(this, question);
mergeReturns(retVal,e.apply(this));
mergeReturns(retVal,e.apply(this, question));
mergeReturns(retVal,e.apply(this, question));
mergeReturns(retVal,e.apply(this));