|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents matching with assignment into a local variable (i.e. pattern => var)
More...
#include <nodes.hpp>
Public Attributes | |
| String | name |
| Name of the variable that is assigned if matching succeeds. More... | |
| Loc | name_l |
| Loc | expression_l |
Represents matching with assignment into a local variable (i.e. pattern => var)
| Loc lib_ruby_parser::MatchVar::expression_l |
Location of the full expression
Note it can also be produced by a hash pattern
| String lib_ruby_parser::MatchVar::name |
Name of the variable that is assigned if matching succeeds.
| Loc lib_ruby_parser::MatchVar::name_l |
Location of the name
Note it can also be produced by a hash pattern