Packages

p

sangria

parser

package parser

GraphQL parser for Scala.

A parser for the GraphQL language. It returns nodes from its corresponding AST library.

The entry point of this library is the QueryParser object's methods.

See also

The parser conforms roughly to the June 2018 spec.

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

Type Members

  1. case class ParserConfig(experimentalFragmentVariables: Boolean = false, sourceIdFn: (ParserInput) => String = ParserConfig.defaultSourceIdFn, sourceMapperFn: CodeSourceToSourceMapperFunction = ParserConfig.defaultSourceMapperFn, parseLocations: Boolean = true, parseComments: Boolean = true) extends Product with Serializable
  2. class QueryParser extends Parser with Tokens with Ignored with Document with Operations with Fragments with Values with Directives with Types with TypeSystemDefinitions
  3. case class SyntaxError(parser: Parser, input: ParserInput, originalError: ParseError) extends Exception with Product with Serializable

Deprecated Type Members

  1. type SourceMapper = ast.SourceMapper
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) please use sangria.ast.SourceMapper

Value Members

  1. object ParserConfig extends Serializable
  2. object QueryParser

    GraphQL parsing methods.

    GraphQL parsing methods.

    The parser is written with Parboiled2. Each of the method types takes either a string, or a Parboiled2 ParserInput for more generality.

Inherited from AnyRef

Inherited from Any

Ungrouped