ast library

Basic tools to work with a GraphQL AST.

Includes

Enums

DirectiveLocation
Enumeration of all known directive locations.
OperationType
Enumeration of all known GraphQL operation types.

Functions

transform<N extends Node>(N node, List<TransformingVisitor> visitors) → N
Transforms an AST node using a list of visitors.