QueryParser

sangria.parser.QueryParser$
See theQueryParser companion class
object QueryParser

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
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def parse(input: String, config: ParserConfig): Try[Document]

Parse the given string as a GraphQL ''Document''.

Parse the given string as a GraphQL ''Document''.

Attributes

def parse(input: ParserInput, config: ParserConfig): Try[Document]

Parse the given input as a GraphQL ''Document''.

Parse the given input as a GraphQL ''Document''.

Attributes

def parseInput(input: String): Try[Value]

Parse the given string as a GraphQL ''InputDocument'' and return its first ''Value''.

Parse the given string as a GraphQL ''InputDocument'' and return its first ''Value''.

Attributes

def parseInput(input: ParserInput): Try[Value]

Parse the given input as a GraphQL ''InputDocument'' and return its first ''Value''.

Parse the given input as a GraphQL ''InputDocument'' and return its first ''Value''.

Attributes

Parse the given string as a GraphQL ''InputDocument''.

Parse the given string as a GraphQL ''InputDocument''.

Attributes

def parseInputDocument(input: ParserInput, config: ParserConfig): Try[InputDocument]

Parse the given input as a GraphQL ''InputDocument''.

Parse the given input as a GraphQL ''InputDocument''.

Attributes

Parse the given string as a GraphQL ''InputDocumentWithVariables''.

Parse the given string as a GraphQL ''InputDocumentWithVariables''.

Attributes

def parseInputDocumentWithVariables(input: ParserInput, config: ParserConfig): Try[InputDocument]

Parse the given input as a GraphQL ''InputDocumentWithVariables''.

Parse the given input as a GraphQL ''InputDocumentWithVariables''.

Attributes

Parse the given string as a GraphQL ''InputDocumentWithVariables'' and return its first ''Value''.

Parse the given string as a GraphQL ''InputDocumentWithVariables'' and return its first ''Value''.

Attributes

def parseInputWithVariables(input: ParserInput): Try[Value]

Parse the given input as a GraphQL ''InputDocumentWithVariables'' and return its first ''Value''.

Parse the given input as a GraphQL ''InputDocumentWithVariables'' and return its first ''Value''.

Attributes