|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents matching with renaming into specified local variable (i.e. case 1; in Integer => a; end)
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | value |
| Pattern that is used for matching. More... | |
| Node * | as |
Variable that is assigned if matched (see MatchVar node) More... | |
| Loc | operator_l |
| Loc | expression_l |
Represents matching with renaming into specified local variable (i.e. case 1; in Integer => a; end)
| Loc lib_ruby_parser::MatchAs::expression_l |
Location of the full expression
| Loc lib_ruby_parser::MatchAs::operator_l |
Location of the => operator
| Node* lib_ruby_parser::MatchAs::value |
Pattern that is used for matching.