Packages

object ParserConfig extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParserConfig
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type CodeSourceToSourceMapperFunction = (String, ParserInput) => Option[ast.SourceMapper]

    Mapping from a GraphQL code source to a SourceMapper.

    Mapping from a GraphQL code source to a SourceMapper.

    A SourceMapper provides methods for displaying GraphQL source code. This type is the type of a function that returns a SourceMapper, given an identifier for the source code, and a Parboiled2 ParserInput from which the source code will be extracted.

    In practice, the identifiers are typically randomly-generated, the input source is from a string, and the chosen SourceMapper doesn't depend on either. In most cases, the default is returned. This function type is mostly used to allow Sangria users to replace the default with their own custom SourceMapper.

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. lazy val default: ParserConfig
  7. lazy val defaultSourceIdFn: (ParserInput) => String

    Function that generates a random identifier for each input.

  8. lazy val defaultSourceMapperFn: CodeSourceToSourceMapperFunction

    Function that returns the default SourceMapper.

  9. lazy val emptySourceIdFn: (ParserInput) => String

    Function that always generates an empty identifier.

  10. lazy val emptySourceMapperFn: CodeSourceToSourceMapperFunction

    Function that returns no SourceMapper.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def parboiledToSourceMapper(input: ParserInput): SourceMapperInput

    Return the given Parboiled2 parser input, wrapped with our sangria.ast.SourceMapperInput.

    Return the given Parboiled2 parser input, wrapped with our sangria.ast.SourceMapperInput.

    This utility method makes it easier to write quasiquotes.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped