Skip to content

Make ScriptWhitespace more generic #336

@informarte

Description

@informarte

I am parsing a language which uses % for marking comments. As ScriptWhitespace has # hard-coded for this purpose, I had to copy its code in order to change one letter.

Proposal: Extend ScriptWhitespace with a factory method custom for producing a Whitespace instance from a given string.

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