lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
#include <nodes.hpp>
Public Attributes | |
Node * | re |
Regex that is used for matching. More... | |
Node * | value |
Value that is used for matching. More... | |
Loc | operator_l |
Loc | expression_l |
Represents matching a regex that produces local variables (i.e. ‘/(?<match>bar)/ =~ 'bar’`)
Each named group in regex declares a local variable.
Loc lib_ruby_parser::MatchWithLvasgn::expression_l |
Location of the full expression
Loc lib_ruby_parser::MatchWithLvasgn::operator_l |
Location of the =^
operatir
Node* lib_ruby_parser::MatchWithLvasgn::re |
Regex that is used for matching.
Node* lib_ruby_parser::MatchWithLvasgn::value |
Value that is used for matching.