Class MapBasedTypeCheck3

  • Direct Known Subclasses:
    JavaLightTypeCheck3

    public class MapBasedTypeCheck3
    extends TypeCheck3
    A default implementation of the TypeCheck3 interface. This class is designed to be derived from, such that the required traverser and maps are provided by the subclasses.

    This implementation is based on the Maps Type4Ast and InferenceContext4Ast, which filled using a traverser. Type4Ast is filled with the result of the type derivation, while InferenceContext4Ast is used to provide information to the traverser, e.g., an expressions target type.

    If the type has already been derived and stored in Type4Ast, then it will not be derived again.