lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a one-line pattern matching that never throws but returns true/false (i.e. foo in pattern
)
More...
#include <nodes.hpp>
Public Attributes | |
Node * | value |
Value that is used for matching. More... | |
Node * | pattern |
Pattern that is used for matching. More... | |
Loc | operator_l |
Loc | expression_l |
Represents a one-line pattern matching that never throws but returns true/false (i.e. foo in pattern
)
Loc lib_ruby_parser::MatchPatternP::expression_l |
Location of the full expression
Loc lib_ruby_parser::MatchPatternP::operator_l |
Location of the in
operator
Node* lib_ruby_parser::MatchPatternP::pattern |
Pattern that is used for matching.
Node* lib_ruby_parser::MatchPatternP::value |
Value that is used for matching.