class Prism::AlternationPatternNode

Parent:
Prism::Node

Represents an alternation pattern in pattern matching.

foo => bar | baz
       ^^^^^^^^^

Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.