DefaultSourceMapper

sangria.ast.DefaultSourceMapper
class DefaultSourceMapper(val id: String, val sourceMapperInput: SourceMapperInput) extends SourceMapper

sangria.ast.SourceMapper for a single GraphQL document.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def renderLinePosition(location: AstLocation, prefix: String): String

Return an indication of the line position of the given location.

Return an indication of the line position of the given location.

Useful for pointing to the location of a parsing error.

Attributes

prefix

prefix to attach to the returned string

Definition Classes
override def renderLocation(location: AstLocation): String

Return a description of the given location.

Return a description of the given location.

Attributes

Definition Classes

Concrete fields

val id: String

Identifier for the GraphQL document being parsed. Should be unique.

Identifier for the GraphQL document being parsed. Should be unique.

Attributes

lazy override val source: String

The GraphQL source code mapped by this object.

The GraphQL source code mapped by this object.

Attributes