Packages

o

relay

compiler

object compiler

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. compiler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. macro def graphqlGen(s: String): Any

    Buckle up.

    Buckle up.

    This is a dummy function that basically acts as a marker so that the js type generation can process the GQL statements, and this will substitute, the generated code in question. That generated code has some types attached to it to make all the scala magic work.

    it attaches a type like GQLTaggedNode[Input <: js.Any, Output <: js.Any]. This gives any sort of call which needs to deal with the input or output enough information to be useful.

    HOWEVER, there are some real rules involved.

    1) It has to be a string literal, with triple quotes, """ this is because regexes are used on the js side to make this work. Eventually we could use scala.meta to make this a lot better. 2) it can't be a final val s = "foo" either. it has to be a plan string. 3) You cannot use strip margin, strip margin makes it not a literal string. 4) !IMPORTANT! THE WORD graphql in all lowercase must show up in the file.

    s

    plan old graphql string.

    returns

    Type of the Object generated from the relay-compiler-language-scalajs

  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. object genGraphqlMacrosImpl

Inherited from AnyRef

Inherited from Any

Ungrouped