Skip to content

Add API to query the original string #399

Description

@GuillaumeGomez

I was looking at PatternElement and while going through, I realized that there was no method to query the original string or to convert to such a string. Would it be possible to add such an API, which would allow things like:

let x: PatternElement;

x.to_fluent_message();

No need to go through the multiple enums level if we're only interested into rebuilding a FTL file.

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