Skip to content

Trailing Whitespace #41

Description

@GeenDutchman

Hello!

I can see that whitespace (that are not tokens themselves) is prepended as leading trivia to each token as Indent. I'm curious about the trailing whitespace at the end of the file. I can see that it's (presumably) being held in the tail or wsTail attributes, but I do not see a way to retrieve either. I don't quite have this whole problem-space loaded in my head, but I can assume that there are times when it would be "safe/accurate" to retrieve it and other times when it would not be "safe/accurate" to retrieve it.

Could there be a way provided to retrieve it, as well as guidance on when to do so?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions