Module parser

Source
Expand description

APIs related to parsing &str inputs as GraphQL syntax.

This module typically does not need to be imported directly. If the default parser configuration is adequate, use constructors such as:

If not, create a Parser and use its builder methods to change configuration.

Structs§

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

Type Aliases§

SourceMap
A map of source files relevant to a given document