Skip to content
Compare
Choose a tag to compare
@goto-bus-stop goto-bus-stop released this 10 May 12:01
· 460 commits to main since this release
13be234

Features

  • add SyntaxTree::token_limit - SimonSapin, pull/525
    This enables finding out how many tokens were present in a succesful parse,
    which can be useful to choose where to set the limit.

  • add Definition::kind() -> &str and Definition::is_executable_definition() - goto-bus-stop, pull/535
    These are new methods on the Definition AST node. kind() returns the kind
    of definition (eg. "ScalarTypeExtension") and is_executable_definition()
    returns true for operation definitions and fragment definitions.

Fixes

  • handle escape sequences when reading string contents - goto-bus-stop, pull/541
    The String::from(StringValue) implementation now turns escape sequences like
    \n and \u2764 into their literal characters.