language library
Tools for GraphQL source parsing and AST printing.
Functions
-
parse(
SourceFile source) → DocumentNode -
Parses
source
and returns DocumentNode. -
parseString(
String source, {dynamic url}) → DocumentNode -
Parses
source
string and returns DocumentNode. -
printNode(
Node node) → String -
Prints any AST
node
as String.