sangria.parser

package sangria.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.

Attributes

See also

The parser conforms roughly to the June 2018 spec.

Members list

Type members

Classlikes

case class ParserConfig(experimentalFragmentVariables: Boolean, sourceIdFn: ParserInput => String, sourceMapperFn: CodeSourceToSourceMapperFunction, parseLocations: Boolean, parseComments: Boolean)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ParserConfig

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class QueryParser extends Parser

Attributes

Companion
object
Supertypes
trait StringBuilding
class Parser
class RuleDSL
trait RuleDSLActions
trait RuleDSLCombinators
trait RuleDSLBasics
class Object
trait Matchable
class Any
Show all
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.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case class SyntaxError(parser: Parser, input: ParserInput, originalError: ParseError) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Deprecated types

Attributes

Deprecated
true