/src/org/ooc/frontend/model/Visitable.java

http://github.com/nddrylliog/ooc · Java · 13 lines · 8 code · 5 blank · 0 comment · 0 complexity · 145f4688905e532da1f47cd6ae73559f MD5 · raw file

  1. package org.ooc.frontend.model;
  2. import java.io.IOException;
  3. import org.ooc.frontend.Visitor;
  4. public interface Visitable {
  5. public abstract void accept(Visitor visitor) throws IOException;
  6. public abstract boolean hasChildren();
  7. public abstract void acceptChildren(Visitor visitor) throws IOException;
  8. }