Class ErrorType


  • public class ErrorType
    extends Type
    This class represents the internal error type used during semantic analysis.
    Version:
    0.1
    Author:
    Michael Bouschen
    • Method Detail

      • isCompatibleWith

        public boolean isCompatibleWith​(Type type)
        Description copied from class: Type
        Checks type compatibility.
        Specified by:
        isCompatibleWith in class Type
        Parameters:
        type - the type this is checked with.
        Returns:
        true if this is compatible with type; false otherwise.
      • isOrderable

        public boolean isOrderable()
        Description copied from class: Type
        Returns whether this represents a type with an defined order.
        Overrides:
        isOrderable in class Type
        Returns:
        true if an order is defined for this; false otherwise.