public Iterator<Sequence> iterator() { return alternatives.iterator(); }
- void reachable(HashSet<Sequence.Position> h) { for(Sequence s : alternatives) s.reachable(h); }
-
Topology toAtom() {
if (alternatives.size()==0) throw new RuntimeException("cannot build an Atom from a Union with no productions");
Topology ret = null;