8000 8000
Skip to content
This repository was archived by the owner on Jan 11, 2026. It is now read-only.
This repository was archived by the owner on Jan 11, 2026. It is now read-only.

[antlr] Keep comment for formatting #10

@at15

Description

@at15

Currently we throw away comment using WS : [ \t\r\tn] -> skip, however, when formatting code, user's comment should be kept.

ANTLR supports using channels, in the ANTLR4 book. it's in section 12.1 Broadcasting Tokens on Different Channels

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

      0