View Javadoc

1   // DynamicOperation.java, created Jul 3, 2004 11:50:51 PM by joewhaley
2   // Copyright (C) 2004 John Whaley <jwhaley@alum.mit.edu>
3   // Licensed under the terms of the GNU LGPL; see COPYING for details.
4   package net.sf.bddbddb.ir.dynamic;
5   
6   import net.sf.bddbddb.ir.Operation;
7   import net.sf.bddbddb.ir.OperationVisitor;
8   
9   /***
10   * DynamicOperation
11   * 
12   * @author jwhaley
13   * @version $Id: DynamicOperation.java 328 2004-10-16 02:45:30Z joewhaley $
14   */
15  public abstract class DynamicOperation extends Operation {
16      /***
17       * @param i  the visitor
18       * @return  the result from the visitor
19       */
20      public Object visit(OperationVisitor i) {
21          return visit((DynamicOperationVisitor) i);
22      }
23  
24      /***
25       * @param i  the visitor
26       * @return  the result from the visitor
27       */
28      public abstract Object visit(DynamicOperationVisitor i);
29  }