Module apollo_compiler::parser

source ·
Expand description

APIs related to parsing &str inputs as GraphQL syntax

Structs§

  • Integer identifier for a parsed source file.
  • A line number and column number within a GraphQL document.
  • Configuration for parsing an input string as GraphQL syntax
  • Records for validation information about a file that was parsed
  • The source location of a parsed node: file ID and text range (start and end byte offsets) within that file.

Functions§

  • Parse a schema and executable document from the given source text containing a mixture of type system definitions and executable definitions. and validate them. This is mostly useful for unit tests.

Type Aliases§

  • A map of source files relevant to a given document