Class SymTypeFreeVariableReplaceVisitor

java.lang.Object
de.monticore.types3.util.SymTypeDeepCloneVisitor
de.monticore.types3.generics.util.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)