/** * Called by the {@link AMapMapType} node from {@link AMapMapType#apply(IAnalysis)}. * @param node the calling {@link AMapMapType} node */ public void caseAMapMapType(AMapMapType node, Q question) throws AnalysisException { _visitedNodes.add(node); inAMapMapType(node, question); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this, question); } } } if(node.getFrom() != null && !_visitedNodes.contains(node.getFrom())) { node.getFrom().apply(this, question); } if(node.getTo() != null && !_visitedNodes.contains(node.getTo())) { node.getTo().apply(this, question); } outAMapMapType(node, question); }
/** * Called by the {@link AMapMapType} node from {@link AMapMapType#apply(IAnalysis)}. * @param node the calling {@link AMapMapType} node */ public void caseAMapMapType(AMapMapType node) throws AnalysisException { _visitedNodes.add(node); inAMapMapType(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } if(node.getFrom() != null && !_visitedNodes.contains(node.getFrom())) { node.getFrom().apply(this); } if(node.getTo() != null && !_visitedNodes.contains(node.getTo())) { node.getTo().apply(this); } outAMapMapType(node); }
/** * Called by the {@link AMapMapType} node from {@link AMapMapType#apply(IPOFAnalysis)}. * @param node the calling {@link AMapMapType} node */ public void caseAMapMapType(AMapMapType node) throws AnalysisException { _visitedNodes.add(node); inAMapMapType(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } if(node.getFrom() != null && !_visitedNodes.contains(node.getFrom())) { node.getFrom().apply(this); } if(node.getTo() != null && !_visitedNodes.contains(node.getTo())) { node.getTo().apply(this); } outAMapMapType(node); }
/** * Called by the {@link AMapMapType} node from {@link AMapMapType#apply(IAnalysis)}. * @param node the calling {@link AMapMapType} node */ public A caseAMapMapType(AMapMapType node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inAMapMapType(node, question)); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { mergeReturns(retVal,e.apply(this, question)); } } } if(node.getFrom() != null && !_visitedNodes.contains(node.getFrom())) { mergeReturns(retVal,node.getFrom().apply(this, question)); } if(node.getTo() != null && !_visitedNodes.contains(node.getTo())) { mergeReturns(retVal,node.getTo().apply(this, question)); } mergeReturns(retVal,outAMapMapType(node, question)); return retVal; }
/** * Called by the {@link AMapMapType} node from {@link AMapMapType#apply(IAnalysis)}. * @param node the calling {@link AMapMapType} node */ public A caseAMapMapType(AMapMapType node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inAMapMapType(node)); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { mergeReturns(retVal,e.apply(this)); } } } if(node.getFrom() != null && !_visitedNodes.contains(node.getFrom())) { mergeReturns(retVal,node.getFrom().apply(this)); } if(node.getTo() != null && !_visitedNodes.contains(node.getTo())) { mergeReturns(retVal,node.getTo().apply(this)); } mergeReturns(retVal,outAMapMapType(node)); return retVal; }