/** * Called by the {@link ATuplePattern} node from {@link ATuplePattern#apply(IAnalysis)}. * @param node the calling {@link ATuplePattern} node */ public void caseATuplePattern(ATuplePattern node) throws AnalysisException { _visitedNodes.add(node); inATuplePattern(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } { List<PPattern> copy = new ArrayList<PPattern>(node.getPlist()); for( PPattern e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } outATuplePattern(node); }
/** * Called by the {@link ATuplePattern} node from {@link ATuplePattern#apply(IAnalysis)}. * @param node the calling {@link ATuplePattern} node */ public void caseATuplePattern(ATuplePattern node, Q question) throws AnalysisException { _visitedNodes.add(node); inATuplePattern(node, question); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this, question); } } } { List<PPattern> copy = new ArrayList<PPattern>(node.getPlist()); for( PPattern e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this, question); } } } outATuplePattern(node, question); }
/** * Called by the {@link ATuplePattern} node from {@link ATuplePattern#apply(IPOFAnalysis)}. * @param node the calling {@link ATuplePattern} node */ public void caseATuplePattern(ATuplePattern node) throws AnalysisException { _visitedNodes.add(node); inATuplePattern(node); { List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } { List<PPattern> copy = new ArrayList<PPattern>(node.getPlist()); for( PPattern e : copy) { if(!_visitedNodes.contains(e)) { e.apply(this); } } } outATuplePattern(node); }
List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy)
List<PDefinition> copy = new ArrayList<PDefinition>(node.getDefinitions()); for( PDefinition e : copy)