dotty.tools.dotc.transform.patmat

SpaceLogic

Related Doc: package patmat

trait SpaceLogic extends AnyRef

abstract space logic

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpaceLogic
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canDecompose(tp: Type): Boolean

    Is the type tp decomposable? i.e.

    Is the type tp decomposable? i.e. all values of the type can be covered by its decomposed types.

    Abstract sealed class, OrType, Boolean and Java enums can be decomposed.

  2. abstract def decompose(tp: Type): List[Space]

    Get components of decomposable types

  3. abstract def isEqualType(tp1: Type, tp2: Type): Boolean

    Is tp1 the same type as tp2?

  4. abstract def isSubType(tp1: Type, tp2: Type): Boolean

    Is tp1 a subtype of tp2?

  5. abstract def signature(tp: Type): List[Type]

    Return term parameter types of the case class tp

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def flatten(space: Space): List[Space]

    Flatten space to get rid of Or for pretty print

  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. def intersect(a: Space, b: Space): Space

    Intersection of two spaces

  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def isSubspace(a: Space, b: Space): Boolean

    Is a a subspace of b? Equivalent to a - b == Empty, but faster

  15. def minus(a: Space, b: Space): Space

    The space of a not covered by b

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def simplify(space: Space): Space

    Simplify space using the laws, there's no nested union after simplify

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped