goto-bus-stop
released this
10 May 12:01
·
460 commits
to main
since this release
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
andDefinition::is_executable_definition()
- goto-bus-stop, pull/535
These are new methods on theDefinition
AST node.kind()
returns the kind
of definition (eg. "ScalarTypeExtension") andis_executable_definition()
returns true for operation definitions and fragment definitions.
Fixes
- handle escape sequences when reading string contents - goto-bus-stop, pull/541
TheString::from(StringValue)
implementation now turns escape sequences like
\n
and\u2764
into their literal characters.