Class SymTypeNormalizeVisitor

java.lang.Object
de.monticore.types3.util.SymTypeDeepCloneVisitor
de.monticore.types3.util.SymTypeNormalizeVisitor
All Implemented Interfaces:
ISymTypeVisitor

public class SymTypeNormalizeVisitor extends SymTypeDeepCloneVisitor
tries to normalize SymTypeExpressions, including, but not limited to, unions and intersections e.g., (A|A|B) -> A, if A extends B Usage: calculate(symType)

normalization of regular expressions are not supported

note, this visitor does not box/unbox, boxing/unboxing should be done before this visitor if required