Class SymTypeFreeVariableReplaceVisitor

  • All Implemented Interfaces:
    ISymTypeVisitor

    public class SymTypeFreeVariableReplaceVisitor
    extends SymTypeDeepCloneVisitor
    Replaces type variables, that are free in the given enclosing scope, with inference variables. Returns both, the new type, and a map from the replaced variables to the replacement. Usage: calculate(symType, enclosingScope)