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:
ast::Document::parseSchema::parseSchema::parse_and_validateExecutableDocument::parseExecutableDocument::parse_and_validate
If not, create a Parser and use its builder methods to change configuration.
Structs§
- FileId
- Integer identifier for a parsed source file.
- Line
Column - A line number and column number within a GraphQL document.
- Parser
- Configuration for parsing an input string as GraphQL syntax
- Source
File - Records for validation information about a file that was parsed
- Source
Span - The source location of a parsed node: file ID and text range (start and end byte offsets) within that file.
Type Aliases§
- Source
Map - A map of source files relevant to a given document