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