/** the root superclass for all components of the grammar (terminals, nonterminals, literals, etc) */
public abstract class Element {
- /** add all positions reachable from the start of this Element to @rp */
- abstract void reachable(HashSet<Sequence.Position> rp);
-
abstract Topology toAtom();
public Topology noFollow() { return null; }
Forest epsilonForm() { throw new Error("no epsilon form: " + this); }