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
md5: 7a905c33db7bd997093527302f0f11ec
Issue Description:
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.
@harlanhaskins @akyrtzi
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.
nkcsgexi
No branches or pull requests
Additional Detail from JIRA
md5: 7a905c33db7bd997093527302f0f11ec
Issue Description:
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.
@harlanhaskins @akyrtzi
The text was updated successfully, but these errors were encountered: