1 package serp.bytecode.visitor;
2
3
4 /***
5 * Interface denoting an entity that can accept a {@link BCVisitor} and
6 * provide its internal state to it. All entities in the bytecode framework
7 * implement this interface.
8 *
9 * @author Abe White
10 */
11 public interface VisitAcceptor {
12 /***
13 * Accept a visit from a {@link BCVisitor}, calling the appropriate methods
14 * to notify the visitor that it has entered this entity, and
15 * to provide it with the proper callbacks for each sub-entity owned
16 * by this one.
17 */
18 public void acceptVisit(BCVisitor visitor);
19 }