- public final Forest<?> ambiguity;
- public Ambiguous(Forest<?> ambiguity) { this.ambiguity = ambiguity; }
+
+ final Forest<?> ambiguity;
+ private final HashSet<Tree<?>> ht;
+
+ /**
+ * @param ht a specially-constructed set of trees with shared nodes replaced by '*'
+ */
+ Ambiguous(Forest<?> ambiguity, HashSet<Tree<?>> ht) {
+ this.ambiguity = ambiguity;
+ this.ht = ht;
+ }
+
+ public Forest<?> getAmbiguity() { return ambiguity; }
+
+ /** WARNING: this method is not considered part of the "stable API"; it may be removed in the future */
+ public Input.Region getRegion() { return ambiguity.getRegion(); }
+