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)
object ParserConfig
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParserConfig.type
class QueryParser extends Parser
Attributes
- Companion
- object
- Supertypes
-
trait StringBuildingclass Parserclass RuleDSLtrait RuleDSLActionstrait RuleDSLCombinatorstrait RuleDSLBasicsclass Objecttrait Matchableclass AnyShow 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 Objecttrait Matchableclass Any
- Self type
-
QueryParser.type
case class SyntaxError(parser: Parser, input: ParserInput, originalError: ParseError) extends Exception
Deprecated types
Attributes
- Deprecated
- true
In this article