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 can throw an error (i.e. foo => 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 can throw an error (i.e. foo => pattern
)
Loc lib_ruby_parser::MatchPattern::expression_l |
Location of the full expression
Loc lib_ruby_parser::MatchPattern::operator_l |
Location of the =>
operator
Node* lib_ruby_parser::MatchPattern::pattern |
Pattern that is used for matching.
Node* lib_ruby_parser::MatchPattern::value |
Value that is used for matching.