/** * Called by the {@link AProductType} node from {@link AProductType#apply(IPOFAnalysis)}. * @param node the calling {@link AProductType} node */ public void caseAProductType(AProductType node) throws AnalysisException { _visitedNodes.add(node); inAProductType(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } { List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } outAProductType(node); }
/** * Called by the {@link AProductType} node from {@link AProductType#apply(IAnalysis)}. * @param node the calling {@link AProductType} node */ public void caseAProductType(AProductType node) throws AnalysisException { _visitedNodes.add(node); inAProductType(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } { List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } outAProductType(node); }
/** * Called by the {@link AProductType} node from {@link AProductType#apply(IAnalysis)}. * @param node the calling {@link AProductType} node */ public void caseAProductType(AProductType node, Q question) throws AnalysisException { _visitedNodes.add(node); inAProductType(node, question); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this, question); } } } { List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this, question); } } } outAProductType(node, question); }
List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy)
List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy)