Skip to content

Trailing Whitespace #41

Open
Open

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions