1 package polyglot.ast;2 3 import polyglot.types.*;4 import polyglot.visit.*;5 import polyglot.util.*;6 7 /**8 * Utility class which is used to disambiguate ambiguous9 * AST nodes (Expr, Type, Receiver, Qualifier, Prefix).10 */11 public interface Disamb12 {13 /**14 * Disambiguate the prefix and name into a unambiguous node of the15 * appropriate type.16 * @return An unambiguous AST node, or null if disambiguation fails.17 */18 Node disambiguate(Ambiguous amb, ContextVisitor v, Position pos,19 Prefix prefix, String name) throws SemanticException;20 }21