lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
#include <nodes.hpp>
Public Attributes | |
NodeList | elements |
Inner part of the find pattern. More... | |
MaybeLoc | begin_l |
MaybeLoc | end_l |
Loc | expression_l |
Represents a find pattern using in pattern matching (i.e. in [*x, 1 => a, *y]
)
It's different from ArrayPattern
/ConstPattern
because it supports multiple wildcard pattern
MaybeLoc lib_ruby_parser::FindPattern::begin_l |
Location of the begin
None
if there are no brackets/parentheses
NodeList lib_ruby_parser::FindPattern::elements |
Inner part of the find pattern.
MaybeLoc lib_ruby_parser::FindPattern::end_l |
Location of the end
None
if there are no brackets/parentheses
Loc lib_ruby_parser::FindPattern::expression_l |
Location of the full expression