ValueEnumMacros

enumeratum.ValueEnumMacros$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def findByteValueEntriesImpl[ValueEntryType : Type](implicit evidence$5: Type[ValueEntryType], Quotes): Expr[IndexedSeq[ValueEntryType]]

Finds ValueEntryType-typed objects in scope that have literal value: Byte implementations.

Finds ValueEntryType-typed objects in scope that have literal value: Byte implementations.

Note

  • requires the ValueEntryType to have a 'value' member that has a literal value

Attributes

def findCharValueEntriesImpl[ValueEntryType : Type](implicit evidence$6: Type[ValueEntryType], Quotes): Expr[IndexedSeq[ValueEntryType]]

Finds ValueEntryType-typed objects in scope that have literal value: Char implementations.

Finds ValueEntryType-typed objects in scope that have literal value: Char implementations.

Note

  • requires the ValueEntryType to have a 'value' member that has a literal value

Attributes

def findIntValueEntriesImpl[ValueEntryType : Type](implicit evidence$1: Type[ValueEntryType], Quotes): Expr[IndexedSeq[ValueEntryType]]

Finds ValueEntryType-typed objects in scope that have literal value: Int implementations.

Finds ValueEntryType-typed objects in scope that have literal value: Int implementations.

Note, requires the ValueEntryType to have a 'value' member that has a literal value.

Attributes

def findLongValueEntriesImpl[ValueEntryType : Type](implicit evidence$2: Type[ValueEntryType], Quotes): Expr[IndexedSeq[ValueEntryType]]

Finds ValueEntryType-typed objects in scope that have literal value: Long implementations.

Finds ValueEntryType-typed objects in scope that have literal value: Long implementations.

Note, requires the ValueEntryType to have a 'value' member that has a literal value.

Attributes

def findShortValueEntriesImpl[ValueEntryType : Type](implicit evidence$3: Type[ValueEntryType], Quotes): Expr[IndexedSeq[ValueEntryType]]

Finds ValueEntryType-typed objects in scope that have literal value: Short implementations.

Finds ValueEntryType-typed objects in scope that have literal value: Short implementations.

Note

  • requires the ValueEntryType to have a 'value' member that has a literal value
  • the Short value should be a literal Int (do no need to cast .toShort).

Attributes

def findStringValueEntriesImpl[ValueEntryType : Type](implicit evidence$4: Type[ValueEntryType], Quotes): Expr[IndexedSeq[ValueEntryType]]

Finds ValueEntryType-typed objects in scope that have literal value: String implementations.

Finds ValueEntryType-typed objects in scope that have literal value: String implementations.

Note

  • requires the ValueEntryType to have a 'value' member that has a literal value

Attributes