Skip to content

How do you branch on complex names such as caseSensitiveLiteral!("let") (they get much more complicated) #329

@enjoysmath

Description

@enjoysmath

So with the usual swith-case to handle the parse tree (do something with it), I'm having trouble seeing how to branch based on these long names. One solution I had was a pre-switch if-then statement that checked if "SomeText" is a substring of the name. I'm not liking this solution!

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