t

clue.macros

GraphQLMacro

trait GraphQLMacro extends Macro

Attributes
protected
Linear Supertypes
Macro, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphQLMacro
  2. Macro
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class CaseClass(name: String, params: List[ClassParam], nested: List[Class] = List.empty) extends Class with Product with Serializable

    The definition of a case class to contain an object from the query response.

    The definition of a case class to contain an object from the query response.

    Consists of the class name and its ClassParam parameters.

    Attributes
    protected[this]
  2. sealed trait Class extends AnyRef
    Attributes
    protected[this]
  3. case class ClassParam(name: String, tpe: scala.reflect.macros.Universe.Tree, overrides: Boolean = false) extends Product with Serializable

    Represents a parameter that will be used for a generated case class or variable.

    Represents a parameter that will be used for a generated case class or variable.

    Consists of the name of the parameter and its Grackle type.

    Attributes
    protected[this]
  4. case class Enum(name: String, values: List[String]) extends Product with Serializable
    Attributes
    protected[this]
  5. case class Sum(params: List[ClassParam], nested: List[Class] = List.empty, instances: List[CaseClass], discriminator: String) extends Product with Serializable
    Attributes
    protected[this]
  6. case class SumClass(name: String, sum: Sum) extends Class with Product with Serializable
    Attributes
    protected[this]
  7. case class EnumValue(asString: String, className: String) extends Product with Serializable
    Attributes
    protected[this]
    Definition Classes
    Macro
  8. sealed trait TypeType extends AnyRef
    Attributes
    protected[this]
    Definition Classes
    Macro

Abstract Value Members

  1. abstract val c: Context
    Definition Classes
    GraphQLMacroMacro
  2. abstract def expand(annottees: scala.reflect.macros.Universe.Tree*): IO[scala.reflect.macros.Universe.Tree]
    Attributes
    protected[this]
    Definition Classes
    Macro

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. def abort(msg: String): IO[Nothing]
    Attributes
    protected[this]
    Definition Classes
    Macro
  5. def addCaseClassDef(name: String, pars: List[scala.reflect.macros.Universe.ValDef], extending: Option[String] = None): (List[scala.reflect.macros.Universe.Tree]) => (List[scala.reflect.macros.Universe.Tree], Boolean)

    Compute a case class definition.

    Compute a case class definition.

    Attributes
    protected[this]
    Definition Classes
    Macro
  6. def addEnum(name: String, values: List[String], eq: Boolean, show: Boolean, reuse: Boolean, encoder: Boolean = false, decoder: Boolean = false): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
    Attributes
    protected[this]
    Definition Classes
    Macro
  7. def addModuleDefs(name: String, eq: Boolean, show: Boolean, reuse: Boolean, encoder: Boolean = false, decoder: Boolean = false, typeType: TypeType = TypeType.CaseClass, modStatements: (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree] = identity, nestPath: Option[scala.reflect.macros.Universe.Tree] = None): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]

    Compute a companion object with typeclasses.

    Compute a companion object with typeclasses.

    Attributes
    protected[this]
    Definition Classes
    Macro
  8. def addModuleStatements(moduleName: String, statements: List[scala.reflect.macros.Universe.Tree]): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
    Attributes
    protected[this]
    Definition Classes
    Macro
  9. def addSumTrait(name: String, pars: List[scala.reflect.macros.Universe.ValDef], extending: Option[String] = None): (List[scala.reflect.macros.Universe.Tree]) => (List[scala.reflect.macros.Universe.Tree], Boolean)
    Attributes
    protected[this]
    Definition Classes
    Macro
  10. def addValDef(valName: String, valType: scala.reflect.macros.Universe.Tree, value: scala.reflect.macros.Universe.Tree): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
    Attributes
    protected[this]
    Definition Classes
    Macro
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def buildOptionalParams[T](implicit tag: ClassTag[T]): T
    Attributes
    protected[this]
    Definition Classes
    Macro
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. def compileType(schema: Schema, tpe: Type): Result[Type]
    Attributes
    protected[this]
  15. def compileVarDefs(schema: Schema, untypedVarDefs: UntypedVarDefs): Result[VarDefs]
    Attributes
    protected[this]
  16. def debugTree(tree: scala.reflect.macros.Universe.Tree): IO[Unit]

    Log an actual Tree AST (not the Scala code equivalent).

    Log an actual Tree AST (not the Scala code equivalent).

    Attributes
    protected[this]
    Definition Classes
    Macro
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def getClass(): java.lang.Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isTermDefined(termName: String): (List[scala.reflect.macros.Universe.Tree]) => Boolean
    Attributes
    protected[this]
    Definition Classes
    Macro
  23. def isTypeDefined(typeName: String): (List[scala.reflect.macros.Universe.Tree]) => Boolean
    Attributes
    protected[this]
    Definition Classes
    Macro
  24. def log(msg: Any): IO[Unit]

    Log debug info.

    Log debug info.

    Attributes
    protected[this]
    Definition Classes
    Macro
  25. final def macroResolve(annottees: scala.reflect.macros.Universe.Tree*): scala.reflect.macros.Universe.Tree
    Definition Classes
    Macro
    Annotations
    @inline()
  26. def modifyModuleStatements(moduleName: String, mod: (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]): (List[scala.reflect.macros.Universe.Tree]) => List[scala.reflect.macros.Universe.Tree]
    Attributes
    protected[this]
    Definition Classes
    Macro
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def parseType(tpe: String): scala.reflect.macros.Universe.Tree

    Parse a type name (c.parse only parses terms).

    Parse a type name (c.parse only parses terms).

    Attributes
    protected[this]
    Definition Classes
    Macro
  31. def retrieveSchema(resourceDirs: List[File], schemaName: String): IO[Schema]

    Parse the schema file.

    Parse the schema file.

    Attributes
    protected[this]
  32. def snakeToCamel(s: String): String
    Attributes
    protected[this]
    Definition Classes
    Macro
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def unqualifiedType(tpe: scala.reflect.macros.Universe.Tree): Option[String]

    Extract the unqualified type name from a type.

    Extract the unqualified type name from a type.

    Attributes
    protected[this]
    Definition Classes
    Macro
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. object ClassParam extends Serializable
    Attributes
    protected[this]
  40. object EnumValue extends Serializable
    Attributes
    protected[this]
    Definition Classes
    Macro
  41. object TypeNamesToTermNames extends scala.reflect.macros.Universe.Transformer
    Attributes
    protected[this]
    Definition Classes
    Macro
  42. object TypeType
    Attributes
    protected[this]
    Definition Classes
    Macro

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Macro

Inherited from AnyRef

Inherited from Any

Ungrouped