package sealerate
- Alphabetic
- By Inheritance
- sealerate
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
macro
def
collect[T]: Set[T]
This is identical to
values[T], except if there arecase classinstances, they are simply filtered out of the set rather than throwing a compilation error.This is identical to
values[T], except if there arecase classinstances, 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
-
macro
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 classinstances 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 classinstances 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 existcase 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