/src/org/ooc/middle/walkers/Opportunist.java
http://github.com/nddrylliog/ooc · Java · 13 lines · 7 code · 3 blank · 3 comment · 0 complexity · aac68e57b26f6bd726fb62fd5bb22a49 MD5 · raw file
- package org.ooc.middle.walkers;
- import java.io.IOException;
- import org.ooc.frontend.model.Node;
- import org.ooc.frontend.model.NodeList;
- /**
- * @return false if you want to stop, true if you wanna continue.
- */
- public interface Opportunist<T> {
- public boolean take(T node, NodeList<Node> stack) throws IOException;
- }