DeriveEnumTypeMacro

sangria.macros.derive.DeriveEnumTypeMacro$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class MacroDeprecateValue(value: String, deprecationReason: Expr[Option[String]], pos: PositionPointer) extends MacroDeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class MacroDocumentValue(value: String, description: Expr[String], deprecationReason: Expr[Option[String]], pos: PositionPointer) extends MacroDeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class MacroEnumTypeDescription(description: Expr[String]) extends MacroDeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class MacroEnumTypeName(name: Expr[String]) extends MacroDeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class MacroExcludeValues(fieldNames: Set[String], pos: PositionPointer) extends MacroDeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class MacroRenameValue(value: String, graphqlName: Expr[String], pos: PositionPointer) extends MacroDeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class MacroTransformValueNames(transformer: Expr[String => String]) extends MacroDeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def deriveEnumType[T : Type](configSeq: Expr[Seq[DeriveEnumSetting]])(implicit evidence$1: Type[T], Quotes): Expr[EnumType[T]]

Inherited methods

protected def flattenOptionExpr[T](using Quotes, Type[T])(exprOpt: Option[Expr[T]]): Expr[Option[T]]

Attributes

Inherited from:
DeriveMacroSupport
protected def getClassTag[T](using Type[T], Quotes): Expr[ClassTag[T]]

Attributes

Inherited from:
DeriveMacroSupport
protected def memberExcluded(using quotes: Quotes)(annotations: List[Term]): Boolean

Attributes

Inherited from:
DeriveMacroSupport
protected def memberField(using Quotes)(annotations: List[Term]): Boolean

Attributes

Inherited from:
DeriveMacroSupport
def reportErrors(using Quotes)(errors: Seq[(PositionPointer, String)]): Nothing

Attributes

Inherited from:
DeriveMacroSupport
def reportSummoningErrors(errorStrings: Seq[String], summonOptions: Seq[Option[_]])(using Quotes): Nothing

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolDefault(using quotes: Quotes)(annotations: List[Term]): Option[(TypeRepr, Expr[Any])]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolDeprecation(using quotes: Quotes)(annotations: List[Term]): Option[Expr[String]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolDescription(using quotes: Quotes)(annotations: List[Term]): Option[Expr[String]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolFieldTags(using quotes: Quotes)(annotations: List[Term]): Expr[List[FieldTag]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolInputType(using Quotes)(annotations: List[Term]): Option[Expr[InputType[_]]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolName(using quotes: Quotes)(annotations: List[Term]): Option[Expr[String]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolOutputType(using Quotes)(annotations: List[Term]): Option[Expr[OutputType[_]]]

Attributes

Inherited from:
DeriveMacroSupport
protected def unsafeSelectByName[S](using quotes: Quotes)(using Type[S])(memberExpr: Expr[_], name: String): Expr[S]

Attributes

Inherited from:
DeriveMacroSupport