object Elab
- Source
- compiler.scala
- Alphabetic
- By Inheritance
- Elab
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAttribute(name: String, query: Query = Empty): Elab[Unit]
Add the supplied attributed and corresponding query, if any, to the query being elaborated
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attributes: Elab[List[(String, Query)]]
The attributes which have been added to the query being elaborated
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def context: Elab[Context]
The context of the node currently being elaborated
- def env[T](nme: String)(implicit arg0: ClassTag[T]): Elab[Option[T]]
The value bound to the supplied name in the elaboration environment, if any
- def env(other: Env): Elab[Unit]
Adds all the bindings of the supplied environment to the elaboration environment
- def env(kvs: Seq[(String, Any)]): Elab[Unit]
Binds the supplied names and values in the elaboration environment
- def env(kv: (String, Any), kvs: (String, Any)*): Elab[Unit]
Binds the supplied names and values in the elaboration environment
- def env(nme: String, value: Any): Elab[Unit]
Binds the supplied value to the supplied name in the elaboration environment
- def envE[T](nme: String)(implicit arg0: ClassTag[T], arg1: TypeName[T]): Elab[T]
The value bound to the supplied name in the elaboration environment, if any, failing otherwise
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failure[T](err: Problem): Elab[T]
Report the supplied GraphQL error during elaboration
- def failure[T](msg: String): Elab[T]
Report the supplied GraphQL error during elaboration
- def fieldAlias(name: String): Elab[Option[String]]
The alias, if any, of the child with the supplied name
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fragment(nme: String): Elab[UntypedFragment]
The fragment with the supplied name, if defined, failing otherwise
- def fragments: Elab[Map[String, UntypedFragment]]
The fragments of the query being elaborated
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasField(name: String): Elab[Boolean]
true
if the node currently being elaborated has a child with the supplied name - def hasSibling(name: String): Elab[Boolean]
true
if the node currently being elaborated has a sibling with the supplied name - def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def internalError[T](err: Throwable): Elab[T]
Report the supplied internal error during elaboration
- def internalError[T](msg: String): Elab[T]
Report the supplied internal error during elaboration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def liftR[T](rt: Result[T]): Elab[T]
- def localEnv: Elab[Env]
The subset of the elaboration environment defined directly at this node
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pop: Elab[Unit]
Restore the previous elaboration state
- def pure[T](t: T): Elab[T]
- def push(schema: Schema, context: Context, query: Query): Elab[Unit]
Save the current elaboration state and switch to the supplied schema, context and query
- def push(context: Context, query: Query): Elab[Unit]
Save the current elaboration state and switch to the supplied context and query
- def push: Elab[Unit]
Save the current elaboration state
- def resultName: Elab[Option[String]]
The result name of the node currently being elaborated
- def schema: Elab[Schema]
The scheam of the query being elaborated
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transform: Elab[(Query) => Elab[Query]]
The transformation to be applied to the child of the node currently being elaborated
- 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
- def transformChild(f: (Query) => Query)(implicit dummy: DummyImplicit): Elab[Unit]
Applies the supplied transformation to the child of the node currently being elaborated
- def transformChild(f: (Query) => Elab[Query]): Elab[Unit]
Applies the supplied transformation to the child of the node currently being elaborated
- def unit: Elab[Unit]
- def vars: Elab[Vars]
The variables of the query being elaborated
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def warning(err: Problem): Elab[Unit]
Report the supplied GraphQL warning during elaboration
- def warning(msg: String): Elab[Unit]
Report the supplied GraphQL warning during elaboration