PageRenderTime 18ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 1package org.ooc.middle.walkers;
 2
 3import java.io.IOException;
 4
 5import org.ooc.frontend.model.Node;
 6import org.ooc.frontend.model.NodeList;
 7
 8/**
 9 * @return false if you want to stop, true if you wanna continue.
10 */
11public interface Opportunist<T> {
12	public boolean take(T node, NodeList<Node> stack) throws IOException;
13}