Skip to content

Capture additional metadata in the parse phase #5889

@reteps

Description

@reteps

(area/dockerfile, enhancement)

I am trying to build a dockerfile formatter. The current dockerfile parser discards comment nodes from the AST instead of adding them, making a round-trip from AST back to source very tricky. I am hoping to improve the parser so this can be captured.

Would this project accept a PR tracking this additional metadata? This would mean the addition of a comment node, and tests to go with it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions