Elab

grackle.QueryCompiler.Elab
object Elab

Attributes

Source
compiler.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Elab.type

Members list

Value members

Concrete methods

def addAttribute(name: String, query: Query): Elab[Unit]

Add the supplied attributed and corresponding query, if any, to the query being elaborated

Add the supplied attributed and corresponding query, if any, to the query being elaborated

Attributes

Source
compiler.scala
def attributes: Elab[List[(String, Query)]]

The attributes which have been added to the query being elaborated

The attributes which have been added to the query being elaborated

Attributes

Source
compiler.scala

The context of the node currently being elaborated

The context of the node currently being elaborated

Attributes

Source
compiler.scala
def env(nme: String, value: Any): Elab[Unit]

Binds the supplied value to the supplied name in the elaboration environment

Binds the supplied value to the supplied name in the elaboration environment

Attributes

Source
compiler.scala
def env(kv: (String, Any), kvs: (String, Any)*): Elab[Unit]

Binds the supplied names and values in the elaboration environment

Binds the supplied names and values in the elaboration environment

Attributes

Source
compiler.scala
def env(kvs: Seq[(String, Any)]): Elab[Unit]

Binds the supplied names and values in the elaboration environment

Binds the supplied names and values in the elaboration environment

Attributes

Source
compiler.scala
def env(other: Env): Elab[Unit]

Adds all the bindings of the supplied environment to the elaboration environment

Adds all the bindings of the supplied environment to the elaboration environment

Attributes

Source
compiler.scala
def env[T : ClassTag](nme: String): Elab[Option[T]]

The value bound to the supplied name in the elaboration environment, if any

The value bound to the supplied name in the elaboration environment, if any

Attributes

Source
compiler.scala
def envE[T : TypeName](nme: String): Elab[T]

The value bound to the supplied name in the elaboration environment, if any, failing otherwise

The value bound to the supplied name in the elaboration environment, if any, failing otherwise

Attributes

Source
compiler.scala
def failure[T](msg: String): Elab[T]

Report the supplied GraphQL error during elaboration

Report the supplied GraphQL error during elaboration

Attributes

Source
compiler.scala
def failure[T](err: Problem): Elab[T]

Report the supplied GraphQL error during elaboration

Report the supplied GraphQL error during elaboration

Attributes

Source
compiler.scala
def fieldAlias(name: String): Elab[Option[String]]

The alias, if any, of the child with the supplied name

The alias, if any, of the child with the supplied name

Attributes

Source
compiler.scala
def fragment(nme: String): Elab[UntypedFragment]

The fragment with the supplied name, if defined, failing otherwise

The fragment with the supplied name, if defined, failing otherwise

Attributes

Source
compiler.scala
def fragments: Elab[Map[String, UntypedFragment]]

The fragments of the query being elaborated

The fragments of the query being elaborated

Attributes

Source
compiler.scala
def hasField(name: String): Elab[Boolean]

true if the node currently being elaborated has a child with the supplied name

true if the node currently being elaborated has a child with the supplied name

Attributes

Source
compiler.scala
def hasSibling(name: String): Elab[Boolean]

true if the node currently being elaborated has a sibling with the supplied name

true if the node currently being elaborated has a sibling with the supplied name

Attributes

Source
compiler.scala
def internalError[T](msg: String): Elab[T]

Report the supplied internal error during elaboration

Report the supplied internal error during elaboration

Attributes

Source
compiler.scala
def internalError[T](err: Throwable): Elab[T]

Report the supplied internal error during elaboration

Report the supplied internal error during elaboration

Attributes

Source
compiler.scala
def liftR[T](rt: Result[T]): Elab[T]

Attributes

Source
compiler.scala
def localEnv: Elab[Env]

The subset of the elaboration environment defined directly at this node

The subset of the elaboration environment defined directly at this node

Attributes

Source
compiler.scala
def pop: Elab[Unit]

Restore the previous elaboration state

Restore the previous elaboration state

Attributes

Source
compiler.scala
def pure[T](t: T): Elab[T]

Attributes

Source
compiler.scala
def push: Elab[Unit]

Save the current elaboration state

Save the current elaboration state

Attributes

Source
compiler.scala
def push(context: Context, query: Query): Elab[Unit]

Save the current elaboration state and switch to the supplied context and query

Save the current elaboration state and switch to the supplied context and query

Attributes

Source
compiler.scala
def push(schema: Schema, context: Context, query: Query): Elab[Unit]

Save the current elaboration state and switch to the supplied schema, context and query

Save the current elaboration state and switch to the supplied schema, context and query

Attributes

Source
compiler.scala
def resultName: Elab[Option[String]]

The result name of the node currently being elaborated

The result name of the node currently being elaborated

Attributes

Source
compiler.scala

The scheam of the query being elaborated

The scheam of the query being elaborated

Attributes

Source
compiler.scala

The transformation to be applied to the child of the node currently being elaborated

The transformation to be applied to the child of the node currently being elaborated

Attributes

Source
compiler.scala
def transformChild(f: Query => Elab[Query]): Elab[Unit]

Applies the supplied transformation to the child of the node currently being elaborated

Applies the supplied transformation to the child of the node currently being elaborated

Attributes

Source
compiler.scala
def transformChild(f: Query => Query)(implicit dummy: DummyImplicit): Elab[Unit]

Applies the supplied transformation to the child of the node currently being elaborated

Applies the supplied transformation to the child of the node currently being elaborated

Attributes

Source
compiler.scala
def transformChild(f: Query => Result[Query])(implicit dummy1: DummyImplicit, dummy2: DummyImplicit): Elab[Unit]

Applies the supplied transformation to the child of the node currently being elaborated

Applies the supplied transformation to the child of the node currently being elaborated

Attributes

Source
compiler.scala
def transformFragments(f: Map[String, UntypedFragment] => Elab[Map[String, UntypedFragment]]): Elab[Unit]

Attributes

Source
compiler.scala
def unit: Elab[Unit]

Attributes

Source
compiler.scala
def vars: Elab[Vars]

The variables of the query being elaborated

The variables of the query being elaborated

Attributes

Source
compiler.scala
def warning(msg: String): Elab[Unit]

Report the supplied GraphQL warning during elaboration

Report the supplied GraphQL warning during elaboration

Attributes

Source
compiler.scala
def warning(err: Problem): Elab[Unit]

Report the supplied GraphQL warning during elaboration

Report the supplied GraphQL warning during elaboration

Attributes

Source
compiler.scala