-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name/TypeName/StringValue AST Node? #38
Comments
This seems like a good addition! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would you ever consider having a TypeName/StringValue AST node? This would help some tooling be more precise when it comes to the location of a certain node.
Currently working on a linter and noticed I can only reference the position of a type definition and it would be quite useful to get the location of a TypeName/StringValue node 👇
Happy to contribute something if you see value in it. Looks like the Text trait / NameMatch token could potentially have a
Pos
?Example from GraphQL-JS (https://github.com/graphql/graphql-js/blob/master/src/language/ast.js#L238-L242)
The text was updated successfully, but these errors were encountered: