/** * Called by the {@link AQuoteType} node from {@link AQuoteType#apply(IAnalysis)}. * @param node the calling {@link AQuoteType} node */ public void caseAQuoteType(AQuoteType node, Q question) throws AnalysisException { _visitedNodes.add(node); inAQuoteType(node, question); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this, question); } } } if(node.getValue() != null ) { node.getValue().apply(this, question); } outAQuoteType(node, question); }
/** * Called by the {@link AQuoteType} node from {@link AQuoteType#apply(IAnalysis)}. * @param node the calling {@link AQuoteType} node */ public void caseAQuoteType(AQuoteType node) throws AnalysisException { _visitedNodes.add(node); inAQuoteType(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } if(node.getValue() != null ) { node.getValue().apply(this); } outAQuoteType(node); }
/** * Called by the {@link AQuoteType} node from {@link AQuoteType#apply(IPOFAnalysis)}. * @param node the calling {@link AQuoteType} node */ public void caseAQuoteType(AQuoteType node) throws AnalysisException { _visitedNodes.add(node); inAQuoteType(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } if(node.getValue() != null ) { node.getValue().apply(this); } outAQuoteType(node); }
/** * Called by the {@link AQuoteType} node from {@link AQuoteType#apply(IAnalysis)}. * @param node the calling {@link AQuoteType} node */ public A caseAQuoteType(AQuoteType node) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node); mergeReturns(retVal,inAQuoteType(node)); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { mergeReturns(retVal,e.apply(this)); } } } if(node.getValue() != null ) { mergeReturns(retVal,node.getValue().apply(this)); } mergeReturns(retVal,outAQuoteType(node)); return retVal; }
/** * Called by the {@link AQuoteType} node from {@link AQuoteType#apply(IAnalysis)}. * @param node the calling {@link AQuoteType} node */ public A caseAQuoteType(AQuoteType node, Q question) throws AnalysisException { _visitedNodes.add(node); A retVal = createNewReturnValue(node, question); mergeReturns(retVal,inAQuoteType(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.getValue() != null ) { mergeReturns(retVal,node.getValue().apply(this, question)); } mergeReturns(retVal,outAQuoteType(node, question)); return retVal; }