package parser
- Alphabetic
- Public
- Protected
Type Members
- class AggregateSourceMapper extends SourceMapper
SourceMapper for potentially multiple GraphQL documents.
SourceMapper for potentially multiple GraphQL documents.
Sometimes it's necessary to compose a GraphQL document from multiple component documents; this class provides the corresponding
SourceMapper
to support that. - trait AlternativeDeliverySchemes extends AnyRef
- class DefaultSourceMapper extends SourceMapper
SourceMapper for a single GraphQL document.
- trait DeliveryScheme[T] extends AnyRef
- trait Directives extends AnyRef
- trait Document extends AnyRef
- trait Fragments extends AnyRef
- trait Ignored extends PositionTracking
Mix-in that defines GraphQL grammar productions that are typically ignored (whitespace, comments, etc.).
- trait Operations extends PositionTracking
- case class ParserConfig(experimentalFragmentVariables: Boolean = false, sourceIdFn: (ParserInput) => String = ParserConfig.defaultSourceIdFn, sourceMapperFn: (String, ParserInput) => Option[SourceMapper] = ParserConfig.defaultSourceMapperFn, parseLocations: Boolean = true, parseComments: Boolean = true) extends Product with Serializable
- trait PositionTracking extends AnyRef
- class QueryParser extends Parser with Tokens with Ignored with Document with Operations with Fragments with Values with Directives with Types with TypeSystemDefinitions
- trait SourceMapper extends AnyRef
Set of functions that convert a GraphQL source code location to human-readable strings.
Set of functions that convert a GraphQL source code location to human-readable strings.
When rendering the results of a GraphQL document parse, it's helpful to describe where parsing failed. This is the interface to that facility.
- case class SyntaxError(parser: Parser, input: ParserInput, originalError: ParseError) extends Exception with Product with Serializable
- trait Tokens extends StringBuilding with PositionTracking
- trait TypeSystemDefinitions extends AnyRef
- trait Types extends AnyRef
- trait Values extends AnyRef
Value Members
- object AggregateSourceMapper
- object DeliveryScheme extends AlternativeDeliverySchemes
- object ParserConfig extends Serializable
- object QueryParser