Skip to content

AlternationPatternNode #349

Open
Open
@kddnewton

Description

@kddnewton

Create a new node that replaces the usage of Binary within pattern matching expressions to represent the use of the | operator.

For example:

case foo
in Bar | Baz
end

In the above expression Bar | Baz is set as a Binary in Syntax Tree. Instead, we should have our own node for it.

YARP has: left, right, operator_loc, and location on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions