Skip to content

Formatter support #206

@gerau

Description

@gerau

#185 introduces a lexer that can recognize and get spans for comments, which will be useful for developing the formatter. However, at the moment, the parser simply discards comment tokens, similar to the pest parser.

If the comment spans aren't enough, we should consider how to integrate comments into the parsed tree (or perhaps build a separate one specifically for the formatter and related tools).

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