1 salcianu 1.1.2.1 // ParActionVisitor.java, created Wed Feb 9 15:35:27 2000 by salcianu 2 cananian 1.1.2.3 // Copyright (C) 2000 Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu> 3 salcianu 1.1.2.1 // Licensed under the terms of the GNU GPL; see COPYING for details. 4 salcianu 1.1.2.1 package harpoon.Analysis.PointerAnalysis; 5 salcianu 1.1.2.1 6 salcianu 1.1.2.1 /** 7 salcianu 1.1.2.1 * <code>ParActionVisitor</code> is a wrapper for the functions that are 8 salcianu 1.1.2.1 called on a "paralel action" piece of information. 9 salcianu 1.1.2.1 There is no other way to pass a function in Java (no pointers to methods ...) 10 salcianu 1.1.2.1 * 11 cananian 1.1.2.3 * @author Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu> 12 cananian 1.2 * @version $Id: ParActionVisitor.java,v 1.2 2002/02/25 20:58:40 cananian Exp $ 13 salcianu 1.1.2.1 */ 14 salcianu 1.1.2.1 interface ParActionVisitor { 15 salcianu 1.1.2.2 /** Visits a "parallel action" item of information of the form 16 salcianu 1.1.2.2 <code> load || nt2</code>. */ 17 salcianu 1.1.2.1 public void visit_par_ld(PALoad load, PANode nt2); 18 salcianu 1.1.2.2 /** Visits a "parallel action" item of information of the form 19 salcianu 1.1.2.2 <code>sync || nt2</code>. */ 20 salcianu 1.1.2.2 public void visit_par_sync(PASync sync, PANode nt2); 21 cananian 1.2 }