Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParserConfig.type
Members list
Type members
Types
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.
Attributes
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
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.
Attributes
Concrete fields
Function that generates a random identifier for each input.
Function that generates a random identifier for each input.
Attributes
Function that returns the default `SourceMapper`.
Function that always generates an empty identifier.
Function that always generates an empty identifier.
Attributes
Function that returns no SourceMapper.
Function that returns no SourceMapper.