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?
to your account
Each syntax node has a contentLength property, which does not count the length of trivia. It would be great to have a way to get the text corresponding to this content. Currently, achieving this task is not super easy.
The text was updated successfully, but these errors were encountered:
We could add a `write(to:Target, withLeadingTrivia:Bool, withTrailingTrivia:Bool)` function to provide more control on getting the text.
Sorry, something went wrong.
No branches or pull requests