Skip to content

All syntax nodes should have a .text property exposing the corresponding program text (sans trivia) #2448

Open
@dabrahams

Description

@dabrahams

Description

Apparently you can use .description to the the program text, but in general, one is not supposed to rely on the string representations of things being meaningful. There should be a dedicated API for getting the program text that is documented as such.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions