|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents pattern matching using one of the given patterns (i.e. foo in 1 | 2)
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | lhs |
| Left pattern. More... | |
| Node * | rhs |
| Right pattern. More... | |
| Loc | operator_l |
| Loc | expression_l |
Represents pattern matching using one of the given patterns (i.e. foo in 1 | 2)
| Loc lib_ruby_parser::MatchAlt::expression_l |
Location of the full expression
| Node* lib_ruby_parser::MatchAlt::lhs |
Left pattern.
| Loc lib_ruby_parser::MatchAlt::operator_l |
Location of the | operator
| Node* lib_ruby_parser::MatchAlt::rhs |
Right pattern.