GenAst

gql.client.codegen.GenAst
See theGenAst companion object
final class GenAst[F[_]](implicit evidence$1: Parallel[F], P: CurrentPath[F], U: UsedInputTypes[F], F: MonadError[F, Type[String]])

Attributes

Companion
object
Source
GenAst.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Attributes

Source
GenAst.scala
def generateField(companionName: String, env: Env, f: Field[Caret], fd: FieldDefinition): F[(SelField, Option[TypeIntro])]

Attributes

Source
GenAst.scala
def generateInputs(env: Env, uis: List[UsedInput], packageName: String): Doc

Attributes

Source
GenAst.scala

Attributes

Source
GenAst.scala
def generateSelection(td: TypeDefinition, companionName: String, env: Env, fieldMap: Map[String, FieldDefinition], sel: Selection[Caret]): F[(Sel, Option[TypeIntro])]

Attributes

Source
GenAst.scala
def generateTypeDef(env: Env, name: String, typename: String, sels: NonEmptyList[Selection[Caret]]): F[TypeIntro]

Attributes

Source
GenAst.scala
def in[A](field: String)(fa: F[A]): F[A]

Attributes

Source
GenAst.scala
def partitionEmittableInputDef[G[_]](env: Env, typename: String)(implicit G: Monad[G], U: UsedInputTypes[G]): G[Unit]

Attributes

Source
GenAst.scala
def partitionEmittableInputType(env: Env, tpe: Type): F[Unit]

Attributes

Source
GenAst.scala
def raise[A](msg: String): F[A]

Attributes

Source
GenAst.scala