graphql_parser3 3.2.0 copy "graphql_parser3: ^3.2.0" to clipboard
graphql_parser3: ^3.2.0 copied to clipboard

Parses GraphQL queries and schemas into an AST whose every node carries a source span. The lexer and the recursive-descent parser behind graphql_server3.

Change Log #

3.2.0 #

First release published to pub.dev. The package was consumed straight from its git repository until now; nothing about the code changed.

Added #

  • example/main.dart: parses a query, reads its operation and its fragment, and shows the span every node carries.
  • Package metadata for pub.dev: a description that says what the package does rather than what to use instead, an issue tracker, and topics.

3.1.0 #

Removed #

  • The charcode dependency. It supplied the escape-sequence code units of the string literal decoder and nothing else, so those are now named constants in the file that reads them. source_span and string_scanner stay: the lexer is built on SpanScanner and every AST node carries a span.

Added #

  • DirectiveContext.name, matching the accessor every sibling node already offers.
  • A test suite. There was none, although test was already declared.

3.0.0 #

  • Initial release
0
likes
160
points
173
downloads

Documentation

API reference

Publisher

verified publishercomapps.be

Weekly Downloads

Parses GraphQL queries and schemas into an AST whose every node carries a source span. The lexer and the recursive-descent parser behind graphql_server3.

Repository (GitHub)
View/report issues

Topics

#graphql #parser #ast

License

BSD-3-Clause (license)

Dependencies

source_span, string_scanner

More

Packages that depend on graphql_parser3