ca.mrvisser

sealerate

package sealerate

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

Value Members

  1. def collect[T]: Set[T]

    This is identical to values[T], except if there are case class instances, they are simply filtered out of the set rather than throwing a compilation error.

    This is identical to values[T], except if there are case class instances, they are simply filtered out of the set rather than throwing a compilation error.

    T

    The type for which we're going to search for object instances

    returns

    A Set of all known object instances

    Annotations
    @macroImpl( ... )
  2. package internal

  3. def values[T]: Set[T]

    Generate a set of all available object instances known for the sealed trait identified by T, throwing a compilation error if there are any case class instances of the trait.

    Generate a set of all available object instances known for the sealed trait identified by T, throwing a compilation error if there are any case class instances of the trait.

    The type T must denote a Class type that is a sealed trait, sealed abstract class, or sealed class. If there are any instances of this sealed class that are not case objects (i.e., there exist case classes), then this will result in a compilation error.

    T

    The type for which we're going to search for object instances

    returns

    A Set of all known object instances

    Annotations
    @macroImpl( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped